public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51215] New: [4.7 Regression] ICE with invalid array initializer
@ 2011-11-18 22:53 reichelt at gcc dot gnu.org
  2011-11-18 22:57 ` [Bug c++/51215] " reichelt at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-18 22:53 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51215
           Summary: [4.7 Regression] ICE with invalid array 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 invalid line of code triggers an ICE on trunk:

==========================
int x[] = { [0.] {} };
==========================

bug.cc:1:14: error: expected identifier before numeric constant
bug.cc:1:21: internal compiler error: in check_array_designated_initializer, at
cp/decl.c:4679
Please submit a full bug report, [etc.]


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

* [Bug c++/51215] [4.7 Regression] ICE with invalid array initializer
  2011-11-18 22:53 [Bug c++/51215] New: [4.7 Regression] ICE with invalid array initializer reichelt at gcc dot gnu.org
@ 2011-11-18 22:57 ` reichelt at gcc dot gnu.org
  2011-12-06 14:04 ` rguenth at gcc dot gnu.org
  2011-12-08  7:49 ` reichelt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-18 22:57 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
   Target Milestone|---                         |4.7.0


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

* [Bug c++/51215] [4.7 Regression] ICE with invalid array initializer
  2011-11-18 22:53 [Bug c++/51215] New: [4.7 Regression] ICE with invalid array initializer reichelt at gcc dot gnu.org
  2011-11-18 22:57 ` [Bug c++/51215] " reichelt at gcc dot gnu.org
@ 2011-12-06 14:04 ` rguenth at gcc dot gnu.org
  2011-12-08  7:49 ` reichelt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-06 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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

* [Bug c++/51215] [4.7 Regression] ICE with invalid array initializer
  2011-11-18 22:53 [Bug c++/51215] New: [4.7 Regression] ICE with invalid array initializer reichelt at gcc dot gnu.org
  2011-11-18 22:57 ` [Bug c++/51215] " reichelt at gcc dot gnu.org
  2011-12-06 14:04 ` rguenth at gcc dot gnu.org
@ 2011-12-08  7:49 ` reichelt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-08  7:49 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> 2011-12-08 07:48:33 UTC ---
Fixed by Jakub's patch for PR51229.
Jakub, do you want to add this testcase as well?


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

end of thread, other threads:[~2011-12-08  7:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-18 22:53 [Bug c++/51215] New: [4.7 Regression] ICE with invalid array initializer reichelt at gcc dot gnu.org
2011-11-18 22:57 ` [Bug c++/51215] " reichelt at gcc dot gnu.org
2011-12-06 14:04 ` rguenth at gcc dot gnu.org
2011-12-08  7:49 ` reichelt at gcc dot gnu.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).