Compiling the attached file using sdcc 3.6.1 #9667 gives:
test.c:2: error 66: attempt to allocate variable of unknown size 'has_hexdouble'
Philipp
P.S.: The attached test.c has been created by extracting two lines from the P99 macro suite, where I first noticed this problem.
Diff:
This can now also be reproduced by removing the define SKIP_HEXDOUBLE at the beginning of regression test test-p99-conformance.c.
Philipp
Last edit: Philipp Klaus Krause 2018-01-18
Not a bug in SDCC, but a bug in the test, as confirmed by upstream. Leaving this item open until the test is fixed.
Philipp
Last edit: Philipp Klaus Krause 2018-01-18
Is upstream test fixed?
No. But I contacted upstream this morning to ask about a suitable replacemnet.