From: Jeff Law <law@redhat.com>
To: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
gcc-patches@gcc.gnu.org
Cc: Mike Stump <mikestump@comcast.net>,
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Subject: Re: [PATCH] PR52665 do not let .ident confuse assembler scan tests
Date: Mon, 20 Jun 2016 22:20:00 -0000 [thread overview]
Message-ID: <6a85e9fd-d74e-ed34-daac-bb919e296d7b@redhat.com> (raw)
In-Reply-To: <1466278273-7014-1-git-send-email-rep.dot.nop@gmail.com>
On 06/18/2016 01:31 PM, Bernhard Reutner-Fischer wrote:
> A branch with a name matching scan-assembler pattern triggers
> inappropriate FAIL.
>
> E.g. branch fixups-testsuite and
> - gcc.target/i386/pr65871-?.c (scan-assembler-not "test")
> - gcc.target/i386/pr41442.c (scan-assembler-times "test|cmp" 2)
> etc.
>
> This is a recurring problem as can be seen by some -fno-ident additions
> by commits from e.g. Michael Meissner over the years: builtins-58.c,
> powerpc/pr46728-?.c
>
> The patch below adds -fno-ident if a testcase contains one of
> scan-assembler, scan-assembler-not or scan-assembler-times.
>
> Regression tested on x86_64-unknown-linux on a fixups-testsuite branch
> where it fixes several false FAILs without regressions.
>
> gcc/testsuite/ChangeLog
>
> 2016-06-18 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
>
> PR testsuite/52665
> * lib/gcc-dg.exp (gcc-dg-test-1): Iterate over _required_options.
> * lib/target-supports.exp (scan-assembler_required_options,
> scan-assembler-not_required_options,
> scan-assembler-times_required_options): Add -fno-ident.
> * lib/scanasm.exp (scan-assembler-times): Fix error message.
> * c-c++-common/ident-0a.c: New test.
> * c-c++-common/ident-0b.c: New test.
> * c-c++-common/ident-1a.c: New test.
> * c-c++-common/ident-1b.c: New test.
> * c-c++-common/ident-2a.c: New test.
> * c-c++-common/ident-2b.c: New test.
>
> Ok for trunk?
>
> PS: proc force_conventional_output_for would be a bit misnomed by this,
> not sure if it should be renamed to maybe set_required_options_for or
> the like?
OK.
Changing force_conventional_output to set_required_options_for is
pre-approved as well.
jeff
next prev parent reply other threads:[~2016-06-20 22:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 19:31 Bernhard Reutner-Fischer
2016-06-18 23:49 ` Hans-Peter Nilsson
2016-06-19 20:21 ` Mike Stump
2018-02-02 13:25 ` Bernhard Reutner-Fischer
2018-02-02 18:56 ` Mike Stump
2018-05-01 17:47 ` Jeff Law
2022-04-25 23:00 ` testsuite -fno-file [was: Re: [PATCH] PR52665 do not let .ident confuse assembler scan tests] Bernhard Reutner-Fischer
2016-06-20 22:20 ` Jeff Law [this message]
2018-09-05 15:32 ` [PATCH] PR52665 do not let .ident confuse assembler scan tests Bernhard Reutner-Fischer
2023-05-31 18:50 ` Bernhard Reutner-Fischer
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=6a85e9fd-d74e-ed34-daac-bb919e296d7b@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mikestump@comcast.net \
--cc=rep.dot.nop@gmail.com \
--cc=ro@CeBiTec.Uni-Bielefeld.DE \
/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).