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
This commit is contained in:
Richard Henderson 2003-06-12 22:30:33 -07:00 committed by Richard Henderson
parent e2cca9be4e
commit c63f3a3443
2 changed files with 7 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2003-06-12 Richard Henderson <rth@redhat.com>
PR middle-end/10557
* rtlanal.c (subreg_offset_representable_p): Relax subreg check.
2003-06-13 Kazu Hirata <kazu@cs.umass.edu>
* config/m32r/m32r.md: Fix a comment typo.

View file

@ -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