[Bug target/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-05-30 Thread sandor.zsuga at jubatian dot com
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 ).

[Bug target/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-05-25 Thread sandor.zsuga at jubatian dot com
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.

[Bug target/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-05-16 Thread sandor.zsuga at jubatian dot com
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 wo

[Bug target/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-05-16 Thread sandor.zsuga at jubatian dot com
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").

[Bug c/85805] New: Improper code generation for 64 bit comparisons on avr-gcc

2018-05-16 Thread sandor.zsuga at jubatian dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sandor.zsuga at jubatian dot com Target Milestone: --- GCC version: avr-gcc (GCC) 4.8.1 Compiling with either -O1 or -O2 optimizations enabled, tested with some ATMega and XMega targets. Test