Author: chenr
Date: 2010-09-13 21:02:22 -0400 (Mon, 13 Sep 2010)
New Revision: 3342
Modified:
trunk/osprey-gcc-4.2.0/gcc/cp/decl.c
trunk/osprey-gcc/gcc/cp/decl.c
Log:
Fixed g++ builtin regression tests fails. (Bug 627)
Approved by Lai JianXin.
Modified: trunk/osprey-gcc/gcc/cp/decl.c
===================================================================
--- trunk/osprey-gcc/gcc/cp/decl.c 2010-09-13 22:24:54 UTC (rev 3341)
+++ trunk/osprey-gcc/gcc/cp/decl.c 2010-09-14 01:02:22 UTC (rev 3342)
@@ -1818,7 +1818,8 @@
DECL_COMMON (newdecl) = DECL_COMMON (olddecl);
#ifdef OPEN64_SPIN
if (flag_spin_file)
- SET_DECL_ASSEMBLER_NAME (newdecl, DECL_ASSEMBLER_NAME(olddecl));
+ SET_DECL_ASSEMBLER_NAME (newdecl,
+ DECL_ASSEMBLER_NAME_SET_P(olddecl) ?
DECL_ASSEMBLER_NAME(olddecl) : NULL);
else
#endif
COPY_DECL_ASSEMBLER_NAME (olddecl, newdecl);
Modified: trunk/osprey-gcc-4.2.0/gcc/cp/decl.c
===================================================================
--- trunk/osprey-gcc-4.2.0/gcc/cp/decl.c 2010-09-13 22:24:54 UTC (rev
3341)
+++ trunk/osprey-gcc-4.2.0/gcc/cp/decl.c 2010-09-14 01:02:22 UTC (rev
3342)
@@ -1953,7 +1953,8 @@
DECL_COMMON (newdecl) = DECL_COMMON (olddecl);
#ifdef OPEN64_SPIN
if (flag_spin_file)
- SET_DECL_ASSEMBLER_NAME (newdecl, DECL_ASSEMBLER_NAME(olddecl));
+ SET_DECL_ASSEMBLER_NAME (newdecl,
+ DECL_ASSEMBLER_NAME_SET_P(olddecl) ?
DECL_ASSEMBLER_NAME(olddecl) : NULL);
else
#endif
COPY_DECL_ASSEMBLER_NAME (olddecl, newdecl);
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel