Hi, this patch fixes a testsuite-failure for LLP64 targets.
ChangeLog 2012-06-27 Kai Tietz * g++.dg/cpp0x/constexpr-52672.C (ul_ptr): Use SIZE_TYPE instead of hard-coded 'unsigned long'. Tested for x86_64-w64-mingw32, and x86_64-unknown-linux-gnu. Ok for apply? Regards, Kai Index: testsuite/g++.dg/cpp0x/constexpr-52672.C =================================================================== --- testsuite/g++.dg/cpp0x/constexpr-52672.C (revision 189009) +++ testsuite/g++.dg/cpp0x/constexpr-52672.C (working copy) @@ -2,7 +2,7 @@ // { dg-do compile } // { dg-options "-std=c++11" } -typedef unsigned long * ul_ptr; +__extension__ typedef __SIZE_TYPE__ * ul_ptr; constexpr unsigned long a = *((ul_ptr)0x0); // { dg-error "" } constexpr unsigned long b = *((ul_ptr)(*((ul_ptr)0x0))); // { dg-error "" } constexpr unsigned long c = *((ul_ptr)*((ul_ptr)(*((ul_ptr)0x0)))); // { dg-error "" }