This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/64410] gcc 25% slower than clang 3.5 for adding complex numbers


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64410

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jan  9 11:14:55 2015
New Revision: 219380

URL: https://gcc.gnu.org/viewcvs?rev=219380&root=gcc&view=rev
Log:
2015-01-09  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/64410
    * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
    on the LHS.
    (execute_update_addresses_taken): Deal with that.
    * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
    loads/stores for complex variables.

    * g++.dg/vect/pr64410.cc: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/vect/pr64410.cc
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c
    trunk/gcc/tree-ssa.c


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