* gcc.dg/asm-7.c: Adjust expected warning text.

From-SVN: r67709
This commit is contained in:
Richard Henderson 2003-06-10 09:14:08 -07:00 committed by Richard Henderson
parent bb8f5288ed
commit cec31c5567
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2003-06-10 Richard Henderson <rth@redhat.com>
* gcc.dg/asm-7.c: Adjust expected warning text.
2003-06-10 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-20.c: New test case.

View file

@ -11,8 +11,8 @@ void test(void)
__asm__ ("" : : "m"(r)); /* { dg-warning "address of register" } */
__asm__ ("" : : "m"(i));
__asm__ ("" : : "m"(m));
__asm__ ("" : : "m"(0)); /* { dg-warning "deprecated memory input" } */
__asm__ ("" : : "m"(i+1)); /* { dg-warning "deprecated memory input" } */
__asm__ ("" : : "m"(0)); /* { dg-warning "input without lvalue" } */
__asm__ ("" : : "m"(i+1)); /* { dg-warning "input without lvalue" } */
__asm__ ("" : : "g"(r));
__asm__ ("" : : "g"(i));