RFA: fix for unsupported alignment in g++ test

Nick Clifton nickc@cambridge.redhat.com
Wed Feb 6 02:43:00 GMT 2002


Hi Guys,

  The G++ testcase g++.dg/ext/align1.C is failing for the xscale-coff
  toolchain because the COFF file format does not support alignments
  greater than 16.  Are there any objections to my applying this patch
  to xfail this test under these circumstances ?

Cheers
        Nick

2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>

	* g++.dg/ext/align1.C: XFAIL for COFF based toolchains.

Index: gcc/testsuite/g++.dg/ext/align1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/ext/align1.C,v
retrieving revision 1.3
diff -c -3 -p -w -r1.3 align1.C
*** align1.C	2002/01/21 12:48:37	1.3
--- align1.C	2002/02/06 09:11:49
*************** typedef float at[4][4] __attribute__ ((a
*** 8,17 ****
  float dummy[4][4][15];
  
  static volatile at a1[15];
! // { dg-warning "object file alignment" "" { target i?86-pc-cygwin } 10 }
  
  float f1 __attribute__ ((aligned (64)));
! // { dg-warning "object file alignment" "" { target i?86-pc-cygwin } 13 }
  
  int main()
  {
--- 8,17 ----
  float dummy[4][4][15];
  
  static volatile at a1[15];
! // { dg-warning "object file alignment" "" { target i?86-pc-cygwin *-*-coff } 10 }
  
  float f1 __attribute__ ((aligned (64)));
! // { dg-warning "object file alignment" "" { target i?86-pc-cygwin *-*-coff } 13 }
  
  int main()
  {



More information about the Gcc-patches mailing list