Ticket #523 (Fixed)Mon Sep 27 11:17:01 UTC 2021
math.h: fma(x,y,z) inlined to __d_fma(x,y,z) causes compiler failure
Reported by: | Stuart Swales (8827) | Severity: | Normal |
Part: | RISC OS: C/C++ toolchain | Release: | |
Milestone: | Status | Fixed |
Details by Stuart Swales (8827):
//Norcroft RISC OS ARM C vsn 5.86 [10 Feb 2021]
//Fatal internal error: show_inst_dir(0XD5)
//Internal inconsistency: either resource shortage or compiler fault. If you
//cannot alter your program to avoid this failure, please contact your supplier
Workaround is to enclose use of fma in parentheses to avoid the macro expansion.
Changelog:
Modified by Stuart Swales (8827) Mon, September 27 2021 - 11:19:06 GMT
- Attachment added: fma-bug.c
Please ignore the cc line in the file – just using <code>cc -c fma_bug.c</code> will cause the failure.
Modified by Stuart Swales (8827) Sun, October 31 2021 - 15:36:40 GMT
- Status changed from Open to Fixed
Fixed in cc 5.88 – many thanks!