fold-const.c
507 KB
-
re PR middle-end/49958 (fold performs invalid association) · a130fb24
2011-08-03 Richard Guenther <rguenther@suse.de> PR middle-end/49958 * fold-const.c (fold_binary_loc): Only associate (+ (+ (* a b) c) (* d e)) as (+ (+ (* a b) (* d e)) c) if overflow wraps. * gcc.dg/torture/pr49958.c: New testcase. From-SVN: r177270
Richard Guenther committed