so that it will not complain on LP64 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71575
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-09-19 Andrew Pinski <pinskia@physics.uc.edu>
+ * g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
+ so that it will not complain on LP64 targets.
+
2003-09-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/495
constant value when it is not. */
int x;
+
+typedef __SIZE_TYPE__ size_t;
+
struct gdt
{
-unsigned a,b,c,d,e,f;
+size_t a,b,c,d,e,f;
};
void f()
{
{
{
0,
- ( (((unsigned)(&x))<<(24))&(-1<<(8)) ),
+ ( (((size_t)(&x))<<(24))&(-1<<(8)) ),
},
};
}