movdi-rex64.c: New.

* gcc.target/i386/movdi-rex64.c: New.

From-SVN: r182119
This commit is contained in:
Teresa Johnson 2011-12-08 15:41:07 +00:00 committed by Teresa Johnson
parent 9b854a9760
commit bd531f092d
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-12-08 Teresa Johnson <tejohnson@google.com>
* gcc.target/i386/movdi-rex64.c: New.
2011-12-08 Richard Guenther <rguenther@suse.de>
* gcc.dg/volatile3.c: New testcase.

View File

@ -0,0 +1,13 @@
/* { dg-do compile } */
/* { dg-options "-fPIE -Wwrite-strings" } */
/* { dg-require-effective-target pie } */
char *strcpy (char *dest, const char *src);
static __thread char buffer[25];
const char * error_message (void)
{
oops:
strcpy (buffer, "Unknown code ");
return 0;
}