------- Comment #5 from jv244 at cam dot ac dot uk  2006-02-20 07:59 -------
(In reply to comment #4)
> ICE on valid; P1.

Still present with 'gcc version 4.0.3 20060219 (prerelease)':

gcc -c -m32 -O3 test.c
test.c: In function ‘drotmg’:
test.c:20: internal compiler error: in compensate_edge, at reg-stack.c:2795

BTW, is there any way for me to change the 'Last confirmed' field ? Since that
is the purpose of this comment. To add some more info, this is the stack trace
of cc1 that leads to the abort:

#4  0x00000000006714fb in compensate_edge (e=0x2a959776c0, file=0x0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/reg-stack.c:2795
#5  0x0000000000671bff in convert_regs_2 (file=0x0, block=0x0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/reg-stack.c:2865
#6  0x0000000000672186 in reg_to_stack (file=0x0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/reg-stack.c:3086
#7  0x00000000006c2e23 in rest_of_compilation () at
/scratch/vondele/gcc_40_branch/gcc/gcc/passes.c:391
#8  0x0000000000457465 in execute_pass_list (pass=0x9833c0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/tree-optimize.c:526
#9  0x00000000004576db in tree_rest_of_compilation (fndecl=0x2a9595eea0)
    at /scratch/vondele/gcc_40_branch/gcc/gcc/tree-optimize.c:661
#10 0x0000000000412ec8 in c_expand_body (fndecl=0x2a9595eea0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/c-decl.c:6613
#11 0x00000000006e9e38 in cgraph_expand_function (node=0x2a959689c0) at
/scratch/vondele/gcc_40_branch/gcc/gcc/cgraphunit.c:835
#12 0x00000000006eac2b in cgraph_optimize () at
/scratch/vondele/gcc_40_branch/gcc/gcc/cgraphunit.c:1708
#13 0x0000000000414ba2 in c_write_global_declarations () at
/scratch/vondele/gcc_40_branch/gcc/gcc/c-decl.c:7613
#14 0x00000000006a9806 in toplev_main (argc=Variable "argc" is not available.
) at /scratch/vondele/gcc_40_branch/gcc/gcc/toplev.c:1023
#15 0x0000002a95688e5d in __libc_start_main () from /lib64/tls/libc.so.6
#16 0x000000000040267a in _start () at ../sysdeps/x86_64/elf/start.S:96


-- 


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

Reply via email to