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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rust                        |tree-optimization

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So I do get the failure on x86_64-linux-gnu with this preprocessed source:
ple-darwin23/libstdc++-v3/include/bits/shared_ptr_base.h:675:35,
    inlined from ‘void std::_Sp_counted_base<_Lp>::_M_release() [with
__gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ at
/scratch/14-son/gcc-master/prev-x86_64-apple-darwin23/libstdc++-v3/include/bits/shared_ptr_base.h:423:18,
    inlined from ‘void std::_Sp_counted_base<_Lp>::_M_release() [with
__gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ at
/scratch/14-son/gcc-master/prev-x86_64-apple-darwin23/libstdc++-v3/include/bits/shared_ptr_base.h:392:5,
    inlined from ‘std::__shared_count<_Lp>::~__shared_count() [with
__gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ at
/scratch/14-son/gcc-master/prev-x86_64-apple-darwin23/libstdc++-v3/include/bits/shared_ptr_base.h:1129:21,
    inlined from ‘std::__shared_ptr<_Tp, _Lp>::~__shared_ptr() [with _Tp =
Rust::Token; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ at
/scratch/14-son/gcc-master/prev-x86_64-apple-darwin23/libstdc++-v3/include/bits/shared_ptr_base.h:1603:7,
    inlined from ‘std::shared_ptr<Rust::Token>::~shared_ptr()’ at
/scratch/14-son/gcc-master/prev-x86_64-apple-darwin23/libstdc++-v3/include/bits/shared_ptr.h:175:11,
    inlined from ‘virtual void
Rust::AST::TokenCollector::visit(Rust::AST::QualifiedPathInType&)’ at
/src-local/gcc-master/gcc/rust/ast/rust-ast-collector.cc:762:31:
/src-local/gcc-master/gcc/rust/ast/rust-fmt.h:68:9: warning: array subscript 2
is outside array bounds of ‘void [24]’ [-Warray-bounds=]

I have not checked anything else yet.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to