Bug 69311 - [5 Regression] ICE (cc1 killed) on s390x-linux-gnu
Summary: [5 Regression] ICE (cc1 killed) on s390x-linux-gnu
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 5.3.1
: P2 normal
Target Milestone: 6.0
Assignee: Not yet assigned to anyone
URL:
Keywords: compile-time-hog, memory-hog
Depends on:
Blocks:
 
Reported: 2016-01-16 10:01 UTC by Matthias Klose
Modified: 2017-10-10 14:56 UTC (History)
2 users (show)

See Also:
Host:
Target: s390x-linux-gnu
Build:
Known to work: 4.9.3, 6.0
Known to fail: 5.3.1
Last reconfirmed: 2016-12-02 00:00:00


Attachments
preprocessed source (15.43 KB, text/plain)
2016-01-16 10:01 UTC, Matthias Klose
Details
auto-reduced testcase (777 bytes, text/plain)
2016-12-02 19:20 UTC, Andreas Krebbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2016-01-16 10:01:47 UTC
Created attachment 37370 [details]
preprocessed source

seen with the current gcc-5-branch, as well with a cross compiler, -O2 works, 4.9 and trunk work as well.

$ s390x-linux-gnu-gcc -std=c99 -Wall -march=zEC12 -O2 -c  tiny_psnr.i
Comment 1 Jakub Jelinek 2016-01-16 11:44:41 UTC
Killed just means you don't have enough memory.  So, if there is some regression, it would be only if compiling the same preprocessed source takes unreasonably more memory compared to older (or in this case also newer) gcc.
Comment 2 Matthias Klose 2016-01-16 11:50:11 UTC
4.9 and 6 build within under a second, I didn't even look at the memory usage.  5 was killed automatically on a VM with 8G RAM + 6G swap; killed the cross build manually when reaching 16GB.
Comment 3 Matthias Klose 2016-01-16 11:50:57 UTC
sorry, that should be -O3:

s390x-linux-gnu-gcc -std=c99 -Wall -march=zEC12 -O3 -c  tiny_psnr.i
Comment 4 Richard Biener 2016-06-03 10:05:37 UTC
GCC 5.4 is being released, adjusting target milestone.
Comment 5 Andreas Krebbel 2016-12-02 19:20:38 UTC
Created attachment 40234 [details]
auto-reduced testcase

Fails with -O3 -march=z196. Endless loop in VRP with GCC 5. Works fine with GCC 6 branch.
Comment 6 Jakub Jelinek 2017-10-10 14:22:17 UTC
GCC 5 branch has been closed, should be fixed in GCC 6 and later.