public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37789]  New: [4.4 regression] ICE with __FUNCTION__
@ 2008-10-09 21:03 reichelt at gcc dot gnu dot org
  2008-10-09 21:03 ` [Bug c++/37789] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-10-09 21:03 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

===================
void foo():
{
  __FUNCTION__;
}
===================

bug.cc: In function 'void foo()':
bug.cc:2: error: only constructors take base initializers
bug.cc:2: error: expected identifier before '{' token
bug.cc:2: warning: extended initializer lists only available with -std=c++0x or
-std=gnu++0x
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

The regression was introduced between 2008-06-26 and 2008-07-05.


-- 
           Summary: [4.4 regression] ICE with __FUNCTION__
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-26 20:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 21:03 [Bug c++/37789] New: [4.4 regression] ICE with __FUNCTION__ reichelt at gcc dot gnu dot org
2008-10-09 21:03 ` [Bug c++/37789] " reichelt at gcc dot gnu dot org
2008-10-10  7:41 ` dodji at seketeli dot org
2008-10-10 13:20 ` jakub at gcc dot gnu dot org
2008-10-12 23:09 ` reichelt at gcc dot gnu dot org
2009-02-23  0:00 ` hjl dot tools at gmail dot com
2009-02-23 17:39 ` hjl dot tools at gmail dot com
2009-02-26 19:36 ` hjl dot tools at gmail dot com
2009-02-26 20:00 ` hjl at gcc dot gnu dot org
2009-02-26 20:01 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).