[Bug rust/113477] New: rust/compile/torture/alt_patterns1.rs FAILs

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 18 11:49:54 GMT 2024


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

            Bug ID: 113477
           Summary: rust/compile/torture/alt_patterns1.rs FAILs
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rust
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11, sparc-sun-solaris2.11

Since the recent Rust import, one test FAILs on both 32 and 64-bit
Solaris/SPARC
and x86:

+FAIL: rust/compile/torture/alt_patterns1.rs   -O0  (test for excess errors)
+FAIL: rust/compile/torture/alt_patterns1.rs   -O1  (test for excess errors)
+FAIL: rust/compile/torture/alt_patterns1.rs   -O2  (test for excess errors)
+FAIL: rust/compile/torture/alt_patterns1.rs   -O2 -flto  (test for excess
errors)
+FAIL: rust/compile/torture/alt_patterns1.rs   -O2 -flto -flto-partition=none 
(test for excess errors)
+FAIL: rust/compile/torture/alt_patterns1.rs   -Os  (test for excess errors)

Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/torture/alt_patterns1.rs:14:62:
error: variable 'z' is bound inconsistently across pattern alternatives [E0409]

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


More information about the Gcc-rust mailing list