public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59187] New: internal error with -O2
@ 2013-11-19  9:33 alessio211734 at yahoo dot it
  2013-11-19  9:37 ` [Bug c++/59187] " alessio211734 at yahoo dot it
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: alessio211734 at yahoo dot it @ 2013-11-19  9:33 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-27  8:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19  9:33 [Bug c++/59187] New: internal error with -O2 alessio211734 at yahoo dot it
2013-11-19  9:37 ` [Bug c++/59187] " alessio211734 at yahoo dot it
2013-11-19  9:38 ` alessio211734 at yahoo dot it
2013-11-23 17:41 ` [Bug target/59187] " mikpelinux at gmail dot com
2013-11-25 21:16 ` ktietz at gcc dot gnu.org
2013-11-27  8:36 ` alessio211734 at yahoo dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).