Commit 83cf88cb by Andrew Pinski Committed by Andrew Pinski

re PR target/19211 (GNAT bug box compiling a-exexda.adb with stage1 compiler)

2004-12-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/19211
        * config/darwin.c (machopic_legitimize_pic_address): If the orig
        is subregister return orig.

From-SVN: r92776
parent 5df07255
2004-12-31 Andrew Pinski <pinskia@physics.uc.edu>
PR target/19211
* config/darwin.c (machopic_legitimize_pic_address): If the orig
is subregister return orig.
2004-12-31 Zdenek Dvorak <dvorakz@suse.cz> 2004-12-31 Zdenek Dvorak <dvorakz@suse.cz>
* tree-scalar-evolution.c (instantiate_parameters_1): Copy the * tree-scalar-evolution.c (instantiate_parameters_1): Copy the
......
...@@ -754,7 +754,8 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) ...@@ -754,7 +754,8 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
else else
#endif /* HAVE_lo_sum */ #endif /* HAVE_lo_sum */
{ {
if (GET_CODE (orig) == REG) if (REG_P (orig)
|| GET_CODE (orig) == SUBREG)
{ {
return orig; return orig;
} }
......
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