Commit c63f3a34 by Richard Henderson Committed by Richard Henderson

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
parent e2cca9be
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment