[Bug fortran/38675] New: FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)
danglin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 20:59:00 GMT 2008
This bug has been around for awhile on the 4.3 branch. Not present in 4.4.
Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/
mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/
gfortran.dg/parameter_array_init_3.f90 -O -pedantic-errors -S -o
parameter_
array_init_3.s (timeout = 300)
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)
FAIL: gfortran.dg/parameter_array_init_3.f90 -O (test for excess errors)
Excess errors:
f951: internal compiler error: Segmentation fault
(gdb) r
Starting program: /mnt/gnu/gcc/objdir/gcc/f951
/mnt/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/parameter_array_init_3.f90 -quiet
-dumpbase parameter_array_init_3.f90 -auxbase-strip parameter_array_init_3.s -O
-pedantic-errors -version -o parameter_array_init_3.s -fintrinsic-modules-path
finclude
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
warning: Loadable segment ".tbss" outside of ELF segments
warning: Loadable segment ".tbss" outside of ELF segments
GNU F95 (GCC) version 4.3.3 20081229 (prerelease) [gcc-4_3-branch revision
142953] (hppa64-hp-hpux11.11)
compiled by GNU C version 4.3.3 20081229 (prerelease) [gcc-4_3-branch
revision 142953], GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Program received signal SIGSEGV, Segmentation fault.
0x400000000070efb0 in __gmpz_add ()
(gdb) bt
#0 0x400000000070efb0 in __gmpz_add ()
#1 0x4000000000173894 in simplify_const_ref (p=0x8000000100130e58)
at ../../gcc/gcc/fortran/expr.c:1049
#2 0x4000000000174134 in gfc_simplify_expr (p=0x8000000100130e58, type=1)
at ../../gcc/gcc/fortran/expr.c:1700
#3 0x40000000001745a8 in simplify_parameter_variable (p=0x8000000100130120,
type=1) at ../../gcc/gcc/fortran/expr.c:1567
#4 0x4000000000174110 in gfc_simplify_expr (p=0x8000000100130120, type=1)
at ../../gcc/gcc/fortran/expr.c:1672
#5 0x4000000000150fd0 in expand_constructor (c=0x8000000100130990)
at ../../gcc/gcc/fortran/array.c:1385
#6 0x4000000000151290 in expand_constructor (c=0x800000010012f928)
at ../../gcc/gcc/fortran/array.c:1262
#7 0x4000000000151778 in gfc_array_size (array=0x8000000100130490,
result=0x800003fffdff18c8) at ../../gcc/gcc/fortran/array.c:1983
#8 0x4000000000151f2c in gfc_array_dimen_size (array=0x8000000100132028,
dimen=1, result=0x8) at ../../gcc/gcc/fortran/array.c:1940
#9 0x40000000001bae50 in expression_rank (e=0x8000000100130490)
at ../../gcc/gcc/fortran/resolve.c:4007
#10 0x40000000001bc8d4 in gfc_resolve_expr (e=0x8000000100130490)
at ../../gcc/gcc/fortran/resolve.c:4383
#11 0x40000000001757e0 in gfc_match_init_expr (result=0x800003fffdff1410)
at ../../gcc/gcc/fortran/expr.c:2379
---Type <return> to continue, or q <return> to quit---
#12 0x40000000001684c0 in gfc_match_data_decl ()
at ../../gcc/gcc/fortran/decl.c:1743
#13 0x40000000001ab530 in match_word (str=0x8000000100132028 "\200",
subr=0x4000000000136070, old_locus=0x800003fffdff12c0)
at ../../gcc/gcc/fortran/parse.c:64
#14 0x40000000001abee4 in decode_statement ()
at ../../gcc/gcc/fortran/parse.c:280
#15 0x40000000001ad9b4 in next_statement ()
at ../../gcc/gcc/fortran/parse.c:652
#16 0x40000000001af76c in parse_spec (st=ST_DATA_DECL)
at ../../gcc/gcc/fortran/parse.c:2179
#17 0x40000000001b251c in gfc_parse_file ()
at ../../gcc/gcc/fortran/parse.c:3395
#18 0x40000000001e6c0c in gfc_be_parse_file (
set_yydebug=<value optimized out>) at ../../gcc/gcc/fortran/f95-lang.c:260
#19 0x400000000042ca7c in toplev_main (argc=<value optimized out>,
argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1042
#20 0x400000000023188c in main (argc=1253416, argv=0x8)
at ../../gcc/gcc/main.c:35
--
Summary: FAIL: gfortran.dg/parameter_array_init_3.f90 -O
(internal compiler error)
Product: gcc
Version: 4.3.3
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=38675
More information about the Gcc-bugs
mailing list