public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100
@ 2020-09-10 23:29 seurer at gcc dot gnu.org
  2020-09-11  6:29 ` [Bug objc++/97015] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-09-10 23:29 UTC (permalink / raw)
  To: gcc-bugs

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

            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=dg.exp=obj-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-length=0
-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
<built-in>: 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_node*)
        /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:2118
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.

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

* [Bug objc++/97015] [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100
  2020-09-10 23:29 [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 seurer at gcc dot gnu.org
@ 2020-09-11  6:29 ` rguenth at gcc dot gnu.org
  2020-09-11 12:22 ` nathan at gcc dot gnu.org
  2020-09-11 15:29 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-11  6:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug objc++/97015] [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100
  2020-09-10 23:29 [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 seurer at gcc dot gnu.org
  2020-09-11  6:29 ` [Bug objc++/97015] " rguenth at gcc dot gnu.org
@ 2020-09-11 12:22 ` nathan at gcc dot gnu.org
  2020-09-11 15:29 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-09-11 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
   Last reconfirmed|                            |2020-09-11

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

* [Bug objc++/97015] [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100
  2020-09-10 23:29 [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 seurer at gcc dot gnu.org
  2020-09-11  6:29 ` [Bug objc++/97015] " rguenth at gcc dot gnu.org
  2020-09-11 12:22 ` nathan at gcc dot gnu.org
@ 2020-09-11 15:29 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-09-11 15:29 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Resolved 7fc41f719a8

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

end of thread, other threads:[~2020-09-11 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 23:29 [Bug objc++/97015] New: [11 regression] ICE in set_decl_context_in_fn, at cp/name-lookup.c:2862 after r11-3100 seurer at gcc dot gnu.org
2020-09-11  6:29 ` [Bug objc++/97015] " rguenth at gcc dot gnu.org
2020-09-11 12:22 ` nathan at gcc dot gnu.org
2020-09-11 15:29 ` nathan 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).