utils.c (unchecked_convert): Tweak comment.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 29 Jun 2019 08:22:35 +0000 (08:22 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 29 Jun 2019 08:22:35 +0000 (08:22 +0000)
commitdb53aa5c98f2698c11e74c755c78f9a32b15e28f
tree9fa157dfece1dea4149623e45254449fb946a2d0
parent8623afc48b8125bf7c98f28d913def7f401570ca
utils.c (unchecked_convert): Tweak comment.

* gcc-interface/utils.c (unchecked_convert): Tweak comment.  Only skip
dereferences when padding to have the same size on both sides.  Do it
for destination types with self-referential size too.

From-SVN: r272821
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/unchecked_convert1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/unchecked_convert2.ads [new file with mode: 0644]