public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1500] testsuite: fix array type in two_plus_gigs test
@ 2022-07-05 9:15 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-07-05 9:15 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:510ac273a785361f7c8f24e4815bfb477a6a2e07
commit r13-1500-g510ac273a785361f7c8f24e4815bfb477a6a2e07
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Jul 5 06:12:28 2022 -0300
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.
Diff:
---
gcc/testsuite/lib/target-supports.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 48c5dda6a12..4ed7b25b9a4 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; }
}]
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-05 9:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 9:15 [gcc r13-1500] testsuite: fix array type in two_plus_gigs test Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).