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:
Zdenek Dvorak 2006-07-25 22:38:37 +02:00 committed by Zdenek Dvorak
parent cb4132fe11
commit cdc30c4579
2 changed files with 5 additions and 1 deletions

View File

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

View File

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