[Bug debug/43942] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- 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

[Bug debug/43942] -fcompare-debug faulure with external declaration in function.

2010-04-29 Thread hjl dot tools at gmail dot com
--- 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

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread hjl dot tools at gmail dot com
--- 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__ ((

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug debug/43942] -fcompare-debug faulure

2010-04-29 Thread hjl dot tools at gmail dot com
--- 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