------- Comment #14 from dodji at gcc dot gnu dot org 2008-07-30 13:09 ------- Subject: Bug 36767
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 <[EMAIL PROTECTED]> 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36767