------- Comment #11 from jakub at gcc dot gnu dot org  2008-01-19 17:50 -------
Subject: Bug 34610

Author: jakub
Date: Sat Jan 19 17:49:46 2008
New Revision: 131653

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131653
Log:
        PR gcov-profile/34610
        * tree-cfg.c (make_edges): Mark both outgoing edges from
        OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
        * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
        from OMP_FOR and OMP_CONTINUE outgoing edges.

        * tree-profile.c (tree_profiling): Return early if
        cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
        at the end.
        * omp-low.c (expand_omp_parallel): Copy after_tree_profile
        from cfun to child_cfun.
        * function.h (struct function): Add after_tree_profile bit.

        * gcc.dg/gomp/pr34610.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr34610.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/function.h
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-profile.c


-- 


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

Reply via email to