public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/113762] New: TYPE_ADDR_SPACE requirements on tcc_reference trees not documented/checked
@ 2024-02-05 10:02 rguenth at gcc dot gnu.org
  2024-02-05 10:03 ` [Bug middle-end/113762] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-02-05 10:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113762
           Summary: TYPE_ADDR_SPACE requirements on tcc_reference trees
                    not documented/checked
           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: ---

There's not much documentation on what part of a tcc_reference chain
(handled_component_p + base) needs to reflect the TYPE_ADDR_SPACE in effect.
RTL expansion looks at the base of the chain but for example
build_fold_addr_expr_loc simply looks at the outermost object.

There's also no IL checking in place to verify consistency within such a chain.

And test coverage isn't too great for address-spaces in general.

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

* [Bug middle-end/113762] TYPE_ADDR_SPACE requirements on tcc_reference trees not documented/checked
  2024-02-05 10:02 [Bug middle-end/113762] New: TYPE_ADDR_SPACE requirements on tcc_reference trees not documented/checked rguenth at gcc dot gnu.org
@ 2024-02-05 10:03 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-02-05 10:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

end of thread, other threads:[~2024-02-05 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 10:02 [Bug middle-end/113762] New: TYPE_ADDR_SPACE requirements on tcc_reference trees not documented/checked rguenth at gcc dot gnu.org
2024-02-05 10:03 ` [Bug middle-end/113762] " 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).