https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814
--- Comment #9 from lesto fante ---
To be fair I have no idea what would be the impact of removing freestanding,
from a quick test does not seems to have a realistic impact.
I guess what happen here is that the freestanding option should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814
--- Comment #5 from lesto fante ---
> Presumably you're using newlib to provide the libm functions that
> declares?
newlib-nano, trough the "-specs=nano.specs".
Removing -ffreestanding in my project caused a decrease(!) in code size (42008
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814
Bug ID: 109814
Summary: freestanding using cmath does not compile anymore
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3