diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2022-08-08 15:17:47 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2022-08-08 20:27:49 +0200 |
commit | 4b0253b019943abf2cc5f4db0b7ed67caedffe4a (patch) | |
tree | c104bfa5ffae95ec4b292a05487b99297e2f19a4 /libcpp/generated_cpp_wcwidth.h | |
parent | 01b1afdc35c13cbff5cd3d37f9319285ab84b157 (diff) | |
download | gcc-4b0253b019943abf2cc5f4db0b7ed67caedffe4a.zip gcc-4b0253b019943abf2cc5f4db0b7ed67caedffe4a.tar.gz gcc-4b0253b019943abf2cc5f4db0b7ed67caedffe4a.tar.bz2 |
d: Fix ICE in in add_stack_var, at cfgexpand.cc:476
The type that triggers the ICE never got completed by the semantic
analysis pass. Checking for size forces it to be done, or issue a
compile-time error.
PR d/106555
gcc/d/ChangeLog:
* d-target.cc (Target::isReturnOnStack): Check for return type size.
gcc/testsuite/ChangeLog:
* gdc.dg/imports/pr106555.d: New test.
* gdc.dg/pr106555.d: New test.
Diffstat (limited to 'libcpp/generated_cpp_wcwidth.h')
0 files changed, 0 insertions, 0 deletions