aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/test-i386.h
diff options
context:
space:
mode:
authorRabin Vincent <rabinv@axis.com>2016-08-23 16:34:59 +0200
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2016-09-28 10:45:44 +0200
commit21ce148c7ec71ee32834061355a5ecfd1a11f90f (patch)
tree9bc8832f81e843f3d030bc959487d33be80ecd20 /tests/tcg/test-i386.h
parent25930ed60aad49f1fdd7de05272317c86ce1275b (diff)
tests: cris: force inlining
The CRIS tests expect that functions marked inline are always inline. With newer versions of GCC, building them results warnings like the following and spurious failures when they are run. In file included from tests/tcg/cris/check_moveq.c:5:0: tests/tcg/cris/crisutils.h:66:20: warning: inlining failed in call to 'cris_tst_cc.constprop.0': call is unlikely and code size would grow [-Winline] tests/tcg/cris/check_moveq.c:28:13: warning: called from here [-Winline] Use the always_inline attribute when building them to fix this. Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Rabin Vincent <rabinv@axis.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'tests/tcg/test-i386.h')
0 files changed, 0 insertions, 0 deletions