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 /compile | |
parent | 01b1afdc35c13cbff5cd3d37f9319285ab84b157 (diff) |
d: Fix ICE in in add_stack_var, at cfgexpand.cc:476linaro-local/ci/tcwg_kernel/gnu-master-arm-next-allmodconfiglinaro-local/ci/tcwg_kernel/gnu-master-aarch64-lts-allnoconfig
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 'compile')
0 files changed, 0 insertions, 0 deletions