Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / align-3.c
blob5c97d5ac3cc3eee7d680832061faa7792210f664
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-expand" } */
4 typedef struct { char a[2]; } __attribute__((__packed__)) TU2;
5 unsigned short get16_unaligned(const void *p) {
6 unsigned short v;
7 *(TU2 *)(void *)(&v) = *(const TU2 *)p;
8 return v;
11 /* { dg-final { scan-rtl-dump "MEM\[^\n\r\]*A8\\\]" "expand" } } */