PATCH: Support -mx32 in GCC tests

H.J. Lu hjl.tools@gmail.com
Thu Jul 7 21:32:00 GMT 2011


On Thu, Jul 7, 2011 at 1:57 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Jul 7, 2011 at 1:56 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>
>>
>>>> -/* { dg-do compile { target { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } } } */
>>>> +/* { dg-do compile { target { { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } && { ! x32 } } } } */
>>>
>>>
>>> Hum, I worry about x86 walking away with large amounts of symbol space.  Please change to x86 && x32 or x86_x32.
>>
>> gcc.dg/lower-subreg-1.c tests long long using on ilp32 targets.  It
>> should be skipped on x32 similar to ia64, spu and mips.  I don''t
>> know how x86 && x32 or x86_x32 will help here.
>>
>>>> -/* { dg-do compile } */
>>>> +/* { dg-do compile { target { x32 || lp64 } } } */
>>>
>>> Likewise.
>>
>> gcc.dg/pr44194-1.c is tested if a target returns structures in register.
>> Can you tell me how I can enable it for x32?
>>
>
> I will fix them.

Here is the updated patch.  I will wait for Uros's comments.

Thanks.



-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-x32-test-2.patch.cl
Type: application/simple-filter+xml
Size: 16292 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110707/fb7284a1/attachment.cl>


More information about the Gcc-patches mailing list