r158030 - in /trunk: gcc/cp/ChangeLog gcc/cp/pa...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Apr 6 21:13:00 GMT 2010
Author: jason
Date: Tue Apr 6 21:13:07 2010
New Revision: 158030
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158030
Log:
* parser.c (cp_parser_class_specifier): Set class location to that
of IDENTIFIER_NODE instead of '{' when possible.
* semantics.c (begin_class_definition): Do not overide locations
with less precise ones.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/pr31437.C
trunk/gcc/testsuite/g++.dg/ext/attrib18.C
trunk/gcc/testsuite/g++.dg/ext/bitfield2.C
trunk/gcc/testsuite/g++.dg/ext/bitfield4.C
trunk/gcc/testsuite/g++.dg/ext/visibility/warn2.C
trunk/gcc/testsuite/g++.dg/ext/visibility/warn3.C
trunk/gcc/testsuite/g++.dg/gomp/pr26690-1.C
trunk/gcc/testsuite/g++.dg/inherit/covariant7.C
trunk/gcc/testsuite/g++.dg/init/synth2.C
trunk/gcc/testsuite/g++.dg/lookup/using7.C
trunk/gcc/testsuite/g++.dg/other/crash-4.C
trunk/gcc/testsuite/g++.dg/other/error13.C
trunk/gcc/testsuite/g++.dg/other/error20.C
trunk/gcc/testsuite/g++.dg/parse/crash31.C
trunk/gcc/testsuite/g++.dg/parse/error16.C
trunk/gcc/testsuite/g++.dg/parse/error19.C
trunk/gcc/testsuite/g++.dg/parse/error27.C
trunk/gcc/testsuite/g++.dg/parse/error28.C
trunk/gcc/testsuite/g++.dg/parse/fused-params1.C
trunk/gcc/testsuite/g++.dg/template/error2.C
trunk/gcc/testsuite/g++.dg/template/local6.C
trunk/gcc/testsuite/g++.dg/template/qualttp15.C
trunk/gcc/testsuite/g++.dg/warn/Wnvdtor-2.C
trunk/gcc/testsuite/g++.dg/warn/anonymous-namespace-3.C
trunk/gcc/testsuite/g++.old-deja/g++.benjamin/15309-1.C
trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
trunk/gcc/testsuite/g++.old-deja/g++.eh/spec6.C
trunk/gcc/testsuite/g++.old-deja/g++.jason/crash3.C
trunk/gcc/testsuite/g++.old-deja/g++.jason/destruct2.C
trunk/gcc/testsuite/g++.old-deja/g++.law/ctors5.C
trunk/gcc/testsuite/g++.old-deja/g++.law/ctors9.C
trunk/gcc/testsuite/g++.old-deja/g++.mike/p3538a.C
trunk/gcc/testsuite/g++.old-deja/g++.mike/p3538b.C
trunk/gcc/testsuite/g++.old-deja/g++.other/struct1.C
trunk/gcc/testsuite/g++.old-deja/g++.other/volatile1.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/crash36.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/derived3.C
trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb109.C
trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C
trunk/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc
trunk/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc
trunk/libstdc++-v3/testsuite/ext/type_traits/add_unsigned_integer_neg.cc
trunk/libstdc++-v3/testsuite/ext/type_traits/remove_unsigned_integer_neg.cc
More information about the Gcc-cvs
mailing list