[Bug c++/85533] Missing optimization for right-shift of unsigned int (avr-g++)

2018-04-28 Thread randy.brecker64 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85533 Randy Brecker changed: What|Removed |Added Target|avr |x86 avr Status|RESOLVED

[Bug c++/82658] Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers.

2018-04-28 Thread randy.brecker64 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82658 --- Comment #5 from Randy Brecker --- I confirm this is still true for x86 (!) with gcc-7.3.1 and gcc-8.0.1 in language-mode c++.

[Bug c++/85533] New: Missing optimization for right-shift of unsigned int (avr-g++)

2018-04-26 Thread randy.brecker64 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: randy.brecker64 at gmail dot com Target Milestone: --- If the following snippet is compiled as C++-Code volatile unsigned char x; volatile unsigned char y; int main() { x >&