Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc c/ /mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/libgomp.fortran/vla1.f90 -B/mnt/gnu/g cc-3.3/objdir/hppa64-hp-hpux11.11/./libgomp/ -I/mnt/gnu/gcc-3.3/objdir/hppa64-hp -hpux11.11/./libgomp -I/mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/.. -fmessage-lengt h=0 -fopenmp -O0 -L/mnt/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libgomp/.l ibs -lgomp -L/mnt/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libgomp/../libgfortra n/.libs -lgfortranbegin -lgfortran -lm -o ./vla1.exe (timeout = 300) /mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/libgomp.fortran/vla1.f90: In function 'fo o': /mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/libgomp.fortran/vla1.f90:11: internal com piler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/libgomp.fortran/vla1.f90: In function 'fo o': /mnt/gnu/gcc-3.3/gcc/libgomp/testsuite/libgomp.fortran/vla1.f90:11: internal com piler error: Segmentation fault Please submit a full bug report,
(gdb) r `cat xx.sh` Starting program: /mnt/gnu/gcc-3.3/objdir/gcc/f951 `cat xx.sh` Detaching after fork from child process 21255. GNU F95 version 4.2.0 20060531 (experimental) (hppa64-hp-hpux11.11) compiled by GNU C version 4.2.0 20060531 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Program received signal SIGSEGV, Segmentation fault. aggregate_value_p (exp=0x0, fntype=0x0) at ../../gcc/gcc/function.c:1763 1763 tree type = (TYPE_P (exp)) ? exp : TREE_TYPE (exp); (gdb) bt #0 aggregate_value_p (exp=0x0, fntype=0x0) at ../../gcc/gcc/function.c:1763 #1 0x4000000000280a14 in emit_library_call_value_1 (retval=0, orgfun=0x800003fffed5cfa0, value=0x0, fn_type=<value optimized out>, outmode=VOIDmode, nargs=<value optimized out>, p=0x800003fffeff2158) at ../../gcc/gcc/calls.c:3312 #2 0x4000000000281158 in emit_library_call_value (orgfun=0x0, value=0x8, fn_type=2625883, outmode=CCmode, nargs=128) at ../../gcc/gcc/calls.c:3967 #3 0x40000000003d2bac in expand_binop (mode=TImode, binoptab=<value optimized out>, op0=0x800003fffebfb080, op1=0x800003fffebfb040, target=<value optimized out>, unsignedp=0, methods=<value optimized out>) at ../../gcc/gcc/optabs.c:1888 #4 0x40000000002f2110 in expand_mult (mode=TImode, op0=<value optimized out>, op1=0x800003fffebfb040, target=0x800003fffebfb020, unsignedp=1) at ../../gcc/gcc/expmed.c:3219 #5 0x40000000003026c4 in expand_expr_real_1 (exp=<value optimized out>, target=0x800003fffebfb020, tmode=<value optimized out>, modifier=<value optimized out>, alt_rtl=0x800003fffeff1a68) at ../../gcc/gcc/expr.c:8136 #6 0x400000000030b4c8 in expand_expr_real (exp=0x800003fffee227d0, target=0x800003fffebfb020, tmode=TImode, modifier=EXPAND_NORMAL, alt_rtl=0x800003fffeff1a68) at ../../gcc/gcc/expr.c:6690 #7 0x40000000003123ec in store_expr (exp=0x800003fffee227d0, target=0x800003fffebfb020, call_param_p=0) at ../../gcc/gcc/expr.c:4370 ---Type <return> to continue, or q <return> to quit--- #8 0x40000000002fcd24 in expand_assignment (to=0x800003fffec860b0, from=<value optimized out>) at ../../gcc/gcc/expr.c:4249 #9 0x4000000000302b50 in expand_expr_real_1 (exp=<value optimized out>, target=<value optimized out>, tmode=<value optimized out>, modifier=<value optimized out>, alt_rtl=0x0) at ../../gcc/gcc/expr.c:8578 #10 0x400000000030b390 in expand_expr_real (exp=0x800003fffec82af0, target=0x800003fffed5a400, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc/gcc/expr.c:6684 #11 0x40000000004481ac in expand_expr_stmt (exp=0x0) at expr.h:493 #12 0x40000000004975a8 in expand_gimple_basic_block (bb=0x800003fffed05700) at ../../gcc/gcc/cfgexpand.c:1368 #13 0x4000000000498a28 in tree_expand_cfg () at ../../gcc/gcc/cfgexpand.c:1627 #14 0x4000000000492364 in execute_one_pass (pass=0x800000010001b7c0) at ../../gcc/gcc/passes.c:864 #15 0x4000000000492670 in execute_pass_list (pass=0x800000010001b7c0) at ../../gcc/gcc/passes.c:911 #16 0x40000000001dd8ec in tree_rest_of_compilation (fndecl=0x800003fffedfa500) at ../../gcc/gcc/tree-optimize.c:418 #17 0x400000000018f678 in gfc_expand_function (fndecl=0x800003fffedfa500) at ../../gcc/gcc/fortran/f95-lang.c:234 #18 0x40000000004e62e4 in cgraph_expand_function (node=0x800003fffec43e40) at ../../gcc/gcc/cgraphunit.c:1112 #19 0x40000000004e7e64 in cgraph_assemble_pending_functions () ---Type <return> to continue, or q <return> to quit--- at ../../gcc/gcc/cgraphunit.c:364 #20 0x40000000004e72d4 in cgraph_finalize_function (decl=0x800003fffedfa200, nested=0 '\0') at ../../gcc/gcc/cgraphunit.c:490 #21 0x40000000001b0e9c in gfc_generate_function_code ( ns=<value optimized out>) at ../../gcc/gcc/fortran/trans-decl.c:3073 #22 0x4000000000199f70 in gfc_generate_code (ns=0x0) at ../../gcc/gcc/fortran/trans.c:644 #23 0x400000000016ddcc in gfc_parse_file () at ../../gcc/gcc/fortran/parse.c:3197 #24 0x40000000001996d8 in gfc_be_parse_file ( set_yydebug=<value optimized out>) at ../../gcc/gcc/fortran/f95-lang.c:301 #25 0x4000000000454acc in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/gcc/toplev.c:999 #26 0x40000000001d9314 in main (argc=0, argv=0x0) at ../../gcc/gcc/main.c:35 This target doesn't support TImode. gfc_type_for_mode returns NULL_TREE for this mode. There is no check for a null tree in calls.c: tfom = lang_hooks.types.type_for_mode (outmode, 0); if (aggregate_value_p (tfom, 0)) aggregate_value_p can't handle a NULL_TREE in its first argument. -- Summary: FAIL: libgomp.fortran/vla[1-8].f90 -O0 (test for excess errors) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa64-hp-hpux11.11 GCC host triplet: hppa64-hp-hpux11.11 GCC target triplet: hppa64-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27885