aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-06-24 12:47:30 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2010-06-24 12:47:30 +0000
commitd166d4c3e54199524a809b00f388d2731774793e (patch)
treefeb6608bcdc33e63afab0b9361ebcd8869ffbf0f /gcc/recog.c
parentb27c1cde2eef96d0aadf6231817c40c688bec12f (diff)
downloadgcc-d166d4c3e54199524a809b00f388d2731774793e.zip
gcc-d166d4c3e54199524a809b00f388d2731774793e.tar.gz
gcc-d166d4c3e54199524a809b00f388d2731774793e.tar.bz2
c-parser.c (c_parser_conditional_expression): Call warn_for_omitted_condop.
2010-06-24 Andi Kleen <ak@linux.intel.com> * c-parser.c (c_parser_conditional_expression): Call warn_for_omitted_condop. * doc/invoke.texi: Document omitted condop warning. c-family/ * c-common.c (warn_for_omitted_condop): New. * c-common.h (warn_for_omitted_condop): Add prototype. testsuite/ * c-c++-common/warn-omitted-condop.c: New. cp/ * parser.c: (cp_parser_question_colon_clause): Switch to use cp_lexer_peek_token. Call warn_for_omitted_condop. Call pedwarn for omitted middle operand. From-SVN: r161318
Diffstat (limited to 'gcc/recog.c')
0 files changed, 0 insertions, 0 deletions