diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-08 16:36:53 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-08 17:24:15 +0200 |
commit | db4062a0cbe00ce4075a4d7f68a2ff15165cd72b (patch) | |
tree | 30eecbf1d1fde76d652ae4fbb123f931b9f46b72 /gcc/ada/gcc-interface/trans.c | |
parent | 2b42509f8b7bdf0a27a6687a941663380b485416 (diff) | |
download | gcc-db4062a0cbe00ce4075a4d7f68a2ff15165cd72b.zip gcc-db4062a0cbe00ce4075a4d7f68a2ff15165cd72b.tar.gz gcc-db4062a0cbe00ce4075a4d7f68a2ff15165cd72b.tar.bz2 |
Small tweak to gnat_to_gnu_param
We mark the type of In parameters in Ada with the const qualifier, but
it is stripped by free_lang_data_in_type so do not do it in LTO mode.
* gcc-interface/decl.c (gnat_to_gnu_param): Do not make a variant
of the type in LTO mode.
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions