From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A92B3857831; Thu, 10 Sep 2020 23:29:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A92B3857831 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599780553; bh=DkMbf8ObsCxqy1BpMkoq+XO2Ioob0ziCuXBNGS5biys=; h=From:To:Subject:Date:From; b=UHLdMpvJ9b6vHfQPQJHEnGzyyNnbW8VHt9vlh8cueYI8MjjAw7eVOaZquiehjX4XN XWP4+UElHIq0AY4Jlz2Z8pal1SRgvL0fONrQpx5ib8gbs5K5eR53HO8PkqRxxbnBf5 Qb6hZKIZSBqBcqNmqi5asPJ5gxZ0zCzrl4Huc2As= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 Date: Thu, 10 Sep 2020 23:29:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 23:29:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97015 Bug ID: 97015 Summary: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc++ Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:f40866967d69079fdde293feb32d2eb52cb93cc8, r11-3100 make -k check-gcc RUNTESTFLAGS=3Ddg.exp=3Dobj-c++.dg/syntax-error-9.mm FAIL: obj-c++.dg/syntax-error-9.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/syntax-error-9.mm -fgnu-runtime (test for excess errors) # of expected passes 3 # of unexpected failures 2 spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/testsuite/obj-c++/../../xg++ -B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/obj-c++/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/obj-c++.dg/syntax-error-9.mm -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-lengt= h=3D0 -fgnu-runtime -ansi -pedantic-errors -Wno-long-long -I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../libobjc -S -o syntax-error-9.s /home/seurer/gcc/git/gcc-test/gcc/testsuite/obj-c++.dg/syntax-error-9.mm:1:= 17: warning: cannot find interface declaration for 'SaturnDoc' /home/seurer/gcc/git/gcc-test/gcc/testsuite/obj-c++.dg/syntax-error-9.mm:2:= 27: error: expected ':' at end of input /home/seurer/gcc/git/gcc-test/gcc/testsuite/obj-c++.dg/syntax-error-9.mm: In function '-[SaturnDoc read:]': /home/seurer/gcc/git/gcc-test/gcc/testsuite/obj-c++.dg/syntax-error-9.mm:4: error: expected '@end' at end of input : internal compiler error: in set_decl_context_in_fn, at cp/name-lookup.c:2862 0x1046907b set_decl_context_in_fn /home/seurer/gcc/git/gcc-test/gcc/cp/name-lookup.c:2861 0x1046907b do_pushdecl /home/seurer/gcc/git/gcc-test/gcc/cp/name-lookup.c:2995 0x1046907b pushdecl(tree_node*, bool) /home/seurer/gcc/git/gcc-test/gcc/cp/name-lookup.c:3173 0x10376bdb start_preparsed_function(tree_node*, tree_node*, int) /home/seurer/gcc/git/gcc-test/gcc/cp/decl.c:16311 0x10221b0b objc_start_function(tree_node*, tree_node*, tree_node*, tree_nod= e*) /home/seurer/gcc/git/gcc-test/gcc/objc/objc-act.c:8623 0x1023ee37 build_module_initializer_routine /home/seurer/gcc/git/gcc-test/gcc/objc/objc-gnu-runtime-abi-01.c:948 0x1023ee37 objc_generate_v1_gnu_metadata /home/seurer/gcc/git/gcc-test/gcc/objc/objc-gnu-runtime-abi-01.c:21= 18 0x1022cca3 objc_write_global_declarations() /home/seurer/gcc/git/gcc-test/gcc/objc/objc-act.c:477 0x103cdedb c_parse_final_cleanups() /home/seurer/gcc/git/gcc-test/gcc/cp/decl2.c:5165 0x106c84cf c_common_parse_file() /home/seurer/gcc/git/gcc-test/gcc/c-family/c-opts.c:1210 This was on a powerpc64 BE system.=