1 /* { dg-options "-O3" } */ 2 3 #include <string.h> 4 5 /* { dg-final { scan-assembler "\.rodata*" } } */ 6 extern void somefunc (char *); testfunc()7int testfunc () 8 { 9 char string2[80]; 10 /* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r0,.LC*" } } */ 11 strcpy (string2, "hello"); 12 somefunc (string2); 13 } 14