[PATCH] Fix testcases to avoid plusminus-with-convert pattern (PR 97066)

Feng Xue OS fxue@os.amperecomputing.com
Wed Sep 16 08:53:56 GMT 2020


With the new pattern rule (T)(A) +- (T)(B) -> (T)(A +- B),
some testcases are simplified and could not keep expected
code pattern as test-check. Minor changes are made to those
cases to avoid simplification effect of the rule.

Tested on x86_64-linux and aarch64-linux.

Feng
---
2020-09-16  Feng Xue  <fxue@os.amperecomputing.com>

gcc/testsuite/
	PR testsuite/97066
	* gcc.dg/ifcvt-3.c: Modified to suppress simplification.
	* gcc.dg/tree-ssa/20030807-10.c: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-testsuite-97066-minor-change-to-bypass-plusminus-wit.patch
Type: text/x-patch
Size: 1682 bytes
Desc: 0001-testsuite-97066-minor-change-to-bypass-plusminus-wit.patch
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200916/5613aec5/attachment.bin>


More information about the Gcc-patches mailing list