[PR 88214] Check that an argument is a pointer
authorMartin Jambor <mjambor@suse.cz>
Mon, 10 Dec 2018 12:45:47 +0000 (13:45 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 10 Dec 2018 12:45:47 +0000 (13:45 +0100)
commit63831879cf8e62d7dcae37bc339ffbd6b316087b
tree622ddf58d4b3839a8439cdbfb39e9d47347a5d81
parentf473762515b29ef24c34f52f6c82e2c8a4c275a6
[PR 88214] Check that an argument is a pointer

2018-12-10  Martin Jambor  <mjambor@suse.cz>

PR ipa/88214
* ipa-prop.c (determine_locally_known_aggregate_parts): Make sure
we check pointers against pointers.

testsuite/
* gcc.dg/ipa/pr88214.c: New test.

From-SVN: r266953
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr88214.c [new file with mode: 0644]