On 01/27/2014 09:01 AM, Andi Kleen wrote:
> Jiri Kosina <jkos...@suse.cz> writes:
> 
>> On Mon, 27 Jan 2014, H. Peter Anvin wrote:
>>
>>> I don't think it'd hurt... although I think the above pretty much
>>> requires that the code contain actual floating-point types to ever be
>>> generated.  
>>
>> Unfortunately using float-typed constants (such as 1EexpL) are enough for 
>> this to happen.
> 
> checkpatch would seem to be the right place to check for this?
> 

Ideally gcc should have a -no-float option...

        -hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to