OSDN Git Service

Merge tree-ssa-20020619-branch into mainline.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / uninit-H.c
1 /* PR 14204 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wall -Werror" } */
4
5 #if defined __alpha__
6 # define ASM __asm__("$30")
7 #elif defined __i386__
8 # define ASM __asm__("esp")
9 #elif defined __powerpc__
10 # define ASM __asm__("r1")
11 #else
12 # define ASM
13 #endif
14
15 void *load_PCB (void)
16 {
17   register void *sp ASM;
18   return sp;                    /* { dg-bogus "uninitialized" } */
19 }