https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #7 from Richard Biener ---
You can look at -Winline output
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #6 from Denis Vlasenko ---
Got a hold on a machine with gcc version 5.1.1 20150422 (Red Hat 5.1.1-1)
Pulled current Linus kernel tree and built it with this config:
http://busybox.net/~vda/kernel_config2
Note that "CONFIG_CC_OPTIMIZE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #5 from Markus Trippelsdorf ---
The last time I looked at the kernel build with -Os, all cases
were simply caused by:
ipa-inline.c:
820 /* If call is cold, do not inline when function body would grow. */
821 else if (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #3 from Denis Vlasenko ---
Created attachment 35530
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35530&action=edit
Preprocessed example exhibiting a bug on gcc -4.9.2
This is a preprocessed kernel/pid.c file from kernel sourc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #2 from Denis Vlasenko ---
Tested with gcc-4.9.2. The attached testcase doesn't exhibit the bug, but
compiling the same kernel tree, with the same .config, and then running
nm --size-sort vmlinux | grep -iF ' t ' | uniq -c | grep -v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122
--- Comment #1 from Denis Vlasenko ---
Created attachment 35528
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35528&action=edit
Preprocessed example exhibiting a bug
This is a preprocessed kernel/locking/mutex.c file from kernel source.
W