GCC 4.8 arm EIGEN_OPTIMIZATION_BARRIER fix (#2315).

GCC 4.8 doesn't seem to like the g register constraint, failing to compile with "error: 'asm' operand requires impossible reload".

Tested r instead, and that seems to work, even with latest compilers.

Also fixed some minor macro issues to eliminate warnings on armv7.

Fixes #2315 (closed).

Merge request reports

Loading