From: dannysmith Date: Sat, 18 Oct 2008 08:54:52 +0000 (+0000) Subject: * gcc.dg/dll-2.c: Revert revision 138893: Change "dg-message" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0f1d1cf6a6c58e7b0f08a3bf7defe3d5e9c837c;p=thirdparty%2Fgcc.git * gcc.dg/dll-2.c: Revert revision 138893: Change "dg-message" back to "dg-warning". * gcc.dg/dll-3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141209 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94f1659c6eaa..5c14eceddbf1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-10-18 Danny Smith + + * gcc.dg/dll-2.c: Revert 2008-08-09 change (R138893): Change + "dg-message" back to "dg-warning". + * gcc.dg/dll-3.c: Likewise. + 2008-10-16 Alexander Monakov PR target/37381 diff --git a/gcc/testsuite/gcc.dg/dll-2.c b/gcc/testsuite/gcc.dg/dll-2.c index 334299f3a274..3b8b60eee41e 100644 --- a/gcc/testsuite/gcc.dg/dll-2.c +++ b/gcc/testsuite/gcc.dg/dll-2.c @@ -11,12 +11,12 @@ /* { dg-require-dll "" } */ __declspec (dllimport) int foo1 (); -__declspec (dllexport) int foo1 (); /* { dg-message "note: previous dllimport ignored" } */ +__declspec (dllexport) int foo1 (); /* { dg-warning "previous dllimport ignored" } */ __declspec (dllexport) int foo2 (); __declspec (dllimport) int foo2 (); /* { dg-warning "dllimport ignored" } */ __declspec (dllimport) int bar1; -__declspec (dllexport) int bar1; /* { dg-message "note: previous dllimport ignored" } */ +__declspec (dllexport) int bar1; /* { dg-warning "previous dllimport ignored" } */ __declspec (dllexport) int bar2; __declspec (dllimport) int bar2; /* { dg-warning "dllimport ignored" } */ diff --git a/gcc/testsuite/gcc.dg/dll-3.c b/gcc/testsuite/gcc.dg/dll-3.c index 4272891a848c..0a3f7df09881 100644 --- a/gcc/testsuite/gcc.dg/dll-3.c +++ b/gcc/testsuite/gcc.dg/dll-3.c @@ -5,7 +5,7 @@ /* { dg-do compile { target i?86-pc-mingw* } } */ __declspec (dllimport) int foo1 (); -__declspec (dllexport) int foo1 (); /* { dg-message "note: previous dllimport ignored" } */ +__declspec (dllexport) int foo1 (); /* { dg-warning "previous dllimport ignored" } */ __declspec (dllexport) int foo2 (); __declspec (dllimport) int foo2 (); /* { dg-warning "dllimport ignored" } */