This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Missing declaration causes ICE or segmentation fault
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: Missing declaration causes ICE or segmentation fault
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 16 Jun 2000 14:02:42 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <no.id> <200006162012.QAA20874@hiauly1.hia.nrc.ca>
On Fri, Jun 16, 2000 at 04:12:43PM -0400, John David Anglin wrote:
> it is clear that the problem occurs because digest_init was called with
> TREE_TYPE (init) == error_mark_node. This suggests that TREE_TYPE (init)
> should also be tested to see if it is an error_mark_node, in addition
> to type and init.
I don't think we should have created `init' with type error_mark_node.
At first blush it would seem more correct to have decayed init itself
to error_mark_node earlier.
r~