public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99062] New: [10/11 Regression] ICE in tree_to_uhwi, at tree.h:4579
@ 2021-02-10 17:06 gscfq@t-online.de
  2021-02-10 18:40 ` [Bug c++/99062] " mpolacek at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2021-02-10 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99062
           Summary: [10/11 Regression] ICE in tree_to_uhwi, at tree.h:4579
           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: ---

Changed between 20190512 and 20190519 :


$ cat z1.cc
enum { a = 1 << 31 };
void *f () __attribute__ ((assume_aligned (a, 4)));


$ g++-11-20210207 -c z1.cc
z1.cc:2:50: internal compiler error: in tree_to_uhwi, at tree.h:4579
    2 | void *f () __attribute__ ((assume_aligned (a, 4)));
      |                                                  ^
0x8835a6 tree_to_uhwi(tree_node const*)
        ../../gcc/tree.h:4579
0x8835a6 handle_assume_aligned_attribute
        ../../gcc/c-family/c-attribs.c:3565
0x823311 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        ../../gcc/attribs.c:724
0x6e6fc7 cplus_decl_attributes(tree_node**, tree_node*, int)
        ../../gcc/cp/decl2.c:1596
0x6272a2 grokfndecl
        ../../gcc/cp/decl.c:9983
0x6d5261 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
        ../../gcc/cp/decl.c:13818
0x6da5f8 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int,
tree_node*, tree_node*, tree_node**)
        ../../gcc/cp/decl.c:5333
0x79bffb cp_parser_init_declarator
        ../../gcc/cp/parser.c:21660
0x77cf3a cp_parser_simple_declaration
        ../../gcc/cp/parser.c:14381
0x7a0ea5 cp_parser_declaration
        ../../gcc/cp/parser.c:14078
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] 10+ messages in thread

end of thread, other threads:[~2021-03-29 12:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 17:06 [Bug c++/99062] New: [10/11 Regression] ICE in tree_to_uhwi, at tree.h:4579 gscfq@t-online.de
2021-02-10 18:40 ` [Bug c++/99062] " mpolacek at gcc dot gnu.org
2021-02-10 18:45 ` mpolacek at gcc dot gnu.org
2021-02-10 18:59 ` mpolacek at gcc dot gnu.org
2021-02-10 20:51 ` msebor at gcc dot gnu.org
2021-02-10 21:05 ` mpolacek at gcc dot gnu.org
2021-02-16 19:08 ` cvs-commit at gcc dot gnu.org
2021-02-16 19:08 ` [Bug c++/99062] [10 " mpolacek at gcc dot gnu.org
2021-03-29 12:38 ` cvs-commit at gcc dot gnu.org
2021-03-29 12:39 ` rguenth 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).