This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/39464] [4.6/4.7/4.8 Regression] Attribute may_alias causes invalid warning


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39464

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-18 22:48:09 UTC ---
Author: jakub
Date: Tue Dec 18 22:48:04 2012
New Revision: 194594

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194594
Log:
    PR c/39464
    * c-typeck.c (convert_for_assignment): For -Wpointer-sign
    warning require that both c_common_unsigned_type as well as
    c_common_signed_type is the same for both mvl and mvr types.

    * gcc.dg/pr39464.c: New test.

Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]