Branch: refs/heads/master
Home: https://github.com/tianocore/edk2-libc
Commit: e9fed8327d6b5aadd0f0d991c0ba011698f51ee9
https://github.com/tianocore/edk2-libc/commit/e9fed8327d6b5aadd0f0d991c0ba011698f51ee9
Author: Dongyan Qian <[email protected]>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M StdLib/LibC/Main/Arm/flt_rounds.c
Log Message:
-----------
StdLib: Remove unused Arm flt_rounds map
The Arm flt_rounds implementation originally used a map table to
translate fpgetround() values to FLT_ROUNDS values. That lookup was later
replaced by a TODO fallback that always returns the default
round-to-nearest value, but the map table was left behind.
This means the table is now dead code. The issue is exposed by the
AARCH64 GCC build because warnings are treated as errors, causing the
unused static const variable to fail the build.
Remove the unused table and the stale comment that described indexing it.
This preserves the current behavior of returning round-to-nearest by
default.
Fixes: https://github.com/tianocore/edk2-libc/issues/111
Signed-off-by: Dongyan Qian <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2-libc/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits