PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20011009-1.c
blobe79a475a1e3714f88fc34fc4c3c60d6a86133cb2
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 extern void abort (void);
5 extern void exit (int);
7 #ifdef __sun__
8 #define COMMENT "/"
9 #else
10 #define COMMENT "#"
11 #endif
13 int main ()
15 int x;
17 asm ("movl $26, %0 " COMMENT " 26 |-> reg \n\t"
18 "movl $28, %0" : "=r" (x));
19 if (x != 28)
20 abort ();
21 exit (0);