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/54713] [4.8 Regression] error: non-trivial conversion at assignment in gcc.c-torture/compile/pr53410-2.c


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-02 13:43:13 UTC ---
Author: jakub
Date: Tue Oct  2 13:43:09 2012
New Revision: 191983

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191983
Log:
    PR tree-optimization/54713
    * expr.c (categorize_ctor_elements_1): Don't assume purpose is
    non-NULL.
    * tree-cfg.c (verify_gimple_assign_single): Add verification of
    vector CONSTRUCTORs.
    * tree-ssa-sccvn.c (vn_reference_lookup_3): For VECTOR_TYPE
    CONSTRUCTORs, don't do anything if element type is VECTOR_TYPE,
    and don't check index.
    * tree-vect-slp.c (vect_get_constant_vectors): VIEW_CONVERT_EXPR
    ctor elements first if their type isn't compatible with vector
    element type.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-ssa-sccvn.c
    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]