public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50458] New: ICE when using brace-initializer for new array
@ 2011-09-19 22:14 z0sh at sogetthis dot com
  2011-09-19 23:21 ` [Bug c++/50458] " z0sh at sogetthis dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: z0sh at sogetthis dot com @ 2011-09-19 22:14 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50458
           Summary: ICE when using brace-initializer for new array
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: z0sh@sogetthis.com


The following causes a crash in GCC 4.6.1, with or without -std=c++0x:

   char * p = new char[110] {};


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

* [Bug c++/50458] ICE when using brace-initializer for new array
  2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
@ 2011-09-19 23:21 ` z0sh at sogetthis dot com
  2011-09-19 23:23 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: z0sh at sogetthis dot com @ 2011-09-19 23:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Kerrek SB <z0sh at sogetthis dot com> 2011-09-19 22:13:29 UTC ---
(I am told that this is no longer a problem in the latest snapshot.)


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

* [Bug c++/50458] ICE when using brace-initializer for new array
  2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
  2011-09-19 23:21 ` [Bug c++/50458] " z0sh at sogetthis dot com
@ 2011-09-19 23:23 ` redi at gcc dot gnu.org
  2011-09-23 22:41 ` [Bug c++/50458] [4.6 Regression] " paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-09-19 23:23 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-09-19
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |4.7.0
     Ever Confirmed|0                           |1
      Known to fail|                            |4.6.2

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-19 22:14:16 UTC ---
yep, works ok on trunk, but confirmed with
gcc version 4.6.2 20110917 (prerelease) [gcc-4_6-branch revision 178930] (GCC)


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

* [Bug c++/50458] [4.6 Regression] ICE when using brace-initializer for new array
  2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
  2011-09-19 23:21 ` [Bug c++/50458] " z0sh at sogetthis dot com
  2011-09-19 23:23 ` redi at gcc dot gnu.org
@ 2011-09-23 22:41 ` paolo.carlini at oracle dot com
  2011-09-29 13:26 ` rguenth at gcc dot gnu.org
  2011-10-11 18:33 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-23 22:41 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE when using              |[4.6 Regression] ICE when
                   |brace-initializer for new   |using brace-initializer for
                   |array                       |new array

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-23 22:34:24 UTC ---
AFAICS, worked in 4.5.x.


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

* [Bug c++/50458] [4.6 Regression] ICE when using brace-initializer for new array
  2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
                   ` (2 preceding siblings ...)
  2011-09-23 22:41 ` [Bug c++/50458] [4.6 Regression] " paolo.carlini at oracle dot com
@ 2011-09-29 13:26 ` rguenth at gcc dot gnu.org
  2011-10-11 18:33 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-29 13:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.2


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

* [Bug c++/50458] [4.6 Regression] ICE when using brace-initializer for new array
  2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
                   ` (3 preceding siblings ...)
  2011-09-29 13:26 ` rguenth at gcc dot gnu.org
@ 2011-10-11 18:33 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-11 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.5.4
         Resolution|                            |DUPLICATE
      Known to fail|                            |4.6.0

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-11 18:33:12 UTC ---
Dup.

*** This bug has been marked as a duplicate of bug 49216 ***


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

end of thread, other threads:[~2011-10-11 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-19 22:14 [Bug c++/50458] New: ICE when using brace-initializer for new array z0sh at sogetthis dot com
2011-09-19 23:21 ` [Bug c++/50458] " z0sh at sogetthis dot com
2011-09-19 23:23 ` redi at gcc dot gnu.org
2011-09-23 22:41 ` [Bug c++/50458] [4.6 Regression] " paolo.carlini at oracle dot com
2011-09-29 13:26 ` rguenth at gcc dot gnu.org
2011-10-11 18:33 ` jason 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).