public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99120] New: ICE in -Wshadow in templated member function
@ 2021-02-16 17:28 maeriberii+gcc at gmail dot com
  2021-02-16 17:37 ` [Bug c++/99120] [8/9/10/11 Regression] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: maeriberii+gcc at gmail dot com @ 2021-02-16 17:28 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-09 22:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 17:28 [Bug c++/99120] New: ICE in -Wshadow in templated member function maeriberii+gcc at gmail dot com
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

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).