$NetBSD: patch-ae,v 1.5 2003/09/27 18:33:56 kristerw Exp $ --- config/auto-aux/align.c.orig Sat Sep 27 19:00:30 2003 +++ config/auto-aux/align.c Sat Sep 27 19:53:24 2003 @@ -98,6 +98,14 @@ long n[1001]; int speed_aligned, speed_unaligned; +#if 1 + /* ISO C is very restrictive about unaligned access, and absence of + * SIGBUS or SIGSEGV for these tests does not mean that the compiler + * will generate the expected code... So report that unaligned acces + * does not work. */ + exit(1); +#endif + if (test(access16, (char *) n + 1)) exit(1); if (test(access32, (char *) n + 1)) exit(1); if (test(access32, (char *) n + 2)) exit(1);