Stdio: use -Os for file.c with gcc gcc -O3 generates extremely bloated code for functions in file.c, even though it makes no sense to unroll the loop around open(2).