public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug d/110959] gdc: internal compiler error: in layout_aggregate_type in recursive templated class Date: Tue, 15 Aug 2023 15:08:51 +0000 [thread overview] Message-ID: <bug-110959-4-PyJ2XMXZgD@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-110959-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110959 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>: https://gcc.gnu.org/g:3cf5a511e253876279462b1de08cfd8f5f804242 commit r12-9817-g3cf5a511e253876279462b1de08cfd8f5f804242 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Tue Aug 15 16:56:42 2023 +0200 d: Fix internal compiler error: in layout_aggregate_type, at d/types.cc:574 This ICE is specific to the D front-end language version in GDC 12. PR d/110959 gcc/d/ChangeLog: * dmd/canthrow.d (Dsymbol_canThrow): Use foreachVar. * dmd/declaration.d (TupleDeclaration::needThis): Likewise. (TupleDeclaration::foreachVar): New function. (VarDeclaration::setFieldOffset): Use foreachVar. * dmd/dinterpret.d (Interpreter::visit (DeclarationExp)): Likewise. * dmd/dsymbolsem.d (DsymbolSemanticVisitor::visit (VarDeclaration)): Don't push tuple field members to the scope symbol table. (determineFields): Handle pushing tuple field members here instead. * dmd/dtoh.d (ToCppBuffer::visit (VarDeclaration)): Visit all tuple fields. (ToCppBuffer::visit (TupleDeclaration)): New function. * dmd/expression.d (expandAliasThisTuples): Use foreachVar. * dmd/foreachvar.d (VarWalker::visit (DeclarationExp)): Likewise. * dmd/ob.d (genKill): Likewise. (checkObErrors): Likewise. * dmd/semantic2.d (Semantic2Visitor::visit (TupleDeclaration)): Visit all tuple fields. gcc/testsuite/ChangeLog: * gdc.dg/pr110959.d: New test. * gdc.test/runnable/test23010.d: New test.
next prev parent reply other threads:[~2023-08-15 15:08 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-09 12:51 [Bug d/110959] New: " destructionator at gmail dot com 2023-08-15 15:08 ` cvs-commit at gcc dot gnu.org [this message] 2023-08-15 15:17 ` [Bug d/110959] " cvs-commit at gcc dot gnu.org 2023-08-15 15:18 ` ibuclaw 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-110959-4-PyJ2XMXZgD@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: linkBe 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).