public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72
@ 2022-12-10 16:57 ibuclaw at gdcproject dot org
2022-12-10 17:01 ` [Bug d/108050] " ibuclaw at gdcproject dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-12-10 16:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
Bug ID: 108050
Summary: d: internal compiler error: in visit, at
d/imports.cc:72
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gdcproject dot org
Target Milestone: ---
ice.d:
---
import std : split;
---
std/package.d
---
module std;
public import std.array;
public import std.regex;
---
std/array.d
---
module std.array;
S[] split()() { }
---
std/regex.d
---
module std.regex;
S[] split()() { }
---
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
@ 2022-12-10 17:01 ` ibuclaw at gdcproject dot org
2022-12-11 17:52 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-12-10 17:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Doesn't even need to be a template that's imported. Two or more overloadable
functions will trigger the ICE as well.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
2022-12-10 17:01 ` [Bug d/108050] " ibuclaw at gdcproject dot org
@ 2022-12-11 17:52 ` cvs-commit at gcc dot gnu.org
2022-12-11 17:56 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-11 17:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:d9d8c9674ad3ad3aa38419d24b1aaaffe31f5d3f
commit r13-4604-gd9d8c9674ad3ad3aa38419d24b1aaaffe31f5d3f
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Sat Dec 10 19:12:43 2022 +0100
d: Fix internal compiler error: in visit, at d/imports.cc:72 (PR108050)
The visitor for lowering IMPORTED_DECLs did not have an override for
dealing with importing OverloadSet symbols. This has now been
implemented in the code generator.
PR d/108050
gcc/d/ChangeLog:
* decl.cc (DeclVisitor::visit (Import *)): Handle build_import_decl
returning a TREE_LIST.
* imports.cc (ImportVisitor::visit (OverloadSet *)): New override.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr108050/mod1.d: New.
* gdc.dg/imports/pr108050/mod2.d: New.
* gdc.dg/imports/pr108050/package.d: New.
* gdc.dg/pr108050.d: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
2022-12-10 17:01 ` [Bug d/108050] " ibuclaw at gdcproject dot org
2022-12-11 17:52 ` cvs-commit at gcc dot gnu.org
@ 2022-12-11 17:56 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:00 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-11 17:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
--- Comment #3 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:f12c82222f93111e2fb0bd73d1bad52325001990
commit r12-8969-gf12c82222f93111e2fb0bd73d1bad52325001990
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Sat Dec 10 19:12:43 2022 +0100
d: Fix internal compiler error: in visit, at d/imports.cc:72 (PR108050)
The visitor for lowering IMPORTED_DECLs did not have an override for
dealing with importing OverloadSet symbols. This has now been
implemented in the code generator.
PR d/108050
gcc/d/ChangeLog:
* decl.cc (DeclVisitor::visit (Import *)): Handle build_import_decl
returning a TREE_LIST.
* imports.cc (ImportVisitor::visit (OverloadSet *)): New override.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr108050/mod1.d: New.
* gdc.dg/imports/pr108050/mod2.d: New.
* gdc.dg/imports/pr108050/package.d: New.
* gdc.dg/pr108050.d: New test.
(cherry picked from commit d9d8c9674ad3ad3aa38419d24b1aaaffe31f5d3f)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
` (2 preceding siblings ...)
2022-12-11 17:56 ` cvs-commit at gcc dot gnu.org
@ 2022-12-11 18:00 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:03 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:18 ` ibuclaw at gdcproject dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-11 18:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:40b5a2354b58955aef168104c173311f062f1fa5
commit r11-10415-g40b5a2354b58955aef168104c173311f062f1fa5
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Sat Dec 10 19:12:43 2022 +0100
d: Fix internal compiler error: in visit, at d/imports.cc:72 (PR108050)
The visitor for lowering IMPORTED_DECLs did not have an override for
dealing with importing OverloadSet symbols. This has now been
implemented in the code generator.
PR d/108050
gcc/d/ChangeLog:
* decl.cc (DeclVisitor::visit (Import *)): Handle build_import_decl
returning a TREE_LIST.
* imports.cc (ImportVisitor::visit (OverloadSet *)): New override.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr108050/mod1.d: New.
* gdc.dg/imports/pr108050/mod2.d: New.
* gdc.dg/imports/pr108050/package.d: New.
* gdc.dg/pr108050.d: New test.
(cherry picked from commit d9d8c9674ad3ad3aa38419d24b1aaaffe31f5d3f)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
` (3 preceding siblings ...)
2022-12-11 18:00 ` cvs-commit at gcc dot gnu.org
@ 2022-12-11 18:03 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:18 ` ibuclaw at gdcproject dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-11 18:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:9d18a4b98d9b6bff4ba8b215f1e66e51ffba9638
commit r10-11116-g9d18a4b98d9b6bff4ba8b215f1e66e51ffba9638
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Sat Dec 10 19:12:43 2022 +0100
d: Fix internal compiler error: in visit, at d/imports.cc:72 (PR108050)
The visitor for lowering IMPORTED_DECLs did not have an override for
dealing with importing OverloadSet symbols. This has now been
implemented in the code generator.
PR d/108050
gcc/d/ChangeLog:
* decl.cc (DeclVisitor::visit (Import *)): Handle build_import_decl
returning a TREE_LIST.
* imports.cc (ImportVisitor::visit (OverloadSet *)): New override.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr108050/mod1.d: New.
* gdc.dg/imports/pr108050/mod2.d: New.
* gdc.dg/imports/pr108050/package.d: New.
* gdc.dg/pr108050.d: New test.
(cherry picked from commit d9d8c9674ad3ad3aa38419d24b1aaaffe31f5d3f)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
` (4 preceding siblings ...)
2022-12-11 18:03 ` cvs-commit at gcc dot gnu.org
@ 2022-12-11 18:18 ` ibuclaw at gdcproject dot org
5 siblings, 0 replies; 7+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-12-11 18:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed and backported.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-11 18:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10 16:57 [Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72 ibuclaw at gdcproject dot org
2022-12-10 17:01 ` [Bug d/108050] " ibuclaw at gdcproject dot org
2022-12-11 17:52 ` cvs-commit at gcc dot gnu.org
2022-12-11 17:56 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:00 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:03 ` cvs-commit at gcc dot gnu.org
2022-12-11 18:18 ` ibuclaw at gdcproject dot 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).