From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 82DB73836644; Thu, 24 Nov 2022 10:02:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82DB73836644 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669284152; bh=4rsqcAMzHopOBXY2dnIzhEroDsCvdblCG+kNMwGXsO8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iCYusBp8BUf4dU24fBk2XY6JAr1/g1RGve4yEr2CqXmPPI0m3YDaKiuCfKtOIuLWK a48CDW6nZYoHWDPbpXG/EauDOZ+6HVnKpuaMFp8T2a44hRoMGw/l521xi75S69E0dF SZgZEVAsknIK7FDVUX5MhXyIWBx20VG0vrX8mewY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzEwNzgwNV0gWzEyLzEzIFJlZ3Jlc3Npb25dIFNwdXJp?= =?UTF-8?B?b3VzIOKAnHR5cGUgZGVmYXVsdHMgdG8g4oCYaW504oCZ4oCdIHdhcm5pbmcg?= =?UTF-8?B?YWZ0ZXIgcmVkZWZpbml0aW9uIG9mIHR5cGU=?= Date: Thu, 24 Nov 2022 10:02:27 +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: 12.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 12.3 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=3D107805 --- Comment #5 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:a42e39a7b974645d2820931357e99411fdb0beb6 commit r13-4286-ga42e39a7b974645d2820931357e99411fdb0beb6 Author: Florian Weimer Date: Thu Nov 24 11:00:54 2022 +0100 c: Propagate erroneous types to declaration specifiers [PR107805] Without this change, finish_declspecs cannot tell that whether there was an erroneous type specified, or no type at all. This may result in additional diagnostics for implicit ints, or missing diagnostics for multiple types. PR c/107805 gcc/c/ * c-decl.cc (declspecs_add_type): Propagate error_mark_bode from type to specs. gcc/testsuite/ * gcc.dg/pr107805-1.c: New test. * gcc.dg/pr107805-2.c: Likewise.=