public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug d/106139] New: d: aggregate value used where floating point was expected Date: Wed, 29 Jun 2022 13:31:06 +0000 [thread overview] Message-ID: <bug-106139-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139 Bug ID: 106139 Summary: d: aggregate value used where floating point was expected Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Casting from vector to static array is permitted, and the frontend generates a reinterpret cast, but casting back the other way results in an error. --- __vector(int[4]) vec = [1,2,3,4]; int[4] arr; arr = cast(int[4])vec; // OK vec = cast(__vector(int[4]))arr; // Error
next reply other threads:[~2022-06-29 13:31 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-29 13:31 ibuclaw at gdcproject dot org [this message] 2022-06-29 21:10 ` [Bug d/106139] " ibuclaw at gdcproject dot org 2022-06-29 21:11 ` cvs-commit at gcc dot gnu.org 2022-07-04 13:16 ` cvs-commit at gcc dot gnu.org 2022-07-04 15:54 ` cvs-commit at gcc dot gnu.org 2022-07-05 9:40 ` cvs-commit at gcc dot gnu.org 2022-07-05 9:50 ` ibuclaw at gdcproject dot 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-106139-4@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).