Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 1 checkin (+126/-42) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Thursday 05 July 2018

2018-07-05 14:24:29 (4 years ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [sparc]: Workaround for compiler bug in ~ gcc 4.7.4.

Gcc 4.7.4 and others "optimize" away calls to memcpy(), and replace
them with direct (unaligned) memory accesses. This generated broken
code for eg %F on sparc and other architectures that don't allow
unaligned memory accesses.

cf https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569

Note that the patch mentioned in the above bug report is in gcc 4.7.4,
but isn't sufficient.

We work around the issue by forcing the float extractor functions
to not be inlined on such architectures.

[permalink]

Bugs? Suggestions?