* [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc.
@ 2011-06-28 17:52 Rainer Orth
2011-06-28 18:54 ` Xinliang David Li
0 siblings, 1 reply; 3+ messages in thread
From: Rainer Orth @ 2011-06-28 17:52 UTC (permalink / raw)
To: gcc-patches; +Cc: Xinliang David Li
Three new testcases seem to XPASS everywhere, at least on all of my
targets:
XPASS: gcc.dg/inline_1.c (test for excess errors)
XPASS: gcc.dg/inline_2.c (test for excess errors)
XPASS: gcc.dg/unroll_1.c (test for excess errors)
The following patch fixes this to remove the noise. Tested with the
appropriate runtest invocation on i386-pc-solaris2.10.
Ok for mainline?
Rainer
2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/inline_1.c: Remove dg-excess-errors.
* gcc.dg/inline_2.c: Likewise.
* gcc.dg/unroll_1.c: Likewise.
Index: gcc/testsuite/gcc.dg/inline_2.c
===================================================================
--- gcc/testsuite/gcc.dg/inline_2.c (revision 175590)
+++ gcc/testsuite/gcc.dg/inline_2.c (working copy)
@@ -20,4 +20,3 @@
/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
-/* { dg-excess-errors "extra notes" } */
Index: gcc/testsuite/gcc.dg/inline_1.c
===================================================================
--- gcc/testsuite/gcc.dg/inline_1.c (revision 175590)
+++ gcc/testsuite/gcc.dg/inline_1.c (working copy)
@@ -20,4 +20,3 @@
/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
-/* { dg-excess-errors "extra notes" } */
Index: gcc/testsuite/gcc.dg/unroll_1.c
===================================================================
--- gcc/testsuite/gcc.dg/unroll_1.c (revision 175590)
+++ gcc/testsuite/gcc.dg/unroll_1.c (working copy)
@@ -30,4 +30,3 @@
/* { dg-final { scan-rtl-dump-times "Decided to peel loop completely" 2 "loop2_unroll" } } */
/* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */
-/* { dg-excess-errors "extra notes" } */
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc.
2011-06-28 17:52 [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc Rainer Orth
@ 2011-06-28 18:54 ` Xinliang David Li
2011-06-29 8:45 ` Rainer Orth
0 siblings, 1 reply; 3+ messages in thread
From: Xinliang David Li @ 2011-06-28 18:54 UTC (permalink / raw)
To: Rainer Orth; +Cc: gcc-patches
Your fix works ok for me (on x86-64/linux) too.
Thanks,
David
On Tue, Jun 28, 2011 at 10:09 AM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> Three new testcases seem to XPASS everywhere, at least on all of my
> targets:
>
> XPASS: gcc.dg/inline_1.c (test for excess errors)
> XPASS: gcc.dg/inline_2.c (test for excess errors)
> XPASS: gcc.dg/unroll_1.c (test for excess errors)
>
> The following patch fixes this to remove the noise. Tested with the
> appropriate runtest invocation on i386-pc-solaris2.10.
>
> Ok for mainline?
>
> Rainer
>
>
> 2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> * gcc.dg/inline_1.c: Remove dg-excess-errors.
> * gcc.dg/inline_2.c: Likewise.
> * gcc.dg/unroll_1.c: Likewise.
>
> Index: gcc/testsuite/gcc.dg/inline_2.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/inline_2.c (revision 175590)
> +++ gcc/testsuite/gcc.dg/inline_2.c (working copy)
> @@ -20,4 +20,3 @@
>
> /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
> /* { dg-final { cleanup-tree-dump "optimized" } } */
> -/* { dg-excess-errors "extra notes" } */
> Index: gcc/testsuite/gcc.dg/inline_1.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/inline_1.c (revision 175590)
> +++ gcc/testsuite/gcc.dg/inline_1.c (working copy)
> @@ -20,4 +20,3 @@
>
> /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
> /* { dg-final { cleanup-tree-dump "optimized" } } */
> -/* { dg-excess-errors "extra notes" } */
> Index: gcc/testsuite/gcc.dg/unroll_1.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/unroll_1.c (revision 175590)
> +++ gcc/testsuite/gcc.dg/unroll_1.c (working copy)
> @@ -30,4 +30,3 @@
>
> /* { dg-final { scan-rtl-dump-times "Decided to peel loop completely" 2 "loop2_unroll" } } */
> /* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */
> -/* { dg-excess-errors "extra notes" } */
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc.
2011-06-28 18:54 ` Xinliang David Li
@ 2011-06-29 8:45 ` Rainer Orth
0 siblings, 0 replies; 3+ messages in thread
From: Rainer Orth @ 2011-06-29 8:45 UTC (permalink / raw)
To: Xinliang David Li; +Cc: gcc-patches
David,
> Your fix works ok for me (on x86-64/linux) too.
based on that, I've installed the patch.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-29 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 17:52 [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc Rainer Orth
2011-06-28 18:54 ` Xinliang David Li
2011-06-29 8:45 ` Rainer Orth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).