From: Richard Stallman Date: Sat, 7 Mar 1992 09:41:00 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~13520 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8433ffc5628846a8e271f6249e8853d625f570e4;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r411 --- diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 9b8cf5c23b47..d9abb28a60fd 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -130,9 +130,9 @@ extern int target_flags; /* No structure field wants to be aligned rounder than this. */ #define BIGGEST_FIELD_ALIGNMENT (TARGET_VAXC_ALIGNMENT ? 8 : 32) -/* Define this if move instructions will actually fail to work +/* Set this nonzero if move instructions will actually fail to work when given unaligned data. */ -/* #define STRICT_ALIGNMENT */ +#define STRICT_ALIGNMENT 0 /* Standard register usage. */ diff --git a/gcc/genextract.c b/gcc/genextract.c index bab8bf9173ac..7214ce60a761 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -71,6 +71,7 @@ static void print_path (); char *xmalloc (); char *xrealloc (); static void fatal (); +static void mybzero (); void fancy_abort (); static void @@ -82,7 +83,7 @@ gen_insn (insn) dup_count = 0; /* No operands seen so far in this pattern. */ - bzero (operand_seen, operand_seen_length); + mybzero (operand_seen, operand_seen_length); printf (" case %d:\n", insn_code_number); @@ -294,6 +295,15 @@ fancy_abort () { fatal ("Internal gcc abort."); } + +static void +mybzero (b, length) + register char *b; + register unsigned length; +{ + while (length-- > 0) + *b++ = 0; +} int main (argc, argv)