* fi.po: Update.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr43690.c
blob67c6cb0f88cd059c640c3db7a7128c737591aad2
1 /* PR middle-end/43690 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 void
6 foo (char *x)
8 asm ("" : : "m" (x++)); /* { dg-error "is not directly addressable" } */
9 asm ("" : : "m" (++x)); /* { dg-error "is not directly addressable" } */
10 asm ("" : : "m" (x--)); /* { dg-error "is not directly addressable" } */
11 asm ("" : : "m" (--x)); /* { dg-error "is not directly addressable" } */
12 asm ("" : : "m" (x + 1)); /* { dg-error "is not directly addressable" } */