public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Peter Bergner <bergner@linux.ibm.com>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
	David Edelsohn <dje.gcc@gmail.com>
Subject: Re: [PATCH] rs6000: Fix 2 for PR92661, Do not define builtins that overload disabled builtins
Date: Wed, 04 Dec 2019 19:57:00 -0000	[thread overview]
Message-ID: <4e90e982-6153-0009-c557-f963f41a0427@linux.ibm.com> (raw)
In-Reply-To: <20191204191641.GA3152@gate.crashing.org>

On 12/4/19 1:16 PM, Segher Boessenkool wrote:
> For future patches: it is much easier to review if you make the big,
> mechanical move a separate (earlier) patch.

Will do.




>> I have also
>> included a small patch to disable running the powerpc/dfp/ tests even for
>> powerpc*-linux when --disable-decimal-float is used.
> 
> What is the reason for that?
[snip]
> This isn't run from powerpc.exp, so it needs to still do that first check.
> And it's up to the Darwin maintainers whether they want that second part
> (there are many more tests and testsuites that disable *-darwin* while
> that isn't really necessary).
> 
> Why do you need/want the check_effective_target_dfp test?  If for example
> this is to prevent ICEs, that is no good, that is *hiding* problems.
> 
> I suspect it is to stop the testsuite from complaining if you configure
> with --disable-decimal-float.  What is different there then, compared to
> targets that do actually not support decimal float?

Well, yes.  I saw those tests being run for my --disable-decimal-float
runs, which resulted in FAILs for all of those tests.  They had ICE's
on unpatched trunk and FAILed gracefully using my patch, but they all
still FAILed, since these are DFP tests and DFP is disabled.
There's no sense in running these tests when DFP is disabled, either
manually due to --disable-decimal-float or implicitly because of the
specific target.

Why isn't just testing check_effective_target_dfp enough to disable the
tests on Darwin, --disable-decimal-float, etc.?  That would seem to imply
that one of those targets we're testing against enables DFP, but somehow
we don't want to run the tests or they all still FAIL for some reason???



> Okay for trunk minus the changes to powerpc-dfp.exp (we can iterate on
> that).  Thanks!

Ok, I committed that part of the patch.  Thanks!

Peter

  reply	other threads:[~2019-12-04 19:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6129bc8a-18f3-3c25-22c0-f26e4358c5b3@linux.ibm.com>
2019-12-04 19:16 ` Segher Boessenkool
2019-12-04 19:57   ` Peter Bergner [this message]
2019-12-04 20:47     ` Iain Sandoe
2019-12-04 21:40       ` Peter Bergner
2019-12-04 22:59         ` Segher Boessenkool
2019-12-04 22:58       ` Segher Boessenkool
2019-12-04 20:51     ` Segher Boessenkool
2019-12-04 21:53       ` Peter Bergner
2019-12-04 23:03         ` Segher Boessenkool
2019-12-05  8:45           ` Iain Sandoe
2019-12-05 16:06             ` Peter Bergner
2019-12-06 23:12             ` Segher Boessenkool
2019-12-09 20:16               ` Peter Bergner
2019-12-12  9:23                 ` Segher Boessenkool
2019-12-10 18:27           ` Peter Bergner
2019-12-10 19:12             ` Peter Bergner
2019-12-10 19:59               ` Iain Sandoe
2019-12-18 14:19             ` Segher Boessenkool
2019-12-18 15:31               ` Peter Bergner

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=4e90e982-6153-0009-c557-f963f41a0427@linux.ibm.com \
    --to=bergner@linux.ibm.com \
    --cc=dje.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=segher@kernel.crashing.org \
    /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).