------- Comment #27 from gdr at integrable-solutions dot net 2010-02-18 04:59 ------- Subject: Re: mixed complex<T> multiplication horribly inefficient
On Wed, Feb 17, 2010 at 3:24 PM, paolo dot carlini at oracle dot com <gcc-bugzi...@gcc.gnu.org> wrote: > ------- Comment #2 from paolo dot carlini at oracle dot com 2010-02-17 21:24 > ------- > I don't see why you want to deal with special cases in the library instead of > the optimizers: indeed, your *very* analysis shows that the missed > optimization > is happening in tree-complex.c and improving it would benefit *many* more uses > outside the library. Actually, I'm pretty sure we rejected already proposals > to > change <complex> to deal more explicitly with special cases... > > Anyway, Gaby, can you please comment on this issue? I agree with your comments. From my point of view, the fix should be in the compiler. PS: I was away from mail for a good part of the day. I'm catching up. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43108