* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
@ 2004-11-08 6:51 ` mueller at kde dot org
2004-11-08 10:44 ` reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mueller at kde dot org @ 2004-11-08 6:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
2004-11-08 6:51 ` [Bug c++/18369] " mueller at kde dot org
@ 2004-11-08 10:44 ` reichelt at gcc dot gnu dot org
2004-11-08 12:33 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-11-08 10:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2004-11-08 10:44:03
date| |
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
2004-11-08 6:51 ` [Bug c++/18369] " mueller at kde dot org
2004-11-08 10:44 ` reichelt at gcc dot gnu dot org
@ 2004-11-08 12:33 ` pinskia at gcc dot gnu dot org
2004-11-08 13:46 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 12:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 12:33 -------
: Search converges between 2004-06-22-trunk (#470) and 2004-06-24-trunk (#471).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
` (2 preceding siblings ...)
2004-11-08 12:33 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 13:46 ` pinskia at gcc dot gnu dot org
2004-11-09 6:58 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 13:46 -------
Almost certained it is caused by:
2004-06-21 Mark Mitchell <mark@codesourcery.com>
* cp-tree.def (NEW_EXPR): Add a fourth slot.
* cp-tree.h (PARMLIST_ELLIPSIS_P): Remove.
(TREE_PARMLIST): Likewise.
(CALL_DECLARATOR_PARMS): Likewise.
(CALL_DECLARATOR_QUALS): Likewise.
(CALL_DECLARATOR_EXCEPTION_SPEC): Likewise.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org, mark at codesourcery
| |dot com
Known to fail| |4.0.0
Known to work| |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
` (3 preceding siblings ...)
2004-11-08 13:46 ` pinskia at gcc dot gnu dot org
@ 2004-11-09 6:58 ` mmitchel at gcc dot gnu dot org
2004-11-10 17:01 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-09 6:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
` (4 preceding siblings ...)
2004-11-09 6:58 ` mmitchel at gcc dot gnu dot org
@ 2004-11-10 17:01 ` cvs-commit at gcc dot gnu dot org
2004-11-10 17:20 ` mmitchel at gcc dot gnu dot org
2005-01-06 0:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-10 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-10 17:01 -------
Subject: Bug 18369
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-11-10 17:01:00
Modified files:
gcc/cp : ChangeLog init.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/init: new12.C
Log message:
PR c++/18369
* init.c (build_new_1): Handle parenthesized type-ids that name an
array type. Tidy.
PR c++/18369
* g++.dg/init/new12.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4476&r2=1.4477
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&r1=1.400&r2=1.401
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4569&r2=1.4570
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
` (5 preceding siblings ...)
2004-11-10 17:01 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-10 17:20 ` mmitchel at gcc dot gnu dot org
2005-01-06 0:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-10 17:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-10 17:20 -------
Fixed in GCC 4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18369] [4.0 regression] Segfault on braced new
2004-11-08 6:50 [Bug c++/18369] New: [4.0 regression] Segfault on braced new mueller at kde dot org
` (6 preceding siblings ...)
2004-11-10 17:20 ` mmitchel at gcc dot gnu dot org
@ 2005-01-06 0:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-06 0:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-06 00:20 -------
Subject: Bug 18369
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-ppc-branch
Changes by: austern@gcc.gnu.org 2005-01-06 00:20:31
Modified files:
gcc/cp : ChangeLog.apple-ppc init.c
gcc/testsuite : ChangeLog.apple-ppc
Added files:
gcc/testsuite/g++.dg/init: new12.C
Log message:
radar 3934803
PR c++/18369
* init.c (build_new_1): Handle parenthesized type-ids that name an
array type. Tidy.
* g++.dg/init/new12.C: New test.
- Customer impact (why this needs to be fixed): This bug causes the compiler to crash whenever it encounters a certain construct that's moderately obscure but only moderately. I expect many large C++ projects to use this construct in at least one place. Among the projects that use this is QuickTimeStreaming, so this radar causes a side world build failure.
- Code reviewed by (name): Mark Mitchell for fsf mainline (11/9/04), Geoff Keating for apple-ppc-branch (1/5/05)
- Code review date: see above
- Root build number the fix was tested in: n/a
- Root build date:n/a
- What did you do to test the fix: bootstrapped the compiler, ran dg, verified that the new test case that's part of the patch (new12.C) passes, verified that the test case in this radar passes, verified that this patch caused no dg regressions
- Is there a test case for this fix? If not, why: yes, see above
- Other components affected by this fix (i.e., identify integration points): none
- Other groups affected by the fix (i.e., QA, Pubs, other eng groups): QA will have to test it
- Is there Localization impact? no
- Risk assessment: Low. This patch has been in fsf mainline for the last two months, and nobody has seen a problem with it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.22&r2=1.1.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.281.2.40.2.11&r2=1.281.2.40.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.72&r2=1.1.2.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new12.C.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.14.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18369
^ permalink raw reply [flat|nested] 9+ messages in thread