[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC since r15-88-gc60b3e211c5557

2024-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-05-02 Ever confirmed|0

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC since r15-88-gc60b3e211c5557

2024-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #7 from Andrew Pinski --- Created attachment 58084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58084=edit Something like this This should cause the char array be on the correct alignment ...

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #6 from Andrew Pinski --- I might see if I can figure out a patch for some to try later tonight.

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #5 from Andrew Pinski --- I see the issue then. char m_buffer[sizeof (int_range_max)]; Needs _Align to get the alignment correct.

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #4 from Rainer Orth --- Created attachment 58081 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58081=edit preprocessed input

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #3 from Rainer Orth --- (In reply to Aldy Hernandez from comment #1) > Since this happens while building libgcc during stage1, perhaps this can be > reproduced with a cross? Would it be possible to get the preprocessed file >

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #2 from Andrew Pinski --- What compiler version are you starting with? It could be that compiler is miscompiling stage 1 here; especially when it comes to C++ usage is becoming more and more.

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 --- Comment #1 from Aldy Hernandez --- Since this happens while building libgcc during stage1, perhaps this can be reproduced with a cross? Would it be possible to get the preprocessed file that's failing? You could try

[Bug middle-end/114912] [15 regression] SIGBUS in wi::copy<> on SPARC

2024-05-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0