Move warning suppression to the ultimate callee.
authorMartin Sebor <msebor@redhat.com>
Thu, 8 Jul 2021 22:36:15 +0000 (16:36 -0600)
committerMartin Sebor <msebor@redhat.com>
Thu, 8 Jul 2021 22:36:15 +0000 (16:36 -0600)
commit79d3378c7d73814442eb468c562ab8aa572f9c43
tree031d35244ef2680ed5d51e241366f71506076c85
parent68b938fada4c728c0b850b44125d9a173c01c8fb
Move warning suppression to the ultimate callee.

Resolves:
PR bootstrap/101372 - -Warray-bounds in gcc/cp/module.cc causing bootstrap failure

gcc/cp/ChangeLog:

PR bootstrap/101372
* module.cc (identifier): Suppress warning.
(module_state::read_macro_maps): Remove warning suppression.
(module_state::install_macros): Ditto.
gcc/cp/module.cc