<< Back to previous view

[PCC-408] compiler error: dce needs bb fixup Created: 04/Sep/12  Updated: 05/Sep/12

Status: Resolved
Project: pcc
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: pcc 1.1.0.DEVEL 20120903 for netbsd-i386, on NetBSD/i386

the following code fragment, extracted and simplied from NetBSD usr.bin/newsyslog

int foo(void);
void bar(int a)
    a ? foo() + foo() : 0;

when compiled with -xdce and -xtemps, fails with

foo.c, line 5: compiler error: dce needs bb fixup

Comment by Anders Magnusson [ 05/Sep/12 09:12 PM ]
Fixed by removing some ifdefs.
Generated at Fri Oct 20 21:41:45 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.