On Tuesday, 8 June 2021 at 09:08:20 UTC, Max Samukha wrote:
On Monday, 7 June 2021 at 10:38:08 UTC, Max Samukha wrote:
Would be great if you did. Not a blocker, though.
However, this is a major pain:
```d
struct FP {
}
alias parse = () {
FP[] parts;
parts ~= FP();
return parts;
};
immutable s = parse();
extern(C) int main() {
return 0;
}
```
avr-gdc -fno-druntime ctfe.d
ctfe.d:3:1: error: 'object.TypeInfo' cannot be used with
'-fno-rtti'
3 | struct FP {
| ^
ctfe.d:3:1: error: 'object.TypeInfo' could not be found, but is
implicitly used
3 | struct FP {
| ^
d21: internal compiler error: Segmentation fault
0x178ae29 internal_error(char const*, ...)
Thanks, that seems to be [this
issue](https://issues.dlang.org/show_bug.cgi?id=19234).
Testing backports of both now
([here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100935) and
[here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100964)).