https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-05-02
Ever confirmed|0
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 ...
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.
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.
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
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
>
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114912
Rainer Orth changed:
What|Removed |Added
Target Milestone|--- |15.0