From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 0D7803857340; Tue, 5 Jul 2022 09:15:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D7803857340 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1500] testsuite: fix array type in two_plus_gigs test X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/heads/master X-Git-Oldrev: b44cba355e1e27521b436cf56ea726d419939b5b X-Git-Newrev: 510ac273a785361f7c8f24e4815bfb477a6a2e07 Message-Id: <20220705091525.0D7803857340@sourceware.org> Date: Tue, 5 Jul 2022 09:15:25 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2022 09:15:25 -0000 https://gcc.gnu.org/g:510ac273a785361f7c8f24e4815bfb477a6a2e07 commit r13-1500-g510ac273a785361f7c8f24e4815bfb477a6a2e07 Author: Alexandre Oliva 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; } }] }