projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2521628
)
(assemble_name): Disable warn_id_clash around get_identifier call.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 8 Jun 1995 15:53:36 +0000
(11:53 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 8 Jun 1995 15:53:36 +0000
(11:53 -0400)
From-SVN: r9900
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index ace5ba69bd384bbd4d4e58b35a52b8aa6c67a968..a5e51ef15bab3196e6aa6894d11ce4b047311875 100644
(file)
--- a/
gcc/varasm.c
+++ b/
gcc/varasm.c
@@
-1561,9
+1561,15
@@
assemble_name (file, name)
char *name;
{
char *real_name;
+ int save_warn_id_clash = warn_id_clash;
STRIP_NAME_ENCODING (real_name, name);
+
+ /* Don't warn about an identifier name length clash on this name, since
+ it can be a user symbol suffixed by a number. */
+ warn_id_clash = 0;
TREE_SYMBOL_REFERENCED (get_identifier (real_name)) = 1;
+ warn_id_clash = save_warn_id_clash;
if (name[0] == '*')
{