[Bug c++/17655] [3.4 regression] ICE with using a C99 initializer in an if-condition

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Jul 25 22:30:00 GMT 2005


------- Additional Comments From giovannibajo at libero dot it  2005-07-25 22:17 -------
Downgrading to normal. This is a bug in a C++ extension (borrowed from C99) 
which has been broken since 3.0.

The bug appears to be in the FINISH_COND macro which does not seem ready to 
handle the additional TAG_DEFN tree which appeared in the statement list. The 
result is that the IF_STMT is built with TAG_DEFN as condition (and the real 
condition is lost!). But I'm clueless about how this should be fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17655



More information about the Gcc-bugs mailing list