This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]