public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "s_gccbugzilla at nedprod dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112339] New: ICE with namespaced attribute on function Date: Wed, 01 Nov 2023 18:37:18 +0000 [thread overview] Message-ID: <bug-112339-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112339 Bug ID: 112339 Summary: ICE with namespaced attribute on function Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: s_gccbugzilla at nedprod dot com Target Milestone: --- This, if compiled with trunk GCC or any recent major version of GCC: ``` [[clang::no_sanitize("bounds")]] void foo() { } ``` ... with options `-Wno-attributes=clang::no_sanitize -fsanitize=undefined` produces ICE: ``` <source>: In function 'void foo()': <source>:3:1: internal compiler error: in tree_to_uhwi, at tree.cc:6469 3 | } | ^ 0x266430e internal_error(char const*, ...) ???:0 0xb01c2c fancy_abort(char const*, int, char const*) ???:0 0xb97938 cp_genericize(tree_node*) ???:0 0xbe33ef finish_function(bool) ???:0 0xcebe49 c_parse_file() ???:0 0xe2ceb9 c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Compiler returned: 1 ``` Godbolt demo: https://godbolt.org/z/hs3xqeqn1
next reply other threads:[~2023-11-01 18:37 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-11-01 18:37 s_gccbugzilla at nedprod dot com [this message] 2023-11-01 18:45 ` [Bug sanitizer/112339] ICE with clang::no_sanitize and -fsanitize= pinskia at gcc dot gnu.org 2023-11-02 9:45 ` [Bug c/112339] " jakub at gcc dot gnu.org 2023-11-08 22:32 ` s_gccbugzilla at nedprod dot com 2023-11-09 8:07 ` cvs-commit at gcc dot gnu.org 2023-12-05 16:32 ` cvs-commit at gcc dot gnu.org 2023-12-16 0:37 ` cvs-commit at gcc dot gnu.org 2023-12-16 8:46 ` jakub 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-112339-4@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).