aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-07-05 06:12:28 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-07-05 06:13:45 -0300
commit510ac273a785361f7c8f24e4815bfb477a6a2e07 (patch)
treeeccd4924b3b233436cf1fc2e1bf430aa680090bd
parentb44cba355e1e27521b436cf56ea726d419939b5b (diff)
downloadgcc-510ac273a785361f7c8f24e4815bfb477a6a2e07.zip
gcc-510ac273a785361f7c8f24e4815bfb477a6a2e07.tar.gz
gcc-510ac273a785361f7c8f24e4815bfb477a6a2e07.tar.bz2
testsuite: fix array type in two_plus_gigs test
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.
-rw-r--r--gcc/testsuite/lib/target-supports.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 48c5dda..4ed7b25 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -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; }
}]
}