This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33408] ICE: tree check: expected type_decl, have in debug_flush_symbol_queue, at final.c:3986



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-09-13 10:33 -------
(In reply to comment #2)
> I cannot reproduce this on x86-64 (Rev. 128440 of today).

Hum, the only compiler I have right now is a month old (20070814) but I see a
different segfault on x86_64-linux:

Program received signal SIGSEGV, Segmentation fault.
create_function_arglist (sym=<value optimized out>)
    at ../../../trunk3/gcc/fortran/trans-decl.c:1430
warning: Source file is more recent than executable.
1430          char name[GFC_MAX_SYMBOL_LEN + 2];
(gdb) bt
#0  create_function_arglist (sym=<value optimized out>)
    at ../../../trunk3/gcc/fortran/trans-decl.c:1430
#1  0x000000000048bc15 in gfc_create_function_decl (ns=0x1382770)
    at ../../../trunk3/gcc/fortran/trans-decl.c:1800
#2  0x000000000048cc90 in gfc_generate_function_code (ns=0x13870e0)
    at ../../../trunk3/gcc/fortran/trans-decl.c:3140
#3  0x000000000044c654 in gfc_parse_file ()
    at ../../../trunk3/gcc/fortran/parse.c:3308
#4  0x000000000047170e in gfc_be_parse_file (set_yydebug=<value optimized out>)
    at ../../../trunk3/gcc/fortran/f95-lang.c:300
#5  0x00000000006b70e4 in toplev_main (argc=<value optimized out>,
    argv=<value optimized out>) at ../../../trunk3/gcc/toplev.c:1043
#6  0x00002ae5e69164ca in __libc_start_main () from /lib/libc.so.6
#7  0x0000000000402a4a in _start () at ../sysdeps/x86_64/elf/start.S:113


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|powerpc-apple-darwin8.10.0  |
      Known to fail|                            |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33408


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]