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/59093] Segfault in gfc_trans_pointer_assignment


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093

--- Comment #11 from Matt Thompson <matthew.thompson at nasa dot gov> ---
Bug still present in GCC 6.1.0:

(907) $ gfortran  --version
GNU Fortran (GCC) 6.1.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(908) $ gfortran test.F90
test.F90:23:0:

     GRIDIM => LocStream%Ptr%Tiling(:)%IM

internal compiler error: Segmentation fault
0xa94eff crash_signal
        ../../gcc-6.1.0/gcc/toplev.c:333
0x6edd9d gfc_trans_pointer_assignment(gfc_expr*, gfc_expr*)
        ../../gcc-6.1.0/gcc/fortran/trans-expr.c:7945
0x6b594a trans_code
        ../../gcc-6.1.0/gcc/fortran/trans.c:1697
0x6d8cdc gfc_generate_function_code(gfc_namespace*)
        ../../gcc-6.1.0/gcc/fortran/trans-decl.c:6154
0x6d8b57 gfc_generate_contained_functions
        ../../gcc-6.1.0/gcc/fortran/trans-decl.c:5144
0x6d8b57 gfc_generate_function_code(gfc_namespace*)
        ../../gcc-6.1.0/gcc/fortran/trans-decl.c:6083
0x671920 translate_all_program_units
        ../../gcc-6.1.0/gcc/fortran/parse.c:5613
0x671920 gfc_parse_file()
        ../../gcc-6.1.0/gcc/fortran/parse.c:5819
0x6b2ab5 gfc_be_parse_file
        ../../gcc-6.1.0/gcc/fortran/f95-lang.c:201
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

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