Commit bfda9a5e by David Edelsohn Committed by David Edelsohn

* config/rs6000/rs6000.c (rs6000_output_symbol): Don't modify VAR_DECL string.

From-SVN: r240540
parent be594fbc
2016-09-27 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_output_symbol): Don't modify
VAR_DECL string.
2016-09-27 Marek Polacek <polacek@redhat.com> 2016-09-27 Marek Polacek <polacek@redhat.com>
* config/ia64/ia64.c (ia64_print_operand): Adjust fall through * config/ia64/ia64.c (ia64_print_operand): Adjust fall through
......
...@@ -30309,6 +30309,9 @@ rs6000_output_symbol_ref (FILE *file, rtx x) ...@@ -30309,6 +30309,9 @@ rs6000_output_symbol_ref (FILE *file, rtx x)
(TREE_CODE (decl) == FUNCTION_DECL (TREE_CODE (decl) == FUNCTION_DECL
? "[DS]" : "[UA]"), ? "[DS]" : "[UA]"),
NULL); NULL);
/* Don't modify name in extern VAR_DECL to include mapping class. */
if (TREE_CODE (decl) == FUNCTION_DECL)
XSTR (x, 0) = name; XSTR (x, 0) = name;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment