public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38675]  New: FAIL: gfortran.dg/parameter_array_init_3.f90  -O  (internal compiler error)
@ 2008-12-30 20:59 danglin at gcc dot gnu dot org
  2008-12-30 21:05 ` [Bug fortran/38675] " danglin at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-12-30 20:59 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-01 17:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-30 20:59 [Bug fortran/38675] New: FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error) danglin at gcc dot gnu dot org
2008-12-30 21:05 ` [Bug fortran/38675] " danglin at gcc dot gnu dot org
2008-12-30 21:19 ` kargl at gcc dot gnu dot org
2008-12-30 21:42 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-30 22:13 ` mikael at gcc dot gnu dot org
2008-12-30 22:22 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-31 23:29 ` dave at hiauly1 dot hia dot nrc dot ca
2009-01-01 17:44 ` danglin at gcc dot gnu dot org
2009-01-01 17:45 ` danglin at gcc dot gnu dot org
2009-01-01 17:47 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).