From: gjl Date: Mon, 5 Sep 2011 14:00:37 +0000 (+0000) Subject: * gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1 X-Git-Tag: upstream/4.9.2~17922 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90fe9e7d3f17539c71370c927961e931abf5291e;p=platform%2Fupstream%2Flinaro-gcc.git * 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 --- 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); }