ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1 << 18 to avoid warning on int=16 platforms..

* gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1
	<< 18 to avoid warning on int=16 platforms..

From-SVN: r178545
This commit is contained in:
Georg-Johann Lay 2011-09-05 14:00:37 +00:00 committed by Georg-Johann Lay
parent 81bf23820f
commit 4e5bc13544
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-05 Georg-Johann Lay <avr@gjlay.de>
* 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 <jakub@redhat.com>
* gcc.dg/compat/struct-layout-1_test.h: Decrease bitfield size

View File

@ -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);
}