[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2024-06-15 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #9 from Georg-Johann Lay --- (In reply to Jonathan Wakely from comment #1) > since float, double and long double all seem to be the same size on avr Not necessarily. Since GCC v10, the default for long double is 64 bit (IEEE double)

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #8 from Jonathan Wakely --- Anything that doesn't work on avr should be considered a bug, like any other target.

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #7 from Jonathan Wakely --- Not particularly, I just want to be able to bootstrap on avr with --enable-libstdcxx It works pretty well already, especially with the -ffreestanding changes in gcc 13.

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-10-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #6 from Georg-Johann Lay --- May I ask, are you working on getting libstdc++ to work for avr?

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #5 from Jonathan Wakely --- So then we do need to fix the autoconf macros.

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-10-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #4 from Georg-Johann Lay --- (In reply to Jonathan Wakely from comment #3) > Which versions of avr-libc are supported with gcc? The versions are only very loosely coupled. Anything from AVR-LibC v1.8 on (or maybe even older) should

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-09-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #3 from Jonathan Wakely --- Ah, good to know, thanks. Which versions of avr-libc are supported with gcc? The version of avr-libc in Fedora has the macros, which means I can't build avr-gcc with the patch for pr 79700 applied.

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-09-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #2 from Georg-Johann Lay --- (In reply to Jonathan Wakely from comment #0) > The in avr-libc does things like this: > > extern double acos(double __x) __ATTR_CONST__; > #define acosf acos/**< The alias for acos().

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2023-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Blocks|