[Ada] Remove inappropriate test from Is_By_Reference_Type
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 21 Jun 2021 14:13:25 +0000 (16:13 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 20 Sep 2021 12:31:27 +0000 (12:31 +0000)
commitd41be878c91e2e72cbd8bd68f793abc2c4b70563
treec5a2106f42ce1621258f7132bbff71a2b0ab7fa0
parent47ee6e6fb99889325835eab87c995db23647c77b
[Ada] Remove inappropriate test from Is_By_Reference_Type

gcc/ada/

* sem_aux.adb (Is_By_Reference_Type): Do not test Error_Posted.
gcc/ada/sem_aux.adb