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/64715] [5 Regression] __builtin_object_size (..., 1) fails to locate subobject


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

--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar 20 12:39:32 2015
New Revision: 221532

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

    PR middle-end/64715
    * tree-chrec.c (chrec_fold_poly_cst): Use useless_type_conversion_p
    for type comparison and gcc_checking_assert.
    (chrec_fold_plus_poly_poly): Likewise.
    (chrec_fold_multiply_poly_poly): Likewise.
    (chrec_convert_1): Likewise.
    * gimplify.c (gimplify_expr): Remove premature folding of
    &X + CST to &MEM[&X, CST].

    * gcc.dg/pr15347.c: Use -O.
    * c-c++-common/pr19807-1.c: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/pr19807-1.c
    trunk/gcc/testsuite/gcc.dg/pr15347.c
    trunk/gcc/tree-chrec.c


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