diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/attributes-4.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bbc65cb..f27b3a3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-01-06 Jakub Jelinek <jakub@redhat.com> + + PR c/88363 + * c-c++-common/attributes-4.c (falloc_align_int128, + falloc_size_int128): Guard with #ifdef __SIZEOF_INT128__. + 2019-01-05 Jan Hubicka <hubicka@ucw.cz> * gcc.dg/ipa/ipcp-2.c: Update bounds. diff --git a/gcc/testsuite/c-c++-common/attributes-4.c b/gcc/testsuite/c-c++-common/attributes-4.c index d829a56..55661eb 100644 --- a/gcc/testsuite/c-c++-common/attributes-4.c +++ b/gcc/testsuite/c-c++-common/attributes-4.c @@ -26,7 +26,9 @@ ATTR (alloc_align (1)) void* falloc_align_wchar (wchar_t); /* Using an enum might make sense in an API that limits the alignments it accepts to just the set of the defined enumerators. */ ATTR (alloc_align (1)) void* falloc_align_enum (enum A); +#ifdef __SIZEOF_INT128__ ATTR (alloc_align (1)) void* falloc_align_int128 (__int128_t); +#endif ATTR (alloc_align (1)) void* falloc_size_char (char); @@ -34,7 +36,9 @@ ATTR (alloc_size (1)) void* falloc_size_char16 (char16_t); ATTR (alloc_size (1)) void* falloc_size_char32 (char32_t); ATTR (alloc_size (1)) void* falloc_size_wchar (wchar_t); ATTR (alloc_size (1)) void* falloc_size_enum (enum A); +#ifdef __SIZEOF_INT128__ ATTR (alloc_align (1)) void* falloc_size_int128 (__int128_t); +#endif typedef struct { int i; } S; |