public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Peter Bergner <bergner@linux.ibm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] rs6000: Allow conversions of MMA pointer types [PR106017]
Date: Sat, 27 Aug 2022 16:37:23 -0500	[thread overview]
Message-ID: <20220827213722.GL25951@gate.crashing.org> (raw)
In-Reply-To: <c6e228dc-b228-3cb1-4dc0-8859a994ec09@linux.ibm.com>

Hi!

On Sat, Aug 27, 2022 at 01:36:07PM -0500, Peter Bergner wrote:
> GCC incorrectly disables conversions between MMA pointer types, which
> are allowed with clang.  The original intent was to disable conversions
> between MMA types and other other types, but pointer conversions should
> have been allowed.

Such conversions are explicitly allowed in C, even (6.3.2.3/7).

> The fix is to just remove the MMA pointer conversion
> handling code altogether.

Okay for trunk and all backports.  Thanks!


Segher

  reply	other threads:[~2022-08-27 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 18:36 Peter Bergner
2022-08-27 21:37 ` Segher Boessenkool [this message]
2022-08-28  0:47   ` Peter Bergner
2022-08-30  2:06     ` Peter Bergner

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=20220827213722.GL25951@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=bergner@linux.ibm.com \
    --cc=gcc-patches@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).