diff options
author | Richard Henderson <rth@redhat.com> | 2005-01-27 16:42:46 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-01-27 16:42:46 -0800 |
commit | 17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384 (patch) | |
tree | 70311d80afdbfe18fb510ae972145847993cbefb /gcc | |
parent | 378d4011e67247c55c792b96c4da0693bdd66bb8 (diff) | |
download | gcc-17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384.zip gcc-17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384.tar.gz gcc-17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384.tar.bz2 |
* gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.
From-SVN: r94356
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/uninit-I.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c810184..2248415 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-01-27 Richard Henderson <rth@redhat.com> + + * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives. + 2005-01-27 Richard Sandiford <rsandifo@redhat.com> * 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 bd7c13a..7be60d7 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; } |