[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 --- Comment #8 from H.J. Lu --- (In reply to Jakub Jelinek from comment #7) > Sure, will do. Thought about that as well, just didn't change it before > attaching ;) Please use "long long" and target ! ia32 on testcase so that it will be tested f

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 --- Comment #7 from Jakub Jelinek --- Sure, will do. Thought about that as well, just didn't change it before attaching ;)

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > Created attachment 31893 [details] > gcc49-pr59880.patch > > Untested fix. The reason for the problem is that if it is just a > (zero-extended SI->DI or normal) mo

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 --- Comment #4 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #2) > Ah, indeed, it is split because of the: > (define_insn_and_split "*lea" > [(set (match_operand:SWI48 0 "register_operand" "=r") > (match_operand:SWI48 1 "a

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 --- Comment #3 from H.J. Lu --- (In reply to Jakub Jelinek from comment #2) > Ah, indeed, it is split because of the: > (define_insn_and_split "*lea" > [(set (match_operand:SWI48 0 "register_operand" "=r") > (match_operand:SWI48 1 "addre

[Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy

2014-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|