This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, rtl-optimization]: Fix PR 66891, ICE in expand_call, at calls.c


Hello!

When moving precompute_register_parameters, I didn't notice that the
call was wrapped with NO_DEFER_POP/OK_DEFER_POP.

Attached patch fixes this oversight.

2015-07-17  Uros Bizjak  <ubizjak@gmail.com>

    PR rtl-optimization/66891
    * calls.c (expand_call): Wrap precompute_register_parameters with
    NO_DEFER_POP/OK_DEFER_POP to prevent deferred pops.

testsuite/ChangeLog:

2015-07-17  Uros Bizjak  <ubizjak@gmail.com>

    PR target/66891
    * gcc.target/i386/pr66891.c: New test.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32},
committed to mainline SVN as obvious.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]