public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava
@ 2006-02-11 11:05 pinskia at gcc dot gnu dot org
2006-02-11 11:06 ` [Bug rtl-optimization/26222] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 11:05 UTC (permalink / raw)
To: gcc-bugs
No testcase so far but here is the ICE:
/Users/regress/tbox/native/build/gcc/gcj
-B/Users/regress/tbox/native/build/powerpc-apple-darwin8.3.0/ppc64/libjava/
-B/Users/regress/tbox/native/build/gcc/ -fclasspath=
-fbootclasspath=/Users/regress/tbox/native/build/powerpc-apple-darwin8.3.0/ppc64/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -m64 -c -MT
java/awt/color.lo -MD -MP -MF java/awt/color.deps @java/awt/color.list
-fno-common -o java/awt/.libs/color.o
/Users/regress/tbox/svn-gcc/libjava/classpath/java/awt/color/ICC_Profile.java:
In class 'java.awt.color.ICC_Profile':
/Users/regress/tbox/svn-gcc/libjava/classpath/java/awt/color/ICC_Profile.java:
In method 'java.awt.color.ICC_Profile.makeIdentityClut()':
/Users/regress/tbox/svn-gcc/libjava/classpath/java/awt/color/ICC_Profile.java:1075:
error: unrecognizable insn:
(insn 608 564 610 10 (set (reg:SI 371)
(fix:SI (reg:DF 132 [ pretmp.2587 ]))) -1 (insn_list:REG_DEP_TRUE 243
(nil))
(nil))
/Users/regress/tbox/svn-gcc/libjava/classpath/java/awt/color/ICC_Profile.java:1075:
internal compiler error: in get_attr_type, at config/rs6000/rs6000.md:12269
--
Summary: [4.2 Regression] build failuring in libjava
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
@ 2006-02-11 11:06 ` pinskia at gcc dot gnu dot org
2006-02-11 16:43 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 11:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-11 11:06 -------
This was caused by:
2006-02-10 Zdenek Dvorak <dvorakz@suse.cz>
* doc/invoke.texi (-floop-optimize2): Removed.
* toplev.c (process_options): Remove handling of flag_loop_optimize2.
* loop-init.c (gate_handle_loop2): Do not test flag_loop_optimize2.
Test flag_branch_on_count_reg only if HAVE_doloop_end.
* common.opt (floop-optimize2): Removed.
(fmove-loop-invariants): Enabled by default.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
2006-02-11 11:06 ` [Bug rtl-optimization/26222] " pinskia at gcc dot gnu dot org
@ 2006-02-11 16:43 ` pinskia at gcc dot gnu dot org
2006-02-11 16:59 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 16:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-11 16:43 -------
Reduced Java source:
class A
{
{
int clutOffset = 52 + 256 * 3 * 2;
for (int x = 0; x < 16; x++)
for (int y = 0; y < 16; y++)
for (int z = 0; z < 16; z++)
{
int offset = clutOffset + z * 6 + y * 16 * 6 + x * 16 * 16 * 6;
double xf = ((double) x) / ((double) 16 - 1.0);
putShort(offset, (short) (xf * 65535.0));
}
}
public final native void putShort(int a, short b);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
2006-02-11 11:06 ` [Bug rtl-optimization/26222] " pinskia at gcc dot gnu dot org
2006-02-11 16:43 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 16:59 ` pinskia at gcc dot gnu dot org
2006-02-11 17:01 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-11 16:59 -------
The problem is that we are splitting up the following RTL:
(insn 94 93 95 12 (parallel [
(set (mem/c/i:SI (plus:SI (reg/f:SI 113 sfp)
(const_int 64 [0x40])) [9 S4 A32])
(fix:SI (reg:DF 127 [ pretmp.31 ])))
(clobber (reg:DI 165))
]) -1 (nil)
(nil))
into the two components:
(insn 207 93 95 12 (set (mem/c/i:SI (plus:SI (reg/f:SI 113 sfp)
(const_int 64 [0x40])) [9 S4 A32])
(reg:SI 194)) -1 (nil)
(nil))
and
(insn 208 164 52 5 (set (reg:SI 194)
(fix:SI (reg:DF 127 [ pretmp.31 ]))) -1 (nil)
(nil))
The later is not valid without some clobbers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-02-11 16:59 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 17:01 ` pinskia at gcc dot gnu dot org
2006-02-11 17:45 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-11 17:01 -------
Also happens on PPC-linux-gnu.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
GCC target triplet|powerpc-darwin |powerpc-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-02-11 17:01 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 17:45 ` pinskia at gcc dot gnu dot org
2006-02-11 17:56 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-11 17:45 -------
The reason why this fails on powerpc-darwin and not powerpc-linux but also on
powerpc64-linux is because the gfxopt option instructions are enabled by
default on powerpc-darwin and on powerpc64-linux.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc-*-* |powerpc*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-02-11 17:45 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 17:56 ` pinskia at gcc dot gnu dot org
2006-02-11 18:16 ` rakdver at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-02-11 17:56 -------
The C testcase (compile with -O2 -fno-tree-pre -fno-tree-loop-im):
void putShort (int, int);
int t2;
void f(int t1)
{
int clutOffset = 52 + 256 * 3 * 2;
for (int x = 0; x < 16; x++)
for (int y = 0; y < 16; y++)
for (int z = 0; z < 16; z++)
{
int offset = clutOffset + z * 6 + y * 16 * 6 + x * 16 * 16 * 6;
double xf = ((double) x) / ((double) 16 - 1.0);
double tt = xf;
putShort(offset, tt);
}
}
--
pinskia 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 |2006-02-11 17:56:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-02-11 17:56 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 18:16 ` rakdver at gcc dot gnu dot org
2006-02-13 11:21 ` rakdver at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-02-11 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rakdver at gcc dot gnu dot org 2006-02-11 18:16 -------
Created an attachment (id=10823)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10823&action=view)
Possible fix
I am testing the attached patch that seems to fix the problem (although I am
not really sure whether it is the propper way or not).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-02-11 18:16 ` rakdver at gcc dot gnu dot org
@ 2006-02-13 11:21 ` rakdver at gcc dot gnu dot org
2006-02-13 12:35 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-02-13 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rakdver at gcc dot gnu dot org 2006-02-13 11:21 -------
Subject: Bug 26222
Author: rakdver
Date: Mon Feb 13 11:21:23 2006
New Revision: 110912
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110912
Log:
PR rtl-optimization/26222
* function.c (assign_stack_temp_for_type): Do not reuse stack slots
after tree->rtl expansion.
* loop-invariant.c (move_invariant_reg): Use force_operand on rhs
before passing it to emit_move_insn.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/loop-invariant.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-02-13 11:21 ` rakdver at gcc dot gnu dot org
@ 2006-02-13 12:35 ` pinskia at gcc dot gnu dot org
2006-02-14 1:08 ` pinskia at gcc dot gnu dot org
2008-03-24 23:06 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-13 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-02-13 12:35 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-02-13 12:35 ` pinskia at gcc dot gnu dot org
@ 2006-02-14 1:08 ` pinskia at gcc dot gnu dot org
2008-03-24 23:06 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-14 1:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-02-14 01:08 -------
*** Bug 26273 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lucier at math dot purdue
| |dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/26222] [4.2 Regression] build failuring in libjava
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
` (9 preceding siblings ...)
2006-02-14 1:08 ` pinskia at gcc dot gnu dot org
@ 2008-03-24 23:06 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-24 23:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2008-03-24 23:06 -------
Subject: Bug 26222
Author: pinskia
Date: Mon Mar 24 23:05:31 2008
New Revision: 133493
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133493
Log:
2008-03-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/26222
* gcc.dg/torture/pr26222.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr26222.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26222
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-03-24 23:06 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-11 11:05 [Bug rtl-optimization/26222] New: [4.2 Regression] build failuring in libjava pinskia at gcc dot gnu dot org
2006-02-11 11:06 ` [Bug rtl-optimization/26222] " pinskia at gcc dot gnu dot org
2006-02-11 16:43 ` pinskia at gcc dot gnu dot org
2006-02-11 16:59 ` pinskia at gcc dot gnu dot org
2006-02-11 17:01 ` pinskia at gcc dot gnu dot org
2006-02-11 17:45 ` pinskia at gcc dot gnu dot org
2006-02-11 17:56 ` pinskia at gcc dot gnu dot org
2006-02-11 18:16 ` rakdver at gcc dot gnu dot org
2006-02-13 11:21 ` rakdver at gcc dot gnu dot org
2006-02-13 12:35 ` pinskia at gcc dot gnu dot org
2006-02-14 1:08 ` pinskia at gcc dot gnu dot org
2008-03-24 23:06 ` pinskia 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).