This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Do we ever pass ERROR_MARK to expanders?
- From: Steven Bosscher <stevenb at suse dot de>
- To: Kazu Hirata <kazu at cs dot umass dot edu>, gcc at gcc dot gnu dot org
- Date: Sun, 17 Oct 2004 18:14:22 +0200
- Subject: Re: Do we ever pass ERROR_MARK to expanders?
- Organization: SUSE Labs
- References: <20041017.113233.21930965.kazu@cs.umass.edu>
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