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

2017-08-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

Andreas Krebbel  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #9 from Andreas Krebbel  ---
Closing

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

2017-08-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #8 from Martin Liška  ---
*** Bug 80214 has been marked as a duplicate of this bug. ***

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

2017-04-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

Andreas Krebbel  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Andreas Krebbel  ---
Fixed with patch from comment 6

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

2017-04-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #6 from Andreas Krebbel  ---
Author: krebbel
Date: Wed Apr  5 08:28:18 2017
New Revision: 246701

URL: https://gcc.gnu.org/viewcvs?rev=246701=gcc=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  

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  

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

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

2017-03-06 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #5 from Dominik Vogt  ---
Reproduceable on a zEC12 with

 $ ./configure --enable-languages=c --disable-bootstrap --disable-multilib
--enable-checking --with-system-zlib --enable-threads=posix
--enable-__cxa_atexit --enable-gnu-indirect-function

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

2017-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #4 from Martin Liška  ---
I see the ICE with cross-compiler (on x86_64-linux-gnu), compiled with
--target=s390x-linux-gnu.

$ s390x-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=s390x-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/marxin/BIG/buildbot/slave/install/gcc-6fe883d64cf228785f3d0a4e24f9138c8958c93b/bin/../lib/gcc/s390x-linux-gnu/7.0.1/lto-wrapper
Target: s390x-linux-gnu
Configured with: ./../configure --enable-linker-build-id
--prefix=/home/marxin/BIG/buildbot/slave/gcc-master-build-s390x/../install/gcc-6fe883d64cf228785f3d0a4e24f9138c8958c93b
--target=s390x-linux-gnu --with-as=/usr/bin/s390x-suse-linux-as
--disable-bootstrap
Thread model: posix
gcc version 7.0.1 20170305 (experimental) (GCC)

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

2017-03-06 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #3 from Dominik Vogt  ---
Not reproduceable here with r245913.  Is it gone with a recent Gcc?

Gcc configured with --with-arch=zEC12 and compiled without explicit options:

$ ~/src/gcc/install-master/bin/gcc
~/src/gcc/gcc/testsuite/gcc.target/mips/call-saved-7.c -march=zEC12 -S

(Complains about missing main function without "-S")

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

2017-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #2 from Martin Liška  ---
I do some basic fuzzing. This test-case just uses builtins, thus I consider it
generic enough to report it.

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

2017-03-06 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890

--- Comment #1 from Dominik Vogt  ---
The ICE needs to be fixed, of course, by what is the idea behind executing the
mips testsuite on s390?