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
This commit is contained in:
David Edelsohn 2013-06-09 00:47:13 +00:00 committed by David Edelsohn
parent ef740c573b
commit 74fe2a1dd8
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
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.
2013-06-08 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/57559

View File

@ -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)
{