diff options
Diffstat (limited to 'gcc/gimple-ssa-sprintf.cc')
-rw-r--r-- | gcc/gimple-ssa-sprintf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-ssa-sprintf.cc b/gcc/gimple-ssa-sprintf.cc index 961c1b739da..8202129667e 100644 --- a/gcc/gimple-ssa-sprintf.cc +++ b/gcc/gimple-ssa-sprintf.cc @@ -1953,7 +1953,7 @@ format_floating (const directive &dir, tree arg, pointer_query &) &res.range.min, &res.range.max }; - for (int i = 0; i != sizeof minmax / sizeof *minmax; ++i) + for (int i = 0; i != ARRAY_SIZE (minmax); ++i) { /* Convert the GCC real value representation with the precision of the real type to the mpfr_t format rounding down in the |