aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr49169.c
blob: c7800bb753686abc6b09dfbb8d6452862048877d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile { target { arm*-*-* || mips*-*-* } } } */

#include <stdlib.h>
#include <stdint.h>

int
main (void)
{
  void *p = main;
  if ((intptr_t) p & 1)
    abort ();
  return 0;
}

/* { dg-final { scan-assembler "abort" } } */