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/36945] [4.4 Regression] PRE/SCCVN do not handle aggregate function arguments correctly



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-07-29 17:10 -------
Subject: Bug 36945

Author: rguenth
Date: Tue Jul 29 17:09:26 2008
New Revision: 138257

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138257
Log:
2008-07-29  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/36945
        * tree-ssa-sccvn.h (copy_reference_ops_from_ref): Declare.
        * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Export.
        Record invariant addresses un-decomposed.
        (copy_reference_ops_from_call): Record reference call
        arguments properly.  Simplify.
        * tree-ssa-pre.c (create_component_ref_by_pieces_1): New
        helper split out from ...
        (create_component_ref_by_pieces): ... here.  Simplify.
        Prepare for recursive invocation for call arguments.
        (create_expression_by_pieces): Adjust call to
        create_component_ref_by_pieces.
        (compute_avail): Process operand 2 of reference ops.

        * gcc.dg/tree-ssa/ssa-pre-18.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-18.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c
    trunk/gcc/tree-ssa-sccvn.c
    trunk/gcc/tree-ssa-sccvn.h


-- 


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


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