Revert strict-aliasing disabling now that n810 has shown not to improve without it. Also change from -Wstrict-aliasing=2 to -Wstrict-aliasing=3; gcc claims the latter gives more precise warnings with fewer mistakes, and I don't think we care that much about it being a little slower, for only the files in SpiderMonkey.

This commit is contained in:
Jeff Walden 2010-03-26 15:32:35 -07:00
Родитель 50ea3aed94
Коммит be1c1c256d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -127,9 +127,9 @@ INTERP_OPTIMIZER = -O2 -GL
BUILTINS_OPTIMIZER = -O2 -GL
LDFLAGS += -LTCG
else
OPTIMIZER = -Os -fno-exceptions -fno-rtti
BUILTINS_OPTIMIZER = -O9 -fno-exceptions -fno-rtti
INTERP_OPTIMIZER = -O3 -fno-exceptions -fno-rtti
OPTIMIZER = -Os -fno-exceptions -fno-rtti -fstrict-aliasing -Wstrict-aliasing=3
BUILTINS_OPTIMIZER = -O9 -fno-exceptions -fno-rtti -fstrict-aliasing
INTERP_OPTIMIZER = -O3 -fno-exceptions -fno-rtti -fstrict-aliasing
endif
DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(USER)
OBJDIR_TAG = _OPT
@ -139,7 +139,7 @@ OPTIMIZER = -Zi
INTERP_OPTIMIZER = -Zi
BUILTINS_OPTIMIZER = $(INTERP_OPTIMIZER)
else
OPTIMIZER = -g3 -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=2
OPTIMIZER = -g3 -fstrict-aliasing -fno-exceptions -fno-rtti -Wstrict-aliasing=3
INTERP_OPTIMIZER = -g3 -fstrict-aliasing -fno-exceptions -fno-rtti
BUILTINS_OPTIMIZER = $(INTERP_OPTIMIZER)
endif