Autovectorization crashes GCC 3.1. It's not very helpful anyway. Turn it off.

meow-7.2.2
Tofu Linden 2010-05-25 14:00:59 +01:00
parent 564a843340
commit 7f5cc148bf
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ if (LINUX)
add_definitions(-fvisibility=hidden)
# don't catch SIGCHLD in our base application class for the viewer - some of our 3rd party libs may need their *own* SIGCHLD handler to work. Sigh! The viewer doesn't need to catch SIGCHLD anyway.
add_definitions(-DLL_IGNORE_SIGCHLD)
add_definitions(-march=pentium3 -mfpmath=sse -ftree-vectorize)
add_definitions(-march=pentium3 -mfpmath=sse)
#add_definitions(-ftree-vectorize) # THIS CRASHES GCC 3.1-3.2
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime
add_definitions(-fno-stack-protector)