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]

Re: c++/6794: [3.2 regression] ICE with __attribute__ ((__noreturn__))


The problem can be reduced to the following code snippet:

---------------------------snip here----------------------
int foo() __attribute__ ((__noreturn__));
int i=foo();
---------------------------snip here----------------------

Just compiling this with "gcc -c" I get an ICE with gcc 3.1 - 3.2.1
(checked on i686-pc-linux-gnu and mips-sgi-irix6.5).

Mainline and 3.0.x are not affected.

Regards,
Volker

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6794



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