(CONSTANT_ALIGNMENT): Only increase alignment of string constants.

From-SVN: r4106
This commit is contained in:
Jim Wilson 1993-04-12 12:53:31 -07:00
parent 8cacec76fd
commit ad2373403f

View File

@ -363,7 +363,8 @@ extern int target_flags;
aligned on word boundaries, and optimizes calls to the str* and mem*
library functions. */
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \
(i960_object_bytes_bitalign (int_size_in_bytes (TREE_TYPE (EXP))) > (ALIGN) \
(TREE_CODE (EXP) == STRING_CST \
&& i960_object_bytes_bitalign (int_size_in_bytes (TREE_TYPE (EXP))) > (ALIGN) \
? i960_object_bytes_bitalign (int_size_in_bytes (TREE_TYPE (EXP))) \
: (ALIGN))