Ticket #29154: dragonegg-fix2.diff
File dragonegg-fix2.diff, 426 bytes (added by howarth@…, 14 years ago) |
---|
-
gcc/tree.c
old new 2337 2337 min = TYPE_MIN_VALUE (index_type); 2338 2338 max = TYPE_MAX_VALUE (index_type); 2339 2339 2340 /* TYPE_MAX_VALUE may not be set if the array has unknown length. */ 2341 if (!max) 2342 return error_mark_node; 2343 2340 2344 return (integer_zerop (min) 2341 2345 ? max 2342 2346 : fold_build2 (MINUS_EXPR, TREE_TYPE (max), max, min));