2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-21 23:30:59 +08:00

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
This commit is contained in:
Andrew Pinski 2004-12-31 22:07:47 +00:00 committed by Andrew Pinski
parent 5df07255e2
commit 83cf88cb40
2 changed files with 8 additions and 1 deletions

@ -1,3 +1,9 @@
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>
* 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)
else
#endif /* HAVE_lo_sum */
{
if (GET_CODE (orig) == REG)
if (REG_P (orig)
|| GET_CODE (orig) == SUBREG)
{
return orig;
}