[Bug other/116253] RFE: support for nested diagnostics
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 11 15:22:37 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116253
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>:
https://gcc.gnu.org/g:331226fd87c2010928329ef35b6d4f680d9234d1
commit r15-6115-g331226fd87c2010928329ef35b6d4f680d9234d1
Author: David Malcolm <dmalcolm@redhat.com>
Date: Wed Dec 11 10:21:35 2024 -0500
diagnostics: tweak output for nested messages [PR116253]
When printing nested messages with
-fdiagnostics-set-output=text:experimental-nesting=yes
avoid printing a line such as the "cc1plus:" in the following:
⢠note: set â-fconcepts-diagnostics-depth=â to at least 2 for
more detail
cc1plus:
for "special" locations such as UNKNOWN_LOCATION.
gcc/ChangeLog:
PR other/116253
* diagnostic-format-text.cc (on_report_diagnostic): When showing
locations for nested messages on new lines, don't print
UNKNOWN_LOCATION or BUILTINS_LOCATION.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
More information about the Gcc-bugs
mailing list