[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file-specific optimization options?

From: Stephen Brandon
Subject: file-specific optimization options?
Date: Tue, 06 Nov 2001 14:26:03 +0000


Latest CVS GNUstep

I have a file which refuses to compile with -O2. It gives
the appended error.

I found advice on the net to the effect that removing
optimization can help -- it did, and now the file compiles

However I don't want to lose optimization for the entire

On NeXTSTEP you used to be able to use #pragma CC_OPT_OFF
and CC_OPT_RESTORE to turn optimization on and off within a
file. I've looked at the gcc sources and that is definitely
NeXTSTEP specific, and does not work on my setup. I don't
see any other replacement for it on other platforms.

Does anyone know (i) if there is a portable replacement for
this pragma, or (ii) if there is support in gnustep-make for
file-specific CC options? If not, can anyone suggest a

Stephen Brandon

parseScore.m: In function `eval':
parseScore.m:1473: Unable to generate reloads for:
(insn 1663 1661 1664 (parallel[
            (set (subreg:SI (reg/v:DI 3 %ebx) 0)
                (fix:SI (fix:DF (subreg:DF (reg/v:DI 3 %ebx)
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -6 [0xfffffffa])) 0))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -8 [0xfffffff8])) 0))
            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
                        (const_int -4 [0xfffffffc])) 0))
            (clobber (scratch:HI))
        ] ) 149 {fix_truncdfsi2+1} (nil)
    (expr_list:REG_UNUSED (scratch:HI)
make[1]: *** [shared_obj/ix86/mingw32/gnu-gnu-gnu/parseScore.o]
Error 1
make: *** [libMusicKit.all.library.variables] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]