aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-02-03 00:50:50 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-02-03 00:50:50 +0000
commit90e65b7084d00d88e68c73d57fa144a7be68f96a (patch)
tree991605ac4f2e5d2689a420361b31f9f21ebfd291 /gcc/config
parente7daa976ff12090936e9ce02dd13ee64006a736c (diff)
downloadgcc-90e65b7084d00d88e68c73d57fa144a7be68f96a.zip
gcc-90e65b7084d00d88e68c73d57fa144a7be68f96a.tar.gz
gcc-90e65b7084d00d88e68c73d57fa144a7be68f96a.tar.bz2
sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode.
* config/sh/sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode. From-SVN: r49451
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sh/sh.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 9b54d29..24fbacc 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -2501,7 +2501,8 @@
"
{
operands[0] = force_reg (Pmode, operands[0]);
- operands[1] = force_reg (Pmode, GEN_INT (0xf0000008));
+ operands[1] = force_reg (Pmode, GEN_INT (trunc_int_for_mode (0xf0000008,
+ Pmode)));
}")
;; The address %0 is assumed to be 4-aligned at least. Thus, by ORing