diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:01:24 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:14:04 +0200 |
commit | ad00a297ec4236b327430c171dfbe7587901ffd7 (patch) | |
tree | 4b41900f1bb918b06dad4b1004ad185a12002bd9 /gcc/ada/gcc-interface/decl.c | |
parent | 65ba91b79e1664ba7e7f60f68e4cb956453b692e (diff) | |
download | gcc-ad00a297ec4236b327430c171dfbe7587901ffd7.zip gcc-ad00a297ec4236b327430c171dfbe7587901ffd7.tar.gz gcc-ad00a297ec4236b327430c171dfbe7587901ffd7.tar.bz2 |
Small housekeeping work in gigi
No functional changes.
* gcc-interface/gigi.h (change_qualified_type): Move around.
(maybe_vector_array): Likewise.
(maybe_padded_object): New static line function.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Component_Size>:
Remove useless code.
<Attr_Null_Parameter>: Remove obsolete code.
(Call_to_gn): Likewise. Use maybe_padded_object to remove padding.
(gnat_to_gnu): Likewise.
<N_String_Literal>: Do not add a useless null character at the end.
<N_Indexed_Component>: Likewise and remove obsolete code.
(add_decl_expr): Likewise.
(maybe_implicit_deref): Likewise.
* gcc-interface/utils.c (maybe_unconstrained_array): Likewise.
* gcc-interface/utils2.c (gnat_invariant_expr): Likewise.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions