aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-03-07 09:41:00 +0000
committerRichard Stallman <rms@gnu.org>1992-03-07 09:41:00 +0000
commit8433ffc5628846a8e271f6249e8853d625f570e4 (patch)
treebc2e87986543e3afbc250a74974d59279f9bb659
parent05795922a259e1b382c48742c36b293c855ddea7 (diff)
downloadgcc-8433ffc5628846a8e271f6249e8853d625f570e4.zip
gcc-8433ffc5628846a8e271f6249e8853d625f570e4.tar.gz
gcc-8433ffc5628846a8e271f6249e8853d625f570e4.tar.bz2
*** empty log message ***
From-SVN: r411
-rw-r--r--gcc/config/vax/vax.h4
-rw-r--r--gcc/genextract.c12
2 files changed, 13 insertions, 3 deletions
diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h
index 9b8cf5c..d9abb28 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 bab8bf9..7214ce6 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)