Message ID | 4F551BFE.90405@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index db71594..82ca4fd 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