This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/43108 (performance regression on mixed complex/real arithmetic)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 18 Feb 2010 21:14:02 +0000 (UTC)
- Subject: Re: C++ PATCH for c++/43108 (performance regression on mixed complex/real arithmetic)
- References: <4B7D9BD0.1030405@redhat.com>
On Thu, 18 Feb 2010, Jason Merrill wrote:
> I don't claim to understand the underlying issues here, but the comments in
> the PR pointed out that Joseph had fixed the same issue in the C front end, so
> I just adapted his code to the equivalent function in the C++ front end, and
> moved his tests into c-c++-common. And then fixed another bug that was
> preventing them from compiling.
These tests were deliberately torture tests, to verify that the correct
behavior occurred at all optimization levels without any optimizations
happening that are invalid for signed zeros. c-c++-common tests are not
torture tests. You need to move them into a new torture subdirectory of
c-c++-common and arrange for the appropriate .exp files in gcc.dg/torture
and g++.dg/torture to run the tests from c-c++-common/torture.
--
Joseph S. Myers
joseph@codesourcery.com