aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-06-09 00:47:13 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2013-06-08 20:47:13 -0400
commit74fe2a1dd8ea9a3122d1ad8e8f0a4aa728892e1e (patch)
tree99fc8417bce7d5103c85e718d58e36e692dd79e3 /gcc/config/rs6000
parentef740c573bf8a2759d7b91cb977c5cb1f9e0daf3 (diff)
downloadgcc-74fe2a1dd8ea9a3122d1ad8e8f0a4aa728892e1e.zip
gcc-74fe2a1dd8ea9a3122d1ad8e8f0a4aa728892e1e.tar.gz
gcc-74fe2a1dd8ea9a3122d1ad8e8f0a4aa728892e1e.tar.bz2
rs6000.c (print_operand, 'z'): Remove historical hack to mark symbols as used.
2013-06-09 David Edelsohn <dje.gcc@gmail.com> Jan Hubicka <jh@suse.cz> * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical hack to mark symbols as used. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r199865
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 3e019bb..df6c69e 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -15728,11 +15728,6 @@ print_operand (FILE *file, rtx x, int code)
TOCs and the like. */
gcc_assert (GET_CODE (x) == SYMBOL_REF);
- /* Mark the decl as referenced so that cgraph will output the
- function. */
- if (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)
{