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]

Re: debugging tmpdir-gcc.dg-struct-layout-1 failures


Jakub,
    Okay. I managed to get the testcase built but -DDBG at -m64
by just changing the ifdef for DBDG to an ifndef in the header.
The results on Darwin PPC are as follows...

fail 94.72
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t001_test.h is...

T(94,struct atal16{}a;,)

fail 693.55
fail 760.55
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in gcc.dg-struct-layout-1/t003_test.h are...

T(693,double atal2 a;Tal16long b;short int c;struct{}d;,F(693,a,-9109.968750,89665.703125)F(693,b,-2780362564512530142LL,-1882493019100008206LL)F(693,c,29451,-6341))
T(760,float a;long double b;unsigned long int c;signed char d;,F(760,a,-218391.812500,-167965.062500)F(760,b,-122404.406250,-90172.859375)F(760,c,2933687826322174624ULL,14862826394269793540ULL)F(760,d,55,64))

fail 998.55
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t005_test.h is...

T(998,df a;Talllong b:BQN(20);long long int c:BQN(1);TE4 d:19;long int e;,F(998,a,140017.484375,-160009.218750)B(998,b,-303431,345440)B(998,c,0,0)B(998,d,e4_253,e4_2)F(998,e,3562377756672343063LL,5761410617366885841LL))

fail 1082.72
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t006_test.h is...

T(1082,struct{char b;TE0 c[7];char * d[20];long double e atal16;long long int f;}a[0];,)

fail 1234.55
fail 1234.55
FAIL: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t008_test.h is...

T(1234,double a;signed char atal16 b;union{unsigned int d;struct{}e;}c;short int f;unsigned char g;,F(1234,a,-125234.421875,-6063.015625)F(1234,b,-105,88)F(1234,c.d,3504478143U,3116938342U)F(1234,f,-15109,-23068)F(1234,g,236U,127U))

fail 1604.55
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t016_test.h is...

T(1604,char a;TE7 b;enum E6 c;unsigned int d;long int e;char f[6];float g;short int atal16 h;int * i;,F(1604,a,76U,30U)F(1604,b,e7_m2147483647,e7_m2147483645)F(1604,c,e6_2,e6_2)F(1604,d,3007045619U,3425526240U)F(1604,e,7127725064803830888LL,2212588498547332024LL)F(1604,f[4],64U,30U)F(1604,g,-67359.484375,-251776.203125)F(1604,h,17064,8859)F(1604,i,(int *)&intarray[89],(int *)&intarray[249]))

fail 2017.72
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t024_test.h is...

T(2017,union{}a atal16;,)

fail 2464.72
fail 2468.55
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t026_test.h are...

T(2464,struct{double b;TE1 c[5];Tldouble d;}a[0];,)
T(2468,float a;long double b;Tchar c;Tal8llong d;,F(2468,a,3100.906250,83925.484375)F(2468,b,-156603.906250,244908.156250)F(2468,c,99U,35U)F(2468,d,5510104998541940327LL,8962187912153613792LL))

fail 2810.72
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o-c_compat_y_tst.o execute 

...which in testsuite/gcc/gcc.dg-struct-layout-1/t028_test.h is...

T(2810,v16qi a[0];,)

Does anyone recognize any sort of pattern to these failures which might suggest why they
fail on Darwin PPC at -m64 and not on ppc64?
               Jack


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