c++: Fix array-init1.C for ILP32 [PR93817]
authorMarek Polacek <polacek@redhat.com>
Tue, 18 Feb 2020 20:54:54 +0000 (15:54 -0500)
committerMarek Polacek <polacek@redhat.com>
Tue, 18 Feb 2020 21:11:53 +0000 (16:11 -0500)
commitb02719918d7bfa224b7caa38fdb9be095cd3f4ad
tree3122aa1af11d1723ad440226deab4569b8a35a42
parent14832dcb6997f71d35305a08724ce164930ffca0
c++: Fix array-init1.C for ILP32 [PR93817]

I only tested LP64 targets and missed this maybe-long unsigned int.

Tested with
GXX_TESTSUITE_STDS=98,11,14,17,2a make check-c++ RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} dg.exp=array-init1.C'

2020-02-18  Marek Polacek  <polacek@redhat.com>

PR c++/93817
* g++.dg/diagnostic/array-init1.C: Fix for ILP32.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/array-init1.C