<< 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


 Description   
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

 Comments   
Comment by Anders Magnusson [ 05/Sep/12 09:12 PM ]
Fixed by removing some ifdefs.
Generated at Sun Oct 26 02:18:35 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.