Issue Details (XML | Word | Printable)

Key: PCC-408
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

compiler error: dce needs bb fixup

Created: 04/Sep/12 08:59 PM   Updated: 05/Sep/12 09:12 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: pcc 1.1.0.DEVEL 20120903 for netbsd-i386, on NetBSD/i386

 Description  « Hide
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

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 05/Sep/12 09:12 PM
Fixed by removing some ifdefs.