https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67073
Bug ID: 67073 Summary: short program produces ICE Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: danlnagle at me dot com Target Milestone: --- Created attachment 36094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36094&action=edit source causing ICE This was discovered when testing leading-edge features from coarrays. Program f2.f90 is the culprit. Adding -Wall gives no further clues. Here's the result: Dans-MacBook-Pro:coarrays dan$ mpif90 -fcoarray=lib f2.f90 -lcaf_mpi f2.f90:18:0: LOCK (lock2) 1 internal compiler error: in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:1812 f2.f90:18:0: internal compiler error: Abort trap: 6 gfortran: internal compiler error: Abort trap: 6 (program f951) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Dans-MacBook-Pro:coarrays dan$ gfortran --version GNU Fortran (GCC) 6.0.0 20150727 (experimental) Copyright (C) 2015 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Dans-MacBook-Pro:coarrays dan$ mpif90 --version GNU Fortran (GCC) 6.0.0 20150727 (experimental) Copyright (C) 2015 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING File f2.f90 is attached. Thanks for your time and attention.