sync_test: Use -fno-strict-aliasing

Use -fno-strict-aliasing here so we don't have to use it globally.
Performance on tests isn't important anyway.

Change-Id: I92ae7209ced60176cc5608f32b8ff6a911c09f10
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
corkscrew: Fix build with gcc 4.8

gcc 4.8 has a new warning for unused parameters - we need to override
-Werror on that.

Change-Id: Ia2a831a96750ae105440291c636b80382a5702fa
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Fix build with gcc-4.8 and array boundaries issue

Remove unused parameters of static functions to avoid warning with 4.8.
Fix array index out of bounds issue when register number exceeds limit.
It shouldn't occur in real world, but static verifiers can detect it.

Change-Id: Id237df905b40bad02fc8cbbeac31084040f58076
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Revert "Fix build with gcc-4.8 and array boundaries issue"

This reverts commit d911c9d682100186fd081ad33879a9241196b33c.