------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2004-12-17 01:54 -------
Subject: Re:  [4.0 Regression] crappy code (gcc.c-tortur

> On hppa64-hp-hpux11.11, we don't get as far:
> 
> /test/gnu/gcc-3.3/objdir/gcc/gfortran -B/test/gnu/gcc-3.3/objdir/gcc/ 
> -B/opt/gnu
> 64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/bin/ 
> -B/opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-h
> pux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/include 
> -isy
> stem /opt/gnu64/gcc/gcc-4.0.0/hppa64-hp-hpux11.11/sys-include -g -O2 -Wall 
> -fno-
> repack-arrays -fno-underscoring -c 
> ../../../gcc/libgfortran/intrinsics/selected_
> int_kind.f90  -fPIC -DPIC -o .libs/selected_int_kind.o
> ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90: In function 
> 'selected
> _int_kind':
> ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90:22: internal 
> compiler
> error: Segmentation fault

This one is caused by the following:

Program received signal SIGSEGV, Segmentation fault.
0x400000000033ac24 in assign_parm_find_data_types (all=Variable "all" is not 
available.
)
    at ../../gcc/gcc/function.c:2128
2128      if (current_function_stdarg)
(gdb) p cfun
$1 = (struct function *) 0x0
(gdb) bt
#0  0x400000000033ac24 in assign_parm_find_data_types (all=Variable "all" is 
not available.
)
    at ../../gcc/gcc/function.c:2128
#1  0x400000000033bae8 in gimplify_callee_copies ()
    at ../../gcc/gcc/function.c:3181
#2  0x400000000019a818 in gimplify_body (body_p=Variable "body_p" is not 
available.
)
    at ../../gcc/gcc/gimplify.c:4236
#3  0x400000000019aa14 in gimplify_function_tree (fndecl=Variable "fndecl" is 
not available.
)
    at ../../gcc/gcc/gimplify.c:4295
#4  0x400000000014cbdc in gfc_gimplify_function (fndecl=Variable "fndecl" is 
not available.
)
    at ../../gcc/gcc/fortran/trans-decl.c:1268
#5  0x400000000014efb4 in gfc_generate_function_code (ns=Variable "ns" is not 
available.
)
    at ../../gcc/gcc/fortran/trans-decl.c:2298
#6  0x400000000013dba4 in gfc_generate_code (ns=Variable "ns" is not available.
)
    at ../../gcc/gcc/fortran/trans.c:679
#7  0x400000000011ce98 in gfc_parse_file ()
    at ../../gcc/gcc/fortran/parse.c:2628
#8  0x4000000000139664 in gfc_be_parse_file (set_yydebug=Variable "set_yydebug" 
is not available.
)
    at ../../gcc/gcc/fortran/f95-lang.c:266
#9  0x400000000043c0a8 in toplev_main (argc=Variable "argc" is not available.
)
    at ../../gcc/gcc/toplev.c:992
#10 0x400000000016aa1c in main (argc=-16838720, argv=0x800003fffedbf000)
    at ../../gcc/gcc/main.c:35

Dave


-- 


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

Reply via email to