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: Sergey Korshunoff
Subject: Re: [Tinycc-devel] -fno-hex-floats option
Date: Sun, 24 Apr 2016 18:01:08 +0300

> However, it may be that GCC puts
> the preprocessor into a special mode when preprocessing a .s file.
> Please investigate and report back!

No, preprocessed files are identical. Then it looks that "as" don't
allow/accept by default such float format

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

My first attempt was to disable such format in asm files/strings. But
as I remember, the
same problem was with a C like
 #define NR_SLOTS 0xfe
 int array[NR_SLOTS-1];

Some gcc versions don't support hex float notation and compile such code fine.



reply via email to

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