[Bug tree-optimization/31136] [4.2 Regression] FRE ignores bit-field truncation (C and C++ front-end don't produce bit-field truncation
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Apr 21 17:44:00 GMT 2007
------- Comment #16 from rguenth at gcc dot gnu dot org 2007-04-21 18:44 -------
Subject: Bug 31136
Author: rguenth
Date: Sat Apr 21 18:43:57 2007
New Revision: 124019
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124019
Log:
2007-04-21 Richard Guenther <rguenther@suse.de>
PR middle-end/31136
* fold-const.c (fold_unary): Call fold_convert_const on the
original tree.
* gcc.c-torture/execute/pr31136.c: New testcase.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr31136.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=31136
More information about the Gcc-bugs
mailing list