> 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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to