aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/plugin/attribute_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/plugin/attribute_plugin.c')
-rw-r--r--gcc/testsuite/g++.dg/plugin/attribute_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/plugin/attribute_plugin.c b/gcc/testsuite/g++.dg/plugin/attribute_plugin.c
index 6327095..5bbb29c 100644
--- a/gcc/testsuite/g++.dg/plugin/attribute_plugin.c
+++ b/gcc/testsuite/g++.dg/plugin/attribute_plugin.c
@@ -43,7 +43,7 @@ handle_pre_generic (void *event_data, void *data)
{
tree fndecl = (tree) event_data;
tree arg;
- for (arg = DECL_ARGUMENTS(fndecl); arg; arg = TREE_CHAIN (arg)) {
+ for (arg = DECL_ARGUMENTS(fndecl); arg; arg = DECL_CHAIN (arg)) {
tree attr;
for (attr = DECL_ATTRIBUTES (arg); attr; attr = TREE_CHAIN (attr)) {
tree attrname = TREE_PURPOSE (attr);