This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52092] [4.7 Regression] ICE: internal consistency failure
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2012 11:55:33 +0000
- Subject: [Bug rtl-optimization/52092] [4.7 Regression] ICE: internal consistency failure
- Auto-submitted: auto-generated
- References: <bug-52092-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52092
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-03 11:55:33 UTC ---
Author: jakub
Date: Fri Feb 3 11:55:29 2012
New Revision: 183869
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183869
Log:
PR rtl-optimization/52092
* loop-unswitch.c (unswitch_single_loop): Call copy_rtx_if_shared
on get_iv_value result.
* gcc.c-torture/compile/pr52092.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr52092.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-unswitch.c
trunk/gcc/testsuite/ChangeLog