[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-07-28 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #13 from Arsen Arsenović --- (In reply to Jonathan Wakely from comment #12) > I suppose we could enable if hosted || newlib, but that wouldn't > always be right because (IIUC) you can configure newlib without any of the > libm

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-07-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #12 from Jonathan Wakely --- (In reply to Arsen Arsenović from comment #10) > (In reply to lesto fante from comment #9) > > In pure freestanding, I would expect smart pointer and at least parts cmath > > to work; the compiler offer

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 Richard Biener changed: What|Removed |Added Target Milestone|13.2|13.3 --- Comment #11 from Richard

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.2

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-12 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #10 from Arsen Arsenović --- (In reply to lesto fante from comment #9) > 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

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-12 Thread lestofante88 at gmail dot com via Gcc-bugs
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

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #8 from Andrew Pinski --- (In reply to Arsen Arsenović from comment #7) > the thing with newlib in particular is that it's not really freestanding.. > it lives in an odd limbo between a full hosted OS and 'real' freestanding > with

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #6 from Jonathan Wakely --- Thanks for the extra info. I don't think it's really _forbidden_, but not a use case I was really aware of, and didn't realise it's something we might need to support.

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread lestofante88 at gmail dot com via Gcc-bugs
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

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #4 from Jonathan Wakely --- (In reply to lesto fante from comment #0) > My code stop compiling after updating from > arm-none-eabi-gcc (Arch Repository) 12.2.0 > to > arm-none-eabi-gcc (Arch Repository) 13.1.0 > (cant easily test

[Bug libstdc++/109814] [13/14 Regression] freestanding using cmath does not compile anymore

2023-05-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-05-11 Known to work|