------- 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: [EMAIL PROTECTED] 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