public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-rust@gcc.gnu.org
Subject: [Bug rust/113473] New: rust/compile/iterators1.rs etc. FAIL
Date: Thu, 18 Jan 2024 10:54:21 +0000	[thread overview]
Message-ID: <bug-113473-35322@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 113473
           Summary: rust/compile/iterators1.rs etc. FAIL
           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: sparc-sun-solaris2.11

Since the recent Rust import, two tests FAIL on 32 and 64-bit Solaris/SPARC
in similar ways:

+FAIL: rust/compile/iterators1.rs (test for excess errors)

Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:235:44:
error: mismatched types, expected 'u8' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:246:55:
error: mismatched types, expected 'u8' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:235:44:
error: mismatched types, expected 'u16' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:246:55:
error: mismatched types, expected 'u16' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:235:44:
error: mismatched types, expected 'u32' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:246:55:
error: mismatched types, expected 'u32' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:235:44:
error: mismatched types, expected 'u64' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:246:55:
error: mismatched types, expected 'u64' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:235:44:
error: mismatched types, expected 'usize' but got '()' [E0308]
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/compile/iterators1.rs:246:55:
error: mismatched types, expected 'usize' but got '()' [E0308]

FAIL: rust/execute/torture/iter1.rs   -O0  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O0  compilation failed to produce
executable
+FAIL: rust/execute/torture/iter1.rs   -O1  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O1  compilation failed to produce
executable
+FAIL: rust/execute/torture/iter1.rs   -O2  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O2  compilation failed to produce
executable
+FAIL: rust/execute/torture/iter1.rs   -O2 -flto  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O2 -flto  compilation failed to
produce executable
+FAIL: rust/execute/torture/iter1.rs   -O2 -flto -flto-partition=none  (test
for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O2 -flto -flto-partition=none 
compilation failed to produce executable
+FAIL: rust/execute/torture/iter1.rs   -O3 -g  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -O3 -g  compilation failed to
produce executable
+FAIL: rust/execute/torture/iter1.rs   -Os  (test for excess errors)
+UNRESOLVED: rust/execute/torture/iter1.rs   -Os  compilation failed to produce
executable

Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/rust/execute/torture/iter1.rs:236:44:
error: mismatched types, expected 'u8' but got '()' [E0308]
[...]

Both tests lack big-endian support.

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

             reply	other threads:[~2024-01-18 10:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18 10:54 ro at gcc dot gnu.org [this message]
2024-01-18 10:54 ` [Bug rust/113473] " ro at gcc dot gnu.org
2024-02-10 17:09 ` danglin at gcc dot gnu.org
2024-05-07  7:44 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113473-35322@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-rust@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).