public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390
@ 2008-02-23 12:51 joss at debian dot org
2008-02-23 12:52 ` [Bug c++/35311] " joss at debian dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: joss at debian dot org @ 2008-02-23 12:51 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3280 bytes --]
Also reported as http://bugs.debian.org/466613
An ICE appeared twice while trying to build webkit on s390. The first file
fails to build with -O2 but is OK with -O1, for the second file it is just the
opposite.
$ gcc -v
Using built-in specs.
Target: s390-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--disable-libmudflap --with-long-double-128 --enable-checking=release
--build=s390-linux-gnu --host=s390-linux-gnu --target=s390-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-1)
$ g++ -c -O2 regexp_object.ii
../../../JavaScriptCore/kjs/regexp_object.cpp: In member function
âKJS::JSObject* KJS::RegExpObjectImp::arrayOfMatches(KJS::ExecState*)
constâ:
../../../JavaScriptCore/kjs/regexp_object.cpp:333: error: insn does not satisfy
its constraints:
(insn 532 533 160 16 (set (reg:SI 2 %r2)
(const_int -1146241297 [0xffffffffbbadbeef])) 56 {*movsi_esa} (nil)
(nil))
../../../JavaScriptCore/kjs/regexp_object.cpp:333: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
$ g++ -c -O1 regexp_object.ii
=> OK
$ g++ -c -O1 debugger.ii
../../../JavaScriptCore/wtf/HashTable.h: In member function âvoid
WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits,
KeyTraits>::rehash(int) [with Key = int, Value = std::pair<int,
KJS::ProtectedPtr<KJS::JSValue> >, Extractor =
WTF::PairFirstExtractor<std::pair<int, KJS::ProtectedPtr<KJS::JSValue> > >,
HashFunctions = WTF::IntHash<int>, Traits =
WTF::PairHashTraits<WTF::HashTraits<int>,
WTF::HashTraits<KJS::ProtectedPtr<KJS::JSValue> > >, KeyTraits =
WTF::HashTraits<int>]â:
../../../JavaScriptCore/wtf/HashTable.h:856: error: insn does not satisfy its
constraints:
(insn 796 797 58 7 (set (reg:SI 2 %r2)
(const_int -1146241297 [0xffffffffbbadbeef])) 56 {*movsi_esa} (nil)
(nil))
../../../JavaScriptCore/wtf/HashTable.h:856: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
$ g++ -c -O2 debugger.ii
==> OK
--
Summary: ICE at postreload.c:392 while building webkit on s390
Product: gcc
Version: 4.2.3
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joss at debian dot org
GCC build triplet: s390-linux-gnu
GCC host triplet: s390-linux-gnu
GCC target triplet: s390-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/35311] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
@ 2008-02-23 12:52 ` joss at debian dot org
2008-02-23 12:53 ` joss at debian dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: joss at debian dot org @ 2008-02-23 12:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joss at debian dot org 2008-02-23 12:52 -------
Created an attachment (id=15212)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15212&action=view)
First test case (fails with -O2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/35311] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
2008-02-23 12:52 ` [Bug c++/35311] " joss at debian dot org
@ 2008-02-23 12:53 ` joss at debian dot org
2008-02-23 17:20 ` [Bug target/35311] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: joss at debian dot org @ 2008-02-23 12:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from joss at debian dot org 2008-02-23 12:52 -------
Created an attachment (id=15213)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15213&action=view)
Second test case (fails with -O1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/35311] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
2008-02-23 12:52 ` [Bug c++/35311] " joss at debian dot org
2008-02-23 12:53 ` joss at debian dot org
@ 2008-02-23 17:20 ` pinskia at gcc dot gnu dot org
2008-02-25 9:06 ` krebbel at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-02-23 17:20 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|major |normal
Component|c++ |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/35311] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
` (2 preceding siblings ...)
2008-02-23 17:20 ` [Bug target/35311] " pinskia at gcc dot gnu dot org
@ 2008-02-25 9:06 ` krebbel at gcc dot gnu dot org
2008-02-25 22:16 ` uweigand at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-02-25 9:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from krebbel at gcc dot gnu dot org 2008-02-25 09:05 -------
This problem has already been fixed for GCC 4.3 (#34641). The testcase from
that PR didn't fail for GCC 4.2 so I didn't apply the patch on 4.2 as well. But
now the patch should be fine for 4.2. I've verified that it fixes your
testcase.
--
krebbel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-02-25 09:05:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/35311] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
` (3 preceding siblings ...)
2008-02-25 9:06 ` krebbel at gcc dot gnu dot org
@ 2008-02-25 22:16 ` uweigand at gcc dot gnu dot org
2008-12-29 6:38 ` [Bug target/35311] [4.2 only] " pinskia at gcc dot gnu dot org
2009-03-31 20:20 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2008-02-25 22:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from uweigand at gcc dot gnu dot org 2008-02-25 22:15 -------
(In reply to comment #3)
> This problem has already been fixed for GCC 4.3 (#34641). The testcase from
> that PR didn't fail for GCC 4.2 so I didn't apply the patch on 4.2 as well. But
> now the patch should be fine for 4.2. I've verified that it fixes your
> testcase.
I agree this patch should go into 4.2 as well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/35311] [4.2 only] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
` (4 preceding siblings ...)
2008-02-25 22:16 ` uweigand at gcc dot gnu dot org
@ 2008-12-29 6:38 ` pinskia at gcc dot gnu dot org
2009-03-31 20:20 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-29 6:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-29 06:36 -------
Note the 4.2 branch is closing soon.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE at postreload.c:392 |[4.2 only] ICE at
|while building webkit on |postreload.c:392 while
|s390 |building webkit on s390
Target Milestone|--- |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/35311] [4.2 only] ICE at postreload.c:392 while building webkit on s390
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
` (5 preceding siblings ...)
2008-12-29 6:38 ` [Bug target/35311] [4.2 only] " pinskia at gcc dot gnu dot org
@ 2009-03-31 20:20 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jsm28 at gcc dot gnu dot org 2009-03-31 20:20 -------
Closing 4.2 branch, fixed for 4.3.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail| |4.2.5
Known to work| |4.3.0
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35311
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-03-31 20:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 12:51 [Bug c++/35311] New: ICE at postreload.c:392 while building webkit on s390 joss at debian dot org
2008-02-23 12:52 ` [Bug c++/35311] " joss at debian dot org
2008-02-23 12:53 ` joss at debian dot org
2008-02-23 17:20 ` [Bug target/35311] " pinskia at gcc dot gnu dot org
2008-02-25 9:06 ` krebbel at gcc dot gnu dot org
2008-02-25 22:16 ` uweigand at gcc dot gnu dot org
2008-12-29 6:38 ` [Bug target/35311] [4.2 only] " pinskia at gcc dot gnu dot org
2009-03-31 20:20 ` jsm28 at gcc dot gnu dot org
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).