From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 867E13857802; Fri, 25 Sep 2020 09:57:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 867E13857802 From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97206] [11-regression] internal compiler error: in composite_type, at c/c-typeck.c:447 Date: Fri, 25 Sep 2020 09:57:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2020 09:57:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97206 --- Comment #1 from Sergei Trofimovich --- Testcase 2: something related happens to wavpack-5.3.2 package where gcc stopped typechecking array declarations: char *a(char *__restrict, int); __attribute__((__access__(__write_only__, 1))) char *a(char *, int); extern const char b[6]; extern const char b[]; $ gcc-10.2.0 -c a.c -o a.o $ gcc-11.0.0 -c a.c -o a.o a.c:4:19: error: conflicting type qualifiers for 'b' 4 | extern const char b[]; | ^ a.c:3:19: note: previous declaration of 'b' was here 3 | extern const char b[6]; | ^ Note: presence of seemingly unrelated 'a' declaration affects 'b' typecheck= ing.=