[PATCH] Fix pr571518.c test case.

Marcus Shawcroft marcus.shawcroft@arm.com
Thu Jul 4 16:17:00 GMT 2013


Hello,

This:

http://gcc.gnu.org/ml/gcc-patches/2013-06/msg00767.html

recently introduced test case uses the pattern:

/* { dg-final { scan-rtl-dump-not "REG_EQUIV.*mem.*\"ip\"" "ira" } } */ 
 


I believe the intention is to look for the three tokens, in order within 
a single instruction, the actual effect is to look for the three tokens, 
in order, anywhere in the dump file.  The test fails for at least arm-* 
and aarch64-* where we happen to have the appropriate three tokens 
spread through the dump file.

/Marcus


2013-07-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>

         * gcc.dg/pr57518.c: Adjust scan-rtl-dump-not pattern.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f.diff
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130704/9d7a9eb3/attachment.bin>


More information about the Gcc-patches mailing list