This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2



------- Comment #15 from dodji at gcc dot gnu dot org  2008-07-30 13:19 -------
Subject: Bug 36767

Author: dodji
Date: Wed Jul 30 13:18:31 2008
New Revision: 138309

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138309
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:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/crash41.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/decl2.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36767


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]