public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39084]  New: [4.3/4.4 regression] ice on struct redefinition
@ 2009-02-03 14:27 bonzini at gnu dot org
  2009-02-03 14:28 ` [Bug c/39084] " bonzini at gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2009-02-03 14:27 UTC (permalink / raw)
  To: gcc-bugs

The following program ICEs at -O2 or higher:

struct color { };
static const struct color col;
struct color * f(void)
{
    return (struct color *) &col;
}

struct color { };


-- 
           Summary: [4.3/4.4 regression] ice on struct redefinition
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bonzini at gnu dot org


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


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

end of thread, other threads:[~2009-02-10 16:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-03 14:27 [Bug c/39084] New: [4.3/4.4 regression] ice on struct redefinition bonzini at gnu dot org
2009-02-03 14:28 ` [Bug c/39084] " bonzini at gnu dot org
2009-02-03 14:34 ` bonzini at gnu dot org
2009-02-03 15:31 ` rguenth at gcc dot gnu dot org
2009-02-06 22:47 ` sje at cup dot hp dot com
2009-02-06 22:48 ` sje at cup dot hp dot com
2009-02-07 19:18 ` hjl dot tools at gmail dot com
2009-02-10 16:33 ` sje at gcc dot gnu dot org
2009-02-10 16:34 ` sje at gcc dot gnu dot org
2009-02-10 16:44 ` sje at gcc dot gnu dot org
2009-02-10 16:45 ` sje at gcc dot gnu dot org
2009-02-10 16:49 ` sje at cup dot hp 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).