http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59504

            Bug ID: 59504
           Summary: "Internal compiler error: segmentation fault" in GCC
                    4.8.1 with -fprofile-use
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chbaker0 at gmail dot com

Created attachment 31430
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31430&action=edit
Sources and -fprofile-generate output files

GCC 4.8.1 crashes upon attempting to compile C++11 code with -fprofile-use and
any optimization level, -O and higher. Logs:

x86_64-w64-mingw32-g++.exe -std=c++11 -Wall  -O  -fprofile-use   
-IC:\Development\Libraries\glew-1.10.0\include
-IC:\Development\Libraries\glfw-x86-64\include -IC:\Development\Libraries\glm
-IC:\Development\Libraries\glsdk_0_5_2\glutil\include  -c
C:\Development\Projects\OpenGL\Practice\Includes.h -o Includes.h.gch
x86_64-w64-mingw32-g++.exe -std=c++11 -Wall  -O  -fprofile-use   
-IC:\Development\Libraries\glew-1.10.0\include
-IC:\Development\Libraries\glfw-x86-64\include -IC:\Development\Libraries\glm
-IC:\Development\Libraries\glsdk_0_5_2\glutil\include  -c
C:\Development\Projects\OpenGL\Practice\main.cpp -o obj\Release\main.o
C:\Development\Projects\OpenGL\Practice\main.cpp: In static member function
'static void
std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&,
std::false_type) [with _Functor =
std::function<void(glm::detail::tmat4x4<float>)>; std::false_type =
std::integral_constant<bool, false>]':
C:\Development\Projects\OpenGL\Practice\main.cpp:213:1: internal compiler
error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to