]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/39464 (Attribute may_alias causes invalid warning)
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Dec 2012 22:48:04 +0000 (23:48 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Dec 2012 22:48:04 +0000 (23:48 +0100)
commitf8a93a2e9173149c4fad80cb9011d39a45e8d33e
tree0f1e25988565e7ea592b7df8cdc506fc8bd0a2d3
parent69fffc1f0e2bbb7d7eb21909daf3b1b365da4cd2
re PR c/39464 (Attribute may_alias causes invalid warning)

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.

From-SVN: r194594
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog