Commit c0d594f1 by Andrew Pinski Committed by Andrew Pinski

darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the…

darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the original RTX for the new non-lazy pointer RTX.

2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (machopic_indirect_data_reference): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
        non-lazy pointer RTX.

From-SVN: r82606
parent dfc46c1f
2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.c (machopic_indirect_data_reference): Copy
the SYMBOL_REF_DECL from the original RTX for the new
non-lazy pointer RTX.
2004-06-03 Mark G. Adams <mark.g.adams@sympatico.ca>
* tree.h: Remove include of version.h
......
......@@ -499,6 +499,8 @@ machopic_indirect_data_reference (rtx orig, rtx reg)
ptr_ref = gen_rtx_SYMBOL_REF (Pmode,
machopic_non_lazy_ptr_name (name));
SYMBOL_REF_DECL (ptr_ref) = SYMBOL_REF_DECL (orig);
ptr_ref = gen_rtx_MEM (Pmode, ptr_ref);
RTX_UNCHANGING_P (ptr_ref) = 1;
......
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