public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/113417] New: POINTERS_EXTEND_UNSIGNED needs to be address-space specific
@ 2024-01-16  9:12 rguenth at gcc dot gnu.org
  2024-01-16  9:12 ` [Bug middle-end/113417] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-16  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113417
           Summary: POINTERS_EXTEND_UNSIGNED needs to be address-space
                    specific
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

For pointer-to-integer conversions we need to know whether to sign- or
zero-extend.  For the default address-space using ptr_mode (or address-spaces
using ptr_mode and Pmode/word_mode) this is determined by
POINTERS_EXTEND_UNSIGNED.  For address-spaces not adhering to that constraint
we have no idea.

POINTERS_EXTEND_UNSIGNED should be remove in favor of a
TARGET_ADDR_SPACE_POINTERS_EXTEND_UNSIGNED hook specifying the
address-space.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug middle-end/113417] POINTERS_EXTEND_UNSIGNED needs to be address-space specific
  2024-01-16  9:12 [Bug middle-end/113417] New: POINTERS_EXTEND_UNSIGNED needs to be address-space specific rguenth at gcc dot gnu.org
@ 2024-01-16  9:12 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-16  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-01-16
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
For next stage1.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-16  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-16  9:12 [Bug middle-end/113417] New: POINTERS_EXTEND_UNSIGNED needs to be address-space specific rguenth at gcc dot gnu.org
2024-01-16  9:12 ` [Bug middle-end/113417] " rguenth at gcc dot gnu.org

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).