diff options
author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-09 17:56:04 +0000 |
---|---|---|
committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-09 17:56:04 +0000 |
commit | 8187c3ba39f3119fb586cdd1262178fc9f7c12ec (patch) | |
tree | cf0b47a5a352e79744f0913d07ee2799df3c370a /gcc/simplify-rtx.c | |
parent | 281b870dc28b7388211c9c8ab1bf70c4e19e38cc (diff) | |
download | gcc-8187c3ba39f3119fb586cdd1262178fc9f7c12ec.tar.gz |
2006-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* simplify-rtx.c (avoid_constant_pool_reference): Avoid calling
simplify_subreg with BLKmode outer mode.
2006-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20061109-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index fe5463a3f27..6a9464ca8aa 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -158,6 +158,9 @@ avoid_constant_pool_reference (rtx x) return x; } + if (GET_MODE (x) == BLKmode) + return x; + addr = XEXP (x, 0); /* Call target hook to avoid the effects of -fpic etc.... */ |