https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123797
--- Comment #4 from kongmingd234 <kongmingd234 at proton dot me> --- I tested it, it worked with the sample. I have no idea what was wrong before. You can close this if you want, if I find the issue again I'll just make another report.
