aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-01-28 13:10:29 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2019-01-28 13:10:29 +0000
commit5ebfd62be840165392d2cbdbc98f0f971cd91300 (patch)
tree1606943cf0a0b75f571ce286f01326df8b785610 /gcc/common.opt
parent811a671042cf922d4f6acaa575d32a3fcacdefdd (diff)
downloadgcc-5ebfd62be840165392d2cbdbc98f0f971cd91300.zip
gcc-5ebfd62be840165392d2cbdbc98f0f971cd91300.tar.gz
gcc-5ebfd62be840165392d2cbdbc98f0f971cd91300.tar.bz2
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
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 9a5e9af..295cb1f 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -550,14 +550,14 @@ Wattributes
Common Var(warn_attributes) Init(1) Warning
Warn about inappropriate attribute usage.
+Wattribute-alias
+Common Alias(Wattribute_alias=, 1, 0) Warning
+Warn about type safety and similar errors and mismatches in attribute alias and related.
+
Wattribute-alias=
Common Joined RejectNegative UInteger Var(warn_attribute_alias) Init(1) Warning IntegerRange(0, 2)
Warn about type safety and similar errors and mismatches in attribute alias and related.
-Wno-attribute-alias
-Common Alias(Wattribute_alias=, 0, 0) Warning
-Disable -Wattribute-alias.
-
Wcannot-profile
Common Var(warn_cannot_profile) Init(1) Warning
Warn when profiling instrumentation was requested, but could not be applied to