From 85897772fce546810e5869deb3be89298728334c Mon Sep 17 00:00:00 2001 From: dje Date: Sun, 9 Jun 2013 00:47:13 +0000 Subject: [PATCH] 2013-06-09 David Edelsohn Jan Hubicka * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical hack to mark symbols as used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199865 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12d773c50b7a..30f667a0ce1e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-06-09 David Edelsohn + Jan Hubicka + + * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical + hack to mark symbols as used. + 2013-06-08 Vladimir Makarov PR rtl-optimization/57559 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3e019bb0697b..df6c69ea9345 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) { -- 2.47.2