From: Janis Johnson Date: Tue, 20 May 2008 23:25:13 +0000 (+0000) Subject: try-catch-2.mm: Move dg-options after dg-xfail-if. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c3fc9363e9bd170ca08731dd88fa55092514a87;p=gcc.git try-catch-2.mm: Move dg-options after dg-xfail-if. * obj-c++.dg/try-catch-2.mm: Move dg-options after dg-xfail-if. * obj-c++.dg/encode-8.mm: Move dg-options after dg-do. * obj-c++.dg/bitfield-4.mm: Ditto; use dg-prune-output instead of dg-excess-errors for possible additional message. * obj-c++.dg/layout-1.mm: Use dg-prune-output instead of dg-excess-errors for possible additional message. From-SVN: r135686 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5881d659361..427be8d123a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,12 @@ 2008-05-20 Janis Johnson + * obj-c++.dg/try-catch-2.mm: Move dg-options after dg-xfail-if. + * obj-c++.dg/encode-8.mm: Move dg-options after dg-do. + * obj-c++.dg/bitfield-4.mm: Ditto; use dg-prune-output instead of + dg-excess-errors for possible additional message. + * obj-c++.dg/layout-1.mm: Use dg-prune-output instead of + dg-excess-errors for possible additional message. + * g++.dg/ext/vector14.C: Ignore a possible warning. 2008-05-20 Samuel Tardieu diff --git a/gcc/testsuite/obj-c++.dg/bitfield-4.mm b/gcc/testsuite/obj-c++.dg/bitfield-4.mm index 0344dcdfab6..72c1396d706 100644 --- a/gcc/testsuite/obj-c++.dg/bitfield-4.mm +++ b/gcc/testsuite/obj-c++.dg/bitfield-4.mm @@ -1,8 +1,8 @@ /* Check if the @defs() construct preserves the correct layout of bitfields. */ /* Contributed by Ziemowit Laski . */ -/* { dg-options "-lobjc -Wpadded" } */ /* { dg-do run } */ +/* { dg-options "-lobjc -Wpadded" } */ #include @@ -49,7 +49,7 @@ int main(void) return 0; } -/* { dg-excess-errors "In file included from" { target lp64 } } */ +/* { dg-prune-output "In file included from" } Ignore this message. */ /* { dg-bogus "padding struct to align" "PR23610" { xfail lp64 } 1 } */ /* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 28 } */ diff --git a/gcc/testsuite/obj-c++.dg/encode-8.mm b/gcc/testsuite/obj-c++.dg/encode-8.mm index bfd34754ff4..53ad4e3222c 100644 --- a/gcc/testsuite/obj-c++.dg/encode-8.mm +++ b/gcc/testsuite/obj-c++.dg/encode-8.mm @@ -2,8 +2,8 @@ 'BOOL *' (which should be encoded as '^c') and 'char *' (which should be encoded as '*'). */ /* Contributed by Ziemowit Laski . */ -/* { dg-options "-lobjc" } */ /* { dg-do run { xfail { "*-*-*" } } } PR27249 */ +/* { dg-options "-lobjc" } */ #include #include diff --git a/gcc/testsuite/obj-c++.dg/layout-1.mm b/gcc/testsuite/obj-c++.dg/layout-1.mm index 246dcc329b2..35ffa49da3b 100644 --- a/gcc/testsuite/obj-c++.dg/layout-1.mm +++ b/gcc/testsuite/obj-c++.dg/layout-1.mm @@ -13,5 +13,5 @@ - (id) foo; @end -/* { dg-excess-errors "In file included from" { target lp64 } } */ +/* { dg-prune-output "In output included from" } Ignore this message. */ /* { dg-bogus "padding struct to align" "PR23610" { xfail lp64 } 1 } */ diff --git a/gcc/testsuite/obj-c++.dg/try-catch-2.mm b/gcc/testsuite/obj-c++.dg/try-catch-2.mm index 7809b890db9..d7b386a1bfa 100644 --- a/gcc/testsuite/obj-c++.dg/try-catch-2.mm +++ b/gcc/testsuite/obj-c++.dg/try-catch-2.mm @@ -2,9 +2,9 @@ all uncaught exceptions. */ /* Developed by Ziemowit Laski . */ -/* { dg-options "-fobjc-exceptions" } */ -/* { dg-xfail-if "PR23616" { "*-*-*" } { "*" } { "" } } */ /* { dg-do run } */ +/* { dg-xfail-if "PR23616" { "*-*-*" } { "*" } { "" } } */ +/* { dg-options "-fobjc-exceptions" } */ #include #include