public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "maeriberii+gcc at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99120] New: ICE in -Wshadow in templated member function Date: Tue, 16 Feb 2021 17:28:27 +0000 [thread overview] Message-ID: <bug-99120-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99120 Bug ID: 99120 Summary: ICE in -Wshadow in templated member function Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: maeriberii+gcc at gmail dot com Target Milestone: --- Created attachment 50202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50202&action=edit Minimal test case Minimal test case attached. Does not trigger ICE when member function is not templated. Versions of GCC tested: 8.3, 11.1, current master (72d78655a9) Systems tested on: AArch64 Linux, x86-64 macOS Complete command line that triggers the bug: g++ -Wshadow a.cpp Compiler output: void ARM64XEmitter::MOVI2RImpl() /Users/mary/Workspace/dolphin/test/a.cpp:10:7: internal compiler error: Segmentation fault: 11 10 | MOVZ, | ^~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. Appears to be caused by a nullptr dereference at name-lookup.c:3319.
next reply other threads:[~2021-02-16 17:28 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-16 17:28 maeriberii+gcc at gmail dot com [this message] 2021-02-16 17:37 ` [Bug c++/99120] [8/9/10/11 Regression] " mpolacek at gcc dot gnu.org 2021-02-16 17:39 ` mpolacek at gcc dot gnu.org 2021-02-16 17:40 ` mpolacek at gcc dot gnu.org 2021-03-05 22:56 ` cvs-commit at gcc dot gnu.org 2021-03-05 22:57 ` [Bug c++/99120] [8/9/10 " mpolacek at gcc dot gnu.org 2021-04-09 22:38 ` cvs-commit at gcc dot gnu.org 2021-04-09 22:38 ` mpolacek 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-99120-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).