https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336
--- Comment #3 from Erick Ochoa <erick.oc...@theobroma-systems.com> --- (In reply to Erick Ochoa from comment #2) > (In reply to Andrew Pinski from comment #1) > > Did you try -fno-strict-aliasing? > > CXX = $(CXX_PATH) -ggdb > TUNE_FAST = -mtune=emag -O3 > CXXOPTIMIZE = $(TUNE_FAST) -fno-strict-aliasing > PASS1_CFLAGS = -flto -fcommon > PASS1_CXXFLAGS = -flto -fcommon > PASS1_FFLAGS = -flto -fcommon > PASS1_LDFLAGS = -flto -fcommon -fno-strict-aliasing > > I originally did not. I added it as you suggested. I added it to both the > compiler and the linker just in case. I forgot to mention that the problem still persists.