diff options
author | Richard Biener <rguenther@suse.de> | 2013-11-21 13:57:40 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-11-21 13:57:40 +0000 |
commit | b05e02332f86e3168b96708263a88ec8f07c5e5a (patch) | |
tree | 8e642d44a66bc1192bf5b9d678473043c95ac1e7 /gcc/tree-parloops.c | |
parent | 32f9be169ca3c5e1c56735c8b1e076570d56389c (diff) | |
download | gcc-b05e02332f86e3168b96708263a88ec8f07c5e5a.zip gcc-b05e02332f86e3168b96708263a88ec8f07c5e5a.tar.gz gcc-b05e02332f86e3168b96708263a88ec8f07c5e5a.tar.bz2 |
tree-vectorizer.h (LOC, [...]): Remove wrappers and fix all users.
2013-11-21 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
LOC_LINE): Remove wrappers and fix all users.
(struct _loop_vec_info): Remove loop_line_number member.
(LOOP_VINFO_LOC): Remove.
* tree-parloops.c, tree-vect-loop-manip.c, tree-vect-slp.c,
tree-vectorizer.c: Fix users of LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE
and LOC_LINE.
From-SVN: r205216
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index d627c69..78b35df 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -2145,7 +2145,7 @@ parallelize_loops (void) reduction_info_table_type reduction_list; struct obstack parloop_obstack; HOST_WIDE_INT estimated; - LOC loop_loc; + source_location loop_loc; /* Do not parallelize loops in the functions created by parallelization. */ if (parallelized_function_p (cfun->decl)) @@ -2225,9 +2225,9 @@ parallelize_loops (void) else fprintf (dump_file, "parallelizing inner loop %d\n",loop->header->index); loop_loc = find_loop_location (loop); - if (loop_loc != UNKNOWN_LOC) + if (loop_loc != UNKNOWN_LOCATION) fprintf (dump_file, "\nloop at %s:%d: ", - LOC_FILE (loop_loc), LOC_LINE (loop_loc)); + LOCATION_FILE (loop_loc), LOCATION_LINE (loop_loc)); } gen_parallel_loop (loop, reduction_list, n_threads, &niter_desc); |