This is the mail archive of the gcc-help@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: CDImode in reg


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.

Ian


> 2011/10/4 Ian Lance Taylor <iant@google.com>:
>> Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> writes:
>>
>>> I'm trying to get the gcc testsuite passing for my new target port.
>>> The last ICE deals with complex long long (gcc.c-torture/compile/20000804-1.c).
>>
>> As you can see from the test file, several targets skip this test using
>> dg-skip-if.
>>
>> Ian
>>


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