public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jscott at posteo dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105069] [12 regression] sh-elf internal compiler errors and test failures with -Os Date: Sun, 27 Mar 2022 15:02:19 +0000 [thread overview] Message-ID: <bug-105069-4-EHOP9oj0QL@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-105069-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105069 --- Comment #1 from John Scott <jscott at posteo dot net> --- Here is a backtrace: bar.c:2:1: internal compiler error: ‘global_options’ are modified in local context 2 | [[gnu::optimize("Os")]] int main(void) {} | ^ 0xe71b6b cl_optimization_compare(gcc_options*, gcc_options*) /tmp/build/gcc/options-save.cc:13029 0xa077ac handle_optimize_attribute /tmp/gcc/gcc/c-family/c-attribs.cc:5567 0x9056f2 decl_attributes(tree_node**, tree_node*, int, tree_node*) /tmp/gcc/gcc/attribs.cc:867 0x9229bc start_function(c_declspecs*, c_declarator*, tree_node*) /tmp/gcc/gcc/c/c-decl.cc:9516 0x984a0e c_parser_declaration_or_fndef /tmp/gcc/gcc/c/c-parser.cc:2445 0x98db33 c_parser_external_declaration /tmp/gcc/gcc/c/c-parser.cc:1779 0x98e57b c_parser_translation_unit /tmp/gcc/gcc/c/c-parser.cc:1652 0x98e57b c_parse_file() /tmp/gcc/gcc/c/c-parser.cc:23357 0x9eef8d c_common_parse_file() /tmp/gcc/gcc/c-family/c-opts.cc:1240
next prev parent reply other threads:[~2022-03-27 15:02 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-27 14:12 [Bug c/105069] New: " jscott at posteo dot net 2022-03-27 14:14 ` [Bug target/105069] " pinskia at gcc dot gnu.org 2022-03-27 15:02 ` jscott at posteo dot net [this message] 2022-03-28 9:34 ` jakub at gcc dot gnu.org 2022-03-28 9:34 ` jakub at gcc dot gnu.org 2022-03-28 10:36 ` marxin at gcc dot gnu.org 2022-03-31 7:32 ` marxin at gcc dot gnu.org 2022-03-31 8:01 ` jakub at gcc dot gnu.org 2022-03-31 8:09 ` marxin at gcc dot gnu.org 2022-04-06 15:42 ` cvs-commit at gcc dot gnu.org 2022-04-06 15:45 ` jakub at gcc dot gnu.org 2022-05-06 8:33 ` [Bug target/105069] [12/13 " jakub at gcc dot gnu.org 2023-05-08 12:24 ` [Bug target/105069] [12/13/14 " 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-105069-4-EHOP9oj0QL@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).