testsuite: Test evrp-trans.c also with unsigned types [PR104115]

The testcase from the PR got fixed with r12-3119-g675a3e40567e1d
and looks quite similar to the evrp-trans.c test, except evrp-trans.c
is tested on signed integer types.
I think it would be useful to test it for unsigned comparisons too.

2022-01-19  Jakub Jelinek  <jakub@redhat.com>

	PR c/104115
	* gcc.dg/tree-ssa/evrp-trans2.c: New test.
This commit is contained in:
Jakub Jelinek 2022-01-19 15:02:31 +01:00
parent 5b6788ae5a
commit f35bb467a0
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp" } */
#define int unsigned
#include "evrp-trans.c"
/* { dg-final { scan-tree-dump-not "kill" "evrp" } } */
/* { dg-final { scan-tree-dump-times "keep" 13 "evrp"} } */