--- Comment #1 from hjl dot tools at gmail dot com 2009-08-19 14:12 ---
It doesn't fail with preprocessed code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41119
--- Comment #2 from hjl dot tools at gmail dot com 2009-08-19 14:18 ---
Valgrind reports:
==22210== Invalid read of size 2
==22210==at 0x51521D: is_empty_class (class.c:6524)
==22210==by 0x482E70: build_call_a (call.c:356)
==22210==by 0x483FF2: build_cxx_call (call.c:5782)
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-08-19 14:31 ---
See PR41120 for a testcase.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from hjl dot tools at gmail dot com 2009-08-19 15:06 ---
(gdb) bt
#0 0x005cec03 in is_empty_class (type=0xa5a5a5a5a5a5a5a5)
at ../../src/gcc/cp/class.c:6524
#1 0x0048 in build_call_a (function=0x70593e40, n=1,
argarray=0x7fffc750) at