aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c
blob: 28b7f750e2d3a9b22a24ad8a190d3e6e172a2a08 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do run } */
/* { dg-options "-finline-stringops=memcmp -save-temps -g0 -fno-lto" } */
/* { dg-require-effective-target ptr32plus } */
/* { dg-timeout-factor 2 } */

#include "../memcmp-1.c"

/* Check that no memcmp calls remain, but allow for lib_memcmp calls.  */
/* { dg-final { scan-assembler-not {(^|\*)\mmemcmp\M} } } */