------- Comment #12 from jakub at gcc dot gnu dot org 2010-03-23 15:22 ------- Thus we are talking about: extern int printf (const char *, ...);
__attribute__((noinline)) int add2 (int a, int b) { return a + b; } static inline int add3 (int a, int b, int c) { return a + add2 (b, c); } int main () { printf ("%d\n", add3 (2, 3, 4)); return 0; } right? Seems get_gimple_for_ssa_name indeed provides correct location on the created trees, it is just that the expansion ignores it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19192