[Bug c++/25632] [4.0 Regression] ICE with const int copied into two different functions

rakdver at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 28 14:32:00 GMT 2006



------- Comment #20 from rakdver at gcc dot gnu dot org  2006-02-28 14:24 -------
Subject: Bug 25632

Author: rakdver
Date: Tue Feb 28 14:24:05 2006
New Revision: 111565

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111565
Log:
        PR c++/25632
        * init.c (constant_value_1): Unshare use of DECL_INITIAL.

        * g++.dg/other/pr25632.C: New test.


Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/pr25632.C
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/init.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list