This is again a test case that assumes sizeof (int) > 2 which is not true in general.
* g++.dg/ipa/pr51759.C: Fix assumption sizeof(int) > 2. Ok for trunk. Index: testsuite/g++.dg/ipa/pr51759.C =================================================================== --- testsuite/g++.dg/ipa/pr51759.C (revision 183150) +++ testsuite/g++.dg/ipa/pr51759.C (working copy) @@ -1,6 +1,10 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ +#if __SIZEOF_INT__ == 2 && __SIZEOF_LONG__ == 4 +#define unsigned unsigned long +#endif + extern "C" void abort (void); struct S {