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/28887] [4.2 Regression] rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays



------- Comment #7 from sayle at gcc dot gnu dot org  2006-09-18 01:54 -------
Subject: Bug 28887

Author: sayle
Date: Mon Sep 18 01:54:33 2006
New Revision: 117012

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117012
Log:
2006-09-17  Zdenek Dvorak <dvorakz@suse.cz>

        PR tree-optimization/28887
        * tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
        component parts from the reference.
        (gather_memory_references_ref): Record the reference without the
        nonaddressable component parts.

        * gcc.dg/prefetch-loop-arrays-1.c: New test case.


Added:
    trunk/gcc/testsuite/gcc.dg/prefetch-loop-arrays-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-prefetch.c


-- 


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


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