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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 
11:27:40 UTC ---
Author: jakub
Date: Tue Dec  7 11:27:37 2010
New Revision: 167533

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167533
Log:
    PR debug/46799
    * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION
    instead of BUILTINS_LOCATION.
    (create_loop_fn): Add LOC argument, pass it to build_decl instead of
    BUILTINS_LOCATION.
    (create_parallel_loop): Add LOC argument, use it for OMP clauses
    and GIMPLE_*OMP* statements.
    (gen_parallel_loop): Determine locus for the parallel loop, pass it
    to create_loop_fn and create_parallel_loop.
    * cfgexpand.c (gimple_expand_cfg): For builtin functions, call
    set_curr_insn_source_location (UNKNOWN_LOCATION).

    * gcc.dg/autopar/pr46799.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/autopar/pr46799.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-parloops.c

Reply via email to