[Bug c++/31165] [4.2/4.3 Regression] Error: symbol `an_empty_string' is already defined

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 01:27:00 GMT 2007



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-03-15 01:27 -------
Subject: Bug 31165

Author: pinskia
Date: Thu Mar 15 01:27:29 2007
New Revision: 122941

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122941
Log:
2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR c++/31165
        * call.c  (convert_default_arg): Instead of copying the node,
        unshare it.
2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/31165
        * g++.dg/other/default7.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/other/default7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list