]> gcc.gnu.org Git - gcc.git/commit
re PR c/39464 (Attribute may_alias causes invalid warning)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Dec 2012 10:40:26 +0000 (11:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Dec 2012 10:40:26 +0000 (11:40 +0100)
commit1ac13b9c058d6ff982b1fa6cf2fa1515a9692b5e
tree757fae8ae740aefebb4bf8125e86751acc14775f
parent7b8c7831a2482c8a370044f39926f21a3eceb4f3
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: r194630
gcc/testsuite/gcc.dg/pr39464.c [new file with mode: 0644]
This page took 0.055405 seconds and 5 git commands to generate.