This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]