This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33276] New: [4.3 Regression] 465.tonto in SPEC CPU 2006 fails to compile
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2007 22:48:56 -0000
- Subject: [Bug fortran/33276] New: [4.3 Regression] 465.tonto in SPEC CPU 2006 fails to compile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(gdb) r textfile.fppized.f90 -quiet -dumpbase textfile.fppized.f90
-mtune=generic -auxbase textfile.fppized -O2 -version -ffast-math -o
textfile.fppized.s -fintrinsic-modules-path
/usr/gcc-4.3/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/finclude
Starting program: /usr/gcc-4.3/libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/f951
textfile.fppized.f90 -quiet -dumpbase textfile.fppized.f90 -mtune=generic
-auxbase textfile.fppized -O2 -version -ffast-math -o textfile.fppized.s
-fintrinsic-modules-path
/usr/gcc-4.3/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/finclude
GNU F95 (GCC) version 4.3.0 20070901 (experimental) [trunk revision 128012]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.3.0 20070901 (experimental) [trunk revision
128012], GMP version 4.2.1, MPFR version 2.2.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Program received signal SIGSEGV, Segmentation fault.
0x00000000004083a0 in gfc_simplify_iterator_var (e=0x12279c0)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/array.c:1235
1235 if (e->symtree == p->variable)
(gdb) bt
#0 0x00000000004083a0 in gfc_simplify_iterator_var (e=0x12279c0)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/array.c:1235
#1 0x000000000041ed70 in gfc_simplify_expr (p=0x12279c0, type=1)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/expr.c:1593
#2 0x000000000041ec44 in gfc_simplify_expr (p=0x12275f0, type=1)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/expr.c:810
#3 0x000000000041ec57 in gfc_simplify_expr (p=0x1227f50, type=1)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/expr.c:812
#4 0x000000000041ec44 in gfc_simplify_expr (p=0x1228110, type=1)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/expr.c:810
#5 0x0000000000458c69 in gfc_resolve_substring_charlen (e=0xffa3a0)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:3597
#6 0x00000000004557be in gfc_resolve_expr (e=0xffa3a0)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:4079
#7 0x000000000045984c in resolve_code (code=0xffaf30, ns=0xff8900)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:5944
#8 0x000000000045cd0c in gfc_resolve_blocks (b=0xff9b50, ns=0xff8900)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:5859
#9 0x0000000000459816 in resolve_code (code=0xffa000, ns=0xff8900)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:5933
#10 0x000000000045b121 in resolve_codes (ns=0xff8900)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:8661
#11 0x000000000045b0e0 in resolve_codes (ns=0xe74070)
---Type <return> to continue, or q <return> to quit---
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:8653
#12 0x000000000045b165 in gfc_resolve (ns=0xe74070)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:8680
#13 0x000000000044d508 in gfc_parse_file ()
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/parse.c:3298
#14 0x000000000047298e in gfc_be_parse_file (set_yydebug=<value optimized out>)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/f95-lang.c:300
#15 0x0000000000612d1d in toplev_main (argc=<value optimized out>,
argv=<value optimized out>)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/toplev.c:1045
#16 0x0000003b9321dab4 in __libc_start_main () from /lib64/libc.so.6
#17 0x0000000000402caa in _start ()
(gdb)
Revision 127806 works for me.
--
Summary: [4.3 Regression] 465.tonto in SPEC CPU 2006 fails to
compile
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33276