------- Comment #2 from jingyu at google dot com  2009-04-21 00:54 -------
Subject: Re:  gcc.dg/torture/pr39678.c fails if char type 
        is unsigned

Thanks H.J. for your quick response!
Do you want me to prepare a patch?
I don't have write permission though.

Thanks,
Jing

On Mon, Apr 20, 2009 at 5:49 PM, hjl dot tools at gmail dot com
<gcc-bugzi...@gcc.gnu.org> wrote:
>
>
> ------- Comment #1 from hjl dot tools at gmail dot com  2009-04-21 00:49 
> -------
> (In reply to comment #0)
>> On gcc.dg/torture/pr39678.c, it assigns -3 to a char variable ("x.c = -3") 
>> and
>> later checks if the char variable equals to -3 ("if (x.c != 3)").
>>
>> This check would fail if the char type is unsigned.
>>
>> Suggest to change -3 to 3. This change does not affect the purpose of the 
>> test
>> case.
>>
>
> That is fine with me.  Thanks.
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39830
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39830

Reply via email to