This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52720] [4.7/4.8 Regression] internal compiler error: in try_move_mult_to_index
- 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: Tue, 27 Mar 2012 12:49:20 +0000
- Subject: [Bug middle-end/52720] [4.7/4.8 Regression] internal compiler error: in try_move_mult_to_index
- Auto-submitted: auto-generated
- References: <bug-52720-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52720
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-27 12:49:20 UTC ---
Author: rguenth
Date: Tue Mar 27 12:49:10 2012
New Revision: 185864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185864
Log:
2012-03-27 Richard Guenther <rguenther@suse.de>
PR middle-end/52720
* fold-const.c (try_move_mult_to_index): Handle &x.array more
explicitely.
* gcc.dg/torture/pr52720.c: New testcase.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr52720.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/fold-const.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog