https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115512

            Bug ID: 115512
           Summary: _Float32 overloads in cmath cause ICE for default AVR
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         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 which both float and
double overloads exist.
I got it for __hypot3, but there are probably several others.
I'm wondering if cmath should provide overloads for _Float32 at all if double
is 32 bits.

The problem can be reproduced with a single line source:

#include <cmath>

avr-g++ -std=gnu++23 -o cmath-only.o -c cmath-only.cc

Reply via email to