diff options
author | Marek Polacek <polacek@redhat.com> | 2017-07-27 15:02:17 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-07-27 15:02:17 +0000 |
commit | 06bd22f6099abe4fec73c988daf4cacd68f34329 (patch) | |
tree | e482b25a9f983a087d053bd784ba65584a344020 /libgomp | |
parent | 27c8b49bfc23b658bc8ea90e653f76e26e856c43 (diff) | |
download | gcc-06bd22f6099abe4fec73c988daf4cacd68f34329.zip gcc-06bd22f6099abe4fec73c988daf4cacd68f34329.tar.gz gcc-06bd22f6099abe4fec73c988daf4cacd68f34329.tar.bz2 |
re PR c/81417 (-Wsign-compare should print types being compared)
PR c/81417
* c-warn.c (warn_for_sign_compare): Tweak the warning message. Print
the types.
* c-c++-common/Wsign-compare-1.c: New test.
* g++.dg/warn/Wsign-compare-2.C: Update dg-warning.
* g++.dg/warn/Wsign-compare-4.C: Likewise.
* g++.dg/warn/Wsign-compare-6.C: Likewise.
* g++.dg/warn/compare1.C: Likewise.
* gcc.dg/compare1.c: Likewise.
* gcc.dg/compare2.c: Likewise.
* gcc.dg/compare4.c: Likewise.
* gcc.dg/compare5.c: Likewise.
* gcc.dg/pr35430.c: Likewise.
* gcc.dg/pr60087.c: Likewise.
From-SVN: r250630
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions