From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 78D5738582B6; Wed, 6 Mar 2024 10:06:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78D5738582B6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709719566; bh=E6lBr5SXwAjqHm0SHfLgSkyRz9S3pyjqIqfUm4X2b8g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=He3mZvTPp1F6Q8Bx2AjLeG9fSUDB+GFO1Xha8KgMO2bxfUWHNgbOHdTAP9hGMb3iB F0zDlxFc0JnvpxqEyke4d7FXz2ZRAxHhISgYiuzg7SyMZeB3GMt6uxCMMO64Nfp3ZN OUZjmEHpgE0Bxpi0czldbRt6An5s3/udw/QlILiM= From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/113428] [14 regression] gcc.dg/gomp/bad-array-section-c-3.c fails after r14-7158-gb5476e4c881b0d Date: Wed, 06 Mar 2024 10:06:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: openmp, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113428 --- Comment #4 from Richard Earnshaw --- /* { dg-warning {cast to pointer from integer of different size} "" { target *-*-* } .-2 } */ I'm guessing it's this that's causing the problem because int and int* are = the same size on 32-bit targets. So would changing the test to: - int arr[20]; + char arr[20]; be enough? AFAIK we don't have any targets with 8-bit pointers.=