public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42136] Inconsistent strict-aliasing warning with cast from char[]
[not found] <bug-42136-4@http.gcc.gnu.org/bugzilla/>
@ 2021-11-28 4:06 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-28 4:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42136
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |7.2
Resolution|--- |FIXED
Status|NEW |RESOLVED
Known to work| |7.2.0, 8.1.0
Known to fail| |7.1.0
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=80593
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 7.2.0 and above by the patch which fixed PR 80593.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/42136] Inconsistent strict-aliasing warning with cast from char[]
2009-11-21 22:48 [Bug c/42136] New: " astrange at ithinksw dot com
@ 2009-11-21 22:56 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-21 22:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-21 22:56 -------
!alias_sets_conflict_p (set1, set2) should really be alias_set_subset_of
with all the added false positives from the very imprecise frontend code
that this would cause.
Thus, the cast from short[] also should warn.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2009-11-21 22:56:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42136
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-28 4:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-42136-4@http.gcc.gnu.org/bugzilla/>
2021-11-28 4:06 ` [Bug c/42136] Inconsistent strict-aliasing warning with cast from char[] pinskia at gcc dot gnu.org
2009-11-21 22:48 [Bug c/42136] New: " astrange at ithinksw dot com
2009-11-21 22:56 ` [Bug c/42136] " rguenth at gcc dot gnu dot 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).