[Bug c++/42232] [4.4 Regression] ICE in cleanup_omp_return

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 30 16:26:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-11-30 16:26 -------
Created an attachment (id=19191)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19191&action=view)
reduced testcase

Reduced testcase from https://bugzilla.novell.com/show_bug.cgi?id=559091.

(gdb) bt
#0  0x0000000000b128c7 in gimple_code (g=0x0)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/gimple.h:1031
#1  0x0000000000b13ab4 in cleanup_omp_return (bb=0x7ffff2cb53c0)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/tree-cfgcleanup.c:520
#2  0x0000000000b13bf6 in cleanup_tree_cfg_bb (bb=0x7ffff2cb53c0)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/tree-cfgcleanup.c:542
#3  0x0000000000b13d31 in cleanup_tree_cfg_1 ()
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/tree-cfgcleanup.c:594
#4  0x0000000000b13e5c in cleanup_tree_cfg_noloop ()
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/tree-cfgcleanup.c:650
#5  0x0000000000b13fb6 in cleanup_tree_cfg ()
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/tree-cfgcleanup.c:696
#6  0x00000000009faf36 in execute_function_todo (data=0x31)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/passes.c:921
#7  0x00000000009fac49 in do_per_function (
    callback=0x9faee0 <execute_function_todo>, data=0x31)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/passes.c:839
#8  0x00000000009fb235 in execute_todo (flags=49)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/passes.c:1023
#9  0x00000000009fbcb0 in execute_one_pass (pass=0x16cc7c0)
    at /space/rguenther/src/svn/gcc-4_4-branch/gcc/passes.c:1300
(gdb) p *pass
$1 = {type = GIMPLE_PASS, name = 0x11f92e0 "cfg", gate = 0, 
  execute = 0xaf7ce3 <execute_build_cfg>, sub = 0x0, next = 0x16ccb60, 
  static_pass_number = 17, tv_id = 37, properties_required = 4, 
  properties_provided = 8, properties_destroyed = 0, 
  todo_flags_start = 524288, todo_flags_finish = 49}


-- 


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



More information about the Gcc-bugs mailing list