diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/varasm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index ace5ba6..a5e51ef 100644 --- 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] == '*') { |