Red Hat Bugzilla – Bug 1292842
Segmentation fault - non-inlined constructor with argument of template type
Last modified: 2016-01-12 23:26:45 EST
Created attachment 1107167 [details]
Source causing segfault
Description of problem:
Crash when compiling segfault.cpp
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. x86_64-w64-mingw32-4.9.1-g++ -std=c++11 -c /tmp/segfault.cpp -o /dev/null
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
i686-w64-mingw32-4.9.1-g++ also crashes
No crash when compiling ok.cpp
Created attachment 1107168 [details]
File which compiles OK
Created attachment 1107170 [details]
I just pushed an updated mingw-gcc (version 4.9.3) to epel-testing. It should appear there tomorrow or otherwise you can fetch it from http://koji.fedoraproject.org/koji/buildinfo?buildID=707290
Can you test if the crash still occurs with that version?
With version 4.9.3 the crash does not occur.
mingw-gcc-4.9.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-ff50ac1bdf
mingw-gcc-4.9.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-ff50ac1bdf
mingw-gcc-4.9.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.