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

* [Bug c++/59187] internal error with -O2
  2013-11-19  9:33 [Bug c++/59187] New: internal error with -O2 alessio211734 at yahoo dot it
@ 2013-11-19  9:37 ` alessio211734 at yahoo dot it
  2013-11-19  9:38 ` alessio211734 at yahoo dot it
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: alessio211734 at yahoo dot it @ 2013-11-19  9:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alessio <alessio211734 at yahoo dot it> ---
Created attachment 31246
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31246&action=edit
preprocess file


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

* [Bug c++/59187] internal error with -O2
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: alessio211734 at yahoo dot it @ 2013-11-19  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alessio <alessio211734 at yahoo dot it> ---
Created attachment 31247
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31247&action=edit
.s generate


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

* [Bug target/59187] internal error with -O2
  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 ` 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
  4 siblings, 0 replies; 6+ messages in thread
From: mikpelinux at gmail dot com @ 2013-11-23 17:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce the ICE with 4.8.1 configured as a cross to x86_64-w64-mingw32
hosted on x86_64-linux, but not with 4.8.2.  Looks like you need to upgrade.


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

* [Bug target/59187] internal error with -O2
  2013-11-19  9:33 [Bug c++/59187] New: internal error with -O2 alessio211734 at yahoo dot it
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-11-25 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Yes, bug was already fixed. Therefore closed


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

* [Bug target/59187] internal error with -O2
  2013-11-19  9:33 [Bug c++/59187] New: internal error with -O2 alessio211734 at yahoo dot it
                   ` (3 preceding siblings ...)
  2013-11-25 21:16 ` ktietz at gcc dot gnu.org
@ 2013-11-27  8:36 ` alessio211734 at yahoo dot it
  4 siblings, 0 replies; 6+ messages in thread
From: alessio211734 at yahoo dot it @ 2013-11-27  8:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Alessio <alessio211734 at yahoo dot it> ---
Hello,
when you fix a mingw bug where can I download the new version of compiler?
I should wait a new release or I can get from trunk?!?! I get another internal
error.



Il Lunedì 25 Novembre 2013 22:16, ktietz at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> ha scritto:

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Yes, bug was already fixed. Therefore closed
>From gcc-bugs-return-435972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 27 08:48:28 2013
Return-Path: <gcc-bugs-return-435972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6214 invoked by alias); 27 Nov 2013 08:48:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6169 invoked by uid 55); 27 Nov 2013 08:48:23 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/58941] [4.7 Regression] value modification on zero-length array optimized away
Date: Wed, 27 Nov 2013 08:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.6.3
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: major
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58941-4-rUQZHXKbcY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58941-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58941-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg02749.txt.bz2
Content-length: 478

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX941

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 27 Nov 2013, thomas.moschcau at web dot de wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?idX941
>
> --- Comment #6 from Thomas Moschcau <thomas.moschcau at web dot de> ---
> (In reply to Richard Biener from comment #5)
> > And 4.8.3.
>
> Hello Richard,
> will there also be a fix for gcc 4.6.x?

No, gcc 4.6 is no longer maintained.


^ 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).