Call fatal_error when the transform read from file is not legal.
2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (apply_poly_transforms): Do not abort when the transform read from disk is not legal. Call fatal_error instead. From-SVN: r164799
This commit is contained in:
parent
0ba825679d
commit
6eb412ef35
|
@ -1,3 +1,8 @@
|
|||
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.c (apply_poly_transforms): Do not abort when the
|
||||
transform read from disk is not legal. Call fatal_error instead.
|
||||
|
||||
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.c (print_pbb_body): Add missing closing parenthesis.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.c (apply_poly_transforms): Do not abort when the
|
||||
transform read from disk is not legal. Call fatal_error instead.
|
||||
|
||||
2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.c (print_pbb_body): Add missing closing parenthesis.
|
||||
|
|
|
@ -753,7 +753,11 @@ apply_poly_transforms (scop_p scop)
|
|||
{
|
||||
graphite_file = init_graphite_in_file (file_scop_number);
|
||||
transform_done |= graphite_read_scop_file (graphite_file, scop);
|
||||
gcc_assert (graphite_legal_transform (scop));
|
||||
|
||||
if (!graphite_legal_transform (scop))
|
||||
fatal_error ("the graphite file read for scop %d does not contain a legal transform",
|
||||
(int) file_scop_number);
|
||||
|
||||
file_scop_number++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue