public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51219] New: ICE with structure initializer
@ 2011-11-19  0:04 reichelt at gcc dot gnu.org
  2012-01-07 22:38 ` [Bug c++/51219] ICE with designated initializers pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-19  0:04 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51219
           Summary: ICE with structure initializer
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following valid code snippet triggers an ICE on trunk:

=======================
struct A
{
  int i;
  int : 8;
};

void foo()
{
  A a = { .i = 0 };
}
=======================

bug.cc: In function 'void foo()':
bug.cc:7:6: error: non-trivial conversion at assignment
signed char
int
a.D.1836 = 0;

bug.cc:7:6: internal compiler error: verify_gimple failed
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2014-02-01  9:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-19  0:04 [Bug c++/51219] New: ICE with structure initializer reichelt at gcc dot gnu.org
2012-01-07 22:38 ` [Bug c++/51219] ICE with designated initializers pinskia at gcc dot gnu.org
2012-10-11 16:45 ` paolo.carlini at oracle dot com
2012-10-11 16:46 ` paolo.carlini at oracle dot com
2013-09-22 19:33 ` [Bug c++/51219] [4.6/4.7/4.8/4.9 regression] ICE with empty bit-fields reichelt at gcc dot gnu.org
2013-11-19  9:50 ` [Bug c++/51219] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org
2013-11-22 10:36 ` rguenth at gcc dot gnu.org
2014-01-27 12:51 ` paolo.carlini at oracle dot com
2014-02-01  9:25 ` paolo at gcc dot gnu.org
2014-02-01  9:29 ` [Bug c++/51219] [4.7/4.8 " paolo.carlini at oracle 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).