public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Jiong Wang <jiong.wang@arm.com>,
	Mike Stump <mikestump@comcast.net>,
	       Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH][dejagnu]  gcc-dg-prune glitch when filtering "relocation truncation" error
Date: Tue, 21 Oct 2014 18:14:00 -0000	[thread overview]
Message-ID: <5446A1FD.6070106@redhat.com> (raw)
In-Reply-To: <54466892.1030708@arm.com>

On 10/21/14 14:07, Jiong Wang wrote:
>
> On 19/08/14 17:30, Mike Stump wrote:
>> On Aug 19, 2014, at 6:12 AM, Kyrill Tkachov <kyrylo.tkachov@arm.com>
>> wrote:
>>> So how about this?
>> Ok.  Thanks.
>
> looks like this patch only fixed one invoke path.
>
> currently, "gcc-dg-prune" may be invoked directly *or* via
> ${tool}_check_compile:
>
> and "gcc-dg-prune" is implemented to return "::unsupported::memory full"
> if the input
> message contains the "relocation truncated" error pattern.
>
> this return message it OK if it's invoked directly, while it will be
> wrong if it's invoked
> via ${tool}_check_compile. because the ${tool}_check_compile has a
> duplicated check of unsupported
> testcase later via "${tool}_check_unsupported_p" which only works with
> original output message by
> matching the "relocation truncation" keyword. So, our early hijack of
> the error in gcc-dg-prune
> will replace those keywords to "::unsupported::memory" which confuse the
> later check.
>
> this patch doing the following cleanup:
>
> * modify the expected output in ${tool}_check_compile.
>    if "gcc-dg-prune" invoked, then we expect "::unsupported::" keyword
> for unsupported testcase.
>
> * remove the duplicated "unresolve" report in compat.exp.
>    for all ${tool}_check_compile return 0, the issue is handled already.
> No need to report a redundant status.
>
> ok for trunk?
>
> gcc/testsuite/
>    * lib/compat.exp (compat-run): Remove "unresolved".
>    * lib/gcc-defs.exp (${tools}_check_compile): Update code logic for
> unsupported testcase.
OK.

jeff

      reply	other threads:[~2014-10-21 18:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 11:23 [PATCH][AArch64][tests]Skip graphite tests that don't fit -mcmodel=tiny Kyrill Tkachov
2014-07-22 15:04 ` Sebastian Pop
2014-07-22 15:17   ` Kyrill Tkachov
2014-07-22 20:40 ` Mike Stump
2014-07-30 21:40   ` Mike Stump
     [not found]     ` <CAJA7tRYxZbYVzrYNzj2mQNoyx2oXOmNParie4vtuXgDrTN-wUQ@mail.gmail.com>
2014-08-01  0:00       ` Mike Stump
2014-08-07  8:38         ` Kyrill Tkachov
2014-08-08 17:54           ` Mike Stump
2014-08-11  9:06             ` Richard Earnshaw
2014-08-11 17:35               ` Mike Stump
2014-08-19 13:12                 ` Kyrill Tkachov
2014-08-19 16:30                   ` Mike Stump
2014-10-21 14:08                     ` [PATCH][dejagnu] gcc-dg-prune glitch when filtering "relocation truncation" error Jiong Wang
2014-10-21 18:14                       ` Jeff Law [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5446A1FD.6070106@redhat.com \
    --to=law@redhat.com \
    --cc=Kyrylo.Tkachov@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jiong.wang@arm.com \
    --cc=mikestump@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).