[Bug middle-end/30364] [4.1/4.2/4.3 Regression] Wrong variable ranges due to constant folding
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 21:57:00 GMT 2007
------- Comment #11 from rguenth at gcc dot gnu dot org 2007-02-28 21:56 -------
Subject: Bug 30364
Author: rguenth
Date: Wed Feb 28 21:56:41 2007
New Revision: 122414
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122414
Log:
2007-02-28 Richard Guenther <rguenther@suse.de>
PR middle-end/30364
* fold-const.c (fold_binary): Do not associate expressions
with more than one variable for integer types that do not wrap.
* gcc.dg/torture/pr30364-1.c: New testcase.
* gcc.dg/torture/pr30364-2.c: Likewise.
* gcc.dg/torture/pr30364-3.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr30364-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr30364-2.c
trunk/gcc/testsuite/gcc.dg/torture/pr30364-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30364
More information about the Gcc-bugs
mailing list