* gcc.target/i386/pr11001-*.c: Remove -m32 from compile flags.
Add -w to compile flags to suppress "call-clobbered register" warnings
and remove dg-warning directives.
From-SVN: r129612
+2007-10-24 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/pr11001-*.c: Remove -m32 from compile flags.
+ Add -w to compile flags to suppress "call-clobbered register" warnings
+ and remove dg-warning directives.
+
2007-10-24 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/sms-2.c: Cleanup sms dump file.
/* Ensure that we don't use 'rep movX' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-Os -m32" } */
+/* { dg-options "-Os -w" } */
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
/* Ensure that we don't use 'rep movX' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-Os -m32" } */
+/* { dg-options "-Os -w" } */
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
/* Ensure that we don't use 'rep movX' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-Os -m32" } */
+/* { dg-options "-Os -w" } */
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
-register int regvar asm("%ecx"); /* { dg-warning "call-clobbered register" } */
+register int regvar asm("%ecx");
int foo[10];
int bar[10];
/* Ensure that we don't use 'rep stoX' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-Os -m32" } */
+/* { dg-options "-Os -w" } */
extern void *memset (void *, int, __SIZE_TYPE__);
-register int regvar asm("%eax"); /* { dg-warning "call-clobbered register" } */
+register int regvar asm("%eax");
int foo[10];
int bar[10];
/* Ensure that we don't use 'rep stoX' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-Os -m32" } */
+/* { dg-options "-Os -w" } */
extern void *memset (void *, int, __SIZE_TYPE__);
/* Ensure that we don't use 'repnz scasb' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-O1 -m32" } */
+/* { dg-options "-O1 -w" } */
extern __SIZE_TYPE__ strlen (const char *);
extern void *malloc (__SIZE_TYPE__);
/* Ensure that we don't use 'repnz scasb' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-O1 -m32" } */
+/* { dg-options "-O1 -w" } */
extern __SIZE_TYPE__ strlen (const char *);
extern void *malloc (__SIZE_TYPE__);
-register int regvar asm("%eax"); /* { dg-warning "call-clobbered register" } */
+register int regvar asm("%eax");
char *
do_copy (char *str)
/* Ensure that we don't use 'repnz scasb' in the presence of register globals. */
/* { dg-do compile } */
-/* { dg-options "-O1 -m32" } */
+/* { dg-options "-O1 -w" } */
extern __SIZE_TYPE__ strlen (const char *);
extern void *malloc (__SIZE_TYPE__);
-register int regvar asm("%ecx"); /* { dg-warning "call-clobbered register" } */
+register int regvar asm("%ecx");
char *
do_copy (char *str)