This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed: skip gcc.dg/pr46309.c for CRIS
- From: Mike Stump <mikestump at comcast dot net>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Jan 2014 16:55:09 -0800
- Subject: Re: Committed: skip gcc.dg/pr46309.c for CRIS
- Authentication-results: sourceware.org; auth=none
- References: <201401101926 dot s0AJQtBw013628 at ignucius dot se dot axis dot com>
On Jan 10, 2014, at 11:26 AM, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> This patch "fixes" a regression on trunk and the 4.8 branch:
> Index: gcc/testsuite/gcc.dg/pr46309.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/pr46309.c (revision 206534)
> +++ gcc/testsuite/gcc.dg/pr46309.c (working copy)
> @@ -1,5 +1,5 @@
> /* PR tree-optimization/46309 */
> -/* { dg-do compile } */
> +/* { dg-do compile { target { ! { cris*-*-* } } } } */
If you could add /* branch cost==1 */ or some such to it, it would help others that have ports and see it fail, why this might be appropriate to just skip on their target, thanks.