------- Comment #22 from karol at mikronika dot com dot pl 2008-11-19 15:13 ------- (In reply to comment #2) > Reduced testcase: > struct a{~a();a();}; > int GetMetaCombination (int a2) > { > a bi; > switch (a2) > { > case 1: > return 18; > break;//removing this works around the warning > default: > return 0; > } > }
This also fails in gcc-4.2 (GCC) 4.2.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681