diff options
author | Marek Polacek <polacek@redhat.com> | 2016-07-29 17:39:39 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-07-29 17:39:39 +0000 |
commit | 638fc14f07ae8908141b520b9d11ba364f087018 (patch) | |
tree | 0fe460480bf9bb01eac667e2c342d2230fe60b19 /gcc/fortran | |
parent | e00dceafd2de848a7735dbce48922aa2304a0f94 (diff) | |
download | gcc-638fc14f07ae8908141b520b9d11ba364f087018.zip gcc-638fc14f07ae8908141b520b9d11ba364f087018.tar.gz gcc-638fc14f07ae8908141b520b9d11ba364f087018.tar.bz2 |
re PR c/71926 (wrong location for -Wparentheses warning)
PR c/71926
* c-common.c (c_common_truthvalue_conversion): Use LOCATION for the
parentheses warning.
* semantics.c (maybe_convert_cond): Use the location of COND for the
parentheses warning.
* g++.dg/warn/Wparentheses-30.C: New test.
* gcc.dg/Wparentheses-14.c: New test.
From-SVN: r238886
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions