This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12832] [3.4 regression] ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2003 08:32:42 -0000
- Subject: [Bug c++/12832] [3.4 regression] ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962
- References: <20031029205201.12832.redi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-10 08:32 -------
Subject: Bug 12832
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: gdr@gcc.gnu.org 2003-11-10 08:32:17
Modified files:
gcc/cp : ChangeLog name-lookup.c
Added files:
gcc/testsuite/g++.dg/lookup: used-before-declaration.C
Log message:
PR c++/12832
* name-lookup.c (supplement_binding): Gracefully handle names
used at non-class scope prior declaration.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3751&r2=1.3752
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.17&r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/used-before-declaration.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12832