https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838
Bug ID: 71838 Summary: ICE with OpenCoarrays on submodule Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mexas at bristol dot ac.uk Target Milestone: --- ‘ in pp_string, at pretty-print.c:928 0x1346eab pp_string(pretty_printer*, char const*) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/pretty-print.c:928 0x134789f pp_format(pretty_printer*, text_info*) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/pretty-print.c:570 0x1342da8 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/diagnostic.c:825 0x63bbb8 gfc_error_now(char const*, ...) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/error.c:1179 0x6ba236 check_conflict /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/symbol.c:469 0x6be0d6 gfc_copy_attr(symbol_attribute*, symbol_attribute*, locus*) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/symbol.c:1939 0x6bf1d5 gfc_copy_dummy_sym(gfc_symbol**, gfc_symbol*, int) /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/symbol.c:2011 0x632ecb gfc_match_submod_proc() /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/decl.c:7765 0x685d2d decode_statement /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:383 0x687834 next_free /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:1076 0x687834 next_statement /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:1310 0x68b42c parse_contained /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:5039 0x68c269 parse_module /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:5432 0x68cc39 gfc_parse_file() /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/gcc/fortran/parse.c:5738 0x6ce875 gfc_be_parse_file /panfs/panasas01/mech/mexas/gcc-6-20160410-obj/../gcc-6-20160410/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. make: *** [m3clvg_sm3.o] Error 1 The source file is a submodue: https://sourceforge.net/p/cgpack/code/HEAD/tree/head/m3clvg_sm3.f90 The module is: https://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m3clvg.f90 The Makefile is: https://sourceforge.net/p/cgpack/code/HEAD/tree/head/Makefile-bc3-oca $ caf --version OpenCoarrays Coarray Fortran Compiler Wrapper (caf version 1.4.0) Copyright (C) 2015-2016 Sourcery, Inc.