re PR target/91528 (ICE in ix86_expand_prologue at i386.c:7844 since r274481)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 27 Aug 2019 17:23:59 +0000 (19:23 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 27 Aug 2019 17:23:59 +0000 (19:23 +0200)
commitc1441faf150e00d2090e268cf78390cbd2636859
tree82a977403c674cf77b82029d0c9b3867c0685bda
parentc8935981ff34d8ed32f81b37aa7a68edf4c53efe
re PR target/91528 (ICE in ix86_expand_prologue at i386.c:7844 since r274481)

PR target/91528
* config/i386/i386-features.c (convert_scalars_to_vector):
Update crtl->stack_realign_needed, crtl->stack_realign_tried and
crtl->stack_realign_processed.  Update crtl->drap_reg by calling
targetm.calls.get_drap_rtx.  If drap_rtx is non-null then
Update crtl->args.internal_arg_pointer and call fixup_tail_calls.

testsuite/ChangeLog:

PR target/91528
* gcc.target/i386/pr91528.c: New test.

From-SVN: r274962
gcc/ChangeLog
gcc/config/i386/i386-features.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr91528.c [new file with mode: 0644]