[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 --- Comment #8 from Andrew Pinski --- Note this linker relaxation code could be more forgiving here and not producing "wrong-code" but GCC should be fixed still.

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 Andrew Pinski changed: What|Removed |Added CC||patrick at rivosinc dot com --- Comment

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2023-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2023-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 Andrew Pinski changed: What|Removed |Added CC||pangbw at gmail dot com --- Comment #5

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2021-05-22 Thread dragan.mladjenovic at syrmia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 --- Comment #4 from dragan.mladjenovic at syrmia dot com --- It seems to be copied from the owning var_decl align in vararsm.c:assemble_variable. Now when optimizing that happens at a later stage and rtx gets created lazily from var_decl and has

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2021-05-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 --- Comment #3 from Richard Biener --- (In reply to dragan.mladjenovic from comment #2) > It seems so. Something like this helps in this case: > > diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c > index 07e908624a0..a102a9288c5 100644 > --- a/gcc/

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2021-05-14 Thread dragan.mladjenovic at syrmia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 --- Comment #2 from dragan.mladjenovic at syrmia dot com --- It seems so. Something like this helps in this case: diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 07e908624a0..a102a9288c5 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -23

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2021-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 Andrew Pinski changed: What|Removed |Added Target|riscv,mips |riscv-*-*,mips64r6-*-* Keywor