From 90fe9e7d3f17539c71370c927961e931abf5291e Mon Sep 17 00:00:00 2001 From: gjl Date: Mon, 5 Sep 2011 14:00:37 +0000 Subject: [PATCH] * gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1 << 18 to avoid warning on int=16 platforms.. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178545 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/ipa/ipcp-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c49acf3..b7116c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-09-05 Georg-Johann Lay + + * gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1 + << 18 to avoid warning on int=16 platforms.. + 2011-09-05 Jakub Jelinek * gcc.dg/compat/struct-layout-1_test.h: Decrease bitfield size diff --git a/gcc/testsuite/gcc.dg/ipa/ipcp-3.c b/gcc/testsuite/gcc.dg/ipa/ipcp-3.c index 1443b73..af4f50b 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipcp-3.c +++ b/gcc/testsuite/gcc.dg/ipa/ipcp-3.c @@ -34,7 +34,7 @@ static void mark_cell(int * interp, Pcc_cell *c) { if (c && c->type == 4 && c->p - && !(c->p->flags & (1<<18))) + && !(c->p->flags & (1<<14))) never_ever(interp, c->p); } -- 2.7.4