[Gs-code-review] Proposed workaround for SourceForge #508722
L. Peter Deutsch
ghost at aladdin.com
Mon Feb 4 19:36:17 PST 2002
Proposed log entry:
Fix: Disables optimization on OpenVMS, because some OpenVMS C compilers
produce incorrect code for gdevpsfx.c. Fixes SourceForge #508722.
Index: src/openvms.mak
===================================================================
RCS file: /cvsroot/ghostscript/gs/src/openvms.mak,v
retrieving revision 1.18
diff -C2 -r1.18 openvms.mak
*** src/openvms.mak 2002/02/01 03:17:12 1.18
--- src/openvms.mak 2002/02/05 03:32:26
***************
*** 174,178 ****
COMP:=$(COMP)/DEBUG/NOOPTIMIZE
else
! COMP:=$(COMP)/NODEBUG/OPTIMIZE
endif
--- 174,183 ----
COMP:=$(COMP)/DEBUG/NOOPTIMIZE
else
! # This should include /OPTIMIZE, but some OpenVMS compilers have an
! # optimizer bug that causes them to generate incorrect code for gdevpsfx.c,
! # so we must disable optimization. (Eventually we will check for the bug
! # in genarch and enable optimization if it is safe.)
! #COMP:=$(COMP)/NODEBUG/OPTIMIZE
! COMP:=$(COMP)/NODEBUG/NOOPTIMIZE
endif
Index: src/openvms.mmk
===================================================================
RCS file: /cvsroot/ghostscript/gs/src/openvms.mmk,v
retrieving revision 1.13
diff -C2 -r1.13 openvms.mmk
*** src/openvms.mmk 2001/10/21 18:57:41 1.13
--- src/openvms.mmk 2002/02/05 03:32:26
***************
*** 177,181 ****
SW_DEBUG=/DEBUG/NOOPTIMIZE
.else
! SW_DEBUG=/NODEBUG/OPTIMIZE
.endif
--- 177,186 ----
SW_DEBUG=/DEBUG/NOOPTIMIZE
.else
! # This should include /OPTIMIZE, but some OpenVMS compilers have an
! # optimizer bug that causes them to generate incorrect code for gdevpsfx.c,
! # so we must disable optimization. (Eventually we will check for the bug
! # in genarch and enable optimization if it is safe.)
! #SW_DEBUG=/NODEBUG/OPTIMIZE
! SW_DEBUG=/NODEBUG/NOOPTIMIZE
.endif
--
L. Peter Deutsch | Aladdin Enterprises | 203 Santa Margarita Ave.
ghost at aladdin.com | http://www.aladdin.com | Menlo Park, CA 94025
The future of software is at http://www.opensource.org
More information about the gs-code-review
mailing list