* gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 14:00:37 +0000 (14:00 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 14:00:37 +0000 (14:00 +0000)
<< 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
gcc/testsuite/gcc.dg/ipa/ipcp-3.c

index c49acf3..b7116c9 100644 (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
index 1443b73..af4f50b 100644 (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);
 }