From: Jeffrey A Law Date: Tue, 2 Nov 1999 08:50:55 +0000 (+0000) Subject: * pa.h (ADDR_VEC_ALIGN): Define. X-Git-Tag: prereleases/libstdc++-2.92~9739 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=937ac3f98c6455faf6b2e58d45671458ada63d1f;p=thirdparty%2Fgcc.git * pa.h (ADDR_VEC_ALIGN): Define. From-SVN: r30345 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42f084465ab4..c28db7c6ba21 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 e233a7539498..9a113d040405 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