[patch i386]: Fix sibcall failures caused by allowing constant memories

Jeff Law law@redhat.com
Sat May 31 20:17:00 GMT 2014


On 05/31/14 06:27, Kai Tietz wrote:
> Hello,
>
> I resend patch within new thread.
> Recent fallout about sibcall was caused by using 'm' constraint for
> sibcalls.  By this wrongly combines happened on reload-pass. That
> patch introduces new constraint 'B' for sibcall_memory_operand.
>
> ChangeLog
>
> 2014-05-31  Kai Tietz  <ktietz@redhat.com>
>
>      * constrains.md (define_constrain): New 'B' constraint.
>      * i386.md (sibcall_insn_operand): Use B instead of m constraint.
>
> ChangeLog testsuite
>
> 2014-05-31  Kai Tietz  <ktietz@redhat.com>
>
>      * gcc.target/i386/sibcall-6.c: New test.
>
> Bootstrapped i386-unknown-linux-gnu, x86_64-unknown-linux-gnu.  Ok for apply?
OK.
Jeff



More information about the Gcc-patches mailing list