From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1683 invoked by alias); 17 Aug 2013 17:31:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1630 invoked by uid 48); 17 Aug 2013 17:31:45 -0000 From: "tg at mirbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/52306] ICE in cselib_record_set, at cselib.c:2158 Date: Sat, 17 Aug 2013 17:31: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tg at mirbsd dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00887.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52306 --- Comment #19 from Thorsten Glaser --- Created attachment 30668 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D30668&action=3Dedit Testcase from qtbase-opensource-src_5.1.0+dfsg-4 and g++ 4.8.1 This issue still appears with GCC 4.8 In GCC 4.6 in Debian/m68k I eventually applied a patch that simply retries = the build with -O1 then -O0 to mask this issue, but the underlying issue is sti= ll unfixed. This occurs in 4.8 now too, so I guess (from a distro PoV) I need = to port said patch, until someone finds out what precisely is going on here. g++ -c x.cc -std=3Dc++0x -fno-exceptions =E2=87=92 compiles fine g++ -c x.cc -std=3Dc++0x -fno-exceptions -O2 =E2=87=92 ICEs: In file included from ../../../include/QtCore/qlist.h:1:0, from ../../../include/QtCore/../../src/corelib/tools/qhash.h:47, from ../../../include/QtCore/qhash.h:1, from ../../../include/QtCore/../../src/corelib/io/qdebug.h= :46, from ../../../include/QtCore/qdebug.h:1, from ditaxmlgenerator.cpp:46: ../../../include/QtCore/../../src/corelib/tools/qlist.h: In member function =E2=80=98void QList::append(const T&) [with T =3D Section]=E2=80=99: ../../../include/QtCore/../../src/corelib/tools/qlist.h:521:1: internal compiler error: in cselib_record_set, at cselib.c:2373 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/ccUYfyzd.out file, please attach this = to your bugreport. >>From gcc-bugs-return-427964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Aug 17 18:31:04 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3429 invoked by alias); 17 Aug 2013 18:31:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3360 invoked by uid 48); 17 Aug 2013 18:31:01 -0000 From: "mikpe at it dot uu.se" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/52306] ICE in cselib_record_set, at cselib.c:2158 Date: Sat, 17 Aug 2013 18:31: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpe at it dot uu.se X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-08/txt/msg00888.txt.bz2 Content-length: 713 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52306 --- Comment #20 from Mikael Pettersson --- (In reply to Thorsten Glaser from comment #19) > Created attachment 30668 [details] > Testcase from qtbase-opensource-src_5.1.0+dfsg-4 and g++ 4.8.1 > > This issue still appears with GCC 4.8 > > In GCC 4.6 in Debian/m68k I eventually applied a patch that simply retries > the build with -O1 then -O0 to mask this issue, but the underlying issue is > still unfixed. This occurs in 4.8 now too, so I guess (from a distro PoV) I > need to port said patch, until someone finds out what precisely is going on > here. Please try compiling with -O2 -fno-auto-inc-dec before dropping to -O1 or -O0.