From 8a93eaf25ec07269ee7c47641317a640a9ac2964 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 20 May 2008 23:28:34 +0000 Subject: [PATCH] bitfield-1.mm: XFAIL for ICE... * obj-c++.dg/bitfield-1.mm: XFAIL for ICE; move dg-options after other test directives; use dg-prune-output instead of dg-excess-errors for possible message to ignore; adjust line numbers for messages. From-SVN: r135689 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/obj-c++.dg/bitfield-1.mm | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a904ba35afb..532eb7d67a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2008-05-20 Janis Johnson + * obj-c++.dg/bitfield-1.mm: XFAIL for ICE; move dg-options after other + test directives; use dg-prune-output instead of dg-excess-errors for + possible message to ignore; adjust line numbers for messages. + * obj-c++.dg/comp-types-10.mm: XFAIL for ICE. * obj-c++.dg/try-catch-9.mm: XFAILfor ICE, move dg-options after other test directives. diff --git a/gcc/testsuite/obj-c++.dg/bitfield-1.mm b/gcc/testsuite/obj-c++.dg/bitfield-1.mm index fa8e7265d37..087a13ff7ad 100644 --- a/gcc/testsuite/obj-c++.dg/bitfield-1.mm +++ b/gcc/testsuite/obj-c++.dg/bitfield-1.mm @@ -4,8 +4,10 @@ were defined at once (i.e., any padding introduced for superclasses should be removed). */ /* Contributed by Ziemowit Laski . */ -/* { dg-options "-Wpadded -Wabi" } */ /* { dg-do run } */ +/* { dg-xfail-if "PR31032" { *-*-* } { "*" } { "" } } */ +/* { dg-prune-output ".*internal compiler error.*" } */ +/* { dg-options "-Wpadded -Wabi" } */ #include #include @@ -112,12 +114,11 @@ 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 } 40 } */ -/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 43 } */ -/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 57 } */ -/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 60 } */ -/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 75 } */ -/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 76 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 42 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 45 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 59 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 62 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 77 } */ +/* { dg-bogus "padding struct size" "PR23610" { xfail lp64 } 78 } */ -- 2.30.2