Fix small inconsistency in new predicate
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 12 Sep 2020 10:47:39 +0000 (12:47 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Sat, 12 Sep 2020 10:47:39 +0000 (12:47 +0200)
commitfe47e8163928d2cc42ad84634cfd147f948aad4a
treec88158b031825e42dd913860df20550440e007d2
parentb440715089382938b9729d20f5dcaf646e6372fd
Fix small inconsistency in new predicate

This can result on the mainline in a segfault when an object declared
at library level is used in the declaration of another, local object.

gcc/ada/ChangeLog:
* gcc-interface/trans.c (lvalue_for_aggr_p) <N_Object_Declaration>:
Return false unconditionally.
gcc/ada/gcc-interface/trans.c