This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
setjmp fix for testcase
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: 18 Dec 2001 12:54:42 -0800
- Subject: 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 ()