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

            Bug ID: 104859
           Summary: [12 regression] liibg++ fails during bootstrap
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Seen with g:bded0d549fdfdc1328b2c0189dc5f8593b4cbe42 r12-7566-gbded0d549fdfdc
but that is probably not the source.  I am still bisecting this but as it is
breaking the build I thought I should open it right away.

libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-shared-libgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc -nostdinc++
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/src
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-m32 -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/../libgcc
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -std=gnu++17 -nostdinc++
-D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=floating_to_chars.lo -fimplicit-templates -g -O2
-D_GNU_SOURCE -m32 -c
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc 
-fPIC -DPIC -D_GLIBCXX_SHARED -o floating_to_chars.o
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc: In
instantiation of 'std::to_chars_result std::__floating_to_chars_hex(char*,
char*, T, optional<int>) [with T = long double]':
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc:926:37:
  required from 'std::to_chars_result std::__floating_to_chars_shortest(char*,
char*, T, chars_format) [with T = long double]'
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc:1612:40:
  required from here
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc:804:52:
error: cannot convert '{anonymous}::uint128_t' to 'const unsigned int' in
initialization
  804 |         const unsigned nibble = effective_mantissa >>
rounded_mantissa_bits;
      |                                
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                   
{anonymous}::uint128_t
/home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_to_chars.cc:856:56:
error: cannot convert '{anonymous}::uint128_t' to 'const unsigned int' in
initialization
  856 |             const unsigned nibble = effective_mantissa >>
nibble_offset;
      |                                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                                                        |
      |                                                       
{anonymous}::uint128_t
make[9]: *** [floating_to_chars.lo] Error 1

Reply via email to