This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add additional __builtin_unreachable() test.


2009/6/17 David Daney <ddaney@caviumnetworks.com>:
> Paolo Bonzini wrote:
>>
>> David Daney wrote:
>>>
>>> Paolo requested this additional test for the new __builtin_unreachable()
>>> ?built-in.
>>
>> Go ahead after changing this:
>>
>> /* { dg-options "-O2 -m32 -fomit-frame-pointer" } */
>>
>> to:
>>
>> /* { dg-require-effective-target ilp32 } */
>> /* { dg-options "-O2 -fomit-frame-pointer" } */
>>
>
> Why? ?Making that change results in the test being UNSUPPORTED on x86_64.
>
> I now have to build and test an i686 targeted GCC to verify that it is a
> good test.

You can test both -m32 and -m64 using:

make check RUNTESTFLAGS="--target_board=unix/\{-m32,-m64\}"

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]