This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49189] [4.7 regression] infinite recursion in constant folder
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 May 2011 13:14:50 +0000
- Subject: [Bug middle-end/49189] [4.7 regression] infinite recursion in constant folder
- Auto-submitted: auto-generated
- References: <bug-49189-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49189
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-27 13:13:34 UTC ---
Author: rguenth
Date: Fri May 27 13:13:28 2011
New Revision: 174330
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174330
Log:
2011-05-27 Richard Guenther <rguenther@suse.de>
PR middle-end/49189
* fold-const.c (fold_unary_loc): Do not re-fold folding conversions
of comparisons.
* gnat.dg/bit_packed_array5.adb: New testcase.
* gnat.dg/bit_packed_array5.ads: Likewise.
Added:
trunk/gcc/testsuite/gnat.dg/bit_packed_array5.adb
trunk/gcc/testsuite/gnat.dg/bit_packed_array5.ads
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog