aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r--gcc/omp-low.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index db715947df0..82ca4fd69cd 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -5504,9 +5504,7 @@ expand_omp_atomic (struct omp_region *region)
unsigned int align = TYPE_ALIGN_UNIT (type);
/* __sync builtins require strict data alignment. */
- /* ??? Assume BIGGEST_ALIGNMENT *is* aligned. */
- if (exact_log2 (align) >= index
- || align * BITS_PER_UNIT >= BIGGEST_ALIGNMENT)
+ if (exact_log2 (align) >= index)
{
/* Atomic load. */
if (loaded_val == stored_val