commit | b3073f00994fe9220ad6d2356483eb4dd748f238 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Oct 13 15:04:00 2022 -0700 |
committer | Stephanos Ioannidis <root@stephanos.io> | Mon Oct 31 17:17:42 2022 +0900 |
tree | d520a87cc7f876039aeaa5da801adb1dbf6d2306 | |
parent | cb5c44052570c2ec8b2a886e454c6873e9292f18 [diff] |
gcc/picolibc: Disable -fprintf-return-value when printf is not complete GCC will compute expected sprintf (et al) return values internally and use them in place of the actual return value. When the printf implementation has reduced functionality, gcc may compute a different value. For picolibc, this means disabling the optimization unless floating point output is enabled. Signed-off-by: Keith Packard <keithp@keithp.com>