public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64110] New: ICE: Max. number of generated reload insns per insn is achieved (90)
@ 2014-11-29  4:25 thiago at kde dot org
  2014-11-29  4:41 ` [Bug c++/64110] " thiago at kde dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: thiago at kde dot org @ 2014-11-29  4:25 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 11180 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64110

            Bug ID: 64110
           Summary: ICE: Max. number of generated reload insns per insn is
                    achieved (90)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago at kde dot org

When compiling the attached preprocessed sources, GCC 5 (trunk r218173) prints
the following:

/home/thiago/src/qt/qt5/qtbase/src/corelib/tools/qstringargbuilder.cpp: In
function ‘replaceArgEscapes(QString const&, ArgEscapeData const&, int, QString
const&, QString const&, QChar)’:
/home/thiago/src/qt/qt5/qtbase/src/corelib/tools/qstringargbuilder.cpp:236:1:
internal compiler error: Max. number of generated reload insns per insn is
achieved (90)

 }
 ^
0xb58ff0 lra_constraints(bool)
        /home/thiago/src/gcc/gcc/lra-constraints.c:4225
0xb48f01 lra(_IO_FILE*)
        /home/thiago/src/gcc/gcc/lra.c:2277
0xb08109 do_reload
        /home/thiago/src/gcc/gcc/ira.c:5391
0xb08109 execute
        /home/thiago/src/gcc/gcc/ira.c:5561

Original command-line:
g++ -c -pipe -pipe -march=core-avx2 -mno-rtm -mno-hle -std=c++0x -pthread -O3
-g -maccumulate-outgoing-args -O3 -fvisibility=hidden
-fvisibility-inlines-hidden -std=c++0x -flto -ffat-lto-objects -Wall -W -Werror
-Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow
-D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-I/home/thiago/src/qt/qt5/qtbase/mkspecs/linux-g++-optimised
-I/home/thiago/src/qt/qt5/qtbase/src/corelib -I../../include
-I../../include/QtCore -I../../include/QtCore/5.4.0
-I../../include/QtCore/5.4.0/QtCore -Iglobal
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/harfbuzz/src
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md5
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md4
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/sha3
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/forkfd -isystem
/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.moc -I.
/home/thiago/src/qt/qt5/qtbase/src/corelib/tools/qstringargbuilder.cpp -o
.obj/qstringargbuilder.o

Minimal command-line for the .ii source:
g++ -c -march=core-avx2 -mno-rtm -mno-hle -std=c++0x -pthread -O3 -D_REENTRANT
-fPIC qstringargbuilder.ii -o .obj/qstringargbuilder.o

If I remove the -march=core-avx2 option and compile the original .cpp file,
there is no error.
>From gcc-bugs-return-468899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 29 04:39:39 2014
Return-Path: <gcc-bugs-return-468899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27225 invoked by alias); 29 Nov 2014 04:39:39 -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 27197 invoked by uid 48); 29 Nov 2014 04:39:35 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64111] New: [5.0 regression] ICE: conversion of register to a different size
Date: Sat, 29 Nov 2014 04:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot org
X-Bugzilla-Status: UNCONFIRMED
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-64111-4@http.gcc.gnu.org/bugzilla/>
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: 2014-11/txt/msg03371.txt.bz2
Content-length: 4513

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64111

            Bug ID: 64111
           Summary: [5.0 regression] ICE: conversion of register to a
                    different size
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago at kde dot org

When compiling the attached preprocessed source, GCC 5 (trunk 218173) prints
the following ICE:

/home/thiago/src/qt/qt5/qtbase/src/corelib/io/qresource.cpp: In member function
‘QResourceRoot::findNode(QString const&, QLocale const&) const’:
/home/thiago/src/qt/qt5/qtbase/src/corelib/io/qresource.cpp:616:5: error:
conversion of register to a different size
 int QResourceRoot::findNode(const QString &_path, const QLocale &locale) const
     ^
VIEW_CONVERT_EXPR<vector(16) short unsigned int>(vect__655.937_1129);

vect__656.938_1127 = VIEW_CONVERT_EXPR<vector(16) short unsigned
int>(vect__655.937_1129);
/home/thiago/src/qt/qt5/qtbase/src/corelib/io/qresource.cpp:616:5: error:
conversion of register to a different size
VIEW_CONVERT_EXPR<vector(16) short unsigned int>(vect__655.937_1128);

vect__656.938_1126 = VIEW_CONVERT_EXPR<vector(16) short unsigned
int>(vect__655.937_1128);
/home/thiago/src/qt/qt5/qtbase/src/corelib/io/qresource.cpp:616:5: internal
compiler error: verify_gimple failed
0xcc5cd1 verify_gimple_in_cfg(function*, bool)
        /home/thiago/src/gcc/gcc/tree-cfg.c:5049
0xbcbe3f execute_function_todo
        /home/thiago/src/gcc/gcc/passes.c:1940
0xbcc713 execute_todo
        /home/thiago/src/gcc/gcc/passes.c:1997

Original command-line:
g++ -c -include .pch/Qt5Core -pipe -pipe -march=core-avx2 -mno-rtm -mno-hle
-std=c++0x -pthread -O3 -g -maccumulate-outgoing-args -O3 -fvisibility=hidden
-fvisibility-inlines-hidden -std=c++0x -flto -ffat-lto-objects -Wall -W -Werror
-Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow
-D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-I/home/thiago/src/qt/qt5/qtbase/mkspecs/linux-g++-optimised
-I/home/thiago/src/qt/qt5/qtbase/src/corelib -I../../include
-I../../include/QtCore -I../../include/QtCore/5.4.0
-I../../include/QtCore/5.4.0/QtCore -Iglobal
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/harfbuzz/src
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md5
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md4
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/sha3
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/forkfd -isystem
/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.moc -I. -o
.obj/qresource.o /home/thiago/src/qt/qt5/qtbase/src/corelib/io/qresource.cpp

This error disappears when the -include $(PCH) option is removed. Here's the
command-line for the precompilation:
g++ -pipe -pipe -march=core-avx2 -mno-rtm -mno-hle -std=c++0x -pthread -O3 -g
-maccumulate-outgoing-args -O3 -fvisibility=hidden -fvisibility-inlines-hidden
-std=c++0x -flto -ffat-lto-objects -Wall -W -Werror -Wno-error=cpp
-Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT
-fPIC -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-I/home/thiago/src/qt/qt5/qtbase/mkspecs/linux-g++-optimised
-I/home/thiago/src/qt/qt5/qtbase/src/corelib -I../../include
-I../../include/QtCore -I../../include/QtCore/5.4.0
-I../../include/QtCore/5.4.0/QtCore -Iglobal
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/harfbuzz/src
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md5
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/md4
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/sha3
-I/home/thiago/src/qt/qt5/qtbase/src/3rdparty/forkfd -isystem
/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.moc -I. -x c++-header -c
/home/thiago/src/qt/qt5/qtbase/src/corelib/global/qt_pch.h -o
.pch/Qt5Core.gch/c++
>From gcc-bugs-return-468900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 29 04:40:28 2014
Return-Path: <gcc-bugs-return-468900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28020 invoked by alias); 29 Nov 2014 04:40:28 -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 27984 invoked by uid 48); 29 Nov 2014 04:40:24 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64111] [5.0 regression] ICE: conversion of register to a different size
Date: Sat, 29 Nov 2014 04:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot org
X-Bugzilla-Status: UNCONFIRMED
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: <bug-64111-4-DqY5aBfIYW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64111-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64111-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: 2014-11/txt/msg03372.txt.bz2
Content-length: 270

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd111

--- Comment #1 from Thiago Macieira <thiago at kde dot org> ---
Created attachment 34136
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4136&actioníit
Preprocessed output for the source file with the problem


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

end of thread, other threads:[~2015-01-20 21:57 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-29  4:25 [Bug c++/64110] New: ICE: Max. number of generated reload insns per insn is achieved (90) thiago at kde dot org
2014-11-29  4:41 ` [Bug c++/64110] " thiago at kde dot org
2014-11-29  7:17 ` thiago at kde dot org
2014-11-29  7:20 ` thiago at kde dot org
2014-11-29 13:02 ` [Bug c++/64110] [5 Regression] " hjl.tools at gmail dot com
2014-12-01 12:17 ` jakub at gcc dot gnu.org
2014-12-01 12:37 ` jakub at gcc dot gnu.org
2014-12-03  4:00 ` vmakarov at gcc dot gnu.org
2014-12-03  9:35 ` [Bug rtl-optimization/64110] " mpolacek at gcc dot gnu.org
2014-12-11 11:41 ` rguenth at gcc dot gnu.org
2014-12-12 20:11 ` vmakarov at gcc dot gnu.org
2014-12-17  3:31 ` hjl.tools at gmail dot com
2014-12-17  8:36 ` jakub at gcc dot gnu.org
2014-12-17 21:30 ` vmakarov at gcc dot gnu.org
2014-12-17 21:37 ` vmakarov at gcc dot gnu.org
2014-12-17 22:55 ` jakub at gcc dot gnu.org
2015-01-09 16:24 ` vmakarov at gcc dot gnu.org
2015-01-09 16:36 ` jakub at gcc dot gnu.org
2015-01-09 16:48 ` law at redhat dot com
2015-01-15 20:27 ` vmakarov at gcc dot gnu.org
2015-01-20 21:57 ` law at redhat dot com

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