mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 16:50:49 +08:00
tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
* tree-chrec.c (chrec_convert_aggressive): Return NULL on failure. From-SVN: r115740
This commit is contained in:
parent
cb4132fe11
commit
cdc30c4579
@ -1,3 +1,7 @@
|
||||
2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
|
||||
|
||||
2006-07-25 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
|
||||
|
@ -1326,7 +1326,7 @@ chrec_convert_aggressive (tree type, tree chrec)
|
||||
|
||||
/* If we cannot perform arithmetic in TYPE, avoid creating an scev. */
|
||||
if (avoid_arithmetics_in_type_p (type))
|
||||
return false;
|
||||
return NULL_TREE;
|
||||
|
||||
left = CHREC_LEFT (chrec);
|
||||
right = CHREC_RIGHT (chrec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user