Commit 9bf6462a by Andrew Pinski Committed by Andrew Pinski

rs6000.c (print_operand): Call mark_decl_referenced before assemble_name.

2004-05-20  Andrew Pinski  <pinskia@physics.uc.edu>

        * rs6000.c (print_operand) <case 'z'>: Call
        mark_decl_referenced before assemble_name.

From-SVN: r82061
parent 30719c65
2004-05-20 Andrew Pinski <pinskia@physics.uc.edu>
* rs6000.c (print_operand) <case 'z'>: Call
mark_decl_referenced before assemble_name.
2004-05-20 Zack Weinberg <zack@codesourcery.com>
* cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node)
......
......@@ -9682,6 +9682,10 @@ print_operand (FILE *file, rtx x, int code)
if (GET_CODE (x) != SYMBOL_REF)
abort ();
/* Mark the decl as referenced so that cgraph will output the function. */
if (SYMBOL_REF_DECL (x))
mark_decl_referenced (SYMBOL_REF_DECL (x));
if (XSTR (x, 0)[0] != '.')
{
switch (DEFAULT_ABI)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment