From 937ac3f98c6455faf6b2e58d45671458ada63d1f Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Tue, 2 Nov 1999 08:50:55 +0000 Subject: [PATCH] * pa.h (ADDR_VEC_ALIGN): Define. From-SVN: r30345 --- gcc/ChangeLog | 2 ++ gcc/config/pa/pa.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42f084465ab..c28db7c6ba2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,8 @@ Mon Nov 1 23:21:17 1999 Jason Merrill Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com) + * pa.h (ADDR_VEC_ALIGN): Define. + * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT notes when presented with "if (foo) break; end_of_loop" and the break sequence gets moved out of the loop. diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index e233a753949..9a113d04040 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1689,6 +1689,9 @@ while (0) for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE (TARGET_BIG_SWITCH ? TImode : DImode) +/* Jump tables must be 32 bit aligned, no matter the size of the element. */ +#define ADDR_VEC_ALIGN(ADDR_VEC) 2 + /* Specify the tree operation to be used to convert reals to integers. */ #define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR