]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve wording for -freport-bug option.
authorMartin Liska <mliska@suse.cz>
Thu, 27 Jan 2022 10:22:42 +0000 (11:22 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 27 Jan 2022 12:34:29 +0000 (13:34 +0100)
commit76ef38e3178a11e76a66b4d4c0e10e85fe186a45
treec30754b3ffb58cdd75d98b6bc4cce36a98df5fb3
parent3989337e1e1e334bb6d6db5d441c751d0b9ae2e1
Improve wording for -freport-bug option.

PR web/104254

gcc/ChangeLog:

* diagnostic.cc (diagnostic_initialize):
Initialize report_bug flag.
(diagnostic_action_after_output):
Explain that -freport-bug option can be used for pre-processed
file creation.  Make the message shorter.
(error_recursion): Rename Internal to internal.
* diagnostic.h (struct diagnostic_context): New field.
* opts.cc (common_handle_option): Init the field here.
gcc/diagnostic.cc
gcc/diagnostic.h
gcc/opts.cc