public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99062] New: [10/11 Regression] ICE in tree_to_uhwi, at tree.h:4579 Date: Wed, 10 Feb 2021 17:06:25 +0000 [thread overview] Message-ID: <bug-99062-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2021-02-10 17:06 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-10 17:06 gscfq@t-online.de [this message] 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
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-99062-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).