[Bug middle-end/34130] [4.1/4.2 Regression] the builtin abs() gives wrong result when used in some expression
doko at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 22 15:34:00 GMT 2007
------- Comment #5 from doko at gcc dot gnu dot org 2007-11-22 15:34 -------
Subject: Bug 34130
Author: doko
Date: Thu Nov 22 15:34:03 2007
New Revision: 130352
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130352
Log:
2007-11-22 Matthias Klose <doko@ubuntu.com>
Backport from mainline:
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.
PR middle-end/34130
* gcc.c-torture/execute/pr34130.c: New testcase.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr34130.c
- copied unchanged from r130258,
trunk/gcc/testsuite/gcc.c-torture/execute/pr34130.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/fold-const.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34130
More information about the Gcc-bugs
mailing list