diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-04 16:00:33 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-04 16:00:33 +0000 |
commit | 1d52c456bf6b516767799042d378d0cc36733d60 (patch) | |
tree | 8b890b5273bda4aece838374284c4c95a65d2d0c /config/mt-spu | |
parent | dc5815737294a00a461e7c67dee6a5b9b596ee96 (diff) | |
download | gcc-1d52c456bf6b516767799042d378d0cc36733d60.tar.gz |
* c.opt (Wdangling-else): New option.
* c-parser.c (c_parser_if_statement): Replace OPT_Wparentheses with
OPT_Wdangling_else.
* parser.c (cp_parser_selection_statement): Replace OPT_Wparentheses
with OPT_Wdangling_else.
* doc/invoke.texi: Document -Wdangling-else.
* c-c++-common/Wdangling-else-1.c: New test.
* c-c++-common/Wdangling-else-2.c: New test.
* c-c++-common/Wdangling-else-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/mt-spu')
0 files changed, 0 insertions, 0 deletions