[Bug ipa/95336] Bad code gen omnetpp_r aarch64

2020-05-26 Thread erick.oc...@theobroma-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336

--- Comment #3 from Erick Ochoa  ---
(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.

[Bug ipa/95336] Bad code gen omnetpp_r aarch64

2020-05-26 Thread erick.oc...@theobroma-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336

--- Comment #2 from Erick Ochoa  ---
(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.

[Bug ipa/95336] Bad code gen omnetpp_r aarch64

2020-05-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336

--- Comment #1 from Andrew Pinski  ---
Did you try -fno-strict-aliasing?