public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/100759] New: [12 regression] ICE for g++.dg/torture/pr81360.C after r12-1039 at gcc/options-save.c:13626
@ 2021-05-25 23:26 seurer at gcc dot gnu.org
  2021-05-26  3:35 ` [Bug other/100759] " seurer at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-05-25 23:26 UTC (permalink / raw)
  To: gcc-bugs

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.

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

end of thread, other threads:[~2021-06-01 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 23:26 [Bug other/100759] New: [12 regression] ICE for g++.dg/torture/pr81360.C after r12-1039 at gcc/options-save.c:13626 seurer at gcc dot gnu.org
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

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).