public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
@ 2005-10-02 18:40 ` pinskia at gcc dot gnu dot org
  2005-10-04 19:07 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-02 18:40 UTC (permalink / raw)
  To: java-prs



------- Comment #16 from pinskia at gcc dot gnu dot org  2005-10-02 18:40 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00047.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg00047.html
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
  2005-10-02 18:40 ` [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations) pinskia at gcc dot gnu dot org
@ 2005-10-04 19:07 ` pinskia at gcc dot gnu dot org
  2005-10-04 19:14 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-04 19:07 UTC (permalink / raw)
  To: java-prs



------- Comment #17 from pinskia at gcc dot gnu dot org  2005-10-04 19:07 -------
The backtrace:
#1  0x008d8fc8 in make_edges (min=0x2c73cb8, max=0x2c694d0, update_p=1) at
../../gcc/cfgbuild.c:350
#2  0x008da32c in find_many_sub_basic_blocks (blocks=0x1e01200) at
../../gcc/cfgbuild.c:763
#3  0x0066ec6c in fixup_abnormal_edges () at ../../gcc/reload1.c:8185
#4  0x006576dc in reload (first=0x2c64c80, global=1) at
../../gcc/reload1.c:1265
#5  0x0091c6a4 in global_alloc (file=0x0) at ../../gcc/global.c:628
#6  0x0092375c in rest_of_handle_global_alloc () at ../../gcc/global.c:2497
#7  0x00728074 in execute_one_pass (pass=0xa61934) at ../../gcc/passes.c:827
#8  0x00728194 in execute_pass_list (pass=0xa61934) at ../../gcc/passes.c:859
#9  0x007281bc in execute_pass_list (pass=0xa60394) at ../../gcc/passes.c:860
#10 0x001486d4 in tree_rest_of_compilation (fndecl=0x2c49500) at
../../gcc/tree-optimize.c:419

Now to figure who is adding the REG_LABEL without updating JUMP_LABEL.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
  2005-10-02 18:40 ` [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations) pinskia at gcc dot gnu dot org
  2005-10-04 19:07 ` pinskia at gcc dot gnu dot org
@ 2005-10-04 19:14 ` pinskia at gcc dot gnu dot org
  2005-10-04 19:17 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-04 19:14 UTC (permalink / raw)
  To: java-prs



------- Comment #18 from pinskia at gcc dot gnu dot org  2005-10-04 19:14 -------
Reload is adding the REG_LABEL.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-04 19:14 ` pinskia at gcc dot gnu dot org
@ 2005-10-04 19:17 ` pinskia at gcc dot gnu dot org
  2005-10-05  0:55 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-04 19:17 UTC (permalink / raw)
  To: java-prs



------- Comment #19 from pinskia at gcc dot gnu dot org  2005-10-04 19:17 -------
I am not going to try to fix a reload bug, sorry.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-04 19:17 ` pinskia at gcc dot gnu dot org
@ 2005-10-05  0:55 ` pinskia at gcc dot gnu dot org
  2005-10-05 13:24 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-05  0:55 UTC (permalink / raw)
  To: java-prs



------- Comment #20 from pinskia at gcc dot gnu dot org  2005-10-05 00:55 -------
Created an attachment (id=9888)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9888&action=view)
The fix which needs to be tested

Sorry about the name of the patch but I really hate reload, Oh and this is the
same fix in PR 24069 and yes I had to look into reload.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #9852 is|0                           |1
           obsolete|                            |
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-05  0:55 ` pinskia at gcc dot gnu dot org
@ 2005-10-05 13:24 ` pinskia at gcc dot gnu dot org
  2005-10-05 19:50 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-05 13:24 UTC (permalink / raw)
  To: java-prs



------- Comment #21 from pinskia at gcc dot gnu dot org  2005-10-05 13:24 -------
(In reply to comment #20)
> Created an attachment (id=9888)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9888&action=view) [edit]
> The fix which needs to be tested

And this patch fixes the problem too.  I will submitting it in a few minutes.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-10-05 13:24 ` pinskia at gcc dot gnu dot org
@ 2005-10-05 19:50 ` cvs-commit at gcc dot gnu dot org
  2005-10-05 19:52 ` pinskia at gcc dot gnu dot org
  2005-10-05 19:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 26+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 19:50 UTC (permalink / raw)
  To: java-prs



------- Comment #22 from cvs-commit at gcc dot gnu dot org  2005-10-05 19:50 -------
Subject: Bug 20606

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     pinskia@gcc.gnu.org     2005-10-05 19:50:28

Modified files:
        gcc            : ChangeLog reload.c 

Log message:
        2005-10-05  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20606
        PR middle-end/24069
        * reload.c (subst_reloads): When adding a REG_LABEL to a
        jump instruction, also update JUMP_LABEL.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10094&r2=2.10095
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload.c.diff?cvsroot=gcc&r1=1.275&r2=1.276


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2005-10-05 19:52 ` pinskia at gcc dot gnu dot org
@ 2005-10-05 19:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 26+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 19:52 UTC (permalink / raw)
  To: java-prs



------- Comment #23 from cvs-commit at gcc dot gnu dot org  2005-10-05 19:52 -------
Subject: Bug 20606

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     pinskia@gcc.gnu.org     2005-10-05 19:52:14

Modified files:
        gcc            : ChangeLog reload.c 

Log message:
        2005-10-05  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20606
        PR middle-end/24069
        * reload.c (subst_reloads): When adding a REG_LABEL to a
        jump instruction, also update JUMP_LABEL.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.448&r2=2.7592.2.449
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.268.2.1&r2=1.268.2.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
       [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2005-10-05 19:50 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-05 19:52 ` pinskia at gcc dot gnu dot org
  2005-10-05 19:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-05 19:52 UTC (permalink / raw)
  To: java-prs



------- Comment #24 from pinskia at gcc dot gnu dot org  2005-10-05 19:52 -------
Fixed in 4.0.3.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (15 preceding siblings ...)
  2005-09-30 22:30 ` pinskia at gcc dot gnu dot org
@ 2005-10-01  4:36 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-01  4:36 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-10-01 04:36 -------
Ok, I can confirm this fixes the issue on the mainline with -fno-tree-dominator-opts so we get about 
the same RTL when expanding.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (14 preceding siblings ...)
  2005-08-24 14:45 ` overholt at redhat dot com
@ 2005-09-30 22:30 ` pinskia at gcc dot gnu dot org
  2005-10-01  4:36 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 22:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-30 22:30 -------
I am looking to fix this via the same fix for PR 24069.
The bug is the same, we have an indirect jump but to a known place.  This is a bug in make_edges.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|aph at gcc dot gnu dot org  |pinskia at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (13 preceding siblings ...)
  2005-08-08 19:37 ` aph at gcc dot gnu dot org
@ 2005-08-24 14:45 ` overholt at redhat dot com
  2005-09-30 22:30 ` pinskia at gcc dot gnu dot org
  2005-10-01  4:36 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 26+ messages in thread
From: overholt at redhat dot com @ 2005-08-24 14:45 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From overholt at redhat dot com  2005-08-24 14:45 -------
(In reply to comment #11)
> I'm surprised this still fails with 4.0.1-6.
> 
> overholt, can you reproduce this?

I am having other issues building Eclipse ATM but I have not seen this, no.  If
it's important, I can set up a system with this exact version and try.  Building
for rawhide uses 4.0.1-10 now.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (12 preceding siblings ...)
  2005-08-08 19:27 ` mmkernel at ezplanet dot net
@ 2005-08-08 19:37 ` aph at gcc dot gnu dot org
  2005-08-24 14:45 ` overholt at redhat dot com
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-08-08 19:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aph at gcc dot gnu dot org  2005-08-08 19:37 -------
I'm surprised this still fails with 4.0.1-6.

overholt, can you reproduce this?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (11 preceding siblings ...)
  2005-05-03 16:37 ` pinskia at gcc dot gnu dot org
@ 2005-08-08 19:27 ` mmkernel at ezplanet dot net
  2005-08-08 19:37 ` aph at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: mmkernel at ezplanet dot net @ 2005-08-08 19:27 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mmkernel at ezplanet dot net  2005-08-08 19:27 -------
I am compiling eclipse on a dual opteron x86_64 system, running FC4, gcc 4.0.1
(fc package release 4.0.1-6) CVS: 20050729

Please find below the tail of the compile log:

++ /usr/bin/gcj-dbtool -f
/var/tmp/eclipse-3.1.0_ez-12-buildroot/usr/lib64/gcj/eclipse/platform.jar.db
/var/tmp/eclipse-3.1.0_ez-12-buildroot/usr/share/eclipse/plugins/org.eclipse.platform_3.1.1/platform.jar
/usr/lib64/gcj/eclipse/platform.jar.so
++ /usr/bin/gcj -shared -O2 -g -pipe -m64 -fPIC -findirect-dispatch -fjni
-Wl,-Bsymbolic
/var/tmp/eclipse-3.1.0_ez-12-buildroot/usr/share/eclipse/plugins/org.eclipse.platform_3.1.1/startup.jar
-o /var/tmp/eclipse-3.1.0_ez-12-buildroot/usr/lib64/gcj/eclipse/startup.jar.so
org/eclipse/core/launcher/Main.java: In class 'org.eclipse.core.launcher.Main':
org/eclipse/core/launcher/Main.java: In method
'org.eclipse.core.launcher.Main.buildLocation(java.lang.String,java.net.URL,java.lang.String)':
org/eclipse/core/launcher/Main.java:0: internal compiler error: in make_edges,
at cfgbuild.c:327
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
aot-compile-rpm: error: /usr/bin/gcj exited with code 1
error: Bad exit status from /var/tmp/rpm-tmp.33970 (%install)

The same build completes without errors on the same version of the compiler
built for and running on a dual Xeon 32 bit based system.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (10 preceding siblings ...)
  2005-05-03 16:15 ` pinskia at gcc dot gnu dot org
@ 2005-05-03 16:37 ` pinskia at gcc dot gnu dot org
  2005-08-08 19:27 ` mmkernel at ezplanet dot net
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-03 16:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-03 16:36 -------
(In reply to comment #8)
> We no longer fail with this code on the mainline but most likely because actually thread the jump
> which  I was taking in comment #5.

Let me rewrite that.
This now works on the mainline.  This is most likely due to the jump threading changes in which we 
actually catch the threading on the tree level instead of waiting until the RTL level which causes the 
bug.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (9 preceding siblings ...)
  2005-05-03 16:10 ` aph at gcc dot gnu dot org
@ 2005-05-03 16:15 ` pinskia at gcc dot gnu dot org
  2005-05-03 16:37 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-03 16:15 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-03 16:15 -------
We no longer fail with this code on the mainline but most likely because actually thread the jump which 
I was taking in comment #5.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (8 preceding siblings ...)
  2005-05-03 15:11 ` aph at gcc dot gnu dot org
@ 2005-05-03 16:10 ` aph at gcc dot gnu dot org
  2005-05-03 16:15 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-05-03 16:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aph at gcc dot gnu dot org  2005-05-03 16:10 -------
See also PR 21362

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (7 preceding siblings ...)
  2005-04-06 15:13 ` aph at gcc dot gnu dot org
@ 2005-05-03 15:11 ` aph at gcc dot gnu dot org
  2005-05-03 16:10 ` aph at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-05-03 15:11 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aph at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (6 preceding siblings ...)
  2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
@ 2005-04-06 15:13 ` aph at gcc dot gnu dot org
  2005-05-03 15:11 ` aph at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-04-06 15:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aph at gcc dot gnu dot org  2005-04-06 15:13 -------
This only happens with -O2.  -O is a reasonable workaround for the time being.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-03-23 19:29:03         |2005-04-06 15:13:38
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (4 preceding siblings ...)
  2005-03-23 20:51 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
  2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 21:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-23 20:30 -------
We are missing some jump threading opertinutes on the tree level:
  prephitmp.107 = 0B;
  goto <bb 16> (*.LJpc=79);

.....

*.LJpc=79:;
  if (prephitmp.107 == 0B) goto *.LJpc=99; else goto <L13>;



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (5 preceding siblings ...)
  2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
  2005-04-06 15:13 ` aph at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 21:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-23 19:46 -------
Hmm, I think this is a reload or a recognizing problem.
inside reload (when adding the LABEL_REG), we have the following instruction:
(jump_insn 169 222 170 19 (set (pc)
        (label_ref:DI 172)) 515 {*indirect_jump_rtx64} (nil)
    (expr_list:REG_DEAD (reg/f:DI 66 [ #ref#6#19 ])
        (nil)))

But this is not an indirect_jump_rtx64 at this point but instead just a jump.

I cannot debug it further than this sorry.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (3 preceding siblings ...)
  2005-03-23 20:30 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 20:51 ` pinskia at gcc dot gnu dot org
  2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 20:51 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-23 19:38 -------
(In reply to comment #2)
> Why is computed_jump_p (insn) not returning true?
Actually it is the following insn:
(jump_insn 169 222 170 19 (set (pc)
        (reg:DI 0 ax)) 515 {*indirect_jump_rtx64} (nil)
    (insn_list:REG_LABEL 172 (nil)))

Which is a computed goto but at this point we have a REG_LABEL which causes computed_jump_p to 
return false.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
                   ` (2 preceding siblings ...)
  2005-03-23 19:46 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 20:30 ` pinskia at gcc dot gnu dot org
  2005-03-23 20:51 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 20:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-23 19:29 -------
Hmm, we are dying because of the following instruction:

(jump_insn 169 168 170 19 (set (pc)
 (reg/f:DI 66 [ #ref#6#19 ])) 515 {*indirect_jump_rtx64} (nil)
    (expr_list:REG_DEAD (reg/f:DI 66 [ #ref#6#19 ])
        (nil)))

But that does not make sense since this is a computed goto.

Why is computed_jump_p (insn) not returning true?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-23 19:29:03
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
  2005-03-23 18:56 ` [Bug middle-end/20606] " pinskia at gcc dot gnu dot org
  2005-03-23 19:38 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 19:46 ` pinskia at gcc dot gnu dot org
  2005-03-23 20:30 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 19:46 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |x86_64-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
  2005-03-23 18:56 ` [Bug middle-end/20606] " pinskia at gcc dot gnu dot org
@ 2005-03-23 19:38 ` pinskia at gcc dot gnu dot org
  2005-03-23 19:46 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 19:38 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8435|application/octet-stream    |text/plain
          mime type|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations)
  2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
@ 2005-03-23 18:56 ` pinskia at gcc dot gnu dot org
  2005-03-23 19:38 ` pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 18:56 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|java                        |middle-end
           Keywords|                            |ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20606


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2005-10-05 19:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20606-9773@http.gcc.gnu.org/bugzilla/>
2005-10-02 18:40 ` [Bug middle-end/20606] ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations) pinskia at gcc dot gnu dot org
2005-10-04 19:07 ` pinskia at gcc dot gnu dot org
2005-10-04 19:14 ` pinskia at gcc dot gnu dot org
2005-10-04 19:17 ` pinskia at gcc dot gnu dot org
2005-10-05  0:55 ` pinskia at gcc dot gnu dot org
2005-10-05 13:24 ` pinskia at gcc dot gnu dot org
2005-10-05 19:50 ` cvs-commit at gcc dot gnu dot org
2005-10-05 19:52 ` pinskia at gcc dot gnu dot org
2005-10-05 19:52 ` cvs-commit at gcc dot gnu dot org
2005-03-23 18:46 [Bug java/20606] New: " overholt at redhat dot com
2005-03-23 18:56 ` [Bug middle-end/20606] " pinskia at gcc dot gnu dot org
2005-03-23 19:38 ` pinskia at gcc dot gnu dot org
2005-03-23 19:46 ` pinskia at gcc dot gnu dot org
2005-03-23 20:30 ` pinskia at gcc dot gnu dot org
2005-03-23 20:51 ` pinskia at gcc dot gnu dot org
2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
2005-03-23 21:26 ` pinskia at gcc dot gnu dot org
2005-04-06 15:13 ` aph at gcc dot gnu dot org
2005-05-03 15:11 ` aph at gcc dot gnu dot org
2005-05-03 16:10 ` aph at gcc dot gnu dot org
2005-05-03 16:15 ` pinskia at gcc dot gnu dot org
2005-05-03 16:37 ` pinskia at gcc dot gnu dot org
2005-08-08 19:27 ` mmkernel at ezplanet dot net
2005-08-08 19:37 ` aph at gcc dot gnu dot org
2005-08-24 14:45 ` overholt at redhat dot com
2005-09-30 22:30 ` pinskia at gcc dot gnu dot org
2005-10-01  4:36 ` 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).