[PATCH] Requre nonpic target on some PR target/70155 tests

H.J. Lu hjl.tools@gmail.com
Fri Apr 29 17:28:00 GMT 2016


On Fri, Apr 29, 2016 at 10:05 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Fri, Apr 29, 2016 at 6:32 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>> Some PR target/70155 tests check for nonexistence of the *movdi_internal
>> pattern.  Since PIC leads to the *movdi_internal pattern, skip those
>> tests if PIC is used.
>>
>> Tested on x86-64.  OK for trunk?
>
> IMO, it would be better to add condition to a scan-string directive:
>
> /* { dg-final { scan-assembler-not "\\*movdi_internal" { target nonpic } } } */
>
> This way we will still check for other patterns.
>
> Patch is pre-approved.
>

This is what I checked in.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-scan-assembler-not-in-PR-target-70155-tests.patch
Type: text/x-patch
Size: 6693 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160429/93e73574/attachment.bin>


More information about the Gcc-patches mailing list