[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-06-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 Georg-Johann Lay changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-04-19 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #6 from Denis Chertykov --- Proposed patch https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681478.html

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-04-19 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #5 from Denis Chertykov --- The patch is simple. diff --git a/gcc/lra-constraints.cc b/gcc/lra-constraints.cc index 7dbc7fe1e00..6c86e4f8f6c 100644 --- a/gcc/lra-constraints.cc +++ b/gcc/lra-constraints.cc @@ -5883,8 +5883,8 @@ stat

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-02-13 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 Georg-Johann Lay changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #4 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:6f4592ae95eed53dc3a370f98c04a8f25f007811 commit r15-7123-g6f4592ae95eed53dc3a370f98c04a8f25f007811 Author: Georg-Johann Lay Dat

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-01-22 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #3 from Georg-Johann Lay --- Created attachment 60238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60238&action=edit C99 test case that fails on ordinary AVRs (not avrtiny) This test case fails on ordinary AVRs like -mmcu=at

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-01-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #2 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #1) > Created attachment 60230 [details] > reduced C99 test case In that test case: __attribute__((noipa)) void func2 (long a, long b) { static unsigned char

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

2025-01-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 --- Comment #1 from Georg-Johann Lay --- Created attachment 60230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60230&action=edit reduced C99 test case Here is a reduced test case that fails with -mlra -mmcu=attiny40 for any optimization