This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH for c++/43108 (performance regression on mixed complex/real arithmetic)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]