------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 20:13 ------- 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; } }
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2005-03-29 20:13:16 date| | Summary|another wrong "control |[4.0/4.1 Regression] wrong |reaches end of non-void |"control reaches end of non- |function" warning |void function" warning Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681