diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-03-03 17:49:01 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-03-04 01:55:39 +0100 |
commit | 53940eee08957b8b72ee70f57770398009e19c21 (patch) | |
tree | c2661ec501b7e7b8aca4141ea69094c6f08b9272 /gcc/cp/constexpr.cc | |
parent | 37a084871ad3cff42a09bb03af459f7de903b3fc (diff) | |
download | gcc-53940eee08957b8b72ee70f57770398009e19c21.zip gcc-53940eee08957b8b72ee70f57770398009e19c21.tar.gz gcc-53940eee08957b8b72ee70f57770398009e19c21.tar.bz2 |
testsuite: Skip gcc.dg/ipa/pr77653.c for CRIS
CRIS defines DATA_ALIGNMENT such that alignment can be
applied differently to different data of the same type, when
"references to it must bind to the current definition"
(varasm.cc:align_variable). Here, it means that more
alignment is then applied to g, but not f, so the test-case
fails because another message is emitted than the expected:
a same-alignment test dominates the not-discardable test,
and we get "Not unifying; original and alias have
incompatible alignments" rather than "Not unifying; alias
cannot be created; target is discardable". Because this
DATA_ALIGNMENT behavior for CRIS depends on target options,
and this test is already artificial by the use of -fcommon,
better skip it.
* gcc.dg/ipa/pr77653.c: Skip for cris-*-*.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions