This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Aug 2017 21:37:22 +0000
- Subject: [Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933
- Auto-submitted: auto-generated
- References: <bug-80164-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164
--- Comment #15 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri Aug 18 21:36:50 2017
New Revision: 251189
URL: https://gcc.gnu.org/viewcvs?rev=251189&root=gcc&view=rev
Log:
2017-08-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from trunk
PR fortran/80164
* trans-stmt.c (gfc_trans_call): If no code expr, use code->loc
as warning/error locus.
* gfortran.dg/array_temporaries_4.f90: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/array_temporaries_4.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/trans-stmt.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog