common.opt (-Wattribute-alias): Remove "no-" from name.
commit5ebfd62be840165392d2cbdbc98f0f971cd91300
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 28 Jan 2019 13:10:29 +0000 (28 13:10 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 28 Jan 2019 13:10:29 +0000 (28 13:10 +0000)
tree1606943cf0a0b75f571ce286f01326df8b785610
parent811a671042cf922d4f6acaa575d32a3fcacdefdd
common.opt (-Wattribute-alias): Remove "no-" from name.

2019-01-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * common.opt (-Wattribute-alias): Remove "no-" from name.
        Make -Wattribute-alias command line option and
        #pragma GCC diagnostic ignored "-Wattribute-alias" work again.

testsuite:
2019-01-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gcc.dg/Wattribute-alias.c: Add test for #pragma GCC diagnostic ignored
        "-Wattribute-alias".

From-SVN: r268336
gcc/ChangeLog
gcc/common.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wattribute-alias.c