--- Comment #1 from morandini at aero dot polimi dot it 2010-04-22 12:55
---
Created an attachment (id=20462)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20462action=view)
preprocessed file triggering the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-22 15:17 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-22 15:17 ---
I will have a looksee.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-22 15:22 ---
It's TYPE_ARG_TYPES of a FUNCTION_TYPE when writing the FUNCTION_DECL of
void_cast_register which isn't instantiated.
Reducing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-22 15:40 ---
Reduced testcase:
template class T void void_cast_register(T *) __attribute__ ((used));
template class T void void_cast_register(T *) { }
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850