PR c/89812
* gcc.dg/attr-aligned-3.c: Limit the test to known ELF targets
other than AVR. Add dg-options "".
From-SVN: r270001
2019-03-28 Jakub Jelinek <jakub@redhat.com>
+ PR c/89812
+ * gcc.dg/attr-aligned-3.c: Limit the test to known ELF targets
+ other than AVR. Add dg-options "".
+
PR c++/89785
* g++.dg/cpp1y/constexpr-89785-1.C: New test.
* g++.dg/cpp1y/constexpr-89785-2.C: New test.
/* PR c/89812 - incorrect maximum in error: requested alignment '536870912'
exceeds maximum 2147483648
- { dg-do compile }
- { dg-require-effective-target size32plus } */
+ Limit to ELF targets that are known to use MAX_OFILE_ALIGNMENT
+ (1 << 28) * BITS_PER_UNIT.
+ { dg-do compile { target { { *-*-elf* *-*-gnu* } && { ! avr*-*-* } } } }
+ { dg-require-effective-target size32plus }
+ { dg-options "" } */
#define POWALIGN(N) __attribute__ ((aligned ((__UINT64_TYPE__)1 << (N))))