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/57733] pointer assignment internal compiler error


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-27
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed, the backtrace is

Program received signal SIGSEGV, Segmentation fault.
0x0000000100109630 in gfc_trans_pointer_assignment (expr1=<value optimized
out>, expr2=<value optimized out>)
    at ../../_clean/gcc/fortran/trans-expr.c:6551
warning: Source file is more recent than executable.
6551              gfc_add_modify (&lse.post, GFC_DECL_SPAN(decl), tmp);
(gdb) bt
#0  0x0000000100109630 in gfc_trans_pointer_assignment (expr1=<value optimized
out>, expr2=<value optimized out>)
    at ../../_clean/gcc/fortran/trans-expr.c:6551
#1  0x00000001000caa87 in trans_code (code=<value optimized out>, cond=<value
optimized out>) at ../../_clean/gcc/fortran/trans.c:1543
#2  0x00000001000f5cb4 in gfc_generate_function_code (ns=<value optimized out>)
at ../../_clean/gcc/fortran/trans-decl.c:5479
#3  0x00000001000f5b08 in gfc_generate_function_code (ns=<value optimized out>)
at ../../_clean/gcc/fortran/trans-decl.c:4612
#4  0x000000010008609c in gfc_parse_file () at
../../_clean/gcc/fortran/parse.c:4509
#5  0x00000001000c6006 in gfc_be_parse_file () at
../../_clean/gcc/fortran/f95-lang.c:189
#6  0x000000010078b844 in compile_file () at ../../_clean/gcc/toplev.c:544
#7  0x000000010078d939 in toplev_main (argc=2, argv=0x7fff5fbfd920) at
../../_clean/gcc/toplev.c:1872
#8  0x0000000100009a94 in start (pc=<value optimized out>, bases=0x0) at
../../../_clean/libgcc/config/unwind-dw2-fde-darwin.c:272


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