[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #13 from Martin Liška --- Minimal command line options: $ gcc 1.i 2.i 3.i 4.i -fPIC -O2 -fno-semantic-interposition -flto=8 -shared -finline-functions during GIMPLE pass: vrp 3.i: In function ‘d’: 3.i:14:6: internal compiler error:

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #12 from Martin Liška --- (In reply to Andrew Pinski from comment #11) > (In reply to Martin Liška from comment #6) > > Created attachment 45822 [details] > > Reduced test-case > > > > However, this reduced test-case fails with GCC-8

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #11 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > Created attachment 45822 [details] > Reduced test-case > > However, this reduced test-case fails with GCC-8 branch for all releases. > Started on trunk with r256

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #10 from Martin Liška --- (In reply to darkkirb from comment #9) > I have bisected the fix a bit (I didn't have enough time today to finish it) > and i found that the fix has happened in one of the 322 commits between > > d1540be4d3

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread darkkirb at darkkirb dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #9 from darkkirb at darkkirb dot de --- I have bisected the fix a bit (I didn't have enough time today to finish it) and i found that the fix has happened in one of the 322 commits between d1540be4d3b4b8ac6d19997539c13d2ca74f65e4 (20

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #8 from Martin Liška --- I can also confirm that building the whole project with original flags and current GCC trunk is fine.

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 Martin Liška changed: What|Removed |Added Known to work||7.4.0, 9.0 Known to fail|

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #6 from Martin Liška --- Created attachment 45822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45822&action=edit Reduced test-case However, this reduced test-case fails with GCC-8 branch for all releases. Started on trunk wit

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #5 from Martin Liška --- Created attachment 45821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45821&action=edit Unreduced test-case Started to fail with r268745 which is definitely a culprit: $ gcc 11.i 22.i 33.i 44.i -fPIC

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #4 from Martin Liška --- (In reply to Richard Biener from comment #3) > Does trunk work? Thunk is fine. > Also I wonder whether the graphite flags are necessary to > trigger the issue (and as recommendation, don't use -fgraphite-id

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.4 --- Comment #3 from Richard Biener

[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO