Adjust integer <-> pointer conversion IL checking
authorRichard Biener <rguenther@suse.de>
Tue, 14 Jan 2020 09:42:47 +0000 (10:42 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 6 May 2020 06:41:17 +0000 (08:41 +0200)
commit3f969affaf77cc21583941b0e0652c286c433d26
tree5e1e0e0d6e7ed64cea7106cd047802541a809758
parentcc80c1e4232a71080e793c7147e0830b88bda937
Adjust integer <-> pointer conversion IL checking

The existing check doesn't reflect the actual reason why it exists,
the patch makes us to use POINTERS_EXTEND_UNSIGNED instead which
is specified for ptr_mode and word_mode/Pmode precision.

2020-05-06  Richard Biener  <rguenther@suse.de>

* tree-cfg.c (verify_gimple_assign_unary): Adjust integer
to/from pointer conversion checking.
gcc/ChangeLog
gcc/tree-cfg.c