diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2024-02-12 16:59:12 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2024-02-12 17:06:41 +0100 |
commit | b0efb1c35724e3332ee5993976efb98200c1a154 (patch) | |
tree | 454a957a54c97bfb6317294ed7989fa61c7155bc /gcc/tree-vect-loop.cc | |
parent | 2dde675ff48600188d3e892d191a2345bad2e6ae (diff) | |
download | gcc-b0efb1c35724e3332ee5993976efb98200c1a154.zip gcc-b0efb1c35724e3332ee5993976efb98200c1a154.tar.gz gcc-b0efb1c35724e3332ee5993976efb98200c1a154.tar.bz2 |
d: Fix internal compiler error: in make_import, at d/imports.cc:48 [PR113125]
The cause of the ICE was that TYPE_DECLs were only being generated for
structs with members, not opaque structs.
PR d/113125
gcc/d/ChangeLog:
* types.cc (TypeVisitor::visit (TypeStruct *)): Generate TYPE_DECL and
apply UDAs to opaque struct declarations.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr113125.d: New test.
* gdc.dg/pr113125.d: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions