Created attachment 1107167 [details] Source causing segfault Description of problem: Crash when compiling segfault.cpp Version-Release number of selected component (if applicable): mingw64-gcc-c++-4.9.1-3.el7.x86_64 mingw32-gcc-c++-4.9.1-3.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. x86_64-w64-mingw32-4.9.1-g++ -std=c++11 -c /tmp/segfault.cpp -o /dev/null 2. 3. Actual results: 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. Expected results: No crash Additional info: 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] Preprocessed segfault.cpp
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.