tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] -fno-hex-floats option


From: Edmund Grimley Evans
Subject: Re: [Tinycc-devel] -fno-hex-floats option
Date: Sun, 24 Apr 2016 10:57:14 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

> https://github.com/seyko2/tinycc/commit/086ae74b696b7e2a73980bd852516b84251bd553
> 
> don't accept 0x123e-3 float format. This allow to compile
> tccboot kernel with a macro expansion like
>     __asm__( "pushl $""0xfe""-256\n\t" );
> 
> gcc don't have problem with this w/o any option. May be gcc don't
> allow a hex floats format in asm file.

GCC doesn't process assembler files; it just passes them to the
assembler, which is part of binutils. However, it may be that GCC puts
the preprocessor into a special mode when preprocessing a .s file.
Please investigate and report back!

In any case, TCC does not need, and should not have, a
"-fno-hex-floats option" option.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]