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/52210] [4.7 Regression] vect_model_simple_cost: reading uninitialised memory


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-14 09:16:05 UTC ---
Author: jakub
Date: Tue Feb 14 09:16:01 2012
New Revision: 184201

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184201
Log:
    PR tree-optimization/52210
    * tree-vect-slp.c (vect_get_and_check_slp_defs): Call
    vect_model_simple_cost with two entry vect_def_type array instead
    of an address of dt.

    * gcc.dg/pr52210.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr52210.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-slp.c


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