[Bug c++/21467] ICE for template function if missing required default argument

2005-05-09 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-09 14:22 --- *** This bug has been marked as a duplicate of 16829 *** -- What|Removed |Added

[Bug c++/21467] ICE for template function if missing required default argument

2005-05-09 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-05-09 14:03 --- The real bug is this accepts-invalid: template void test(F function, bool arg0 = false, bool arg1) {} The ICE whe

[Bug c++/21467] ICE for template function if missing required default argument

2005-05-09 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-09 12:53 --- Confirmed and not a regression. Here is the backtrace: #0 convert_default_arg (type=0xb7bf9804, arg=0x0, fn=0xb7c8c948, parmnum=2) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/call.c:4513 #1 0x0810