------- Comment #19 from dcb314 at hotmail dot com  2006-02-18 12:09 -------
(In reply to comment #17)
> Created an attachment (id=10869)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10869&action=view) [edit]
> patch
> 
> I'm currently testing this patch.

I tried out the suggested patch on gcc version 4.2, snapshot 20060211,
and tried to build the compiler. It said

../../src/gcc-4.2-20060211/libiberty/cp-demangle.c: In function 'd_demangle':
../../src/gcc-4.2-20060211/libiberty/cp-demangle.c:3899: internal compiler
error: tree check: expected catch_expr, have try_finally in
array_offset_warning, at c-common.c:5893
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The source code line causing problems is

    array_offset_warning (&CATCH_BODY (t));

Also, there seems to be some dead code after the break
statement:

+      case EH_FILTER_EXPR:
+       array_offset_warning (&EH_FILTER_FAILURE (t));
+       break;
+       array_offset_warning (&TREE_OPERAND (t, 0));
+       array_offset_warning (&TREE_OPERAND (t, 1));

Possibly a missing case ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8268

Reply via email to