OSDN Git Service

* convert.c (convert_to_integer): Convert (long)round -> lround,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-regparm.c
1 /* { dg-do compile { target i?86-*-* } } */
2 /* { dg-options "-W -Wall" } */
3
4 /* Verify that GCC correctly detects non-matching regparm attributes.  */
5 int __attribute__((regparm(3))) f (void);  /* { dg-error "previous" } */
6
7 int __attribute__((regparm(2))) f (void) { /* { dg-error "conflicting" } */
8   return 0;
9 }