PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr42235.c
blob582c8a2d4dbc9152eec7ba8b8202bc1549a3f785
1 /* { dg-options "-mthumb -O2" } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-final { scan-assembler-not "add\[\\t \]*r.,\[\\t \]*r.,\[\\t \]*\#1" } } */
4 /* { dg-final { scan-assembler-not "add\[\\t \]*r.,\[\\t \]*\#1" } } */
6 #include <string.h>
8 int foo (char *x)
10 memset (x, 0, 6);