[Bug target/90886] loop/while/for problem

2023-05-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #11 from Georg-Johann Lay --- Created attachment 55132 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55132&action=edit C++ test case for v5.4 -Os I can confirm this with avr-g++-5.4.0 and the attached test case: > avr-gcc-5.4

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #10 from Joe --- probably noticed but code is always "i <" not "i =" as I stated in the previous comments.

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #9 from Joe --- Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Joe changed: What|Removed |Added Version|7.3.0 |7.4.0 --- Comment #8 from Joe --- Here is assembl

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Jonathan Wakel

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #6 from Joe --- Hmmm... Maybe 7.3.0 isn't supported either.

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Joe changed: What|Removed |Added Version|5.4.0 |7.3.0 --- Comment #5 from Joe --- Tested with 7.3

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #4 from Jonathan Wakely --- GCC 5.4 is no longer maintained or supported by the GCC project.

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #3 from Joe --- Changing i to 127 produces following assembly... volatile unsigned char x; int main() { while (1) { for (unsigned char i = 0 ; i < 127 ; i++) { x = i; } } } 0090 : 90: 80 e0 ldi

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #2 from Joe --- Using built-in specs. Reading specs from /usr/lib/gcc/avr/5.4.0/device-specs/specs-avr2 COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/5.4.0/lto-wrapper Target: avr Configured with: ../gcc/configure -v --enab

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Jonathan Wakely changed: What|Removed |Added Target||avr-*-* Status|UNCONFIRMED