On 11 June 2015 at 20:27, Johannes Pfau via D.gnu <d.gnu@puremagic.com>
wrote:

> Some recent change in GDC broke ARM cross compiler builds. Same error
> with gcc-5.1 and gcc-4.9:
>
> https://gist.github.com/jpf91/1de81d6ff55587d702ae
>
> I'm not sure if this only happens for ARM cross compilers or for all
> cross compilers. But it doesn't seem to happen with native builds (or
> maybe it's target specific and it doesn't happen for x86 builds).
>
>
> Iain, any clue what could cause this? Otherwise I'll have to debug this
> later on.
>

The comment above says:

 If the DECL isn't in memory, then the DECL wasn't properly
 marked TREE_ADDRESSABLE, which will be either a front-end
 or a tree optimizer bug.

Peek returns a ubyte[4] - so my initial guess would be the recent NRVO
change.  Perhaps it wasn't quite as bullet-proof as I hoped.

Reply via email to