[Bug middle-end/34130] [4.1/4.2/4.3 Regression] the builtin abs() gives wrong result when used in some expression
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 17 14:23:00 GMT 2007
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-17 14:22 -------
Subject: Bug 34130
Author: rguenth
Date: Sat Nov 17 14:22:42 2007
New Revision: 130258
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130258
Log:
2007-11-17 Richard Guenther <rguenther@suse.de>
PR middle-end/34130
* fold-const.c (extract_muldiv_1): Do not move negative
constants inside ABS_EXPR.
* gcc.c-torture/execute/pr34130.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr34130.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34130
More information about the Gcc-bugs
mailing list