mirror of git://gcc.gnu.org/git/gcc.git
backport: rs6000.c (rs6000_output_symbol): Don't modify VAR_DECL string.
Backport from mainline
2016-09-27 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_output_symbol): Don't modify
VAR_DECL string.
From-SVN: r240544
This commit is contained in:
parent
4cbf07a7c6
commit
1dee0646ff
|
|
@ -1,3 +1,11 @@
|
|||
2016-09-27 David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
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 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/77478
|
||||
|
|
|
|||
|
|
@ -26231,6 +26231,9 @@ rs6000_output_symbol_ref (FILE *file, rtx x)
|
|||
(TREE_CODE (decl) == FUNCTION_DECL
|
||||
? "[DS]" : "[UA]"),
|
||||
NULL);
|
||||
|
||||
/* Don't modify name in extern VAR_DECL to include mapping class. */
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL)
|
||||
XSTR (x, 0) = name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue