aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-05-01 07:16:10 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-05-01 07:16:10 +0000
commitd00887e89999f5f24210f6cd6c3895a64eb9f2cd (patch)
tree0e3a810a247c23366f355169db0d3d71078a67f9 /gcc/tree-if-conv.c
parent5436fa2e87fd7df010144347bd3e1fcc0a48d901 (diff)
downloadgcc-d00887e89999f5f24210f6cd6c3895a64eb9f2cd.zip
gcc-d00887e89999f5f24210f6cd6c3895a64eb9f2cd.tar.gz
gcc-d00887e89999f5f24210f6cd6c3895a64eb9f2cd.tar.bz2
re PR c/43245 (add option to control "discarding qualifiers" warnings)
PR c/43245 * doc/invoke.texi: Document -Wdiscarded-qualifiers. c-family/ * c.opt (Wdiscarded-qualifiers): Add. c/ * c-typeck.c (convert_for_assignment): Pass OPT_Wdiscarded_qualifiers instead of 0 to WARN_FOR_QUALIFIERS. testsuite/ * gcc.dg/pr43245.c: New test. From-SVN: r209970
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions