public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/30898]  New: [4.3 regression] ICE with anonymous union and
@ 2007-02-20 22:28 reichelt at gcc dot gnu dot org
  2007-02-20 22:29 ` [Bug debug/30898] [4.3 regression] ICE with anonymous union and -g reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-20 22:28 UTC (permalink / raw)
  To: gcc-bugs

The following code snippet triggers an ICE on mainline when compiled with
"g++ -O -g":

===================
double foo()
{
  union
  {
    int i;
    double d;
  };

  i = 0;
  return d;
}
===================

bug.cc: In function 'double foo()':
bug.cc:11: internal compiler error: in mem_loc_descriptor, at dwarf2out.c:9010
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with anonymous union and
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: debug
        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=30898


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

end of thread, other threads:[~2007-02-22 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 22:28 [Bug debug/30898] New: [4.3 regression] ICE with anonymous union and reichelt at gcc dot gnu dot org
2007-02-20 22:29 ` [Bug debug/30898] [4.3 regression] ICE with anonymous union and -g reichelt at gcc dot gnu dot org
2007-02-21 11:02 ` rguenth at gcc dot gnu dot org
2007-02-21 11:03 ` rguenth at gcc dot gnu dot org
2007-02-21 11:06 ` rguenth at gcc dot gnu dot org
2007-02-21 16:12 ` ian at airs dot com
2007-02-22 14:55 ` ian at gcc dot gnu dot org
2007-02-22 16:00 ` ian at airs 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).