[Bug middle-end/17908] [4.0 Regression] ICE: tree check: expected function_decl, have continue_stmt in c_expand_body, at /c-decl.c:6328

2004-10-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-12 12:56 --- Fixed by the same patch which fixed PR 17657. -- What|Removed |Added

[Bug middle-end/17908] [4.0 Regression] ICE: tree check: expected function_decl, have continue_stmt in c_expand_body, at /c-decl.c:6328

2004-10-11 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-11 11:47 --- Here's a reduced testcase: === int foo() { unsigned char c; switch ((int)c) { case -1: case 0: case 4: case 5: case 42: return 0;

[Bug middle-end/17908] [4.0 Regression] ICE: tree check: expected function_decl, have continue_stmt in c_expand_body, at /c-decl.c:6328

2004-10-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-11 13:45 --- Note that I can reproduce it with a full bootstrap compiler but not with just stage 1 so something is causing wrong code somewhere. -- What|Removed |Added