gdc master is broken for arm cross-compilers
Iain Buclaw via D.gnu
d.gnu at puremagic.com
Thu Jun 11 13:30:39 PDT 2015
On 11 June 2015 at 20:27, Johannes Pfau via D.gnu <d.gnu at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150611/ef319627/attachment.html>
More information about the D.gnu
mailing list