On Mon, May 04, 2015 at 05:30:17PM +0200, Hauke Fath wrote: > Looks like '-Os' applies slightly different criteria than '-O2' to what > gcc perceives as an unused variable. Congratulation, you discovered one of the biggest bugs in GCC's unused variable warning. Joerg