public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/100759] New: [12 regression] ICE for g++.dg/torture/pr81360.C after r12-1039 at gcc/options-save.c:13626
Date: Tue, 25 May 2021 23:26:43 +0000	[thread overview]
Message-ID: <bug-100759-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 100759
           Summary: [12 regression] ICE for g++.dg/torture/pr81360.C after
                    r12-1039 at gcc/options-save.c:13626
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:ebd5e86c0f41dc1d692f9b2b68a510b1f6835a3e, r12-1039
make  -k check-gcc RUNTESTFLAGS="dg-torture.exp=g++.dg/torture/pr81360.C"
FAIL: g++.dg/torture/pr81360.C   -Os  (internal compiler error)
FAIL: g++.dg/torture/pr81360.C   -Os  (test for excess errors)
# of expected passes            6
# of unexpected failures        2

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/torture/pr81360.C
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-Os -fno-early-inlining -S -o pr81360.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/torture/pr81360.C:67:10:
internal compiler error: 'global_options' are modified in local context
0x10dca0ab cl_optimization_compare(gcc_options*, gcc_options*)
        /home/seurer/gcc/git/build/gcc-test/gcc/options-save.c:13626
0x10790b7b handle_optimize_attribute
        /home/seurer/gcc/git/gcc-test/gcc/c-family/c-attribs.c:5419
0x106dc64f decl_attributes(tree_node**, tree_node*, int, tree_node*)
        /home/seurer/gcc/git/gcc-test/gcc/attribs.c:723
0x103cf18b cplus_decl_attributes(tree_node**, tree_node*, int)
        /home/seurer/gcc/git/gcc-test/gcc/cp/decl2.c:1600
0x1039b163 grokfndecl
        /home/seurer/gcc/git/gcc-test/gcc/cp/decl.c:10150
0x103a284b grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
        /home/seurer/gcc/git/gcc-test/gcc/cp/decl.c:13996
0x103a75ff start_function(cp_decl_specifier_seq*, cp_declarator const*,
tree_node*)
        /home/seurer/gcc/git/gcc-test/gcc/cp/decl.c:16931
0x10554d4b cp_parser_function_definition_from_specifiers_and_declarator
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:30001
0x10554d4b cp_parser_init_declarator
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:21691
0x1051a35f cp_parser_simple_declaration
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:14472
0x1055d2a3 cp_parser_declaration
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:14169
0x1055bf9f cp_parser_translation_unit
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:4942
0x1055bf9f c_parse_file()
        /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:45425
0x107606fb c_common_parse_file()
        /home/seurer/gcc/git/gcc-test/gcc/c-family/c-opts.c:1219


commit ebd5e86c0f41dc1d692f9b2b68a510b1f6835a3e
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Mar 10 15:12:31 2021 +0100

    Improve global state for options.

             reply	other threads:[~2021-05-25 23:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 23:26 seurer at gcc dot gnu.org [this message]
2021-05-26  3:35 ` [Bug other/100759] " seurer at gcc dot gnu.org
2021-05-26  7:11 ` marxin at gcc dot gnu.org
2021-05-26  7:52 ` rguenth at gcc dot gnu.org
2021-06-01 13:24 ` cvs-commit at gcc dot gnu.org
2021-06-01 13:24 ` marxin 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-100759-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: link
Be 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).