[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2008-10-01 10:54 ---
Preprocessed source?


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Keywords||ice-on-valid-code
Summary|Building of CPU2000's bzip2 |[4.4 Regression] Building of
   |with peak flags with -  |CPU2000's bzip2 with peak
   |mcpu=power4 fails with an   |flags with -mcpu=power4
   |ICE.|fails with an ICE.
   Target Milestone|--- |4.4.0


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread luisgpm at linux dot vnet dot ibm dot com


--- Comment #2 from luisgpm at linux dot vnet dot ibm dot com  2008-10-01 
13:10 ---
Created an attachment (id=16439)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16439action=view)
Preprocessed source for reduced bzip2.c

Preprocessed source.


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread luisgpm at linux dot vnet dot ibm dot com


--- Comment #3 from luisgpm at linux dot vnet dot ibm dot com  2008-10-01 
13:10 ---
Created an attachment (id=16440)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16440action=view)
Reduced source for bzip2.c

Source reduced with delta


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread luisgpm at linux dot vnet dot ibm dot com


--- Comment #4 from luisgpm at linux dot vnet dot ibm dot com  2008-10-01 
13:13 ---
Created an attachment (id=16441)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16441action=view)
Reduced source for bzip2.c

Indented reduced source.


-- 

luisgpm at linux dot vnet dot ibm dot com changed:

   What|Removed |Added

  Attachment #16440|0   |1
is obsolete||


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread luisgpm at linux dot vnet dot ibm dot com


--- Comment #5 from luisgpm at linux dot vnet dot ibm dot com  2008-10-01 
13:19 ---
I'm still trying to minimize even further the source. Will attach when i have
something better.


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2008-10-01 14:12 ---
Doesn't ICE for me with a cross from x86_64,

./cc1 -quiet bzip2-reduced.i -O3 -ffast-math -funroll-loops -ftree-loop-linear
-fpeel-loops -mcpu=power4 {,-m32,-m64}


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread luisgpm at linux dot vnet dot ibm dot com


--- Comment #7 from luisgpm at linux dot vnet dot ibm dot com  2008-10-01 
17:44 ---
I still can ICE it with the same flags in a native system. Any other info you'd
like to have available?

I have a more reduced source, will post it soon.


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread pinskia at gcc dot gnu dot org


--- Comment #8 from pinskia at gcc dot gnu dot org  2008-10-01 20:13 ---
I can reproduce this even with a stage1 compiler.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread pinskia at gcc dot gnu dot org


--- Comment #9 from pinskia at gcc dot gnu dot org  2008-10-01 20:13 ---
#0  0x10195c2c in single_exit (loop=0xf7b31930) at
/home/apinski/src/other/gcc/gcc/cfgloop.c:1618
#1  0x106a1208 in number_of_latch_executions (loop=0xf7b31930) at
/home/apinski/src/other/gcc/gcc/tree-scalar-evolution.c:2375
#2  0x1072bc2c in canonicalize_loop_induction_variables (loop=0xf7b31930,
create_iv=1 '\001', ul=UL_SINGLE_ITER, 
try_eval=1 '\001') at
/home/apinski/src/other/gcc/gcc/tree-ssa-loop-ivcanon.c:277
#3  0x1072be84 in canonicalize_induction_variables () at
/home/apinski/src/other/gcc/gcc/tree-ssa-loop-ivcanon.c:330
#4  0x1075f740 in tree_ssa_loop_ivcanon () at
/home/apinski/src/other/gcc/gcc/tree-ssa-loop.c:378
#5  0x10475700 in execute_one_pass (pass=0x10ebb2c8) at
/home/apinski/src/other/gcc/gcc/passes.c:1279


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread pinskia at gcc dot gnu dot org


--- Comment #10 from pinskia at gcc dot gnu dot org  2008-10-01 20:14 
---
This was with:
GNU C (GCC) version 4.4.0 20080929 (experimental) [trunk revision 140763]
(powerpc64-unknown-linux-gnu)


-- 


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



[Bug regression/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-01 Thread pinskia at gcc dot gnu dot org


--- Comment #11 from pinskia at gcc dot gnu dot org  2008-10-01 20:23 
---
If I change the GC Parameters, I get a different backtrace:
#0  0x105c9abc in gsi_stmt (i=Cannot access memory at address 0x4
) at /home/apinski/src/other/gcc/gcc/gimple.h:4392
#1  0x105dd4fc in verify_stmts () at
/home/apinski/src/other/gcc/gcc/tree-cfg.c:4179
#2  0x107dec80 in verify_ssa (check_modified_stmt=1 '\001') at
/home/apinski/src/other/gcc/gcc/tree-ssa.c:750

So this looks GC related.


-- 


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