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

            Bug ID: 59187
           Summary: internal error with -O2
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alessio211734 at yahoo dot it

Hi, I get a internal error when compiling with MinGw 4.8.0.
I attach the preprocess file where I get the error.

The flags in the makefile:

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -D_DENTALCAD_PRO_MACRO_
-DNOMINMAX -DNDEBUG -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS        = -O2 -Wall $(DEFINES)
CXXFLAGS      = -fpermissive -save-temps -O2 -frtti -fexceptions -mthreads
-Wall $(DEFINES)


I have compiled my code in ubuntu with gcc 4.8.1 and compile correctly in
release.
In windows fails with mingw 4.8.0 e mingw 4.8.1.
I saw that if I use the flag -O1 compile while with -O2 I get the error.

Reply via email to