re PR fortran/79886 (ICE in pp_format, at pretty-print.c:681)
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 Mar 2017 16:27:08 +0000 (17:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 16 Mar 2017 16:27:08 +0000 (17:27 +0100)
commitc05c23808106294ff0b6665cb4dd395a691be659
treec7210819be4333f611c44f059178af13c9f25c8d
parenta4c687d64b5e1144ef7f61b6daf7efb209f83d35
re PR fortran/79886 (ICE in pp_format, at pretty-print.c:681)

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.

From-SVN: r246203
gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/fortran/error.c
gcc/fortran/trans-io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr79886.f90 [new file with mode: 0644]
gcc/tree-diagnostic.c
gcc/tree-diagnostic.h