summaryrefslogtreecommitdiff
path: root/libcpp/system.h
diff options
context:
space:
mode:
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>2016-11-23 09:49:25 +0000
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>2016-11-23 09:49:25 +0000
commitbaf53c4739a68b3307ce28bfeffc903fa641b946 (patch)
treeefd67d5b026281797943f4c7287fc36442421d04 /libcpp/system.h
parenta80504892ef9696ffe81248667798f1ac7d5a678 (diff)
downloadgcc-baf53c4739a68b3307ce28bfeffc903fa641b946.tar.gz
Fix bogus failure of uninit-19.c for avr
The test fails for avr because fn1 does not get inlined into fn2. Inlining occurs for x86_64 because fn1's computed size equals call_stmt_size. For the avr, 32 bit memory moves are more expensive, and b[3] = p10[a] results in a bigger size for fn1, preventing the inlining. Add -finline-small-functions to force early inliner to inline fn1. gcc/testsuite/ 2016-11-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> * gcc.dg/uninit-19.c: Add -finline-small-functions for avr. From-SVN: r242742
Diffstat (limited to 'libcpp/system.h')
0 files changed, 0 insertions, 0 deletions