This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Fix PR65914
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Date: Sun, 21 Jun 2015 08:01:03 -0500
- Subject: Re: [PATCH, rs6000] Fix PR65914
- Authentication-results: sourceware.org; auth=none
- References: <1434753359 dot 2747 dot 70 dot camel at gnopaine> <CAGWvny=wkhk=sQHW5phrKw=6M9ZgwBcoix8qBYJ_5-QUWvFJRg at mail dot gmail dot com> <79D7ED92-36E3-46FB-9E1B-F4A1DDCE9B72 at comcast dot net>
On Sat, 2015-06-20 at 13:37 -0700, Mike Stump wrote:
> On Jun 19, 2015, at 5:36 PM, David Edelsohn <dje.gcc@gmail.com> wrote:
> > Maybe you should ask Richi or Jakub about the testcase because you are
> > placing it in a non-target-specific location. It should succeed on
> > all targets, but it may expose latent bugs on other targets.
>
> A latent bug is one that is broken, but appears to work, and then a change in the compiler is made to expose the bug that was always there but didnât show a failure. It only applies to the compiler proper.
>
> In this case, since the change is to add a test case, the test case can only show bugs that arenât latent (or failures in the test case).
Yes, I felt that in this case we seem to have C++14 adding some new code
paths that could well cause surprises on other targets besides Power.
It seems like the sort of thing that language-specific torture tests are
for, but please let me know if that's wrong and I'll move it to a target
directory.
Thanks,
Bill