mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
backport: re PR rtl-optimization/30113 (ICE in trunc_int_for_mode)
2007-07-03 Richard Guenther <rguenther@suse.de> Backport from mainline: 2006-12-11 Zdenek Dvorak <dvorakz@suse.cz> PR rtl-optimization/30113 * loop-iv.c (implies_p): Require the mode of the operands to be scalar. From-SVN: r126259
This commit is contained in:
committed by
Richard Biener
parent
505bd2aa8e
commit
5b37cd331e
@@ -1,3 +1,12 @@
|
||||
2007-07-03 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
Backport from mainline:
|
||||
2006-12-11 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
PR rtl-optimization/30113
|
||||
* loop-iv.c (implies_p): Require the mode of the operands to be
|
||||
scalar.
|
||||
|
||||
2007-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
PR target/28307
|
||||
|
||||
@@ -1490,7 +1490,7 @@ implies_p (rtx a, rtx b)
|
||||
mode = VOIDmode;
|
||||
}
|
||||
|
||||
if (mode != VOIDmode
|
||||
if (SCALAR_INT_MODE_P (mode)
|
||||
&& rtx_equal_p (op1, opb1)
|
||||
&& simplify_gen_binary (MINUS, mode, opb0, op0) == const1_rtx)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user