aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-06-05 15:19:15 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2013-06-05 11:19:15 -0400
commit8f8a20576a873e0ce7be126ce8008c347dd49a4a (patch)
treedbb75586615c51cd151947736643fecdcd44725a /gcc/config/rs6000
parentedb983b2cb3961d9a5fa45444ff0fbf16e3adc0a (diff)
downloadgcc-8f8a20576a873e0ce7be126ce8008c347dd49a4a.zip
gcc-8f8a20576a873e0ce7be126ce8008c347dd49a4a.tar.gz
gcc-8f8a20576a873e0ce7be126ce8008c347dd49a4a.tar.bz2
rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P instead of mark_decl_referenced.
* config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P instead of mark_decl_referenced. From-SVN: r199698
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 527dbc5..d7fae3d 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -15677,7 +15677,7 @@ print_operand (FILE *file, rtx x, int code)
/* Mark the decl as referenced so that cgraph will output the
function. */
if (SYMBOL_REF_DECL (x))
- mark_decl_referenced (SYMBOL_REF_DECL (x));
+ DECL_PRESERVE_P (SYMBOL_REF_DECL (x)) = 1;
/* For macho, check to see if we need a stub. */
if (TARGET_MACHO)