* pa.h (ADDR_VEC_ALIGN): Define.
authorJeffrey A Law <law@cygnus.com>
Tue, 2 Nov 1999 08:50:55 +0000 (08:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 2 Nov 1999 08:50:55 +0000 (01:50 -0700)
From-SVN: r30345

gcc/ChangeLog
gcc/config/pa/pa.h

index 42f0844..c28db7c 100644 (file)
@@ -5,6 +5,8 @@ Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
 
 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.
index e233a75..9a113d0 100644 (file)
@@ -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