[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] initializer element is not constant for float comparison
From: |
noneofyourbusiness |
Subject: |
[Tinycc-devel] initializer element is not constant for float comparison |
Date: |
Sun, 21 May 2023 13:14:32 +0200 |
When initializing static variables with the result of float comparisons, tcc
errors out. This works fine on clang without warning, therefore I assume this
is a bug. The expression -1.0 < 0 should always evaluate to 1, no?
See attached code for an example.
test.c
Description: Text Data
- [Tinycc-devel] initializer element is not constant for float comparison,
noneofyourbusiness <=