This is the mail archive of the
mailing list for the GCC project.
committed: remove redundant -Wall from -Warray-bounds (PR 82063)
- From: Martin Sebor <msebor at gmail dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 20 Jul 2018 15:22:23 -0600
- Subject: committed: remove redundant -Wall from -Warray-bounds (PR 82063)
As the last observation in PR 82063 Jim points out that
Both -Warray-bounds and -Warray-bounds= are listed in the c.opt
file as being enabled by -Wall, but they are the same option,
and it causes this one option to be processed twice in the
C_handle_option_auto function in the generated options.c file.
It gets set to the same value twice, so it does work as intended,
but this is wasteful.
I have removed the redundant -Wall from the first option and
committed the change as obvious in r262912.