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/48149] Piecewise complex pass-through not optimized


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48149

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-16 15:55:53 UTC ---
Author: rguenth
Date: Wed Mar 16 15:55:48 2011
New Revision: 171048

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171048
Log:
2011-03-16  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/48149
    * fold-const.c (fold_binary_loc): Fold
    COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>.

    * gcc.dg/fold-complex-1.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/fold-complex-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


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