Created attachment 1620617 [details] Source code for reproduction Description of problem: When compiling the attached code on a Power9 running Fedora 30, it has an ICE. This does not crash on an AMD Ryzen also running Fedora 30. It does not crash when precompiled headers are not used. Version-Release number of selected component (if applicable): gcc-9.2.1-1.fc30.ppc64le How reproducible: Always Steps to Reproduce: 1. Unpack the attached extern-template-test-tgz file on a Linux power.zlynx.org 5.2.13-200.fc30.ppc64le #1 SMP Fri Sep 6 14:09:32 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux 2. make Actual results: g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17 stdafx.hpp -o stdafx.hpp.gch g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17 -c -o templates.o templates.cpp g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17 -c -o main.o main.cpp stdafx.hpp:1: internal compiler error: Segmentation fault 1 | #include <algorithm> | Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccnTfNor.out file, please attach this to your bugreport. make: *** [<builtin>: main.o] Error 1
Created attachment 1620618 [details] preprocessed source for bug report
I can't reproduce that with gcc-9.2.1-2.fc30.ppc64le (downloaded from koji) or with gcc-9.3.1-1.fc30.ppc64le (from updates-testing).
This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.