diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr44686.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr44686.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr44686.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr44686.c new file mode 100644 index 000000000..e1e7501c2 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr44686.c @@ -0,0 +1,8 @@ +/* { dg-require-profiling "-fprofile-generate" } */ +/* { dg-options "-fipa-pta -fprofile-generate" } */ +void * +memcpy (void *a, const void *b, __SIZE_TYPE__ len) +{ + if (a == b) + __builtin_abort (); +} |