]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/12832 (ICE: tree check: expected class 'd', have 'x' (error_mark) in locati...
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Mon, 10 Nov 2003 08:32:16 +0000 (08:32 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 10 Nov 2003 08:32:16 +0000 (08:32 +0000)
commit64323f62a668e5e88d0efae2eec9165d0d4fb8da
tree438670b86a1e7bbfb313f955d4b0d7ff755576c5
parent1ec0c6076c33fa776614e7efb44f0d0cafa85d51
re PR c++/12832 (ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962)

PR c++/12832
* name-lookup.c (supplement_binding): Gracefully handle names
used at non-class scope prior declaration.

From-SVN: r73406
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/lookup/used-before-declaration.C [new file with mode: 0644]