* [Bug c++/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
@ 2004-06-28 2:26 ` brad at mainstreetsoftworks dot com
2004-06-28 2:30 ` [Bug target/16239] " pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: brad at mainstreetsoftworks dot com @ 2004-06-28 2:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From brad at mainstreetsoftworks dot com 2004-06-28 02:24 -------
Created an attachment (id=6639)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6639&action=view)
gzipped g++ -E output of file that creates ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
2004-06-28 2:26 ` [Bug c++/16239] " brad at mainstreetsoftworks dot com
@ 2004-06-28 2:30 ` pinskia at gcc dot gnu dot org
2004-06-28 2:33 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 2:30 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |target
GCC target triplet| |powerpc-*-linux-gnu
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
2004-06-28 2:26 ` [Bug c++/16239] " brad at mainstreetsoftworks dot com
2004-06-28 2:30 ` [Bug target/16239] " pinskia at gcc dot gnu dot org
@ 2004-06-28 2:33 ` pinskia at gcc dot gnu dot org
2004-06-28 2:39 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 2:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-28 02:30 -------
Is this reproducable on an FSF released version of gcc?
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc-*-linux-gnu |powerpc64-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (2 preceding siblings ...)
2004-06-28 2:33 ` pinskia at gcc dot gnu dot org
@ 2004-06-28 2:39 ` pinskia at gcc dot gnu dot org
2004-06-28 2:39 ` tgall at gentoo dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-28 02:33 -------
If it not reproducable on a FSF released version of gcc why are you reporting it to here then first, try
gentoo first since they are the ones who provided you with the compiler and their address is the bug
address.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (3 preceding siblings ...)
2004-06-28 2:39 ` pinskia at gcc dot gnu dot org
@ 2004-06-28 2:39 ` tgall at gentoo dot org
2004-06-28 2:41 ` tgall at gentoo dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tgall at gentoo dot org @ 2004-06-28 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tgall at gentoo dot org 2004-06-28 02:39 -------
Alan Modra asked us to report it here. Given that the ppc64 3.4.0-r6 compiler
and FSF 3.4.0 aren't that far apart I don't think this is an unreasonable report
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (4 preceding siblings ...)
2004-06-28 2:39 ` tgall at gentoo dot org
@ 2004-06-28 2:41 ` tgall at gentoo dot org
2004-06-28 2:42 ` [Bug c++/16239] " brad at mainstreetsoftworks dot com
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tgall at gentoo dot org @ 2004-06-28 2:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tgall at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c++/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (5 preceding siblings ...)
2004-06-28 2:41 ` tgall at gentoo dot org
@ 2004-06-28 2:42 ` brad at mainstreetsoftworks dot com
2004-06-28 5:01 ` [Bug target/16239] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: brad at mainstreetsoftworks dot com @ 2004-06-28 2:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From brad at mainstreetsoftworks dot com 2004-06-28 02:41 -------
I can pull in the sources and try it, though it probably won't be until
tomorrow. I would seriously doubt it's specific to the minimal set of
patches gentoo applies (they're not quite as bad as redhat), but anyhow,
this is specific to ppc64 (none of the other arches have exhibited this
behavior), and there is only one ppc64 gentoo dev at the moment which
has not committed any ppc64 specific patches to gcc...
Let me know if this is a must to try an unpatched version, and I'll
compile gcc by hand.
-Brad
--
What |Removed |Added
----------------------------------------------------------------------------
Component|target |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (6 preceding siblings ...)
2004-06-28 2:42 ` [Bug c++/16239] " brad at mainstreetsoftworks dot com
@ 2004-06-28 5:01 ` pinskia at gcc dot gnu dot org
2004-06-28 5:40 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 5:01 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (7 preceding siblings ...)
2004-06-28 5:01 ` [Bug target/16239] " pinskia at gcc dot gnu dot org
@ 2004-06-28 5:40 ` pinskia at gcc dot gnu dot org
2004-06-28 14:50 ` brad at mainstreetsoftworks dot com
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 5:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-28 05:17 -------
Note actually RedHat's 3.4 only has a small patches over 3.4, you can see that from their branch in the
FSF's cvs. I seem to remember that Gentoo adds propolice to gcc so that is what I thought might cause
this problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (8 preceding siblings ...)
2004-06-28 5:40 ` pinskia at gcc dot gnu dot org
@ 2004-06-28 14:50 ` brad at mainstreetsoftworks dot com
2004-07-24 22:36 ` dje at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: brad at mainstreetsoftworks dot com @ 2004-06-28 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From brad at mainstreetsoftworks dot com 2004-06-28 14:48 -------
Ok, it is definitely reproducable on vanilla GCC 3.4.0 :
ppc64 objdir # gcc -v
Reading specs from /usr/local/gcc/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr/local/gcc --enable-shared
--host=powerpc64-unknown-linux-gnu --target=powerpc64-unknown-linux-gnu
--with-system-zlib --enable-languages=c,c++ --enable-threads=posix
--enable-long-long --disable-checking --disable-libunwind-exceptions
--enable-cstdio=stdio --enable-version-specific-runtime-libs --disable-werror
--enable-shared --enable-nls --without-included-gettext --disable-multilib
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
ppc64 objdir # g++ -O1 -fno-exceptions -o /tmp/nsXULContentBuilder.o -c
/tmp/nsXULContentBuilder.CPP
nsXULContentBuilder.cpp: In member function `nsresult
nsXULContentBuilder::BuildContentFromTemplate(nsIContent*, nsIContent*,
nsIContent*, PRBool, nsIRDFResource*, PRBool, nsTemplateMatch*, nsIContent**,
PRInt32*)':
nsXULContentBuilder.cpp:825: error: insn does not satisfy its constraints:
(insn 6646 6645 6535 78 (set (reg/v/f:DI 63 31 [orig:979 data ] [979])
(plus:DI (reg/v/f:DI 63 31 [orig:979 data ] [979])
(const_int 232 [0xe8]))) 233 {*adddi3_internal1} (nil)
(expr_list:REG_EQUIV (plus:DI (reg/f:DI 1 1)
(const_int 232 [0xe8]))
(nil)))
nsXULContentBuilder.cpp:825: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:378
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (9 preceding siblings ...)
2004-06-28 14:50 ` brad at mainstreetsoftworks dot com
@ 2004-07-24 22:36 ` dje at gcc dot gnu dot org
2004-07-27 1:51 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-07-24 22:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dje at gcc dot gnu dot org 2004-07-24 22:36 -------
The problem is that GCC's reload phase is choosing an FPR to hold a DImode
address and then tries to add a constant to the value in the FPR. The DImode
addition pattern only handles GPRs, so the constraint does not match the
predicate. Restricting the predicate does not work because reload already has
chosen the reload register before it checks the predicate and fails another way.
It looks like the fix will require convincing reload not to use an FPR for a
DImode address.
The more basic question is why is gentoo trying to build Mozilla as a 64-bit app?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-24 22:36:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (10 preceding siblings ...)
2004-07-24 22:36 ` dje at gcc dot gnu dot org
@ 2004-07-27 1:51 ` cvs-commit at gcc dot gnu dot org
2004-07-27 1:53 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-27 1:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-27 01:51 -------
Subject: Bug 16239
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: dje@gcc.gnu.org 2004-07-27 01:51:44
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.md
Log message:
PR target/16239
* config/rs6000/rs6000.md (movdi_internal64): Further disparage
f->f.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.567&r2=2.2326.2.568
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.284.4.11&r2=1.284.4.12
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (11 preceding siblings ...)
2004-07-27 1:51 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-27 1:53 ` cvs-commit at gcc dot gnu dot org
2004-07-27 1:57 ` dje at gcc dot gnu dot org
2005-01-05 9:17 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-27 1:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-27 01:52 -------
Subject: Bug 16239
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dje@gcc.gnu.org 2004-07-27 01:52:53
Modified files:
gcc : ChangeLog
Log message:
- note PR target/16239 in previous rs6000.md ChangeLog entry.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4703&r2=2.4704
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (12 preceding siblings ...)
2004-07-27 1:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-27 1:57 ` dje at gcc dot gnu dot org
2005-01-05 9:17 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-07-27 1:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dje at gcc dot gnu dot org 2004-07-27 01:54 -------
Patch committed to mainline and gcc-3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/16239] GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue)
2004-06-28 2:24 [Bug c++/16239] New: GCC 3.4.0 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions issue) brad at mainstreetsoftworks dot com
` (13 preceding siblings ...)
2004-07-27 1:57 ` dje at gcc dot gnu dot org
@ 2005-01-05 9:17 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-05 9:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-05 09:17 -------
Subject: Bug 16239
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-rhl8-branch
Changes by: jakub@gcc.gnu.org 2005-01-05 09:17:00
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.md
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: pr8328.c
Log message:
2004-07-25 David Edelsohn <edelsohn@gnu.org>
PR target/16239
* config/rs6000/rs6000.md (movdi_internal64): Further disparage
f->f.
2002-11-06 David Edelsohn <edelsohn@gnu.org>
PR target/8480, optimization/8328
* config/rs6000/rs6000.md (movdi_internal64): Discourage
FPR to FPR moves.
2004-12-22 Ben Elliston <bje@au.ibm.com>
PR optimization/8328
* gcc.dg/pr8328.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.13152.2.657.2.27.2.208&r2=1.13152.2.657.2.27.2.209
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.170.2.11.4.12&r2=1.170.2.11.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.1672.2.166.2.8.2.89&r2=1.1672.2.166.2.8.2.90
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr8328.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16239
^ permalink raw reply [flat|nested] 16+ messages in thread