diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-10-09 15:06:50 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-10-09 15:06:50 +0000 |
commit | 4b9e1bc78110d65377acdf23ee3733f8c69baef9 (patch) | |
tree | 63fbf5a293c7b24c26396ba37f45eae1f2b6c734 /libcpp/macro.c | |
parent | 005f870e9145c83cba08cab71ed9c0de5bb08e2c (diff) | |
download | gcc-4b9e1bc78110d65377acdf23ee3733f8c69baef9.zip gcc-4b9e1bc78110d65377acdf23ee3733f8c69baef9.tar.gz gcc-4b9e1bc78110d65377acdf23ee3733f8c69baef9.tar.bz2 |
[Ada] Fix incorrect computation of Component_Size in ASIS mode
2018-10-09 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: If
this is not a definition, retrieve the expression in all cases
even if we are just annotating types.
* gcc-interface/trans.c (gnat_to_gnu): Also translate Size
attribute for constrained types in this mode.
From-SVN: r264983
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions