r138308 - in /trunk/gcc: cp/ChangeLog cp/decl2....
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Wed Jul 30 13:07:00 GMT 2008
Author: dodji
Date: Wed Jul 30 13:07:50 2008
New Revision: 138308
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138308
Log:
2008-07-30 Dodji Seketeli <dseketel@redhat.com>
PR c++/36767
* decl2.c (fix_temporary_vars_context_r): New function.
(one_static_initialization_or_destruction): Make sure temporary
variables part of the initialiser have their DECL_CONTEXT()
properly set.
Added:
trunk/gcc/testsuite/g++.dg/parse/crash42.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list