Merge with main truk.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr54988.c
blob59406d6ab24d240661bfcc2432d773fa35952845
1 /* PR c++/54988 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-msse2" { target { i?86-*-* x86_64-*-* } } } */
6 #if defined(__i386__) || defined(__x86_64__)
7 #pragma GCC target "fpmath=sse"
8 #endif
10 static inline __attribute__ ((always_inline)) int
11 foo (int x)
13 return x;
16 int
17 bar (int x)
19 return foo (x);