[Bug middle-end/108448] GCC Elides Assignment to Pointer and memcpy
gavin at yzena dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 18:22:14 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108448
--- Comment #3 from Gavin Howard <gavin at yzena dot com> ---
> Have you tried -fno-strict-aliasing ? I have a feeling like you have some aliasing issues in this code ...
Just tried it, same thing happens.
I'll try to make a better test case, but in this case, the bug happens deep in
the startup of a custom runtime that touches many files and sets up its own
version of stdio. I'll probably just amalgamate all of the required files
together. I know the policy, but the URL really is the best way to reproduce
easily.
More information about the Gcc-bugs
mailing list