[Bug c++/12832] [3.4 regression] ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 10 08:32:00 GMT 2003
------- 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
More information about the Gcc-bugs
mailing list