- Updated the GCC-targeted makefiles to turn off two optimizations that cause

fmopl.cpp to compile incorrectly: tree-dominator-opts and tree-fre


SVN r734 (trunk)
This commit is contained in:
Randy Heit 2008-02-06 00:12:08 +00:00
parent 6af5665575
commit 22df389ad7
3 changed files with 10 additions and 0 deletions

View file

@ -83,6 +83,10 @@ $(OBJDIR)/%.o: %.nas
$(OBJDIR)/nodebuild_classify_sse2.o: nodebuild_classify_sse2.cpp
$(CCDV) $(CXX) $(CXXFLAGS) -msse2 -mfpmath=sse -c -o $@ $<
# This file needs special handling because GCC misoptimizes it otherwise.
$(OBJDIR)/fmopl.o: src/oplsynth/fmopl.cpp
$(CCDV) $(CXX) $(CXXFLAGS) -fno-tree-dominator-opts -fno-tree-fre -c -o $@ $<
$(OBJDIR):
mkdir $(OBJDIR)

View file

@ -83,6 +83,10 @@ all: $(TARGET)
$(OBJDIR)/nodebuild_classify_sse2.o: src/nodebuild_classify_sse2.cpp
$(CCDV) $(CXX) $(CXXFLAGS) -msse2 -mfpmath=sse -c -o $@ $<
# This file needs special handling because GCC misoptimizes it otherwise.
$(OBJDIR)/fmopl.o: src/oplsynth/fmopl.cpp
$(CCDV) $(CXX) $(CXXFLAGS) -fno-tree-dominator-opts -fno-tree-fre -c -o $@ $<
src/sc_man_scanner.h: src/sc_man_scanner.re
$(CCDV) $(RE2C) -s -o $@ $<

View file

@ -1,4 +1,6 @@
February 5, 2008
- Updated the GCC-targeted makefiles to turn off two optimizations that cause
fmopl.cpp to compile incorrectly: tree-dominator-opts and tree-fre
- Fixed: Morphed pig and chicken players made normal human *usefail sounds.
- G_DoSaveGame() now receives the filename and description from its arguments
rather than global variables, so autosaves and manual saves can be done