[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Luke changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #7 from Luke --- (In reply to Andrew Pinski from comment #6) > (In reply to Andrew Pinski from comment #5) > > This is most likely a dup of bug 104773. > > Or of bug 3507. i concur... but i do not know which one to choose... they b

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111581, which changed state. Bug 111581 Summary: [arm-none-eabi-gcc] / suboptimal optimization / uxth/sxth https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111581 What|Removed |Added -

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > This is most likely a dup of bug 104773. Or of bug 3507.

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #5 from Andrew Pinski --- (In reply to Luke from comment #4) > the a.i file for example #1a is: > # 1 "a.c" > # 1 "/tmp//" > # 1 "" > # 1 "" > # 1 "a.c" > void artiSUBS() { > for (int i=100; i>0; i--) > *(volatile int*)0xE000E014

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111582, which changed state. Bug 111582 Summary: [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111582 What|Removed

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111580, which changed state. Bug 111580 Summary: [arm-none-eabi-gcc] / suboptimal optimization / b.n to bx lr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111580 What|Removed |Added --

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-24 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #4 from Luke --- the a.i file for example #1a is: # 1 "a.c" # 1 "/tmp//" # 1 "" # 1 "" # 1 "a.c" void artiSUBS() { for (int i=100; i>0; i--) *(volatile int*)0xE000E014 = i; } the command-line was: > arm-none-eabi-gcc -save-temps

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-24 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #3 from Luke --- maybe i should also say the "-v" output? > arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/9.3.0/lto-wrapper Target: arm-none-eabi Configured wi

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-20 Thread gnu.arne at wgboome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #2 from Luke --- (In reply to Andrew Pinski from comment #1) > Can you attach (compilible) examples code for each issue? Really these > should be filed seperately too. do u mean, i should file 3 further bug reports? i try examples

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Andrew Pinski changed: What|Removed |Added Component|c |target Status|UNCONFIRMED