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:
parent
e2cca9be4e
commit
c63f3a3443
2 changed files with 7 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue