https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
--- Comment #5 from Sandor Zsuga ---
I received a test report with avr-gcc 8.1.0 , -O2 optimization level: The
behavior is present ( https://www.avrfreaks.net/comment/2477081#comment-2477081
).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
--- Comment #4 from Sandor Zsuga ---
I tried it with the package offered by Microchip, which has avr-gcc 5.4.0, the
behavior is the same, bug is present.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
--- Comment #3 from Sandor Zsuga ---
I don't have reasonably easy access to a newer version as it doesn't seem like
there were precompiled binaries available for Linux which I could try without
much hassle.
If someone had one laying around, I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
--- Comment #2 from Sandor Zsuga ---
Tested on a different machine:
avr-gcc (GCC) 4.9.2
This is what comes with Debian Jessie. The behavior is present (function
compiles to a single "ret").
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
Target|