gcc/testsuite/gcc.target/arm/pr42235.c
raw| 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" } } */ |
| 5 | |
| 6 | #include <string.h> |
| 7 | |
| 8 | int foo (char *x) |
| 9 | { |
| 10 | memset (x, 0, 6); |
| 11 | } |