public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code Date: Fri, 25 Aug 2006 17:09:00 -0000 [thread overview] Message-ID: <20060825170900.2159.qmail@sourceware.org> (raw) In-Reply-To: <bug-28788-2736@http.gcc.gnu.org/bugzilla/> ------- Comment #11 from jvdelisle at gcc dot gnu dot org 2006-08-25 17:09 ------- On x86-64 linux: (gdb) set args <lensing.f90 (gdb) r Starting program: /home/jerry/bin/f951 <lensing.f90 Warning: Reading file '<stdin>' as free form. .file "<stdin>" In file :598 use ModelParams 1 Error: The derived type 'p' at (1) is of type 'pp', which has not been defined. In file :415 use ModelParams 1 Error: The derived type 'p' at (1) is of type 'bessel0', which has not been defined. In file :82 use ModelParams 1 Program received signal SIGSEGV, Segmentation fault. error_string (p=0x3 <Address 0x3 out of bounds>) at ../../gcc42/gcc/fortran/error.c:112 112 while (*p) (gdb) bt #0 error_string (p=0x3 <Address 0x3 out of bounds>) at ../../gcc42/gcc/fortran/error.c:112 #1 0x0000000000417c6a in error_print (type=Variable "type" is not available. ) at ../../gcc42/gcc/fortran/error.c:409 #2 0x000000000041809d in gfc_error (nocmsgid=Variable "nocmsgid" is not available. ) at ../../gcc42/gcc/fortran/error.c:611 #3 0x000000000044c820 in resolve_symbol (sym=0xcfa1d0) at ../../gcc42/gcc/fortran/resolve.c:5656 #4 0x0000000000454e1e in traverse_ns (st=0xcfb5c0, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2650 #5 0x0000000000454e06 in traverse_ns (st=0xcfb600, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #6 0x000000000044931f in resolve_types (ns=0xcef530) at ../../gcc42/gcc/fortran/resolve.c:6628 #7 0x000000000044bb3d in gfc_resolve (ns=0xcef530) at ../../gcc42/gcc/fortran/resolve.c:6703 #8 0x000000000044bcb4 in resolve_symbol (sym=0xce4740) at ../../gcc42/gcc/fortran/resolve.c:5729 #9 0x0000000000454e1e in traverse_ns (st=0xcd2c40, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2650 #10 0x0000000000454e06 in traverse_ns (st=0xceec90, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #11 0x0000000000454e06 in traverse_ns (st=0xcc9170, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #12 0x0000000000454e06 in traverse_ns (st=0xccb0d0, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #13 0x0000000000454e06 in traverse_ns (st=0xcd2700, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #14 0x0000000000454e06 in traverse_ns (st=0xcc8cb0, func=0x44bb60 <resolve_symbol>) at ../../gcc42/gcc/fortran/symbol.c:2653 #15 0x000000000044931f in resolve_types (ns=0xcc62f0) at ../../gcc42/gcc/fortran/resolve.c:6628 #16 0x00000000004493eb in resolve_types (ns=0xcc4500) at ../../gcc42/gcc/fortran/resolve.c:6639 #17 0x000000000044bb3d in gfc_resolve (ns=0xcc4500) at ../../gcc42/gcc/fortran/resolve.c:6703 #18 0x0000000000441418 in gfc_parse_file () at ../../gcc42/gcc/fortran/parse.c:3197 #19 0x0000000000460bbe in gfc_be_parse_file (set_yydebug=Variable "set_yydebug" is not available. ) at ../../gcc42/gcc/fortran/f95-lang.c:303 #20 0x000000000074aa53 in toplev_main (argc=Variable "argc" is not available. ) at ../../gcc42/gcc/toplev.c:999 #21 0x0000003816e1ce54 in __libc_start_main () from /lib64/libc.so.6 #22 0x0000000000403d99 in _start () #23 0x00007fff8414b8c8 in ?? () #24 0x0000000000000000 in ?? () (gdb) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28788
next prev parent reply other threads:[~2006-08-25 17:09 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-21 11:37 [Bug fortran/28788] New: " martin at mpa-garching dot mpg dot de 2006-08-22 5:30 ` [Bug fortran/28788] " pault at gcc dot gnu dot org 2006-08-22 20:02 ` pault at gcc dot gnu dot org 2006-08-23 13:20 ` paul dot richard dot thomas at cea dot fr 2006-08-23 14:51 ` patchapp at dberlin dot org 2006-08-24 4:47 ` pault at gcc dot gnu dot org 2006-08-24 4:54 ` pault at gcc dot gnu dot org 2006-08-25 12:57 ` martin at mpa-garching dot mpg dot de 2006-08-25 13:25 ` paulthomas2 at wanadoo dot fr 2006-08-25 14:36 ` martin at mpa-garching dot mpg dot de 2006-08-25 14:37 ` martin at mpa-garching dot mpg dot de 2006-08-25 17:09 ` jvdelisle at gcc dot gnu dot org [this message] 2006-08-26 9:30 ` paulthomas2 at wanadoo dot fr 2006-08-26 12:15 ` aovb94 at dsl dot pipex dot com 2006-08-26 21:27 ` jvdelisle at gcc dot gnu dot org 2006-08-28 11:57 ` paul dot richard dot thomas at cea dot fr 2006-08-29 4:51 ` pault at gcc dot gnu dot org 2006-08-29 4:57 ` pault at gcc dot gnu dot org 2006-08-30 4:37 ` pault at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060825170900.2159.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).