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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Pierre-Emmanuel Patry from comment #1)
> There is something funny happening here because canonical_paths1.rs should
> not pass, nr2 tests are a list of test with an additional flag. We're using
> it to reduce the gap between both name resolution.
> 
> Does XPASSEs happen solely on Solaris or does it also happen on x86_64 ?

I see them also even on x86_64-linux-gnu.
Basically there is an ICE which is not reported and then the XPASS is due to
the diagnostic showing up.

crab1: internal compiler error: in visit, at
rust/resolve/rust-late-name-resolver-2.0.cc:342
0x2acc11f internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:517
0xb55de1 fancy_abort(char const*, int, char const*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic.cc:1749
0x92df13 Rust::Resolver2_0::Late::visit(Rust::AST::TypePath&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-late-name-resolver-2.0.cc:342
0xc648de void
Rust::AST::DefaultASTVisitor::visit<Rust::AST::Type>(Rust::AST::Type&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/ast/rust-ast-visitor.h:402
0xc648de Rust::AST::DefaultASTVisitor::visit(Rust::AST::InherentImpl&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/ast/rust-ast-visitor.cc:1018
0xe10cf3 std::function<void ()>::operator()() const
       
/home/apinski/src/upstream-gcc-match/gcc/objdir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_function.h:593
0xe10cf3
Rust::Resolver2_0::NameResolutionContext::scoped(Rust::Resolver2_0::Rib::Kind,
unsigned int, std::function<void ()>, tl::optional<Rust::Identifier>)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-name-resolution-context.cc:122
0xe13c6f Rust::Resolver2_0::DefaultResolver::visit(Rust::AST::InherentImpl&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-default-resolver.cc:77
0xc6399f void
Rust::AST::DefaultASTVisitor::visit<Rust::AST::Item>(std::unique_ptr<Rust::AST::Item,
std::default_delete<Rust::AST::Item> >&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/ast/rust-ast-visitor.h:406
0xc6399f Rust::AST::DefaultASTVisitor::visit(Rust::AST::Module&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/ast/rust-ast-visitor.cc:785
0xe10cf3 std::function<void ()>::operator()() const
       
/home/apinski/src/upstream-gcc-match/gcc/objdir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_function.h:593
0xe10cf3
Rust::Resolver2_0::NameResolutionContext::scoped(Rust::Resolver2_0::Rib::Kind,
unsigned int, std::function<void ()>, tl::optional<Rust::Identifier>)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-name-resolution-context.cc:122
0xe14093 Rust::Resolver2_0::DefaultResolver::visit(Rust::AST::Module&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-default-resolver.cc:43
0xe2e9df Rust::Resolver2_0::Late::go(Rust::AST::Crate&)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/resolve/rust-late-name-resolver-2.0.cc:118
0xc925fd Rust::Session::compile_crate(char const*)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/rust/rust-session-manager.cc:648
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1

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

Reply via email to