Comment 5 for bug 1703250

Revision history for this message
Henning (wuelpi) wrote :

I found a way to downgrade on arch, this is the most hassle free at the moment. The results are to no surprise the same for 5.3 on Arch and 5.4 on TW. For GCC 6.3 it was exactly the same as 7.1 but without failing:

no extern
-std=gnu11 1022 bytes
-std=gnu99 1022 bytes
-std=gnu89 1082 bytes
-std=gnu11 -fgnu89-inline 1082 bytes
-std=gnu99 -fgnu89-inline 1082 bytes
-std=gnu89 -fgnu89-inline 1082 bytes
extern inline
-std=gnu11 1078 bytes
-std=gnu99 1078 bytes
-std=gnu89 1026 bytes
-std=gnu11 -fgnu89-inline 1026 bytes
-std=gnu99 -fgnu89-inline 1026 bytes
-std=gnu89 -fgnu89-inline 1026 bytes

-Winline shows lots of functions not being inlined without -fgnu89-inline: https://pastebin.com/sxRDnQS6 due to GCC thinking it would let the code size grow. I would assume this is the biggest cuprit. Maybe I try to experiment with __attribute__((always_inline)), a short try failed though.

Small correction for my last posting, I mixed up the build options, it's -fgnu89-inline every time and the standard changes.