re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR bootstrap/6514 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check for duplicates. Always loop over whole list. From-SVN: r53006
This commit is contained in:
parent
8d53318f2a
commit
a81eed1000
@ -1,3 +1,9 @@
|
||||
2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
PR bootstrap/6514
|
||||
* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
|
||||
for duplicates. Always loop over whole list.
|
||||
|
||||
Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* reload.c (find_reloads, case 'p'): Set BADOP to 0.
|
||||
|
11
gcc/varasm.c
11
gcc/varasm.c
@ -5094,12 +5094,13 @@ globalize_decl (decl)
|
||||
|
||||
/* Remove this function from the pending weak list so that
|
||||
we do not emit multiple .weak directives for it. */
|
||||
for (p = &weak_decls; (t = *p) ; p = &TREE_CHAIN (t))
|
||||
if (TREE_VALUE (t) == decl)
|
||||
{
|
||||
for (p = &weak_decls; (t = *p) ; )
|
||||
{
|
||||
if (DECL_ASSEMBLER_NAME (decl) == DECL_ASSEMBLER_NAME (TREE_VALUE (t)))
|
||||
*p = TREE_CHAIN (t);
|
||||
break;
|
||||
}
|
||||
else
|
||||
p = &TREE_CHAIN (t);
|
||||
}
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user