]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix array type in two_plus_gigs test
authorAlexandre Oliva <oliva@adacore.com>
Tue, 5 Jul 2022 09:12:28 +0000 (06:12 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Tue, 5 Jul 2022 09:13:45 +0000 (06:13 -0300)
The array element type for the two_plus_gigs test was mistakely put in
as int rather than char.

for  gcc/testsuite/ChangeLog

* lib/target-supports.exp (check_effective_target_two_plus_gigs):
Fix array element type.  Reported by Hans-Peter Nilsson.

gcc/testsuite/lib/target-supports.exp

index 48c5dda6a12782c52db5634adb5bc90e25e93d1a..4ed7b25b9a4de1eff4ac1f588149994ac7114a38 100644 (file)
@@ -2909,7 +2909,7 @@ proc check_effective_target_le { } {
 
 proc check_effective_target_two_plus_gigs { } {
     return [check_no_compiler_messages two_plus_gigs executable {
-       int dummy[0x80000000];
+       char dummy[0x80000000];
        int main () { return 0; }
     }]
 }