From: Richard Henderson Date: Fri, 28 Jan 2005 00:42:46 +0000 (-0800) Subject: * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384;p=gcc.git * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives. From-SVN: r94356 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c810184073e..224841510a8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-01-27 Richard Henderson + + * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives. + 2005-01-27 Richard Sandiford * gcc.dg/intmax_t-1.c: Extend dg-error to cover mips*-elf targets. diff --git a/gcc/testsuite/gcc.dg/uninit-I.c b/gcc/testsuite/gcc.dg/uninit-I.c index bd7c13a1feb..7be60d786b8 100644 --- a/gcc/testsuite/gcc.dg/uninit-I.c +++ b/gcc/testsuite/gcc.dg/uninit-I.c @@ -1,8 +1,8 @@ /* { dg-do compile } */ -/* { dg-options -O2 -Wuninitialized } */ +/* { dg-options "-O2 -Wuninitialized" } */ int sys_msgctl (void) { - struct { int mode; } setbuf; /* { dg-warning "'setbuf[.]mode' is used" } */ + struct { int mode; } setbuf; /* { dg-warning "'setbuf\.mode' is used" } */ return setbuf.mode; }