This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

array11.C failing on all LP64 targets


Andrew,

The new testcase you added for PR middle-end/11665 fails on all LP64
targets because of this:

 > Excess errors:
 > g++.dg/init/array11.C:21: warning: cast from pointer to integer of different size

Instead of casting the pointer to unsigned, you need to cast to
"unsigned long" as is done in g++.dg/init/struct1.C or perhaps to
__SIZE_TYPE__.  It's currently failing on mainline and 3.3.x.

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]