From dab71827a9201dd1ba59d1095fac1237036f9f0b Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Tue, 14 Apr 2009 23:41:28 -0400 Subject: diagnostic.c (diagnostic_report_diagnostic): Do not warn about loaded plugins for DK_ERROR and DK_WARNING. * 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. From-SVN: r146078 --- gcc/diagnostic.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/diagnostic.c') diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index c0648cd..42a40c6f 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" -- cgit v1.1