diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2013-06-05 15:19:15 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2013-06-05 11:19:15 -0400 |
commit | 8f8a20576a873e0ce7be126ce8008c347dd49a4a (patch) | |
tree | dbb75586615c51cd151947736643fecdcd44725a | |
parent | edb983b2cb3961d9a5fa45444ff0fbf16e3adc0a (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154f0f0..6082b51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-06-05 David Edelsohn <dje.gcc@gmail.com> + + * config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P + instead of mark_decl_referenced. + 2013-06-05 Jan Hubicka <jh@suse.cz> * cgraph.c (cgraph_remove_node): Clear forced_by_abi. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 527dbc5..d7fae3d8 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) |