CDImode in reg

Ian Lance Taylor iant@google.com
Tue Oct 4 18:22:00 GMT 2011


Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> writes:

>>> So it should be skipped and the ICE is the normal behavior for such
>>> irrelevant test cases ?
>>
>> Personally, I don't really think an ICE is ever an acceptable result
>> from the compiler.  However, there are practical considerations.  Nobody
>> is ever going to write code like that for your processor.  If gets an
>> ICE, no real programmer is ever going to notice.  And if it didn't get
>> an ICE it would get an error instead.  So it's really up to you how much
>> effort you want to put in to generating a proper error message rather
>> than an ICE.
>
> I agree. BTW, I wonder how I could handle such an ICE from my backend
> if I wanted to.

I don't know--I don't know exactly what is causing the ICE.

Ian



More information about the Gcc-help mailing list