This is the mail archive of the gcc-patches@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]

setjmp fix for testcase


i may be speaking out of ignorance, but... altivec requires vector
register loads/stores to be 16byte aligned.

this setjmp case below should probably be changed to have the state be
aligned at 16bytes.

does this make sense?

Index: built-in-setjmp.c
===================================================================
RCS file: /cvs/uberbaum/gcc/testsuite/gcc.c-torture/execute/built-in-setjmp.c,v
retrieving revision 1.1
diff -c -r1.1 built-in-setjmp.c
*** built-in-setjmp.c	2001/01/04 19:02:01	1.1
--- built-in-setjmp.c	2001/12/18 20:49:02
***************
*** 1,4 ****
! int buf[20];
  
  int
  main ()
--- 1,4 ----
! int buf[20] __attribute__((aligned(16));
  
  int
  main ()


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