From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A63E83858D37; Thu, 1 Dec 2022 00:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A63E83858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669853240; bh=i2eUVUIzkCO8TuEjBK1eJ/2xc2CYJAc83EViPITE6is=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hCl6sSMTKvzByfJ/EjhjplEkL1h4XTZ1Ef93G6HiN2XEwxwbZipGlmPxMw53vvt8R Fvi/v3rYZU6Ot9Yl4LQn2HE590vXAkOJS+4DOFDyfkwuxrDkWo2RSn8jrQF21EHF4Z hFv+B0VhFRk0VXlog2W8KgpWFIIzrIQ7QA7+drek= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107942] [10/11/12/13 Regression] Documentation of the volatile style for noreturn is gone and const style for const attribute is gone Date: Thu, 01 Dec 2022 00:07:20 +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: 13.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 10.5 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=3D107942 --- Comment #3 from Andrew Pinski --- Here is the sample program to prove that const is still handled like const attribute: ``` typedef int voidfn (void); const voidfn constt; [[gnu::noipa]] int constt(void) {return 1;} int f(void) { return constt()+constt(); } ```=