[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-07-23 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #7 from dv at vollmann dot ch --- On 7/23/24 11:19, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 > > --- Comment #6 from Jonathan Wakely --- > Oh it looks like 2.2.0 is *very* ne

[Bug libstdc++/115512] _Float32 overloads in cmath cause ICE for default AVR

2024-06-17 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115512 --- Comment #3 from dv at vollmann dot ch --- On 6/17/24 10:59, jakub at gcc dot gnu.org wrote: > --- Comment #1 from Jakub Jelinek --- > Of course cmath needs to provide _Float32 overloads when _Float32 is > supported. > I've pr

[Bug c++/115511] ICE on ambigous overload for _Float32

2024-06-17 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115511 --- Comment #5 from dv at vollmann dot ch --- On 6/17/24 10:47, jakub at gcc dot gnu.org wrote: > --- Comment #4 from Jakub Jelinek --- > Untested fix below. I did a quick test for AVR and it worked :-) I'll now do a full build of l

[Bug libstdc++/115512] _Float32 overloads in cmath cause ICE for default AVR

2024-06-17 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115512 --- Comment #2 from dv at vollmann dot ch --- On 6/17/24 10:59, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115512 > > Jakub Jelinek changed: > > What|Removed

[Bug c++/115511] ICE on ambigous overload for _Float32

2024-06-16 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115511 --- Comment #2 from dv at vollmann dot ch --- On 6/16/24 16:18, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115511 > > Andrew Pinski changed: > > What|Removed

[Bug libstdc++/115512] New: _Float32 overloads in cmath cause ICE for default AVR

2024-06-16 Thread dv at vollmann dot ch via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Target: avr As reported in <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115511>, g++ produces an ICE for calling functions with _Float32 for whic

[Bug c++/115511] New: ICE on ambigous overload for _Float32

2024-06-16 Thread dv at vollmann dot ch via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Target: avr Created attachment 58445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58445=edit Output from -freport-bug On AVR for the default model float and dou

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-06-14 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 --- Comment #2 from dv at vollmann dot ch --- On 6/14/24 11:54, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 > > Jonathan Wakely changed: > > What|Removed

[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-06-14 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #2 from dv at vollmann dot ch --- On 6/13/24 22:30, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 > > --- Comment #1 from Andrew Pinski --- > Patch should be sent to

[Bug libstdc++/115482] New: print.cc fails with avrlibc

2024-06-13 Thread dv at vollmann dot ch via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Created attachment 58421 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58421=edit A workaround that worked for me avrlibc has an incomplete unistd.h that doesn't have isatty.

[Bug libstdc++/115481] New: HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-06-13 Thread dv at vollmann dot ch via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Created attachment 58420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58420=edit possible patch New versions of avrl

[Bug c++/109682] coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2023-04-30 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109682 dv at vollmann dot ch changed: What|Removed |Added CC||dv at vollmann dot ch

[Bug c++/109682] New: coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2023-04-30 Thread dv at vollmann dot ch via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Created attachment 54961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54961=edit Preproces

[Bug c++/106538] Reject-valid: Substitution failure causes error with unsatisfied constraint

2022-08-08 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106538 --- Comment #2 from dv at vollmann dot ch --- Thanks for the detailed explanation (and the workarounds!). I still think it's very surprising behaviour, but I'll probably leave it to others to bring this to WG21. Thanks again, Detlef

[Bug c++/106538] New: Reject-valid: Substitution failure causes error with unsatisfied constraint

2022-08-05 Thread dv at vollmann dot ch via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch Target Milestone: --- Created attachment 53417 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53417=edit Example program that produces the er

[Bug target/104988] Zero register (R1) clobbered by __udivmodsi4 for AVR

2022-03-19 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104988 --- Comment #1 from dv at vollmann dot ch --- Sorry, it looks like it's my fault: the compiler saves and clears __zero_reg__ for ISRs so I have to do this in my assembler ISRs myself and it's correct for a function to temporarily store a non

[Bug libgcc/104988] New: Zero register (R1) clobbered by __udivmodsi4 for AVR

2022-03-19 Thread dv at vollmann dot ch via Gcc-bugs
Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch CC: dv at vollmann dot ch Target Milestone: --- Created attachment 52652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52652=edit compiler configuration Line 1

[Bug libstdc++/104870] [12 Regression] fast_float doesn't work for 16-bit size_t, but is used anyway by floating_from_chars.cc

2022-03-11 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104870 --- Comment #7 from dv at vollmann dot ch --- Tested for AVR, works :-) Thanks, Detlef

[Bug libstdc++/104866] [12 Regression] this_thread_sleep.h doesn't compile if _GLIBCXX_NO_SLEEP is defined

2022-03-11 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104866 --- Comment #3 from dv at vollmann dot ch --- Thanks. Tested for AVR, works :-)

[Bug libstdc++/104870] [12 Regression] fast_float doesn't work for 16-bit size_t, but is used anyway by floating_from_chars.cc

2022-03-10 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104870 --- Comment #3 from dv at vollmann dot ch --- (In reply to Jonathan Wakely from comment #1) > Ah that #if should match the one in Yes, that's better than my patch.

[Bug libstdc++/104870] New: fast_float doesn't work for 16-bit size_t, but is used anyway by floating_from_chars.cc

2022-03-10 Thread dv at vollmann dot ch via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch CC: dv at vollmann dot ch Target Milestone: --- Host: x86_64-linux-gnu Target: avr

[Bug libstdc++/104866] New: this_thread_sleep.h doesn't compile if _GLIBCXX_NO_SLEEP is defined

2022-03-10 Thread dv at vollmann dot ch via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dv at vollmann dot ch CC: dv at vollmann dot ch Target Milestone: --- Host: x86_64-linux-gnu Target: avr Build: x86_64

[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2010-08-11 Thread dv at vollmann dot ch
--- Comment #8 from dv at vollmann dot ch 2010-08-11 10:56 --- Subject: Re: libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc @Ian: I'm surprised that it doesn't work, as libgcc/config/rs6000/t-ppccomm includes crtsavgpr.S and crtresgpr.S in LIB2ADD_ST. I would

[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2010-07-24 Thread dv at vollmann dot ch
--- Comment #3 from dv at vollmann dot ch 2010-07-24 13:35 --- Subject: Re: libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc On 07/24/10 15:22, mikpe at it dot uu dot se wrote: --- Comment #2 from mikpe at it dot uu dot se 2010-07-24 13:22 --- The build