aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2009-04-14 23:41:28 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2009-04-14 23:41:28 -0400
commitdab71827a9201dd1ba59d1095fac1237036f9f0b (patch)
tree5d9837cad5adf85d3fe250481be67981045fb958 /gcc/c-decl.c
parentf86ce6015ef9aa3d143c20a0072df231235b5344 (diff)
downloadgcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.zip
gcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.tar.gz
gcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index c5f573a..6226203 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -7262,9 +7262,6 @@ struct c_declspecs *
declspecs_add_type (struct c_declspecs *specs, struct c_typespec spec)
{
tree type = spec.spec;
-
- invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, type);
-
specs->non_sc_seen_p = true;
specs->declspecs_seen_p = true;
specs->type_seen_p = true;