This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/55010] Internal consistency failure : invalid rtl sharing found in the insn
- 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: Wed, 24 Oct 2012 09:13:14 +0000
- Subject: [Bug rtl-optimization/55010] Internal consistency failure : invalid rtl sharing found in the insn
- Auto-submitted: auto-generated
- References: <bug-55010-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55010
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-24 09:13:14 UTC ---
Author: jakub
Date: Wed Oct 24 09:13:09 2012
New Revision: 192760
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192760
Log:
PR rtl-optimization/55010
* cse.c (fold_rtx) <RTX_COMPARE>: Call copy_rtx on folded_arg{0,1}
before passing it to simplify_relational_operation.
* gcc.dg/pr55010.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr55010.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cse.c
trunk/gcc/testsuite/ChangeLog