public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/111080] [11/12/13/14 Regression] restrict qualifier causes extra debug info to happen Date: Thu, 24 Aug 2023 07:10:16 +0000 [thread overview] Message-ID: <bug-111080-4-ezYCU8K5Yg@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-111080-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111080 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rguenth@gcc.gnu.org>: https://gcc.gnu.org/g:fb6d61299159275246052c72c6e3666b36d5b333 commit r13-7750-gfb6d61299159275246052c72c6e3666b36d5b333 Author: Richard Biener <rguenther@suse.de> Date: Mon Aug 21 10:34:30 2023 +0200 debug/111080 - avoid outputting debug info for unused restrict qualified type The following applies some maintainance with respect to type qualifiers and kinds added by later DWARF standards to prune_unused_types_walk. The particular case in the bug is not handling (thus marking required) all restrict qualified type DIEs. I've found more DW_TAG_*_type that are unhandled, looked up the DWARF docs and added them as well based on common sense. PR debug/111080 * dwarf2out.cc (prune_unused_types_walk): Handle DW_TAG_restrict_type, DW_TAG_shared_type, DW_TAG_atomic_type, DW_TAG_immutable_type, DW_TAG_coarray_type, DW_TAG_unspecified_type and DW_TAG_dynamic_type as to only output them when referenced. * gcc.dg/debug/dwarf2/pr111080.c: New testcase. (cherry picked from commit bd2c4d6d8fffd5a6dae5217d6076cc4190bab13d)
next prev parent reply other threads:[~2023-08-24 7:10 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-20 9:19 [Bug debug/111080] New: restrict qualifier leaks debug info sagebar at web dot de 2023-08-20 9:24 ` [Bug debug/111080] restrict qualifier causes extra debug info to happen pinskia at gcc dot gnu.org 2023-08-20 9:28 ` [Bug debug/111080] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org 2023-08-20 9:34 ` sagebar at web dot de 2023-08-21 8:30 ` rguenth at gcc dot gnu.org 2023-08-22 12:55 ` rguenth at gcc dot gnu.org 2023-08-24 6:23 ` cvs-commit at gcc dot gnu.org 2023-08-24 7:10 ` cvs-commit at gcc dot gnu.org [this message] 2023-08-24 7:10 ` [Bug debug/111080] [11/12 " rguenth at gcc dot gnu.org 2023-12-15 13:17 ` cvs-commit at gcc dot gnu.org 2024-06-21 9:22 ` [Bug debug/111080] [11 " cvs-commit at gcc dot gnu.org 2024-06-21 9:38 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-111080-4-ezYCU8K5Yg@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).