public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carll at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94833] vec_first_match_index does not function as described in its description Date: Tue, 28 Apr 2020 22:13:54 +0000 [thread overview] Message-ID: <bug-94833-4-VoqKJPhrFF@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-94833-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94833 --- Comment #2 from Carl Love <carll at gcc dot gnu.org> --- The ABI has the builtin VEC_FIRST_MATCH_OR_EOS_ INDEX (ARG1, ARG2) which says Returns the element index of the position of either the first character match or an end-of-string (EOS) terminator. If no match or terminator, returns the number of characters as an element count in the vector argument. So, I do agree the builtin in question should be treating the EOS (null) as any other number for comparison purposes.
next prev parent reply other threads:[~2020-04-28 22:13 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-28 20:43 [Bug c/94833] New: " cjashfor at linux dot ibm.com 2020-04-28 20:56 ` [Bug c/94833] " cjashfor at linux dot ibm.com 2020-04-28 22:13 ` carll at gcc dot gnu.org [this message] 2020-04-28 22:14 ` [Bug target/94833] " carll at gcc dot gnu.org 2020-05-18 17:14 ` cvs-commit at gcc dot gnu.org 2020-06-06 16:46 ` cvs-commit at gcc dot gnu.org 2020-06-10 21:16 ` cvs-commit 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-94833-4-VoqKJPhrFF@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).