Summary: | [3.3 regression] memory eating infinite loop in diagnostics | ||
---|---|---|---|
Product: | gcc | Reporter: | Christopher Saunders <ctsa> |
Component: | c++ | Assignee: | Mark Mitchell <mark> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, gdr |
Priority: | P3 | Keywords: | diagnostic |
Version: | 3.4.0 | ||
Target Milestone: | 3.3.3 | ||
Host: | i386-redhat-linux | Target: | i386-redhat-linux |
Build: | i386-redhat-linux | Known to work: | |
Known to fail: | Last reconfirmed: | 2003-12-05 03:59:40 |
Description
Christopher Saunders
2003-10-20 21:02:39 UTC
Confirmed. With some luck, the loop ends after about 4 billion iterations, but who wants to wait that long? :-) Gaby, this looks diagnostics related, so I assign it to you. W. Subject: Re: [3.3/3.4 regression] memory eating infinite loop in diagnostics "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes: | Confirmed. With some luck, the loop ends after about 4 billion iterations, | but who wants to wait that long? :-) | | Gaby, this looks diagnostics related, so I assign it to you. Thanks! -- Gaby This seems to be fixed. I'm not sure since I never saw this bug in the first place... t.c:1: error: missing terminating " character t.c:1: error: expected unqualified-id t.c:1: error: expected `,' or `;' Subject: Bug 12696 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2003-12-17 04:45:53 Modified files: gcc : ChangeLog varasm.c gcc/cp : ChangeLog decl.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/init: error1.C pm3.C Log message: PR c++/12218 * varasm.c (initializer_constant_valid_p): Allow a conversion from an integral constant to an OFFSET_TYPE. PR c++/12696 * decl.c (reshape_init): Recover quickly from errors. PR c++/12218 * g++.dg/init/pm3.C: New test. PR c++/12696 * g++.dg/init/error1.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2014&r2=2.2015 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&r1=1.399&r2=1.400 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3814&r2=1.3815 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1162&r2=1.1163 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3273&r2=1.3274 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/error1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/pm3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 Fixed in GCC 3.4. Mark, this is a 3.3 regression too. Can the decl.c hunks be backported to the branch as well? Reopening as 3.3 regression only. Subject: Bug 12696 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: gdr@gcc.gnu.org 2003-12-26 04:06:46 Modified files: gcc/cp : ChangeLog decl.c Added files: gcc/testsuite/g++.dg/init: error1.C Log message: Backport from mainline: 2003-12-16 Mark Mitchell <mark@codesourcery.com> PR c++/12696 * decl.c (reshape_init): Recover quickly from errors. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/error1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.228&r2=1.3076.2.229 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.965.2.65&r2=1.965.2.66 |