aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-12 22:30:33 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-06-12 22:30:33 -0700
commitc63f3a3443ab52525a0e189119b8a8f3cc51115f (patch)
tree560594c7daab208a96378f02a26aebc9b937bfa8 /gcc/rtlanal.c
parente2cca9be4e33f6ffe669568d16e97ea70223fdd9 (diff)
downloadgcc-c63f3a3443ab52525a0e189119b8a8f3cc51115f.zip
gcc-c63f3a3443ab52525a0e189119b8a8f3cc51115f.tar.gz
gcc-c63f3a3443ab52525a0e189119b8a8f3cc51115f.tar.bz2
re PR middle-end/10557 ([m68k] ICE in subreg_offset_representable_p)
PR middle-end/10557 * rtlanal.c (subreg_offset_representable_p): Relax subreg check. From-SVN: r67878
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index b7fbe4a..2ce2595 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -3427,16 +3427,10 @@ subreg_offset_representable_p (xregno, xmode, offset, ymode)
#ifdef ENABLE_CHECKING
/* This should always pass, otherwise we don't know how to verify the
- constraint.
-
- These conditions may be relaxed but subreg_offset would need to be
- redesigned. */
+ constraint. These conditions may be relaxed but subreg_offset would
+ need to be redesigned. */
if (GET_MODE_SIZE (xmode) % GET_MODE_SIZE (ymode)
|| GET_MODE_SIZE (ymode) % nregs_ymode
- || (GET_MODE_BITSIZE (mode_for_size (GET_MODE_BITSIZE (xmode)
- / nregs_xmode,
- MODE_INT, 0))
- != GET_MODE_BITSIZE (xmode) / nregs_xmode)
|| nregs_xmode % nregs_ymode)
abort ();
#endif