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

Andrew Carlotti <acarlotti at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acarlotti at gcc dot gnu.org

--- Comment #6 from Andrew Carlotti <acarlotti at gcc dot gnu.org> ---
I'm seeing a bootstrap failure on aarch64-none-linux-gnu as well, bisected to
this commit. The error, in Stage 2, is:


In file included from ../../src/gcc/system.h:726,
                 from ../../src/gcc/tree-affine.cc:21:
In member function 'long int* widest_int_storage<N>::write_val(unsigned int)
[with int N = 131072]',
    inlined from 'typename wi::binary_traits<T, T>::result_type wi::sext(const
T&, unsigned int) [with T = generic_wide_int<widest_int_storage<131072> >]' at
../../src/gcc/wide-int.h:2582:28,
    inlined from 'poly_int<N, typename poly_result<Ca, Ca>::type>
wi::sext(const poly_int<N, C>&, unsigned int) [with unsigned int N = 2; Ca =
generic_wide_int<widest_int_storage<131072> >]' at
../../src/gcc/poly-int.h:746:5,
    inlined from 'poly_widest_int wide_int_ext_for_comb(const poly_widest_int&,
tree)' at ../../src/gcc/tree-affine.cc:49:46:
../../src/gcc/../include/libiberty.h:370:38: error: 'void free(void*)' called
on a pointer to an unallocated object '13450750900837400303'
[-Werror=free-nonheap-object]
  370 | #define XDELETEVEC(P)           free ((void*) (P))
      |                                 ~~~~~^~~~~~~~~~~~~
../../src/gcc/wide-int.h:1630:5: note: in expansion of macro 'XDELETEVEC'
 1630 |     XDELETEVEC (u.valp);
      |     ^~~~~~~~~~
../../src/gcc/../include/libiberty.h:370:38: error: 'void free(void*)' called
on a pointer to an unallocated object '13450750900837400303'
[-Werror=free-nonheap-object]
  370 | #define XDELETEVEC(P)           free ((void*) (P))
      |                                 ~~~~~^~~~~~~~~~~~~
../../src/gcc/wide-int.h:1630:5: note: in expansion of macro 'XDELETEVEC'
 1630 |     XDELETEVEC (u.valp);
      |     ^~~~~~~~~~

Our regression testing also shows the test failures reported in the first
comment for powerpc64.

Reply via email to