Bug 35530 - [4.4 Regression] ice for legal code
Summary: [4.4 Regression] ice for legal code
Status: RESOLVED DUPLICATE of bug 35400
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
: 35529 (view as bug list)
Depends on: 35400
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-10 20:46 UTC by David Binderman
Modified: 2008-03-15 19:22 UTC (History)
6 users (show)

See Also:
Host: suse-linux-x86_64
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
C++ source code (69.67 KB, text/plain)
2008-03-10 20:49 UTC, David Binderman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2008-03-10 20:46:53 UTC
I just tried to compile Suse Linux package libqt4-4.3.90-20
with the GNU C compiler version 4.4 snapshot 20080307

The compiler said

g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++-64 -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared -o release-shared/qdir.o ../../corelib/io/qdir.cpp
../../corelib/io/qdir.cpp: In member function 'void QDirPrivate::sortFileList(QFlags<QDir::SortFlag>, QStringList&, QStringList*, QFileInfoList*) const':
../../corelib/io/qdir.cpp:282: internal compiler error: tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flags -O2  -W required
Comment 1 David Binderman 2008-03-10 20:49:01 UTC
Created attachment 15290 [details]
C++ source code
Comment 2 Andrew Pinski 2008-03-10 20:53:06 UTC
*** Bug 35529 has been marked as a duplicate of this bug. ***
Comment 3 Manuel López-Ibáñez 2008-03-11 00:34:40 UTC
This seems to be caused also by Diego's patch to Wtype-limits as bug 35400 (not sure whether it is an exact duplicate).
Comment 4 Richard Biener 2008-03-15 19:22:01 UTC

*** This bug has been marked as a duplicate of 35400 ***