From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D857D388BA57; Thu, 15 Dec 2022 09:51:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D857D388BA57 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671097918; bh=fBrreWVwUkkRUmcro0Sv5cCgeEXaiypf60LY7M4q1Ug=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C0LfwEjt+nRgkcoO40sFBEMwLzCSLiKWT+aq6RctIAGkXxCLYKVWafaygwERNKFaN 770iV4Vi2ebfDTDgy/TDi1AydmN/AfKHbeD676mqfzXLB0mqkPI9Kka9X6gpEufPMt EPP37RzVzZJJ/14ls3nZvH/DeamU6Xa0a0X1pdbY= From: "marxin at gcc dot gnu.org" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/108124] Rust: UBSAN issues when tests are run Date: Thu, 15 Dec 2022 09:51:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108124 --- Comment #1 from Martin Li=C5=A1ka --- ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/rust/compile/macro19.= rs -w /home/marxin/Programming/gcc/gcc/rust/ast/rust-stmt.h:342:48: runtime error: load of value 190, which is not a valid value for type 'bool' #0 0x3546c7e in Rust::AST::ExprStmtWithBlock::is_semicolon_followed() c= onst /home/marxin/Programming/gcc/gcc/rust/ast/rust-stmt.h:342 #1 0x3546c7e in Rust::HIR::ASTLoweringStmt::visit(Rust::AST::ExprStmtWithBlock&) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-stmt.h:78 #2 0x35510cd in Rust::HIR::ASTLoweringStmt::translate(Rust::AST::Stmt*, bool*) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-stmt.h:42 #3 0x3521208 in Rust::HIR::ASTLoweringBlock::visit(Rust::AST::BlockExpr= &) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:113 #4 0x354de9e in Rust::HIR::ASTLoweringBlock::translate(Rust::AST::BlockExpr*, bool*) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-block.h:36 #5 0x36ef7fa in Rust::HIR::ASTLoweringItem::visit(Rust::AST::Function&) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-item.cc:428 #6 0x36b8646 in Rust::HIR::ASTLoweringItem::translate(Rust::AST::Item*) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-item.cc:28 #7 0x351caeb in Rust::HIR::ASTLowering::go() /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:75 #8 0x351f7d9 in Rust::HIR::ASTLowering::Resolve(Rust::AST::Crate&) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:65 #9 0x2afebf5 in Rust::Session::compile_crate(char const*) /home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:549 #10 0x2b0420e in Rust::Session::handle_input_files(int, char const**) /home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362 #11 0x212ce46 in grs_langhook_parse_file /home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184 #12 0xcf3b22e in compile_file /home/marxin/Programming/gcc/gcc/toplev.cc:444 #13 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:= 2125 #14 0xcf4f14d in toplev::main(int, char**) /home/marxin/Programming/gcc/gcc/toplev.cc:2277 #15 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39 #16 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af) #17 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678) #18 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115 --=20 You are receiving this mail because: You are on the CC list for the bug.=