public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct @ 2009-05-05 20:32 reichelt at gcc dot gnu dot org 2009-05-05 20:32 ` [Bug c/40032] " reichelt at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: reichelt at gcc dot gnu dot org @ 2009-05-05 20:32 UTC (permalink / raw) To: gcc-bugs The following invalid testcase triggers an ICE on the trunk: ================= struct A { enum E : 8; }; ================= bug.c:3: warning: '<anonymous>' is narrower than values of its type ' Segmentation fault Please submit a full bug report, [etc.] The C++ frontend is not affected. The bug appeared between 2009-04-24 and 2009-05-04. -- Summary: [4.5 regression] ICE with incomplete type in struct Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, 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=40032 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/40032] [4.5 regression] ICE with incomplete type in struct 2009-05-05 20:32 [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct reichelt at gcc dot gnu dot org @ 2009-05-05 20:32 ` reichelt at gcc dot gnu dot org 2009-05-06 13:04 ` jsm28 at gcc dot gnu dot org 2009-05-06 13:05 ` jsm28 at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: reichelt at gcc dot gnu dot org @ 2009-05-05 20:32 UTC (permalink / raw) To: gcc-bugs -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40032 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/40032] [4.5 regression] ICE with incomplete type in struct 2009-05-05 20:32 [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct reichelt at gcc dot gnu dot org 2009-05-05 20:32 ` [Bug c/40032] " reichelt at gcc dot gnu dot org @ 2009-05-06 13:04 ` jsm28 at gcc dot gnu dot org 2009-05-06 13:05 ` jsm28 at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: jsm28 at gcc dot gnu dot org @ 2009-05-06 13:04 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from jsm28 at gcc dot gnu dot org 2009-05-06 13:03 ------- Subject: Bug 40032 Author: jsm28 Date: Wed May 6 13:02:48 2009 New Revision: 147174 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147174 Log: PR c/40032 * c-decl.c (grokdeclarator): Handle incomplete type of unnamed field. testsuite: * gcc.dg/noncompile/incomplete-5.c: New test. Added: trunk/gcc/testsuite/gcc.dg/noncompile/incomplete-5.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40032 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/40032] [4.5 regression] ICE with incomplete type in struct 2009-05-05 20:32 [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct reichelt at gcc dot gnu dot org 2009-05-05 20:32 ` [Bug c/40032] " reichelt at gcc dot gnu dot org 2009-05-06 13:04 ` jsm28 at gcc dot gnu dot org @ 2009-05-06 13:05 ` jsm28 at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: jsm28 at gcc dot gnu dot org @ 2009-05-06 13:05 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from jsm28 at gcc dot gnu dot org 2009-05-06 13:04 ------- Fixed for 4.5. -- jsm28 at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |4.5.0 Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40032 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-06 13:05 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-05-05 20:32 [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct reichelt at gcc dot gnu dot org 2009-05-05 20:32 ` [Bug c/40032] " reichelt at gcc dot gnu dot org 2009-05-06 13:04 ` jsm28 at gcc dot gnu dot org 2009-05-06 13:05 ` 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).