------- 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;
}
}
===========================
parse.i: In function 'foo':
parse.i:13: internal compiler error: tree check: expected function_decl, have
error_mark in c_expand_body, at /c-decl.c:6334
Please submit a full bug report, [etc.]
If I replace the 42 with 39 for example, I get a segfault instead.
This might be related to PR 17657.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17908