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/50067] [4.7 Regression] Wrong code with -fpredictive-commoning


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

--- Comment #15 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-24 10:07:24 UTC ---
Author: rguenth
Date: Wed Aug 24 10:07:20 2011
New Revision: 178028

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178028
Log:
2011-08-24  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/50067
    * tree-data-ref.c (dr_analyze_indices): Do not add an access
    function for a MEM_REF base that has no evolution in the loop
    nest or that is not analyzable.

    * gcc.dg/torture/pr50067-3.c: New testcase.
    * gcc.dg/torture/pr50067-4.c: Likewise.
    * gcc.dg/torture/pr50067-5.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr50067-3.c
    trunk/gcc/testsuite/gcc.dg/torture/pr50067-4.c
    trunk/gcc/testsuite/gcc.dg/torture/pr50067-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c


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