diff options
author | Marek Polacek <polacek@redhat.com> | 2018-03-02 17:51:24 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-03-02 17:51:24 +0000 |
commit | 0805d020d789e40557531df22565eae7809e7f17 (patch) | |
tree | 683423e050a408f0de70ca9f9cae3994238bb6d2 /gcc/substring-locations.c | |
parent | 7299275f74a31f7f3774ade89c7447fc6fb7cf98 (diff) | |
download | gcc-0805d020d789e40557531df22565eae7809e7f17.zip gcc-0805d020d789e40557531df22565eae7809e7f17.tar.gz gcc-0805d020d789e40557531df22565eae7809e7f17.tar.bz2 |
re PR c++/84171 (ICE with -Wsign-compare)
PR c++/84171
* c-warn.c (warn_for_sign_compare): Bail out if any of the operands
is erroneous.
* g++.dg/warn/Wsign-compare-8.C: New test.
From-SVN: r258147
Diffstat (limited to 'gcc/substring-locations.c')
0 files changed, 0 insertions, 0 deletions