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, testsuite, i386] FMA3 testcases + typo fix in MD


Thanks!

K

On Sat, Oct 15, 2011 at 3:08 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Sat, Oct 15, 2011 at 10:32 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
>>>> --- /dev/null
>>>> +++ b/gcc/testsuite/gcc.target/i386/fma_double_1.c
>>>> @@ -0,0 +1,19 @@
>>>> +/* { dg-do compile } */
>>>> +/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
>>>
>>> That prunes too much. ?gcc-dg-prune brackets the regexp so that it only
>>> matches within a single line, but your use of ".*" (which also matches
>>> newlines) overrides that and will cause the *whole* output to be thrown
>>> away, including any unrelated error messages.
>>
>> Perhaps e can add -Wno-attributes to dg-options and remove dg-prune-output.
>>
>> I will look at this possibility and create a patch.
>
> It works.
>
> 2011-10-15 ?Uros Bizjak ?<ubizjak@gmail.com>
>
> ? ? ? ?* gcc.target/i386/fma_float_?.c (dg-prune_output): Remove.
> ? ? ? ?(dg-options): Add -Wno-attributes.
> ? ? ? ?* gcc.target/i386/fma_double_?.c: Ditto.
> ? ? ? ?* gcc.target/i386/fma_run_float_?.c: Ditto.
> ? ? ? ?* gcc.target/i386/fma_run_double_?.c: Ditto.
> ? ? ? ?* gcc.target/i386/l_fma_float_?.c: Dtto.
> ? ? ? ?* gcc.target/i386/l_fma_double_?.c: Ditto.
> ? ? ? ?* gcc.target/i386/l_fma_run_float_?.c: Ditto.
> ? ? ? ?* gcc.target/i386/l_fma_run_double_?.c: Ditto.
>
> Attached patch was tested on x86_64-pc-linux-gnu {,-m32} and committed to SVN.
>
> Uros.
>


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