diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-05-13 07:48:50 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-05-13 07:48:50 -0300 |
commit | 6aaa1d573912828efed1514fbec5e1ef8a7cc3bc (patch) | |
tree | e7228d8db053b96f216c7f525d3e5bbec141c15d /gcc/gimple-range.cc | |
parent | 9a79854be0a81faf76fff073f447c2334d47e819 (diff) | |
download | gcc-6aaa1d573912828efed1514fbec5e1ef8a7cc3bc.zip gcc-6aaa1d573912828efed1514fbec5e1ef8a7cc3bc.tar.gz gcc-6aaa1d573912828efed1514fbec5e1ef8a7cc3bc.tar.bz2 |
ada: gcc-if: build proper String_Pointer for Get_External_Name
The compiler is allowed to assume it can access String bounds, such as
the prefix passed to Get_External_Name, even in circumstances in which
the prefix is not going to be used and has_prefix is false, so, from
the C side, we have to build a proper String_Template for the
String_Pointer.
for gcc/ada/ChangeLog
* gcc-interface/decl.cc (is_cplusplus_method): Build proper
String for Get_External_Name.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions