re PR ada/65451 (compiler crash on volatile access type)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 20 Mar 2015 10:15:33 +0000 (10:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 20 Mar 2015 10:15:33 +0000 (10:15 +0000)
commit1e039275b5781ba03565686eb723cb834919819a
tree4035a5586369dd3cd26cad3bce555d887108328d
parent7ce7e4d49497bb1b3459dd6e35dea6b7327531d5
re PR ada/65451 (compiler crash on volatile access type)

PR ada/65451
* gcc-interface/utils.c (gnat_pushdecl): Tidy up and improve comment.
Make sure to chain only main variants through TYPE_NEXT_PTR_TO.

From-SVN: r221531
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/volatile13.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/volatile13.ads [new file with mode: 0644]