------- Comment #6 from wilson at gcc dot gnu dot org 2006-02-22 00:43 ------- Created an attachment (id=10888) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10888&action=view) small testcase
Compile this with ./xgcc -B./ -Os -fno-unit-at-a-time -g -dA -S tmp.c -fverbose-asm and notice that we have an abstract_origin die for sub, even though it was never inlined. Also notice the -finline* options listed at the top of the .s file. These are enabled by -Os. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26364