]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix type mismatch warnings during LTO bootstrap #6
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 8 Feb 2021 11:24:56 +0000 (11:24 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 May 2021 09:29:17 +0000 (05:29 -0400)
commit17ba0ad5294f51c15dcf1e1a176b6f15d71e905e
tree26257f4fa781d284ca13b493395332347f0b3fd1
parentd40dc31924972f90cef920a8f76b3042aefc065d
[Ada] Fix type mismatch warnings during LTO bootstrap #6

gcc/ada/

* gcc-interface/gigi.h (enum standard_datatype): Remove
ADT_exception_data_name_id and add ADT_not_handled_by_others_name_id.
(exception_data_name_id): Delete.
(not_handled_by_others_name_id): New macro.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Exception>: Remove old
kludge for exceptions.
<E_Record_Type>: Likewise.
(gnat_to_gnu_field): Force character type on Not_Handled_By_Others.
* gcc-interface/misc.c (gnat_argv): Change type to char **.
(gnat_init_options): Adjust accordingly.
* gcc-interface/trans.c (gigi): Set not_handled_by_others_name_id
and use it to set not_handled_by_others_decl.
(Exception_Handler_to_gnu_fe_sjlj): Fix indentation.
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/misc.c
gcc/ada/gcc-interface/trans.c