diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-10-19 18:49:03 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-10-19 18:49:03 +0200 |
commit | a01eae670600852f78e8df1b88259572f181d42e (patch) | |
tree | 27eb1e2729ce40f4a9c266cf0e698ab71eaae023 /libgcc | |
parent | 69a233610f6b27cd4283561569d8ce0f35044dc4 (diff) | |
download | gcc-a01eae670600852f78e8df1b88259572f181d42e.zip gcc-a01eae670600852f78e8df1b88259572f181d42e.tar.gz gcc-a01eae670600852f78e8df1b88259572f181d42e.tar.bz2 |
testsuite: Fix up c2x-enum-1.c for 32-bit arches [PR107311]
On Wed, Oct 19, 2022 at 02:57:59PM +0000, Joseph Myers wrote:
> I think the type checked for e5a should be conditional on __LONG_MAX__ >
> __INT_MAX__; everything else there should be OK regardless.
This patch does that.
2022-10-19 Jakub Jelinek <jakub@redhat.com>
PR c/107311
* gcc.dg/c2x-enum-1.c (enum e5): Expect e5a type inside of
enum to be int rather than long if long isn't wider than int.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions