This is the mail archive of the gcc-bugs@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]

[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #6 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Wed Apr  5 08:28:18 2017
New Revision: 246701

URL: https://gcc.gnu.org/viewcvs?rev=246701&root=gcc&view=rev
Log:
PR target/79890: S/390: Fix crash.

builtin_eh_return requires the return address to be saved on the
stack.  The patch prevents using an FPR for that.

gcc/ChangeLog:

2017-04-05  Dominik Vogt  <vogt@linux.vnet.ibm.com>

        PR target/79890
        * config/s390/s390.c (s390_register_info_gprtofpr): Return if
        call_eh_return is true.

gcc/testsuite/ChangeLog:

2017-04-05  Dominik Vogt  <vogt@linux.vnet.ibm.com>

        PR target/79890
        * gcc.target/s390/pr79890.c: New test case.


Added:
    trunk/gcc/testsuite/gcc.target/s390/pr79890.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.c
    trunk/gcc/testsuite/ChangeLog

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