Do we ever pass ERROR_MARK to expanders?

Steven Bosscher stevenb@suse.de
Sun Oct 17 20:32:00 GMT 2004


On Sunday 17 October 2004 17:32, Kazu Hirata wrote:
> Now, do we ever pass ERROR_MARK to expanders these days?  If not, we
> should do something like gcc_assert (TREE_CODE (to) != ERROR_MARK);.

I think we do.  We only don't do optimizations if errorcount or
sorrycount is non-zero, but we do call rest_of_compilation on
functions even after errors.  I don't know *why* we would want to
expand any trees after errors, though...

Gr.
Steven



More information about the Gcc mailing list