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:29:04 +0200 |
commit | fc7166a7c409bf231d5f243636f30904deea6e6f (patch) | |
tree | c7ef1b4517ebcddadcb452aab7214e8378f72961 /libcpp/location-example.txt | |
parent | 556e5a3b1e4f2cfe53ae2f4c4d106965807ea723 (diff) |
d: Fix ICE in in add_stack_var, at cfgexpand.cc:476linaro-local/ci/tcwg_kernel/gnu-release-arm-next-allyesconfiglinaro-local/ci/tcwg_kernel/gnu-release-aarch64-next-defconfiglinaro-local/ci/tcwg_gnu_native_check_binutils/release-aarch64linaro-local/ci/tcwg_gcc_bootstrap/release-aarch64-bootstrap_profiledlinaro-local/ci/tcwg_bmk_llvm_tk1/llvm-release-arm-spec2k6-O2_LTOlinaro-local/ci/tcwg_bmk_llvm_tk1/llvm-release-arm-spec2k6-O2linaro-local/ci/tcwg_bmk_llvm_apm/llvm-release-aarch64-spec2k6-Oz_LTOlinaro-local/ci/tcwg_bmk_gnu_eabi_stm32/gnu_eabi-release-arm_eabi-coremark-O2_LTOlinaro-local/ci/tcwg_bmk_gnu_apm/gnu-release-aarch64-spec2k6-Os_LTO
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.
(cherry picked from commit 4b0253b019943abf2cc5f4db0b7ed67caedffe4a)
Diffstat (limited to 'libcpp/location-example.txt')
0 files changed, 0 insertions, 0 deletions