public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99035] New: [9/10/11 Regression] ICE in declare_weak, at varasm.c:5930
@ 2021-02-09 17:43 gscfq@t-online.de
  2021-02-09 18:08 ` [Bug c++/99035] " mpolacek at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2021-02-09 17:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99035

            Bug ID: 99035
           Summary: [9/10/11 Regression] ICE in declare_weak, at
                    varasm.c:5930
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to r7 (r9 between 20190217 and 20190224),
with option -fsyntax-only :


$ g++-11-20210207 -c weak-6.c -fsyntax-only
weak-6.c:7:14: internal compiler error: in declare_weak, at varasm.c:5930
    7 | #pragma weak foo
      |              ^~~
0xf96654 declare_weak(tree_node*)
        ../../gcc/varasm.c:5930
0x86f6e1 apply_pragma_weak
        ../../gcc/c-family/c-pragma.c:265
0x870ae1 handle_pragma_weak
        ../../gcc/c-family/c-pragma.c:376
0x7777ac cp_parser_pragma
        ../../gcc/cp/parser.c:45120
0x7a03db cp_parser_translation_unit
        ../../gcc/cp/parser.c:4936
0x7a03db c_parse_file()
        ../../gcc/cp/parser.c:45179
0x86d982 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1218

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 17:43 [Bug c++/99035] New: [9/10/11 Regression] ICE in declare_weak, at varasm.c:5930 gscfq@t-online.de
2021-02-09 18:08 ` [Bug c++/99035] " mpolacek at gcc dot gnu.org
2021-02-09 18:08 ` mpolacek at gcc dot gnu.org
2021-02-10 12:30 ` jakub at gcc dot gnu.org
2021-02-10 18:53 ` cvs-commit at gcc dot gnu.org
2021-02-10 18:56 ` [Bug c++/99035] [9/10 " jakub at gcc dot gnu.org
2021-03-19 23:29 ` cvs-commit at gcc dot gnu.org
2021-03-20  8:07 ` [Bug c++/99035] [9 " jakub at gcc dot gnu.org
2021-04-20 23:32 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:50 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:11 ` jakub 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).