[Bug c/39464] [4.6/4.7/4.8 Regression] Attribute may_alias causes invalid warning
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 6 18:21:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39464
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jsm28 at gcc dot gnu.org
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-06 18:21:09 UTC ---
In any case, I'd limit the
/* If there is a mismatch, do warn. */
else if (warn_pointer_sign)
WARN_FOR_ASSIGNMENT (location, OPT_Wpointer_sign,
G_("pointer targets in passing argument "
"%d of %qE differ in signedness"),
G_("pointer targets in assignment "
"differ in signedness"),
G_("pointer targets in initialization "
"differ in signedness"),
G_("pointer targets in return differ "
"in signedness"));
warning to actual sign differences only, i.e.
More information about the Gcc-bugs
mailing list