aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-general.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2016-12-14 23:36:45 +0100
committerMartin Jambor <jamborm@gcc.gnu.org>2016-12-14 23:36:45 +0100
commit01914336a927902b9a4e726e41018b5e1223fcb6 (patch)
tree03ad319068b4554899a471b7c87740cb3fcd107a /gcc/omp-general.c
parent629b3d75c8c5a244d891a9c292bca6912d4b0dd9 (diff)
downloadgcc-01914336a927902b9a4e726e41018b5e1223fcb6.zip
gcc-01914336a927902b9a4e726e41018b5e1223fcb6.tar.gz
gcc-01914336a927902b9a4e726e41018b5e1223fcb6.tar.bz2
Coding style fixes
2016-12-14 Martin Jambor <mjambor@suse.cz> * omp-offload.c: Fix coding style. * omp-expand.c: Likewise. * omp-general.c: Likewise. * omp-grid.c: Likewise. * omp-low.c: Fix coding style of parts touched by the previous splitting patch. From-SVN: r243674
Diffstat (limited to 'gcc/omp-general.c')
-rw-r--r--gcc/omp-general.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/omp-general.c b/gcc/omp-general.c
index 0cad8a5..cac9bed 100644
--- a/gcc/omp-general.c
+++ b/gcc/omp-general.c
@@ -418,7 +418,7 @@ omp_max_vf (void)
|| !flag_tree_loop_optimize
|| (!flag_tree_loop_vectorize
&& (global_options_set.x_flag_tree_loop_vectorize
- || global_options_set.x_flag_tree_vectorize)))
+ || global_options_set.x_flag_tree_vectorize)))
return 1;
int vf = 1;
@@ -442,7 +442,7 @@ omp_max_simt_vf (void)
if (!optimize)
return 0;
if (ENABLE_OFFLOADING)
- for (const char *c = getenv ("OFFLOAD_TARGET_NAMES"); c; )
+ for (const char *c = getenv ("OFFLOAD_TARGET_NAMES"); c;)
{
if (!strncmp (c, "nvptx", strlen ("nvptx")))
return 32;
@@ -481,7 +481,7 @@ oacc_launch_pack (unsigned code, tree device, unsigned op)
represented as a list of INTEGER_CST. Those that are runtime
exprs are represented as an INTEGER_CST of zero.
- TOOO. Normally the attribute will just contain a single such list. If
+ TODO: Normally the attribute will just contain a single such list. If
however it contains a list of lists, this will represent the use of
device_type. Each member of the outer list is an assoc list of
dimensions, keyed by the device type. The first entry will be the
@@ -566,8 +566,8 @@ tree
oacc_build_routine_dims (tree clauses)
{
/* Must match GOMP_DIM ordering. */
- static const omp_clause_code ids[] =
- {OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_SEQ};
+ static const omp_clause_code ids[]
+ = {OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_SEQ};
int ix;
int level = -1;