Shorten right-shift again in C++.
authorJason Merrill <jason@redhat.com>
Fri, 10 Jan 2020 18:53:17 +0000 (13:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Jan 2020 18:53:17 +0000 (13:53 -0500)
commit337ea6b216afd412b85f3fda78a36467ffe4a817
treede398d158f61994e8448352cca3d5cddabccf119
parente0804c9b5efdf17bbfb692a787df36b86f71af8d
Shorten right-shift again in C++.

Back in SVN r131862 richi removed this code to fix PR 34235, but didn't
remove the parallel code from the C front-end because the bug had previously
been fixed in r44080.  This patch copies the code from C again.

* typeck.c (cp_build_binary_op): Restore short_shift code.

From-SVN: r280128
gcc/cp/ChangeLog
gcc/cp/typeck.c