diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-15 03:41:28 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-15 03:41:28 +0000 |
commit | dd2b35f146936bf0f8f723813df6cefc7bd0b92f (patch) | |
tree | 5d9837cad5adf85d3fe250481be67981045fb958 /gcc/diagnostic.c | |
parent | 1c4f3e9a595b8f1fe0a0912c293b657c9bc96861 (diff) | |
download | gcc-dd2b35f146936bf0f8f723813df6cefc7bd0b92f.tar.gz |
* diagnostic.c (diagnostic_report_diagnostic): Do not
warn about loaded plugins for DK_ERROR and DK_WARNING.
* c-decl.c (declspecs_add_type): Move call to
invoke_plugin_callbacks ...
* c-parser.c (c_parser_declspecs): ... here.
* plugin.c (dump_active_plugins): Tidy output.
cp/ChangeLog
* parser.c (cp_parser_type_specifier_seq): Move call to
invoke_plugin_callbacks ...
(cp_parser_type_specifier_seq): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index c0648cd53b2..42a40c6f337 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -372,10 +372,7 @@ diagnostic_report_diagnostic (diagnostic_context *context, context->lock++; - if ((diagnostic->kind == DK_ERROR - || diagnostic->kind == DK_WARNING - || diagnostic->kind == DK_ICE) - && plugins_active_p ()) + if (diagnostic->kind == DK_ICE && plugins_active_p ()) { fnotice (stderr, "*** WARNING *** there are active plugins, do not report" " this as a bug unless you can reproduce it without enabling" |