--- Comment #5 from hjl dot tools at gmail dot com 2010-04-29 18:23 ---
Tail call optimization is disabled with -g.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942
--- Comment #4 from hjl dot tools at gmail dot com 2010-04-29 18:18 ---
It also failed with gcc 4.5.0.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #3 from hjl dot tools at gmail dot com 2010-04-29 18:16 ---
[...@gnu-6 stage2-gcc]$ cat x.i
enum plugin_event { PLUGIN_GGC_START, PLUGIN_GGC_END };
extern int invoke_plugin_callbacks_full (int, void *);
static __inline__ int
invoke_plugin_callbacks (int event __attribute__ ((
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-04-29 18:05 ---
Reducing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43942
--- Comment #1 from hjl dot tools at gmail dot com 2010-04-29 17:57 ---
Created an attachment (id=20518)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20518&action=view)
A testcase
On Linux/x86-64,
[...@gnu-6 stage2-gcc]$ ./xgcc -B./ -c -g -O2 -Wc++-compat -fno-common
pr43942.i