summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020116-1.c
blob: d554675bc69034e40ea3e943c429ee8bcf236113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This testcase ICEd on Alpha because ldq_u argument was not subject to
   small_symbolic_mem_operand splitting.  */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -fpic -mexplicit-relocs -mcpu=ev4" { target alpha*-*-* } } */

static char a;
char *b;

void foo (void)
{
  register char *c;

  c = b;
  *c = a;
}