diff options
author | Marek Polacek <polacek@redhat.com> | 2015-08-12 17:25:23 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-08-12 17:25:23 +0000 |
commit | b893e375096038ac99521a97b7fa346b016bdb78 (patch) | |
tree | 61fb3ae13f36228936da84dc60d9e477d727f37e /libjava | |
parent | bb2978b8fd41165054ffe3cfcfa5311fffaf13cd (diff) | |
download | gcc-b893e375096038ac99521a97b7fa346b016bdb78.zip gcc-b893e375096038ac99521a97b7fa346b016bdb78.tar.gz gcc-b893e375096038ac99521a97b7fa346b016bdb78.tar.bz2 |
re PR c++/55095 (Wshift-overflow)
PR c++/55095
* c-common.c (maybe_warn_shift_overflow): Properly handle
left-shifting 1 into the sign bit.
* c-c++-common/Wshift-overflow-6.c: New test.
* c-c++-common/Wshift-overflow-7.c: New test.
* g++.dg/cpp1y/left-shift-2.C: New test.
From-SVN: r226826
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions