c-common.c (warn_about_parentheses): Separate warning about un-parenthized sequence...
authorDirk Mueller <dmueller@suse.de>
Wed, 31 Jan 2007 13:43:40 +0000 (13:43 +0000)
committerDirk Mueller <mueller@gcc.gnu.org>
Wed, 31 Jan 2007 13:43:40 +0000 (13:43 +0000)
commite7917d06e81b8ec0b763bd479861cb60e029bbb9
tree3d17c03e4ce96fde3fa173a9f6e9fbd5991de70e
parentd9f414687eff2b7d3b4ffbd7f0ce00d892d76a90
c-common.c (warn_about_parentheses): Separate warning about un-parenthized sequence of comparison operators from the...

2007-01-31  Dirk Mueller  <dmueller@suse.de>

        * c-common.c (warn_about_parentheses): Separate warning about
        un-parenthized sequence of comparison operators from the one
        which is supposed to warn about x <= y <= z.

        * testsuite/gcc.dg/Wparentheses-2.c: Update and add new tests.

From-SVN: r121421
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wparentheses-2.c