This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Apr 2017 08:28:50 +0000
- Subject: [Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430
- Auto-submitted: auto-generated
- References: <bug-79890-4@http.gcc.gnu.org/bugzilla/>
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