https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #13 from H.J. Lu ---
Created attachment 54389
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54389&action=edit
A patch for GCC 12 branch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #12 from Brecht Sanders ---
I couldn't apply that patch. Is that for 12.2.0 ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #11 from H.J. Lu ---
Created attachment 54288
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54288&action=edit
An updated patch
Try this one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #10 from Brecht Sanders ---
I can confirm GCC 12.2.0 builds fine with that patch and without CFLAG
-D__USE_MINGW_ACCESS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #9 from H.J. Lu ---
Created attachment 54284
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54284&action=edit
A patch
Please try this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |12.3
Priority|P3