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/65077] [4.9 Regression] memcpy generates incorrect code with floating point numbers and -O1


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

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Feb 16 18:15:19 2015
New Revision: 220741

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

    PR tree-optimization/65077
    * tree-ssa-structalias.c (get_constraint_for_1): Handle
    IMAGPART_EXPR, REALPART_EXPR and BIT_FIELD_REF.
    (find_func_aliases): Allow float values to carry pointers again.

    * gcc.dg/torture/pr65077.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr65077.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


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