[Bug c++/28284] [4.1 regression] ICE with invalid static const variable
--- Comment #10 from reichelt at gcc dot gnu dot org 2007-01-27 19:58 --- Subject: Bug 28284 Author: reichelt Date: Sat Jan 27 19:58:38 2007 New Revision: 121238 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121238 Log: Backport: 2006-11-13 Mark Mitchell [EMAIL PROTECTED] PR c++/29106 * init.c (constant_value_1): Treat a DECL_INITIAL of error_mark_node as meaning that the variable is uninitialized, rather than erroneously initialized. * g++.dg/init/self1.C: New test. * g++.dg/other/fold1.C: Adjust error markers. * g++.dg/init/member1.C: Likewise. 2006-08-27 Simon Martin [EMAIL PROTECTED] PR c++/28284 * pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if it is NULL. * g++.dg/template/pr28284.C: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/init/self1.C branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/pr28284.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/init.c branches/gcc-4_0-branch/gcc/cp/pt.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/g++.dg/init/member1.C branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/fold1.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284
[Bug c++/28284] [4.1 regression] ICE with invalid static const variable
--- Comment #8 from reichelt at gcc dot gnu dot org 2006-12-03 10:20 --- Subject: Bug 28284 Author: reichelt Date: Sun Dec 3 10:19:59 2006 New Revision: 119462 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119462 Log: Backport: 2006-08-27 Simon Martin [EMAIL PROTECTED] PR c++/28284 * pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if it is NULL. * g++.dg/template/pr28284.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/pr28284.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284
[Bug c++/28284] [4.1 regression] ICE with invalid static const variable
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-12-03 17:51 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284
[Bug c++/28284] [4.1 regression] ICE with invalid static const variable
--- Comment #7 from patchapp at dberlin dot org 2006-12-02 02:15 --- Subject: Bug number PR c++/28284 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00064.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284
[Bug c++/28284] [4.1 regression] ICE with invalid static const variable
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-11-18 11:39 --- Mark, your patch for PR29106 backported this bug back to the 4.1 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||mark at codesourcery dot com Status|RESOLVED|REOPENED Resolution|FIXED | Summary|[4.2 regression] ICE with |[4.1 regression] ICE with |invalid static const|invalid static const |variable|variable Target Milestone|4.2.0 |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284