public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28419]  New: [4.1/4.2 regression] ICE using __FUNCTION__ in invalid code
@ 2006-07-18 10:37 reichelt at gcc dot gnu dot org
  2006-07-18 10:41 ` [Bug c/28419] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-18 10:37 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.1.0
(only with the C frontend):

========================================
void foo() x;

const char* p = __FUNCTION__;
========================================

bug.c: In function 'foo':
bug.c:1: error: expected declaration specifiers before 'x'
bug.c:3: error: parameter 'p' is initialized
bug.c:0: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2 regression] ICE using __FUNCTION__ in invalid
                    code
           Product: gcc
           Version: 4.2.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=28419


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

end of thread, other threads:[~2008-07-04 15:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-18 10:37 [Bug c/28419] New: [4.1/4.2 regression] ICE using __FUNCTION__ in invalid code reichelt at gcc dot gnu dot org
2006-07-18 10:41 ` [Bug c/28419] " pinskia at gcc dot gnu dot org
2006-07-18 10:41 ` pinskia at gcc dot gnu dot org
2006-07-19  5:40 ` mmitchel at gcc dot gnu dot org
2006-07-21 19:32 ` hubicka at gcc dot gnu dot org
2006-07-21 19:35 ` patchapp at dberlin dot org
2006-08-15 16:08 ` jsm28 at gcc dot gnu dot org
2006-10-13  7:42 ` hubicka at gcc dot gnu dot org
2006-10-13  7:43 ` [Bug c/28419] [4.1 " hubicka at gcc dot gnu dot org
2007-02-14  9:27 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:43 ` jsm28 at gcc dot gnu dot org

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