public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/37686]  New: Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.
@ 2008-09-30 17:31 luisgpm at linux dot vnet dot ibm dot com
  2008-10-01 10:55 ` [Bug regression/37686] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 24+ messages in thread
From: luisgpm at linux dot vnet dot ibm dot com @ 2008-09-30 17:31 UTC (permalink / raw)
  To: gcc-bugs

After this patch:

http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140660

Building bzip2 with peak flags AND -mcpu=power4 for ppc (-O3 -mcpu=power4
-ffast-math -funroll-loops -ftree-loop-linear -fpeel-loops) started ICE'ing.

Here is the backtrace:

#0  0x103a2c3c in gimple_bb (g=0x4) at
/home/luis/src/gcc/HEAD/gcc/gimple.h:1071
#1  0x103a2b80 in gsi_start (seq=0xf76882b0) at
/home/luis/src/gcc/HEAD/gcc/gimple.h:4298
#2  0x103a5a48 in gsi_start_phis (bb=0xf7664b40) at
/home/luis/src/gcc/HEAD/gcc/gimple-iterator.c:770
#3  0x105e601c in verify_stmts () at
/home/luis/src/gcc/HEAD/gcc/tree-cfg.c:4177
#4  0x107e80cc in verify_ssa (check_modified_stmt=1 '\001') at
/home/luis/src/gcc/HEAD/gcc/tree-ssa.c:750
#5  0x10476c30 in execute_function_todo (data=0x4043) at
/home/luis/src/gcc/HEAD/gcc/passes.c:999
#6  0x1047657c in do_per_function (callback=0x10476898 <execute_function_todo>,
data=0x4043) at /home/luis/src/gcc/HEAD/gcc/passes.c:841
#7  0x10476d38 in execute_todo (flags=16451) at
/home/luis/src/gcc/HEAD/gcc/passes.c:1025
#8  0x10477c54 in execute_one_pass (pass=0x10eeabd4) at
/home/luis/src/gcc/HEAD/gcc/passes.c:1301
#9  0x10477ec4 in execute_pass_list (pass=0x10eeabd4) at
/home/luis/src/gcc/HEAD/gcc/passes.c:1327
#10 0x10477ef0 in execute_pass_list (pass=0x10eeaa9c) at
/home/luis/src/gcc/HEAD/gcc/passes.c:1328
#11 0x10477ef0 in execute_pass_list (pass=0x10eea494) at
/home/luis/src/gcc/HEAD/gcc/passes.c:1328
#12 0x106656a8 in tree_rest_of_compilation (fndecl=0xf7e74180) at
/home/luis/src/gcc/HEAD/gcc/tree-optimize.c:418
#13 0x10930d78 in cgraph_expand_function (node=0xf7e78300) at
/home/luis/src/gcc/HEAD/gcc/cgraphunit.c:1038
#14 0x10930fe0 in cgraph_expand_all_functions () at
/home/luis/src/gcc/HEAD/gcc/cgraphunit.c:1097
#15 0x109317a8 in cgraph_optimize () at
/home/luis/src/gcc/HEAD/gcc/cgraphunit.c:1302
#16 0x10033998 in c_write_global_declarations () at
/home/luis/src/gcc/HEAD/gcc/c-decl.c:8073
#17 0x105c9624 in compile_file () at /home/luis/src/gcc/HEAD/gcc/toplev.c:979
#18 0x105cc214 in do_compile () at /home/luis/src/gcc/HEAD/gcc/toplev.c:2190
#19 0x105cc2a8 in toplev_main (argc=30, argv=0xff880e44) at
/home/luis/src/gcc/HEAD/gcc/toplev.c:2222
#20 0x100f90fc in main (argc=30, argv=0xff880e44) at
/home/luis/src/gcc/HEAD/gcc/main.c:35

The failing line is "return g->gsbase.bb;", because "g" isn't really a valid
pointer:

(gdb) p g
$1 = (const_gimple) 0x4


-- 
           Summary: Building of CPU2000's bzip2 with peak flags with -
                    mcpu=power4 fails with an ICE.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: luisgpm at linux dot vnet dot ibm dot com
 GCC build triplet: powerpc*-*-*
  GCC host triplet: powerpc*-*-*
GCC target triplet: powerpc*-*-*


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


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

end of thread, other threads:[~2008-10-15 16:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-30 17:31 [Bug regression/37686] New: Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE luisgpm at linux dot vnet dot ibm dot com
2008-10-01 10:55 ` [Bug regression/37686] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-10-01 13:11 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-01 13:12 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-01 13:14 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-01 13:21 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-01 14:14 ` rguenth at gcc dot gnu dot org
2008-10-01 17:46 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-01 20:14 ` pinskia at gcc dot gnu dot org
2008-10-01 20:15 ` pinskia at gcc dot gnu dot org
2008-10-01 20:15 ` pinskia at gcc dot gnu dot org
2008-10-01 20:24 ` pinskia at gcc dot gnu dot org
2008-10-01 21:57 ` [Bug tree-optimization/37686] " pinskia at gcc dot gnu dot org
2008-10-01 22:22 ` jakub at gcc dot gnu dot org
2008-10-02  8:52 ` jakub at gcc dot gnu dot org
2008-10-02  9:07 ` jakub at gcc dot gnu dot org
2008-10-02 15:04 ` jakub at gcc dot gnu dot org
2008-10-02 19:41 ` jakub at gcc dot gnu dot org
2008-10-03 15:50 ` spop at gcc dot gnu dot org
2008-10-03 20:15   ` Sebastian Pop
2008-10-03 20:17 ` sebpop at gmail dot com
2008-10-03 21:00 ` luisgpm at linux dot vnet dot ibm dot com
2008-10-15 16:15 ` spop at gcc dot gnu dot org
2008-10-15 16:16 ` spop 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).