aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-diagnostic.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-03-16 17:27:08 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-03-16 17:27:08 +0100
commitc05c23808106294ff0b6665cb4dd395a691be659 (patch)
treec7210819be4333f611c44f059178af13c9f25c8d /gcc/tree-diagnostic.h
parenta4c687d64b5e1144ef7f61b6daf7efb209f83d35 (diff)
downloadgcc-c05c23808106294ff0b6665cb4dd395a691be659.zip
gcc-c05c23808106294ff0b6665cb4dd395a691be659.tar.gz
gcc-c05c23808106294ff0b6665cb4dd395a691be659.tar.bz2
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
Diffstat (limited to 'gcc/tree-diagnostic.h')
-rw-r--r--gcc/tree-diagnostic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-diagnostic.h b/gcc/tree-diagnostic.h
index 0110944..e95183f 100644
--- a/gcc/tree-diagnostic.h
+++ b/gcc/tree-diagnostic.h
@@ -54,4 +54,7 @@ void virt_loc_aware_diagnostic_finalizer (diagnostic_context *,
diagnostic_info *);
void tree_diagnostics_defaults (diagnostic_context *context);
+bool default_tree_printer (pretty_printer *, text_info *, const char *,
+ int, bool, bool, bool);
+
#endif /* ! GCC_TREE_DIAGNOSTIC_H */