mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:00:27 +08:00
movdi-rex64.c: New.
* gcc.target/i386/movdi-rex64.c: New. From-SVN: r182119
This commit is contained in:
parent
9b854a9760
commit
bd531f092d
@ -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.
|
||||
|
13
gcc/testsuite/gcc.target/i386/movdi-rex64.c
Normal file
13
gcc/testsuite/gcc.target/i386/movdi-rex64.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user