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]

Re: RFC: Why don't we stop the optimizer pipeline when errorcount > 0?


Andrew Pinski wrote:
> 
> On Jan 9, 2006, at 2:46 PM, Diego Novillo wrote:
> 
>> On Monday 09 January 2006 14:42, Andrew Pinski wrote:
>>
>>> the only passes which do run are cfg creation, expand, and maybe a
>>> couple other simple ones.
>>>
>> I know that.  It's expand the one bothering me.  Are we issuing errors
>> that
>> late in the pipeline?
> 
> yes but we should not be but that is a different story and just because
> this was how GCC worked since 1987.

Diego, I think you should feel free to fix this.  As you say, it's just
a recipe for trouble to be doing any code generation at all when errors
have ocurred.  At worst, we miss some diagnostics -- which we will then
issue when the user recompiles after fixing whatever errors they had in
the original code.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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