This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFC: Why don't we stop the optimizer pipeline when errorcount > 0?
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 9 Jan 2006 14:31:10 -0500
- Subject: RFC: Why don't we stop the optimizer pipeline when errorcount > 0?
I hit an ICE inside an optimizer pass because the code had a glaring syntax
error that we diagnosed correctly, but since we kept going, the
transformation didn't find the CFG in the assumed state, causing the ICE.
Is there any reason in particular we don't just make the gate functions
return false when errorcount > 0?