re PR ada/22333 (ACATS FAIL c34007p c34007r c45282b spurious discriminant CONSTRAINT_...
commit115a82d3f11547152be8579f1302b2fd544e736f
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu, 17 Nov 2005 21:03:50 +0000 (17 21:03 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 17 Nov 2005 21:03:50 +0000 (17 21:03 +0000)
tree95f067923cc5dea4fd2ea68e19043c449187374c
parentf4e1433a02a9bd5e2ddecd0d346d57876ad53307
re PR ada/22333 (ACATS FAIL c34007p c34007r c45282b spurious discriminant CONSTRAINT_ERROR)

PR ada/22333
* trans.c (gnat_gimplify_expr, case ADDR_EXPR): Always make
a temporary if taking the address of something that is neither
reference, declaration, or constant, since the gimplifier
can't handle that case.

From-SVN: r107134
gcc/ada/ChangeLog
gcc/ada/trans.c