[Bug fortran/79886] [5/6/7 Regression] ICE in pp_format, at pretty-print.c:681
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 16:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79886
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 16 16:27:08 2017
New Revision: 246203
URL: https://gcc.gnu.org/viewcvs?rev=246203&root=gcc&view=rev
Log:
PR fortran/79886
* tree-diagnostic.c (default_tree_printer): No longer static.
* tree-diagnostic.h (default_tree_printer): New prototype.
fortran/
* error.c (gfc_format_decoder): Rename plus argument to set_locus,
remove ATTRIBUTE_UNUSED from all arguments, call default_tree_printer
if not a Fortran specific spec.
* trans-io.c: Include options.h.
(gfc_build_st_parameter): Temporarily disable -Wpadded around layout
of artificial IO data structures.
testsuite/
* gfortran.dg/pr79886.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr79886.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/error.c
trunk/gcc/fortran/trans-io.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-diagnostic.c
trunk/gcc/tree-diagnostic.h
More information about the Gcc-bugs
mailing list