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/29330] [4.2 Regression] -O -ftree-loop-linear --> virtual memory exhausted



------- Comment #6 from jakub at gcc dot gnu dot org  2006-10-06 16:57 -------
Subject: Bug 29330

Author: jakub
Date: Fri Oct  6 16:57:27 2006
New Revision: 117509

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117509
Log:
        PR tree-optimization/29330
        * tree-data-ref.c (free_data_ref): Use DR_FREE_ACCESS_FNS macro.
        (initialize_data_dependence_relation): Clear DDR_LOOP_NEST pointer
        on newly allocated ddrs.
        (find_loop_nest_1, find_loop_nest): Change LOOP_NEST to a pointer
        to VEC (loop_p, heap) pointer.
        (compute_data_dependences_for_loop): Adjust caller.
        (free_dependence_relations): Free DDR_LOOP_NEST.

        * tree-loop-linear.c (linear_transform_loops): Don't forget to
        free DEPENDENCE_RELATIONS and DATAREFS.

        * gcc.dg/pr29330.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr29330.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-loop-linear.c


-- 


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


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