Bugzilla bug #39712: backed out the workaround for a compiler bug. NSPRPUB_RELEASE_4_0_BRANCH
authorwtc%netscape.com
Thu, 29 Jun 2000 00:41:33 +0000
branchNSPRPUB_RELEASE_4_0_BRANCH
changeset 1455 36246dfe345d54f1549631ea89b0df5b75bb5c00
parent 1453 72cc360f8383b3beb9ba04dd264bf00af99b2ddf
child 1457 f7884f111b19d31a077d8444f03b5070baa659d1
push idunknown
push userunknown
push dateunknown
bugs39712
Bugzilla bug #39712: backed out the workaround for a compiler bug. The compiler bug is fixed in Service Pack 4 of MSVC 6.0. (NSPRPUB_RELEASE_4_0_BRANCH)
config/WIN32.mk
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -48,24 +48,17 @@ XP_DEFINE = -DXP_PC
 OBJ_SUFFIX = obj
 LIB_SUFFIX = lib
 DLL_SUFFIX = dll
 
 OS_CFLAGS = -W3 -nologo -GF -Gy
 
 ifdef BUILD_OPT
 OS_CFLAGS += -MD
-# The -O2 optimization of MSVC 6.0 SP3 appears to generate
-# code that is unsafe for our use of fibers and static thread
-# local storage.  We temporarily work around this problem by
-# turning off global optimizations (-Og).
 OPTIMIZER = -O2
-ifeq ($(OS_TARGET),WINNT)
-OPTIMIZER += -Og-
-endif
 DEFINES = -UDEBUG -U_DEBUG -DNDEBUG
 DLLFLAGS = -OUT:"$@"
 OBJDIR_TAG = _OPT
 
 # Add symbolic information for use by a profiler
 ifdef MOZ_PROFILE
 OPTIMIZER += -Z7
 DLLFLAGS += -DEBUG -DEBUGTYPE:CV