public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109042] New: [13 Regression] ICE in emit_support_tinfo_1, at cp/rtti.cc:1584
@ 2023-03-06 16:00 asolokha at gmx dot com
  2023-03-06 16:03 ` [Bug c++/109042] " mpolacek at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: asolokha at gmx dot com @ 2023-03-06 16:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109042
           Summary: [13 Regression] ICE in emit_support_tinfo_1, at
                    cp/rtti.cc:1584
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++ 13.0.1 20230305 snapshot (g:6aa1f40a3263741d964ef4716e85a0df5cec83b6) ICEs
when compiling the following testcase, reduced from
test/CodeGenCXX/rtti-fundamental.cpp from the clang 15 test suite:

namespace std {
class type_info {
};
}

std::type_info
foo ()
{
  return typeid (void);
}

namespace __cxxabiv1 {
struct __fundamental_type_info {
  virtual ~__fundamental_type_info ();
};

__fundamental_type_info::~__fundamental_type_info ()
{
}
}

% g++-13 -c aohjjmiw.cpp
<built-in>: internal compiler error: in emit_support_tinfo_1, at
cp/rtti.cc:1584
0x75a5ae emit_support_tinfo_1(tree_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp/rtti.cc:1584
0xba1794 emit_support_tinfo_1(tree_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp/rtti.cc:1553
0xba1794 emit_support_tinfos()
       
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp/rtti.cc:1647
0xa428e0 c_parse_final_cleanups()
       
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp/decl2.cc:4940
0xc79e7f c_common_parse_file()
       
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/c-family/c-opts.cc:1266

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

end of thread, other threads:[~2023-03-07 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 16:00 [Bug c++/109042] New: [13 Regression] ICE in emit_support_tinfo_1, at cp/rtti.cc:1584 asolokha at gmx dot com
2023-03-06 16:03 ` [Bug c++/109042] " mpolacek at gcc dot gnu.org
2023-03-06 16:19 ` jakub at gcc dot gnu.org
2023-03-06 18:54 ` jakub at gcc dot gnu.org
2023-03-07 15:29 ` cvs-commit at gcc dot gnu.org
2023-03-07 15:31 ` jakub 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).