public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35980] The canonical type of types with may_alias attribute is incorrect
       [not found] <bug-35980-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-20  3:19 ` pinskia at gcc dot gnu.org
  2024-03-27  4:01 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  3:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, we used to warn (error out for -pedantic-errors) for:
  typedef int __attribute__((may_alias)) mytype;
  mytype a;
  int *p = &a;

But starting in GCC 7, we no longer do.

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

* [Bug c/35980] The canonical type of types with may_alias attribute is incorrect
       [not found] <bug-35980-4@http.gcc.gnu.org/bugzilla/>
  2021-09-20  3:19 ` [Bug c/35980] The canonical type of types with may_alias attribute is incorrect pinskia at gcc dot gnu.org
@ 2024-03-27  4:01 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-27  4:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> But starting in GCC 7, we no longer do.

that changed in r7-1272-g5545a9071573a5 .

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

end of thread, other threads:[~2024-03-27  4:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35980-4@http.gcc.gnu.org/bugzilla/>
2021-09-20  3:19 ` [Bug c/35980] The canonical type of types with may_alias attribute is incorrect pinskia at gcc dot gnu.org
2024-03-27  4:01 ` pinskia 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).