* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
@ 2009-08-25 13:47 ` bangerth at gmail dot com
2009-08-29 14:19 ` xxcv07 at gmail dot com
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bangerth at gmail dot com @ 2009-08-25 13:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bangerth at gmail dot com 2009-08-25 13:46 -------
Please follow the instructions listed in <http://gcc.gnu.org/bugs.html> as
mentioned by the error message. In particular, we need a preprocessed
testcase.
--
bangerth at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
2009-08-25 13:47 ` [Bug c++/41153] " bangerth at gmail dot com
@ 2009-08-29 14:19 ` xxcv07 at gmail dot com
2009-08-30 9:43 ` t66667 at gmail dot com
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: xxcv07 at gmail dot com @ 2009-08-29 14:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from xxcv07 at gmail dot com 2009-08-29 14:19 -------
AFAIK -O0 compiles OK, -O1 fails and cause internal compiler error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
2009-08-25 13:47 ` [Bug c++/41153] " bangerth at gmail dot com
2009-08-29 14:19 ` xxcv07 at gmail dot com
@ 2009-08-30 9:43 ` t66667 at gmail dot com
2009-08-31 11:09 ` t66667 at gmail dot com
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-08-30 9:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from t66667 at gmail dot com 2009-08-30 09:43 -------
Only encountered with c++ code.
--
t66667 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet| |i686-linux
GCC host triplet|x86_64 |x86_64-w64-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (2 preceding siblings ...)
2009-08-30 9:43 ` t66667 at gmail dot com
@ 2009-08-31 11:09 ` t66667 at gmail dot com
2009-08-31 11:15 ` t66667 at gmail dot com
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-08-31 11:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from t66667 at gmail dot com 2009-08-31 11:08 -------
g++ --save-temps -c -omain.o -O -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/include
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/include
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/src/corelib/global
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtScript
-IE:\msys\1.0\qt-all-opensource-src-4.5.2/mkspecs/win32-g++ -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL
-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD
-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM
-DQMAKE_OPENSOURCE_EDITION main.cpp
In file included from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/qstring.h:2,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/../../src/corelib/io/qiodevice.h:51,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/qiodevice.h:2,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/../../src/corelib/io/qdatastream.h:46,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/qdatastream.h:2,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/qstringlist.h:2,
from project.h:46,
from main.cpp:43:
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/../../src/corelib/tools/qstring.h:
In member function 'QCharRef::operator QChar() const':
E:\msys\1.0\qt-all-opensource-src-4.5.2/include/QtCore/../../src/corelib/tools/qstring.h:782:
internal compiler error: in tree_nrv, at tree-nrv.c:143
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [main.o] Error 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (3 preceding siblings ...)
2009-08-31 11:09 ` t66667 at gmail dot com
@ 2009-08-31 11:15 ` t66667 at gmail dot com
2009-08-31 11:16 ` t66667 at gmail dot com
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-08-31 11:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from t66667 at gmail dot com 2009-08-31 11:15 -------
Created an attachment (id=18454)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18454&action=view)
Preprocessed test case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (4 preceding siblings ...)
2009-08-31 11:15 ` t66667 at gmail dot com
@ 2009-08-31 11:16 ` t66667 at gmail dot com
2009-08-31 12:07 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-08-31 11:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from t66667 at gmail dot com 2009-08-31 11:16 -------
Created an attachment (id=18455)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18455&action=view)
saves
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (5 preceding siblings ...)
2009-08-31 11:16 ` t66667 at gmail dot com
@ 2009-08-31 12:07 ` rguenth at gcc dot gnu dot org
2009-08-31 12:45 ` [Bug c++/41153] [4.4 Regression] " rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-31 12:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-31 12:06 -------
Reducing (seems to work with 4.5).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
GCC target triplet| |x86_64-*-*
Last reconfirmed|0000-00-00 00:00:00 |2009-08-31 12:06:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (6 preceding siblings ...)
2009-08-31 12:07 ` rguenth at gcc dot gnu dot org
@ 2009-08-31 12:45 ` rguenth at gcc dot gnu dot org
2009-08-31 14:33 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-31 12:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-08-31 12:45 -------
Confirmed.
class QString { };
QString fixString(QString string);
static QString fixPathToLocalOS(const QString &in)
{
return fixString(in);
}
void __attribute__((__optimize__ ("0")))
foo(void) { }
void runQMake(QString pfile)
{
fixPathToLocalOS(pfile);
}
triggered by __attribute__((__optimize__ ("0"))) on the unrelated function foo.
Mike, this is yours.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gnu at the-meissners dot org
Keywords| |ice-on-valid-code
Known to fail| |4.4.1
Known to work| |4.3.4 4.5.0
Summary|ICE in building Qt4 src/core|[4.4 Regression] ICE in
| |building Qt4 src/core
Target Milestone|--- |4.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (7 preceding siblings ...)
2009-08-31 12:45 ` [Bug c++/41153] [4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2009-08-31 14:33 ` jakub at gcc dot gnu dot org
2009-08-31 21:54 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-08-31 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jakub at gcc dot gnu dot org 2009-08-31 14:32 -------
The problem is that the optimization saving/restoring infrastructure seems to
ignore OVERRIDE_OPTIONS. i386 OPTIMIZATION_OPTIONS sets flag_pcc_struct_return
to 2 and expects OVERRIDE_OPTIONS to set it to 0 resp. 1 if it is still 2, but
as OVERRIDE_OPTIONS isn't called, it remains set to 2, which is treated as if
it was 1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (8 preceding siblings ...)
2009-08-31 14:33 ` jakub at gcc dot gnu dot org
@ 2009-08-31 21:54 ` mmitchel at gcc dot gnu dot org
2009-09-01 0:35 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-08-31 21:54 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (9 preceding siblings ...)
2009-08-31 21:54 ` mmitchel at gcc dot gnu dot org
@ 2009-09-01 0:35 ` hjl dot tools at gmail dot com
2009-09-01 9:32 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-09-01 0:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from hjl dot tools at gmail dot com 2009-09-01 00:35 -------
Target optimization has many issues. See PR 37565.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (10 preceding siblings ...)
2009-09-01 0:35 ` hjl dot tools at gmail dot com
@ 2009-09-01 9:32 ` jakub at gcc dot gnu dot org
2009-09-01 13:54 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-01 9:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jakub at gcc dot gnu dot org 2009-09-01 09:32 -------
Mark, I don't think this should be P1, __optimize__ attribute is new in 4.4 (so
considering it regression is already quite weird, though the attribute is
ignored in older releases, so technically it is a regression, albeit one
wouldn't use it with pre-4.4), but more importantly is known to be broken in
many ways.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (11 preceding siblings ...)
2009-09-01 9:32 ` jakub at gcc dot gnu dot org
@ 2009-09-01 13:54 ` mmitchel at gcc dot gnu dot org
2009-09-18 9:12 ` t66667 at gmail dot com
2009-09-21 11:05 ` t66667 at gmail dot com
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-09-01 13:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from mmitchel at gcc dot gnu dot org 2009-09-01 13:54 -------
I think the question is whether the use of __optimize__ is in a standard Qt
release. If it is, then I'm quite concerned; it's bad if GCC 4.4.2 can't build
Qt/KDE.
(TBH, I'm concerned anyhow; if __optimize__ is unreliable, then perhaps we
should be ignoring/warning about it in 4.4.x until we get it solid...)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (12 preceding siblings ...)
2009-09-01 13:54 ` mmitchel at gcc dot gnu dot org
@ 2009-09-18 9:12 ` t66667 at gmail dot com
2009-09-21 11:05 ` t66667 at gmail dot com
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-09-18 9:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from t66667 at gmail dot com 2009-09-18 09:11 -------
Hmm I haven't noticed this bug has been fixed a week ago, since [Revision
151627], it was still reproducible at [Revision 151584] which was just a day
before.
Thanks!!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/41153] [4.4 Regression] ICE in building Qt4 src/core
2009-08-24 11:34 [Bug c++/41153] New: ICE in building Qt4 src/core t66667 at gmail dot com
` (13 preceding siblings ...)
2009-09-18 9:12 ` t66667 at gmail dot com
@ 2009-09-21 11:05 ` t66667 at gmail dot com
14 siblings, 0 replies; 16+ messages in thread
From: t66667 at gmail dot com @ 2009-09-21 11:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from t66667 at gmail dot com 2009-09-21 11:05 -------
I can confirm this is fixed in gcc-4_4-branch.
Thank you.
--
t66667 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153
^ permalink raw reply [flat|nested] 16+ messages in thread