Recent change in inlining
Eric Botcazou
ebotcazou@adacore.com
Tue Sep 3 22:04:00 GMT 2013
Jan,
there was a very recent change in inlining on the mainline:
2013-09-02 Jan Hubicka <jh@suse.cz>
* ipa-split.c (execute_split_functions): Split externally visible
functions called once.
but as far as I can see there was no explanation for it. This introduced
annoying warnings in Ada, for example:
In function 'PRIME.MC2.OTHER.MY_DRIVERSR':
/red.a/gnatmail/gcc-x/build-red/x86_64-linux/install/lib/gcc/x86_64-pc-linux-
gnu/4.9.0/adainclude/s-stratt.adb:222:4: warning: inlining failed in call to
'System.Stream_Attributes.I_I.Part': call is unlikely and code size would grow
[-Winline]
gnat1: warning: called from here [-Winline]
In function 'PRIME.MC2.OTHER.MY_DRIVERSI':
/red.a/gnatmail/gcc-x/build-red/x86_64-linux/install/lib/gcc/x86_64-pc-linux-
gnu/4.9.0/adainclude/s-stratt.adb:222:4: warning: inlining failed in call to
'System.Stream_Attributes.I_I.Part': call is unlikely and code size would grow
[-Winline]
gnat1: warning: called from here [-Winline]
because small external functions marked inline are now split instead of being
fully inlined.
Thoughts?
--
Eric Botcazou
More information about the Gcc
mailing list