This test was failing with -m64 because it was forcing -m32 instead of asking for ilp32.
Committed to google/gcc-4_8 and trunk. Diego. Index: gcc/testsuite/g++.dg/pr57878.C =================================================================== --- gcc/testsuite/g++.dg/pr57878.C (revision 201124) +++ gcc/testsuite/g++.dg/pr57878.C (working copy) @@ -1,5 +1,5 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-m32 -O2 -fno-omit-frame-pointer -fPIC -std=gnu++11" } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ +/* { dg-options "-O2 -fno-omit-frame-pointer -fPIC -std=gnu++11" } */ typedef int int32; typedef long long int64;