diff options
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index aedd1d04877..a6a9a9010ea 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -2491,7 +2491,7 @@ make_length_attrs () length_attr->is_special = 1; /* Make each new attribute, in turn. */ - for (i = 0; i < sizeof new_names / sizeof new_names[0]; i++) + for (i = 0; i < ARRAY_SIZE (new_names); i++) { make_internal_attr (new_names[i], substitute_address (length_attr->default_val->value, |