From e9934c8c081bb4b412684809e1d8a1293c7ea21f Mon Sep 17 00:00:00 2001 From: Feng Xue Date: Thu, 17 Oct 2019 09:55:37 +0000 Subject: [PATCH] re PR testsuite/92125 (New test gcc.dg/ipa/pr91088.c introduced in r277054 fails) PR testsuite/92125 2019-10-17 Feng Xue PR testsuite/92125 * gcc.dg/ipa/pr91088.c: Change char conversion to bitand. From-SVN: r277095 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/ipa/pr91088.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eb3112d2672..38dd0d2c253 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-10-17 Feng Xue + + PR testsuite/92125 + * gcc.dg/ipa/pr91088.c: Change char conversion to bitand. + 2019-10-17 Jakub Jelinek PR tree-optimization/92056 diff --git a/gcc/testsuite/gcc.dg/ipa/pr91088.c b/gcc/testsuite/gcc.dg/ipa/pr91088.c index a81c59f98b1..cc146a88134 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr91088.c +++ b/gcc/testsuite/gcc.dg/ipa/pr91088.c @@ -76,7 +76,7 @@ int callee2 (short *p) int callee3 (int v) { - if ((27 % ((1 - (char) v) * 3)) < 6) + if ((27 % ((1 - (v & 0xff)) * 3)) < 6) { large_code; return v + 2; @@ -117,4 +117,4 @@ int caller () /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee3" 1 "cp" } } */ /* { dg-final { scan-ipa-dump "op0\\\[offset: 32],\\(\\(short int\\) #\\),\\(\\(int\\) #\\),\\(1300 / #\\) == 19" "cp" } } */ /* { dg-final { scan-ipa-dump "op0\\\[ref offset: 0],\\(# \\^ 1\\) <" "cp" } } */ -/* { dg-final { scan-ipa-dump "op0,\\(\\(char\\) #\\),\\(\\(int\\) #\\),\\(1 - #\\),\\(# \\* 3\\),\\(27 % #\\) <" "cp" } } */ +/* { dg-final { scan-ipa-dump "op0,\\(# & 255\\),\\(1 - #\\),\\(# \\* 3\\),\\(27 % #\\) <" "cp" } } */