[Patch]: more fixes for encode-[2-4].m testcases

Ziemowit Laski zlaski@apple.com
Sat Feb 21 13:45:00 GMT 2004


On 3 Feb, 2004, at 14.11, Jim Wilson wrote:

> On Sun, 2004-02-01 at 18:32, Kaveh R. Ghazi wrote:
>> 	* objc.dg/encode-2.m, objc.dg/encode-3.m, objc.dg/encode-4.m: Fix
>> 	tests for systems where `char' is unsigned by default.
>
> OK.
>
> I don't fully understand what the patch does, but it makes testsuite
> failures go away, so it must be good.  I was wondering why you didn't
> use "signed char:(signed char)" but I see that the Objective C compiler
> won't accept that, so your patch does seem like the right fix.

'char:(signed char)' should work fine, as should adding '-fsigned-char' 
to the dg-options.

--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477



More information about the Gcc-patches mailing list