Am 25.04.19 um 20:05 schrieb Rainer Emrich:
Does anybody knows what's the plans for D on mingw.
AFAIS the frontend builds and is enabled for mingw. But the D runtime is
disabled for mingw and doesn't build.
A quick dive into the source showed that there is code for mingw target.
But it looks li
Hi,
the gdc D compiler currently doesn't implement "non-POD" types. As in C++ those
types can have copy constructors or destructors and should be kept in memory.
Right now I just set TREE_ADDRESSABLE on the RECORD_TYPE tree and it's mostly
working. Some test cases fail though if optimization / inl
Jan Hubicka ucw.cz> writes:
> >
> > How does the C++ frontend handle this?
>
> See logic in cgraph_function_body_availability. When function is weak (that is
effect
> of make_decl_one_only) it will be inlinable only if it is declared inline.
This happens
> to be the case of C++ weaks because o
Ian Lance Taylor google.com> writes:
>
> Why is that? decl_replaceable_p is supposed to be true for a function
> that may be replaced by an entirely different function at runtime.
> This is mainly to implement the correct semantics for weak functions.
> You can't inline a weak function, but at
Hi,
We recently got a bug report for the GCC D compiler frontend which shows that we
currently don't inline any templated functions. The reason seems to be that
decl_replaceable_p always returns true for D template functions.
We currently just mark such template function instances using make_decl