This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/45966] Incorrect combiner transformation.
- From: "bernds at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Oct 2010 13:55:05 +0000
- Subject: [Bug rtl-optimization/45966] Incorrect combiner transformation.
- Auto-submitted: auto-generated
- References: <bug-45966-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45966
--- Comment #1 from Bernd Schmidt <bernds at gcc dot gnu.org> 2010-10-11 13:55:03 UTC ---
Over here the replacement isn't happening due to costs:
Successfully matched this instruction:
(set (reg:SI 155)
(and:SI (reg:SI 0 r0 [ p ])
(const_int 4095 [0xfff])))
rejecting combination of insns 2, 6, 7 and 8
original costs 4 + 4 + 4 + 8 = 20
replacement costs 12 + 12 = 24
What's your exact cc1 command line?