This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix lto-symtab ICE during Ada LTO bootstrap
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Nov 2015 02:20:37 +0100
- Subject: Re: Fix lto-symtab ICE during Ada LTO bootstrap
- Authentication-results: sourceware.org; auth=none
- References: <20151121182122 dot GB23225 at kam dot mff dot cuni dot cz> <1690140 dot OfB3ATH0FC at polaris> <20151122144618 dot GA9645 at adacore dot com>
> > > ../../gcc/ada/s-os_lib.adb:1007:16: note: return value type
> > > mismatch
> > > function strerror (errnum : Integer) return System.Address;
> > > ^
> > >
> > > ../../gcc/ada/s-os_lib.adb:1007:16: note:
> > > ???system__os_lib__errno_message__strerror??? was previously
> > > declared here
> > >
> > > Here we have function returning pointer WRT function returning integer:
> >
> > This one is on purpose and cannot be easily changed. Pointer types (or access
> > types as called in Ada) are avoided as much as possible in the runtime because
> > they drag the accessibility machinery, which is the machinery present in
> > the
> > language to eliminate dangling references and is heavy; so they are usually
> > imported as System.Address instead.
>
> This particular instance can probably be fixed, I'll give it a shot when I
> get a chance. But you're right that the general issue is that System.Address
> is often used as a void*
Hi,
I updated the warning to actually check if the TBAA information is in conflict
and silence warnings on allowed type transtions that are not useless_type_conversion_p
(which is needed for Fortran, too). This is list of warnings I get which I suppose will
need to be adressed.
../../libiberty/xstrerror.c:40:14: warning: type of âstrerrorâ does not match original declaration [-Wlto-type-mismatch]
extern char *strerror (int);
^
../../gcc/ada/s-os_lib.adb:1007:16: note: return value type mismatch
function strerror (errnum : Integer) return System.Address;
^
../../libiberty/xstrerror.c:40:14: note: code may be misoptimized unless -fno-strict-aliasing is used
extern char *strerror (int);
^
../../gcc/ada/s-os_lib.adb:1007:16: note: âsystem__os_lib__errno_message__strerrorâ was previously declared here
function strerror (errnum : Integer) return System.Address;
^
../../gcc/ada/s-os_lib.adb:1207:7: warning: type of âtarget_object_ext_ptrâ does not match original declaration [-Wlto-type-mismatch]
Target_Object_Ext_Ptr : Address;
^
../../gcc/ada/s-os_lib.adb:1207:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/targext.c:60:13: note: â__gnat_target_object_extensionâ was previously declared here
const char *__gnat_target_object_extension = TARGET_OBJECT_SUFFIX;
^
../../gcc/ada/s-os_lib.adb:1183:7: warning: type of âtarget_exec_ext_ptrâ does not match original declaration [-Wlto-type-mismatch]
Target_Exec_Ext_Ptr : Address;
^
../../gcc/ada/s-os_lib.adb:1183:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/targext.c:61:13: note: â__gnat_target_executable_extensionâ was previously declared here
const char *__gnat_target_executable_extension = TARGET_EXECUTABLE_SUFFIX;
^
../../gcc/ada/s-os_lib.adb:1159:7: warning: type of âtarget_exec_ext_ptrâ does not match original declaration [-Wlto-type-mismatch]
Target_Exec_Ext_Ptr : Address;
^
../../gcc/ada/s-os_lib.adb:1159:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/targext.c:62:13: note: â__gnat_target_debuggable_extensionâ was previously declared here
const char *__gnat_target_debuggable_extension = TARGET_EXECUTABLE_SUFFIX;
^
../../gcc/ada/osint.adb:3214:16: warning: type of âosint__update_path__c_update_pathâ does not match original declaration [-Wlto-type-mismatch]
function C_Update_Path (Path, Component : Address) return Address;
^
../../gcc/prefix.c:247:1: note: return value type mismatch
update_path (const char *path, const char *key)
^
../../gcc/ada/osint.adb:3214:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Update_Path (Path, Component : Address) return Address;
^
../../gcc/prefix.c:247:1: note: âupdate_pathâ was previously declared here
update_path (const char *path, const char *key)
^
../../gcc/ada/s-os_lib.adb:2717:17: warning: type of âsystem__os_lib__setenv__set_env_valueâ does not match original declaration [-Wlto-type-mismatch]
procedure Set_Env_Value (Name, Value : System.Address);
^
../../gcc/ada/env.c:116:1: note: type mismatch in parameter 1
__gnat_setenv (char *name, char *value)
^
../../gcc/ada/s-os_lib.adb:2717:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Set_Env_Value (Name, Value : System.Address);
^
../../gcc/ada/env.c:116:1: note: â__gnat_setenvâ was previously declared here
__gnat_setenv (char *name, char *value)
^
../../gcc/ada/s-os_lib.adb:1231:17: warning: type of âsystem__os_lib__getenv__get_env_value_ptrâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Env_Value_Ptr (Name, Length, Ptr : Address);
^
../../gcc/ada/env.c:91:1: note: type mismatch in parameter 1
__gnat_getenv (char *name, int *len, char **value)
^
../../gcc/ada/s-os_lib.adb:1231:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Env_Value_Ptr (Name, Length, Ptr : Address);
^
../../gcc/ada/env.c:91:1: note: â__gnat_getenvâ was previously declared here
__gnat_getenv (char *name, int *len, char **value)
^
<built-in>: warning: type of â__builtin_strncpyâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/osint.adb:425:20: note: return value type mismatch
procedure Strncpy (X : Address; Y : Address; Length : Integer);
^
<built-in>: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/osint.adb:425:20: note: âosint__add_default_search_dirs__get_libraries_from_registry__strncpyâ was previously declared here
<built-in>: warning: type of â__builtin_strlenâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/osint.adb:422:19: note: return value type mismatch
function Strlen (Str : Address) return Integer;
^
../../gcc/ada/osint.adb:422:19: note: type âintegerâ should match type âlong unsigned intâ
<built-in>: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of â__builtin_strlenâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/osint.adb:422:19: note: return value type mismatch
../../gcc/ada/osint.adb:422:19: note: type âintegerâ should match type âlong unsigned intâ
<built-in>: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of â__builtin_strlenâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/osint.adb:422:19: note: return value type mismatch
../../gcc/ada/osint.adb:422:19: note: type âintegerâ should match type âlong unsigned intâ
<built-in>: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of â__builtin_strlenâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/osint.adb:422:19: note: return value type mismatch
../../gcc/ada/osint.adb:422:19: note: type âintegerâ should match type âlong unsigned intâ
<built-in>: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/osint.adb:422:19: note: âosint__add_default_search_dirs__get_libraries_from_registry__strlenâ was previously declared here
../../gcc/ada/gnatvsn.adb:57:4: warning: type of âgnatvsn__version_stringâ does not match original declaration [-Wlto-type-mismatch]
Version_String : char_array (0 .. Ver_Len_Max - 1);
^
../../gcc/version.c:34:12: note: array types have different bounds
const char version_string[] = BASEVER DATESTAMP DEVPHASE REVISION;
^
../../gcc/version.c:34:12: note: âversion_stringâ was previously declared here
../../gcc/ada/s-os_lib.adb:57:13: warning: type of âsystem__os_lib__copy_attributesâ does not match original declaration [-Wlto-type-mismatch]
function Copy_Attributes
^
../../gcc/ada/adaint.c:2911:1: note: type mismatch in parameter 1
__gnat_copy_attribs (char *from ATTRIBUTE_UNUSED, char *to ATTRIBUTE_UNUSED,
^
../../gcc/ada/s-os_lib.adb:57:13: note: code may be misoptimized unless -fno-strict-aliasing is used
function Copy_Attributes
^
../../gcc/ada/adaint.c:2911:1: note: â__gnat_copy_attribsâ was previously declared here
__gnat_copy_attribs (char *from ATTRIBUTE_UNUSED, char *to ATTRIBUTE_UNUSED,
^
../../gcc/ada/osint.adb:3156:16: warning: type of âosint__to_host_file_spec__to_host_file_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Host_File_Spec (Canonical_File : Address) return Address;
^
../../gcc/ada/adaint.c:2854:1: note: return value type mismatch
__gnat_to_host_file_spec (char *filespec)
^
../../gcc/ada/adaint.c:2854:1: note: â__gnat_to_host_file_specâ was previously declared here
../../gcc/ada/osint.adb:3122:16: warning: type of âosint__to_host_dir_spec__to_host_dir_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Host_Dir_Spec
^
../../gcc/ada/adaint.c:2848:1: note: return value type mismatch
__gnat_to_host_dir_spec (char *dirspec, int prefixflag ATTRIBUTE_UNUSED)
^
../../gcc/ada/adaint.c:2848:1: note: â__gnat_to_host_dir_specâ was previously declared here
../../gcc/ada/osint.adb:3088:16: warning: type of âosint__to_canonical_path_spec__to_canonical_path_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_Path_Spec (Host_Path : Address) return Address;
^
../../gcc/ada/adaint.c:2842:1: note: return value type mismatch
__gnat_to_canonical_path_spec (char *pathspec)
^
../../gcc/ada/adaint.c:2842:1: note: â__gnat_to_canonical_path_specâ was previously declared here
../../gcc/ada/osint.adb:3053:16: warning: type of âosint__to_canonical_file_spec__to_canonical_file_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_File_Spec (Host_File : Address) return Address;
^
../../gcc/ada/adaint.c:2836:1: note: return value type mismatch
__gnat_to_canonical_file_spec (char *filespec)
^
../../gcc/ada/s-os_lib.adb:2019:16: warning: type of âsystem__os_lib__normalize_pathname__to_canonical_file_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_File_Spec
^
../../gcc/ada/adaint.c:2836:1: note: return value type mismatch
__gnat_to_canonical_file_spec (char *filespec)
^
../../gcc/ada/adaint.c:2836:1: note: â__gnat_to_canonical_file_specâ was previously declared here
../../gcc/ada/osint.adb:2955:16: warning: type of âosint__to_canonical_dir_spec__to_canonical_dir_specâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_Dir_Spec
^
../../gcc/ada/adaint.c:2830:1: note: return value type mismatch
__gnat_to_canonical_dir_spec (char *dirspec, int prefixflag ATTRIBUTE_UNUSED)
^
../../gcc/ada/adaint.c:2830:1: note: â__gnat_to_canonical_dir_specâ was previously declared here
../../gcc/ada/osint.adb:3002:16: warning: type of âosint__to_canonical_file_list__to_canonical_file_list_nextâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_File_List_Next return Address;
^
../../gcc/ada/adaint.c:2818:1: note: return value type mismatch
__gnat_to_canonical_file_list_next (void)
^
../../gcc/ada/adaint.c:2818:1: note: â__gnat_to_canonical_file_list_nextâ was previously declared here
../../gcc/ada/osint.adb:2996:16: warning: type of âosint__to_canonical_file_list__to_canonical_file_list_initâ does not match original declaration [-Wlto-type-mismatch]
function To_Canonical_File_List_Init
^
../../gcc/ada/adaint.c:2811:1: note: type mismatch in parameter 1
__gnat_to_canonical_file_list_init (char *dirspec ATTRIBUTE_UNUSED,
^
../../gcc/ada/adaint.c:2811:1: note: â__gnat_to_canonical_file_list_initâ was previously declared here
../../gcc/ada/s-os_lib.adb:1640:16: warning: type of âsystem__os_lib__locate_exec_on_path__locate_exec_on_pathâ does not match original declaration [-Wlto-type-mismatch]
function Locate_Exec_On_Path (C_Exec_Name : Address) return Address;
^
../../gcc/ada/adaint.c:2766:1: note: return value type mismatch
__gnat_locate_exec_on_path (char *exec_name)
^
../../gcc/ada/s-os_lib.adb:1640:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Locate_Exec_On_Path (C_Exec_Name : Address) return Address;
^
../../gcc/ada/adaint.c:2766:1: note: â__gnat_locate_exec_on_pathâ was previously declared here
__gnat_locate_exec_on_path (char *exec_name)
^
../../gcc/ada/s-os_lib.adb:1686:16: warning: type of âsystem__os_lib__locate_regular_file__locate_regular_file__2â does not match original declaration [-Wlto-type-mismatch]
function Locate_Regular_File
^
../../gcc/ada/adaint.c:2731:1: note: return value type mismatch
__gnat_locate_regular_file (char *file_name, char *path_val)
^
../../gcc/ada/s-os_lib.adb:1686:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Locate_Regular_File
^
../../gcc/ada/adaint.c:2731:1: note: â__gnat_locate_regular_fileâ was previously declared here
__gnat_locate_regular_file (char *file_name, char *path_val)
^
../../gcc/ada/s-os_lib.adb:2977:16: warning: type of âsystem__os_lib__wait_process__portable_waitâ does not match original declaration [-Wlto-type-mismatch]
function Portable_Wait (S : Address) return Process_Id;
^
../../gcc/ada/adaint.c:2588:1: note: type mismatch in parameter 1
__gnat_portable_wait (int *process_status)
^
../../gcc/ada/s-os_lib.adb:2977:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Portable_Wait (S : Address) return Process_Id;
^
../../gcc/ada/adaint.c:2588:1: note: â__gnat_portable_waitâ was previously declared here
__gnat_portable_wait (int *process_status)
^
../../gcc/ada/s-os_lib.adb:2869:19: warning: type of âsystem__os_lib__spawn_internal__spawn__portable_no_block_spawnâ does not match original declaration [-Wlto-type-mismatch]
function Portable_No_Block_Spawn (Args : Address) return Process_Id;
^
../../gcc/ada/adaint.c:2550:1: note: type mismatch in parameter 1
__gnat_portable_no_block_spawn (char *args[] ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:2869:19: note: code may be misoptimized unless -fno-strict-aliasing is used
function Portable_No_Block_Spawn (Args : Address) return Process_Id;
^
../../gcc/ada/adaint.c:2550:1: note: â__gnat_portable_no_block_spawnâ was previously declared here
__gnat_portable_no_block_spawn (char *args[] ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:2866:19: warning: type of âsystem__os_lib__spawn_internal__spawn__portable_spawnâ does not match original declaration [-Wlto-type-mismatch]
function Portable_Spawn (Args : Address) return Integer;
^
../../gcc/ada/adaint.c:2176:1: note: type mismatch in parameter 1
__gnat_portable_spawn (char *args[] ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:2866:19: note: code may be misoptimized unless -fno-strict-aliasing is used
function Portable_Spawn (Args : Address) return Integer;
^
../../gcc/ada/adaint.c:2176:1: note: â__gnat_portable_spawnâ was previously declared here
__gnat_portable_spawn (char *args[] ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:1560:16: warning: type of âsystem__os_lib__is_symbolic_link__is_symbolic_link__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Symbolic_Link (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:2160:1: note: type mismatch in parameter 1
__gnat_is_symbolic_link (char *name ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:1560:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Symbolic_Link (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:2160:1: note: â__gnat_is_symbolic_linkâ was previously declared here
__gnat_is_symbolic_link (char *name ATTRIBUTE_UNUSED)
^
../../gcc/ada/osint.adb:1772:16: warning: type of âosint__is_symbolic_link__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:2139:1: note: type mismatch in parameter 1
__gnat_is_symbolic_link_attr (char* name ATTRIBUTE_UNUSED,
^
../../gcc/ada/osint.adb:1772:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:2139:1: note: â__gnat_is_symbolic_link_attrâ was previously declared here
__gnat_is_symbolic_link_attr (char* name ATTRIBUTE_UNUSED,
^
../../gcc/ada/s-os_lib.adb:2658:17: warning: type of âsystem__os_lib__set_non_readable__c_set_non_readableâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_Non_Readable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2118:1: note: type mismatch in parameter 1
__gnat_set_non_readable (char *name)
^
../../gcc/ada/s-os_lib.adb:2658:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_Non_Readable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2118:1: note: â__gnat_set_non_readableâ was previously declared here
__gnat_set_non_readable (char *name)
^
../../gcc/ada/s-os_lib.adb:2686:17: warning: type of âsystem__os_lib__set_readable__c_set_readableâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_Readable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2097:1: note: type mismatch in parameter 1
__gnat_set_readable (char *name)
^
../../gcc/ada/s-os_lib.adb:2686:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_Readable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2097:1: note: â__gnat_set_readableâ was previously declared here
__gnat_set_readable (char *name)
^
../../gcc/ada/s-os_lib.adb:2672:17: warning: type of âsystem__os_lib__set_non_writable__c_set_non_writableâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_Non_Writable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2070:1: note: type mismatch in parameter 1
__gnat_set_non_writable (char *name)
^
../../gcc/ada/s-os_lib.adb:2672:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_Non_Writable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2070:1: note: â__gnat_set_non_writableâ was previously declared here
__gnat_set_non_writable (char *name)
^
../../gcc/ada/s-os_lib.adb:2630:17: warning: type of âsystem__os_lib__set_executable__c_set_executableâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_Executable (Name : C_File_Name; Mode : Integer);
^
../../gcc/ada/adaint.c:2043:1: note: type mismatch in parameter 1
__gnat_set_executable (char *name, int mode ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:2630:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_Executable (Name : C_File_Name; Mode : Integer);
^
../../gcc/ada/adaint.c:2043:1: note: â__gnat_set_executableâ was previously declared here
__gnat_set_executable (char *name, int mode ATTRIBUTE_UNUSED)
^
../../gcc/ada/s-os_lib.adb:2700:17: warning: type of âsystem__os_lib__set_writable__c_set_writableâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_Writable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2014:1: note: type mismatch in parameter 1
__gnat_set_writable (char *name)
^
../../gcc/ada/s-os_lib.adb:2700:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_Writable (Name : C_File_Name);
^
../../gcc/ada/adaint.c:2014:1: note: â__gnat_set_writableâ was previously declared here
__gnat_set_writable (char *name)
^
../../gcc/ada/s-os_lib.adb:1522:16: warning: type of âsystem__os_lib__is_executable_file__is_executable_file__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Executable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:2005:1: note: type mismatch in parameter 1
__gnat_is_executable_file (char *name)
^
../../gcc/ada/s-os_lib.adb:1522:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Executable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:2005:1: note: â__gnat_is_executable_fileâ was previously declared here
__gnat_is_executable_file (char *name)
^
../../gcc/ada/osint.adb:1733:16: warning: type of âosint__is_executable_file__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1965:1: note: type mismatch in parameter 1
__gnat_is_executable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1733:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1965:1: note: â__gnat_is_executable_file_attrâ was previously declared here
__gnat_is_executable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/s-os_lib.adb:1579:16: warning: type of âsystem__os_lib__is_writable_file__is_writable_file__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Writable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1956:1: note: type mismatch in parameter 1
__gnat_is_writable_file (char *name)
^
../../gcc/ada/s-os_lib.adb:1579:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Writable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1956:1: note: â__gnat_is_writable_fileâ was previously declared here
__gnat_is_writable_file (char *name)
^
../../gcc/ada/osint.adb:1785:16: warning: type of âosint__is_writable_file__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1924:1: note: type mismatch in parameter 1
__gnat_is_writable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1785:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1924:1: note: â__gnat_is_writable_file_attrâ was previously declared here
__gnat_is_writable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/s-os_lib.adb:1503:16: warning: type of âsystem__os_lib__is_readable_file__is_readable_file__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Readable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1915:1: note: type mismatch in parameter 1
__gnat_is_readable_file (char *name)
^
../../gcc/ada/s-os_lib.adb:1503:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Readable_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1915:1: note: â__gnat_is_readable_fileâ was previously declared here
__gnat_is_readable_file (char *name)
^
../../gcc/ada/osint.adb:1746:16: warning: type of âosint__is_readable_file__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1887:1: note: type mismatch in parameter 1
__gnat_is_readable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1746:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1887:1: note: â__gnat_is_readable_file_attrâ was previously declared here
__gnat_is_readable_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/s-os_lib.adb:1484:16: warning: type of âsystem__os_lib__is_directory__is_directory__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Directory (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1688:1: note: type mismatch in parameter 1
__gnat_is_directory (char *name)
^
../../gcc/ada/s-os_lib.adb:1484:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Directory (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1688:1: note: â__gnat_is_directoryâ was previously declared here
__gnat_is_directory (char *name)
^
../../gcc/ada/osint.adb:1695:16: warning: type of âosint__is_directory__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1679:1: note: type mismatch in parameter 1
__gnat_is_directory_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1695:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1679:1: note: â__gnat_is_directory_attrâ was previously declared here
__gnat_is_directory_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1759:16: warning: type of âosint__is_regular_file__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1651:1: note: type mismatch in parameter 1
__gnat_is_regular_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1759:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return Integer;
^
../../gcc/ada/adaint.c:1651:1: note: â__gnat_is_regular_file_attrâ was previously declared here
__gnat_is_regular_file_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/s-os_lib.adb:1471:16: warning: type of âsystem__os_lib__is_absolute_path__is_absolute_pathâ does not match original declaration [-Wlto-type-mismatch]
function Is_Absolute_Path
^
../../gcc/ada/adaint.c:1616:1: note: type mismatch in parameter 1
__gnat_is_absolute_path (char *name, int length)
^
../../gcc/ada/s-os_lib.adb:1471:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Absolute_Path
^
../../gcc/ada/adaint.c:1616:1: note: â__gnat_is_absolute_pathâ was previously declared here
__gnat_is_absolute_path (char *name, int length)
^
../../gcc/ada/s-os_lib.adb:1541:16: warning: type of âsystem__os_lib__is_regular_file__is_regular_file__2â does not match original declaration [-Wlto-type-mismatch]
function Is_Regular_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1660:1: note: type mismatch in parameter 1
__gnat_is_regular_file (char *name)
^
../../gcc/ada/s-os_lib.adb:1541:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Is_Regular_File (Name : Address) return Integer;
^
../../gcc/ada/adaint.c:1660:1: note: â__gnat_is_regular_fileâ was previously declared here
__gnat_is_regular_file (char *name)
^
../../gcc/ada/s-os_lib.adb:1071:16: warning: type of âsystem__os_lib__file_time_stamp__file_time__3â does not match original declaration [-Wlto-type-mismatch]
function File_Time (Name : Address) return OS_Time;
^
../../gcc/ada/adaint.c:1370:1: note: type mismatch in parameter 1
__gnat_file_time_name (char *name)
^
../../gcc/ada/s-os_lib.adb:1071:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function File_Time (Name : Address) return OS_Time;
^
../../gcc/ada/adaint.c:1370:1: note: â__gnat_file_time_nameâ was previously declared here
__gnat_file_time_name (char *name)
^
../../gcc/ada/osint.adb:1105:16: warning: type of âosint__file_time_stamp__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal (N : C_File_Name; A : System.Address) return OS_Time;
^
../../gcc/ada/adaint.c:1349:1: note: type mismatch in parameter 1
__gnat_file_time_name_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1105:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal (N : C_File_Name; A : System.Address) return OS_Time;
^
../../gcc/ada/adaint.c:1349:1: note: â__gnat_file_time_name_attrâ was previously declared here
__gnat_file_time_name_attr (char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1083:16: warning: type of âosint__file_length__internalâ does not match original declaration [-Wlto-type-mismatch]
function Internal
^
../../gcc/ada/adaint.c:1088:1: note: type mismatch in parameter 2
__gnat_file_length_attr (int fd, char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:1083:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Internal
^
../../gcc/ada/adaint.c:1088:1: note: â__gnat_file_length_attrâ was previously declared here
__gnat_file_length_attr (int fd, char* name, struct file_attributes* attr)
^
../../gcc/ada/osint.adb:418:19: warning: type of âosint__add_default_search_dirs__get_libraries_from_registry__c_get_libraries_from_registryâ does not match original declaration [-Wlto-type-mismatch]
function C_Get_Libraries_From_Registry return Address;
^
../../gcc/ada/adaint.c:1458:1: note: return value type mismatch
__gnat_get_libraries_from_registry (void)
^
../../gcc/ada/osint.adb:418:19: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Get_Libraries_From_Registry return Address;
^
../../gcc/ada/adaint.c:1458:1: note: â__gnat_get_libraries_from_registryâ was previously declared here
__gnat_get_libraries_from_registry (void)
^
../../gcc/ada/s-os_lib.adb:2644:17: warning: type of âsystem__os_lib__set_file_last_modify_time_stamp__c_set_file_timeâ does not match original declaration [-Wlto-type-mismatch]
procedure C_Set_File_Time (Name : C_File_Name; Time : OS_Time);
^
../../gcc/ada/adaint.c:1407:1: note: type mismatch in parameter 1
__gnat_set_file_time_name (char *name, time_t time_stamp)
^
../../gcc/ada/s-os_lib.adb:2644:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure C_Set_File_Time (Name : C_File_Name; Time : OS_Time);
^
../../gcc/ada/adaint.c:1407:1: note: â__gnat_set_file_time_nameâ was previously declared here
__gnat_set_file_time_name (char *name, time_t time_stamp)
^
../../gcc/ada/s-os_lib.adb:800:16: warning: type of âsystem__os_lib__create_temp_file__open_new_tempâ does not match original declaration [-Wlto-type-mismatch]
function Open_New_Temp
^
../../gcc/ada/adaint.c:980:1: note: type mismatch in parameter 1
__gnat_open_new_temp (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:800:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Open_New_Temp
^
../../gcc/ada/adaint.c:980:1: note: â__gnat_open_new_tempâ was previously declared here
__gnat_open_new_temp (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:757:16: warning: type of âsystem__os_lib__create_new_file__c_create_new_file__2â does not match original declaration [-Wlto-type-mismatch]
function C_Create_New_File
^
../../gcc/ada/adaint.c:955:1: note: type mismatch in parameter 1
__gnat_open_new (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:757:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Create_New_File
^
../../gcc/ada/adaint.c:955:1: note: â__gnat_open_newâ was previously declared here
__gnat_open_new (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2455:16: warning: type of âsystem__os_lib__open_append__c_open_append__2â does not match original declaration [-Wlto-type-mismatch]
function C_Open_Append
^
../../gcc/ada/adaint.c:930:1: note: type mismatch in parameter 1
__gnat_open_append (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2455:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Open_Append
^
../../gcc/ada/adaint.c:930:1: note: â__gnat_open_appendâ was previously declared here
__gnat_open_append (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:857:19: warning: type of âsystem__os_lib__create_temp_file_internal__create_new_output_text_file__c_create_fileâ does not match original declaration [-Wlto-type-mismatch]
function C_Create_File (Name : C_File_Name) return File_Descriptor;
^
../../gcc/ada/adaint.c:912:1: note: type mismatch in parameter 1
__gnat_create_output_file_new (char *path)
^
../../gcc/ada/s-os_lib.adb:857:19: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Create_File (Name : C_File_Name) return File_Descriptor;
^
../../gcc/ada/adaint.c:912:1: note: â__gnat_create_output_file_newâ was previously declared here
__gnat_create_output_file_new (char *path)
^
../../gcc/ada/s-os_lib.adb:781:16: warning: type of âsystem__os_lib__create_output_text_file__c_create_fileâ does not match original declaration [-Wlto-type-mismatch]
function C_Create_File (Name : C_File_Name) return File_Descriptor;
^
../../gcc/ada/adaint.c:894:1: note: type mismatch in parameter 1
__gnat_create_output_file (char *path)
^
../../gcc/ada/s-os_lib.adb:781:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Create_File (Name : C_File_Name) return File_Descriptor;
^
../../gcc/ada/adaint.c:894:1: note: â__gnat_create_output_fileâ was previously declared here
__gnat_create_output_file (char *path)
^
../../gcc/ada/s-os_lib.adb:730:16: warning: type of âsystem__os_lib__create_file__c_create_file__2â does not match original declaration [-Wlto-type-mismatch]
function C_Create_File
^
../../gcc/ada/adaint.c:871:1: note: type mismatch in parameter 1
__gnat_open_create (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:730:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Create_File
^
../../gcc/ada/adaint.c:871:1: note: â__gnat_open_createâ was previously declared here
__gnat_open_create (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2509:16: warning: type of âsystem__os_lib__open_read_write__c_open_read_write__2â does not match original declaration [-Wlto-type-mismatch]
function C_Open_Read_Write
^
../../gcc/ada/adaint.c:848:1: note: type mismatch in parameter 1
__gnat_open_rw (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2509:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Open_Read_Write
^
../../gcc/ada/adaint.c:848:1: note: â__gnat_open_rwâ was previously declared here
__gnat_open_rw (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2482:16: warning: type of âsystem__os_lib__open_read__c_open_read__2â does not match original declaration [-Wlto-type-mismatch]
function C_Open_Read
^
../../gcc/ada/adaint.c:817:1: note: type mismatch in parameter 1
__gnat_open_read (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2482:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function C_Open_Read
^
../../gcc/ada/adaint.c:817:1: note: â__gnat_open_readâ was previously declared here
__gnat_open_read (char *path, int fmode)
^
../../gcc/ada/s-os_lib.adb:2585:16: warning: type of âsystem__os_lib__rename_file__rename__2â does not match original declaration [-Wlto-type-mismatch]
function rename (From, To : Address) return Integer;
^
../../gcc/ada/adaint.c:697:1: note: type mismatch in parameter 1
__gnat_rename (char *from, char *to)
^
../../gcc/ada/s-os_lib.adb:2585:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function rename (From, To : Address) return Integer;
^
../../gcc/ada/adaint.c:697:1: note: â__gnat_renameâ was previously declared here
__gnat_rename (char *from, char *to)
^
../../gcc/ada/s-crtl.ads:226:13: warning: type of âsystem__crtl__unlinkâ does not match original declaration [-Wlto-type-mismatch]
function unlink (filename : chars) return int;
^
../../gcc/ada/adaint.c:680:1: note: type mismatch in parameter 1
__gnat_unlink (char *path)
^
../../gcc/ada/s-crtl.ads:226:13: note: code may be misoptimized unless -fno-strict-aliasing is used
function unlink (filename : chars) return int;
^
../../gcc/ada/adaint.c:680:1: note: â__gnat_unlinkâ was previously declared here
__gnat_unlink (char *path)
^
../../gcc/ada/s-os_lib.adb:1090:17: warning: type of âsystem__os_lib__get_debuggable_suffix__get_suffix_ptrâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:645:1: note: type mismatch in parameter 1
__gnat_get_debuggable_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/s-os_lib.adb:1090:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:645:1: note: â__gnat_get_debuggable_suffix_ptrâ was previously declared here
__gnat_get_debuggable_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/s-os_lib.adb:1113:17: warning: type of âsystem__os_lib__get_executable_suffix__get_suffix_ptrâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:630:1: note: type mismatch in parameter 1
__gnat_get_executable_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/s-os_lib.adb:1113:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:630:1: note: â__gnat_get_executable_suffix_ptrâ was previously declared here
__gnat_get_executable_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/s-os_lib.adb:1136:17: warning: type of âsystem__os_lib__get_object_suffix__get_suffix_ptrâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:615:1: note: type mismatch in parameter 1
__gnat_get_object_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/s-os_lib.adb:1136:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Suffix_Ptr (Length, Ptr : Address);
^
../../gcc/ada/adaint.c:615:1: note: â__gnat_get_object_suffix_ptrâ was previously declared here
__gnat_get_object_suffix_ptr (int *len, const char **value)
^
../../gcc/ada/osint.adb:1490:17: warning: type of âosint__get_rts_search_dir__get_current_dirâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Current_Dir
^
../../gcc/ada/adaint.c:589:1: note: type mismatch in parameter 1
__gnat_get_current_dir (char *dir, int *length)
^
../../gcc/ada/osint.adb:1490:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Current_Dir
^
../../gcc/ada/s-os_lib.adb:1999:17: warning: type of âsystem__os_lib__normalize_pathname__get_current_dirâ does not match original declaration [-Wlto-type-mismatch]
procedure Get_Current_Dir
^
../../gcc/ada/adaint.c:589:1: note: type mismatch in parameter 1
__gnat_get_current_dir (char *dir, int *length)
^
../../gcc/ada/s-os_lib.adb:1999:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Get_Current_Dir
^
../../gcc/ada/adaint.c:589:1: note: â__gnat_get_current_dirâ was previously declared here
__gnat_get_current_dir (char *dir, int *length)
^
../../gcc/ada/s-os_lib.adb:2013:16: warning: type of âsystem__os_lib__normalize_pathname__readlinkâ does not match original declaration [-Wlto-type-mismatch]
function Readlink
^
../../gcc/ada/adaint.c:419:1: note: type mismatch in parameter 1
__gnat_readlink (char *path ATTRIBUTE_UNUSED,
^
../../gcc/ada/s-os_lib.adb:2013:16: note: code may be misoptimized unless -fno-strict-aliasing is used
function Readlink
^
../../gcc/ada/adaint.c:419:1: note: â__gnat_readlinkâ was previously declared here
__gnat_readlink (char *path ATTRIBUTE_UNUSED,
^
../../gcc/ada/s-os_lib.adb:1423:17: warning: type of âsystem__os_lib__gm_time_of__to_os_timeâ does not match original declaration [-Wlto-type-mismatch]
procedure To_OS_Time
^
../../gcc/ada/adaint.c:395:1: note: type mismatch in parameter 1
__gnat_to_os_time (OS_Time *p_time, int year, int month, int day,
^
../../gcc/ada/s-os_lib.adb:1423:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure To_OS_Time
^
../../gcc/ada/adaint.c:395:1: note: â__gnat_to_os_timeâ was previously declared here
__gnat_to_os_time (OS_Time *p_time, int year, int month, int day,
^
../../gcc/ada/s-os_lib.adb:1364:17: warning: type of âsystem__os_lib__gm_split__to_gm_timeâ does not match original declaration [-Wlto-type-mismatch]
procedure To_GM_Time
^
../../gcc/ada/adaint.c:367:1: note: type mismatch in parameter 1
__gnat_to_gm_time (OS_Time *p_time, int *p_year, int *p_month, int *p_day,
^
../../gcc/ada/s-os_lib.adb:1364:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure To_GM_Time
^
../../gcc/ada/adaint.c:367:1: note: â__gnat_to_gm_timeâ was previously declared here
__gnat_to_gm_time (OS_Time *p_time, int *p_year, int *p_month, int *p_day,
^
../../gcc/ada/s-os_lib.adb:968:17: warning: type of âsystem__os_lib__current_time_string__current_time_stringâ does not match original declaration [-Wlto-type-mismatch]
procedure Current_Time_String (Time : System.Address);
^
../../gcc/ada/adaint.c:348:1: note: type mismatch in parameter 1
__gnat_current_time_string (char *result)
^
../../gcc/ada/s-os_lib.adb:968:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Current_Time_String (Time : System.Address);
^
../../gcc/ada/adaint.c:348:1: note: â__gnat_current_time_stringâ was previously declared here
__gnat_current_time_string (char *result)
^
../../gcc/ada/osint.adb:3305:14: warning: type of âosint__reset_file_attributesâ does not match original declaration [-Wlto-type-mismatch]
procedure Reset_File_Attributes (Attr : System.Address);
^
../../gcc/ada/adaint.c:314:1: note: type mismatch in parameter 1
__gnat_reset_attributes (struct file_attributes* attr)
^
../../gcc/ada/osint.adb:3305:14: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Reset_File_Attributes (Attr : System.Address);
^
../../gcc/ada/adaint.c:314:1: note: â__gnat_reset_attributesâ was previously declared here
__gnat_reset_attributes (struct file_attributes* attr)
^
../../gcc/ada/a-except.adb:871:17: warning: type of âada__exceptions__process_raise_exception__builtin_longjmpâ does not match original declaration [-Wlto-type-mismatch]
procedure builtin_longjmp (buffer : Address; Flag : Integer);
^
../../gcc/ada/raise.c:58:1: note: type mismatch in parameter 1
_gnat_builtin_longjmp (void *ptr, int flag ATTRIBUTE_UNUSED)
^
../../gcc/ada/a-except.adb:871:17: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure builtin_longjmp (buffer : Address; Flag : Integer);
^
../../gcc/ada/raise.c:58:1: note: â_gnat_builtin_longjmpâ was previously declared here
_gnat_builtin_longjmp (void *ptr, int flag ATTRIBUTE_UNUSED)
^
../../gcc/ada/a-exexda.adb:211:13: warning: type of âada__exceptions__exception_data__get_executable_load_addressXnâ does not match original declaration [-Wlto-type-mismatch]
function Get_Executable_Load_Address return System.Address;
^
../../gcc/ada/adaint.c:3179:1: note: return value type mismatch
__gnat_get_executable_load_address (void)
^
../../gcc/ada/adaint.c:3179:1: note: â__gnat_get_executable_load_addressâ was previously declared here
../../gcc/ada/init.c:94:13: warning: type of âada__exceptions__raise_from_signal_handlerâ does not match original declaration [-Wlto-type-mismatch]
extern void Raise_From_Signal_Handler (struct Exception_Data *, const char *);
^
../../gcc/ada/a-except.adb:1060:4: note: type mismatch in parameter 2
procedure Raise_From_Signal_Handler
^
../../gcc/ada/init.c:94:13: note: code may be misoptimized unless -fno-strict-aliasing is used
extern void Raise_From_Signal_Handler (struct Exception_Data *, const char *);
^
../../gcc/ada/a-except.adb:1060:4: note: âada__exceptions__raise_from_signal_handlerâ was previously declared here
procedure Raise_From_Signal_Handler
^
../../gcc/ada/init.c:83:30: warning: type of âstorage_errorâ does not match original declaration [-Wlto-type-mismatch]
extern struct Exception_Data storage_error;
^
../../gcc/ada/s-stalib.ads:179:4: note: type âstruct â should match type âstruct Exception_Dataâ
Storage_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/raise.h:38:8: note: the incompatible type is defined here
struct Exception_Data
^
../../gcc/ada/init.c:83:30: note: code may be misoptimized unless -fno-strict-aliasing is used
extern struct Exception_Data storage_error;
^
../../gcc/ada/s-stalib.ads:179:4: note: âsystem__standard_library__storage_error_defâ was previously declared here
Storage_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/init.c:82:30: warning: type of âprogram_errorâ does not match original declaration [-Wlto-type-mismatch]
extern struct Exception_Data program_error;
^
../../gcc/ada/s-stalib.ads:170:4: note: type âstruct â should match type âstruct Exception_Dataâ
Program_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/raise.h:38:8: note: the incompatible type is defined here
struct Exception_Data
^
../../gcc/ada/init.c:82:30: note: code may be misoptimized unless -fno-strict-aliasing is used
extern struct Exception_Data program_error;
^
../../gcc/ada/s-stalib.ads:170:4: note: âsystem__standard_library__program_error_defâ was previously declared here
Program_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/init.c:80:30: warning: type of âconstraint_errorâ does not match original declaration [-Wlto-type-mismatch]
extern struct Exception_Data constraint_error;
^
../../gcc/ada/s-stalib.ads:152:4: note: type âstruct â should match type âstruct Exception_Dataâ
Constraint_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/raise.h:38:8: note: the incompatible type is defined here
struct Exception_Data
^
../../gcc/ada/init.c:80:30: note: code may be misoptimized unless -fno-strict-aliasing is used
extern struct Exception_Data constraint_error;
^
../../gcc/ada/s-stalib.ads:152:4: note: âsystem__standard_library__constraint_error_defâ was previously declared here
Constraint_Error_Def : aliased Exception_Data :=
^
../../gcc/ada/a-comlin.adb:41:14: warning: type of âada__command_line__fill_argâ does not match original declaration [-Wlto-type-mismatch]
procedure Fill_Arg (A : System.Address; Arg_Num : Integer);
^
../../gcc/ada/argv.c:92:1: note: type mismatch in parameter 1
__gnat_fill_arg (char *a, int i)
^
../../gcc/ada/a-comlin.adb:41:14: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Fill_Arg (A : System.Address; Arg_Num : Integer);
^
../../gcc/ada/osint.ads:673:14: warning: type of âosint__fill_argâ does not match original declaration [-Wlto-type-mismatch]
procedure Fill_Arg (A : System.Address; Arg_Num : Integer);
^
../../gcc/ada/argv.c:92:1: note: type mismatch in parameter 1
__gnat_fill_arg (char *a, int i)
^
../../gcc/ada/osint.ads:673:14: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Fill_Arg (A : System.Address; Arg_Num : Integer);
^
../../gcc/ada/osint.ads:673:14: warning: type of âosint__fill_argâ does not match original declaration [-Wlto-type-mismatch]
../../gcc/ada/argv.c:92:1: note: type mismatch in parameter 1
__gnat_fill_arg (char *a, int i)
^
../../gcc/ada/osint.ads:673:14: note: code may be misoptimized unless -fno-strict-aliasing is used
procedure Fill_Arg (A : System.Address; Arg_Num : Integer);
^
../../gcc/ada/argv.c:92:1: note: â__gnat_fill_argâ was previously declared here
__gnat_fill_arg (char *a, int i)
^
ada/b_gnatb.adb:282:17: warning: type of âada_main__main__initializeâ does not match original declaration [-Wlto-type-mismatch]
procedure Initialize (Addr : System.Address);
^
../../gcc/ada/initialize.c:131:1: note: type mismatch in parameter 1
__gnat_initialize (void *eh ATTRIBUTE_UNUSED)
^
../../gcc/ada/initialize.c:131:1: note: â__gnat_initializeâ was previously declared here
ada/b_gnatb.ads:8:4: warning: type of âada_main__gnat_envpâ does not match original declaration [-Wlto-type-mismatch]
gnat_envp : System.Address;
^
ada/b_gnatb.ads:8:4: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/argv.c:65:14: note: âgnat_envpâ was previously declared here
const char **gnat_envp = (const char **) 0;
^
ada/b_gnatb.ads:7:4: warning: type of âada_main__gnat_argvâ does not match original declaration [-Wlto-type-mismatch]
gnat_argv : System.Address;
^
ada/b_gnatb.ads:7:4: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/a-comlin.adb:105:7: warning: type of âgnat_argvâ does not match original declaration [-Wlto-type-mismatch]
gnat_argv : System.Address;
^
../../gcc/ada/a-comlin.adb:105:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/argv.c:64:14: note: âgnat_argvâ was previously declared here
const char **gnat_argv = (const char **) 0;
^
ada/b_gnatb.adb:112:7: warning: type of âinterrupt_statesâ does not match original declaration [-Wlto-type-mismatch]
Interrupt_States : System.Address;
^
ada/b_gnatb.adb:112:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/init.c:109:7: note: â__gl_interrupt_statesâ was previously declared here
char *__gl_interrupt_states = 0;
^
ada/b_gnatb.adb:106:7: warning: type of âpriority_specific_dispatchingâ does not match original declaration [-Wlto-type-mismatch]
Priority_Specific_Dispatching : System.Address;
^
ada/b_gnatb.adb:106:7: note: code may be misoptimized unless -fno-strict-aliasing is used
../../gcc/ada/init.c:107:7: note: â__gl_priority_specific_dispatchingâ was previously declared here
char *__gl_priority_specific_dispatching = 0;
^
../../gcc/ada/gnatbind.adb: In function âgnatbindâ:
../../gcc/ada/gnatbind.adb:59:4: warning: âtotal_errorsâ may be used uninitialized in this function [-Wmaybe-uninitialized]
Total_Errors : Nat := 0;
^
../../gcc/ada/gnatbind.adb:62:4: warning: âtotal_warningsâ may be used uninitialized in this function [-Wmaybe-uninitialized]
Total_Warnings : Nat := 0;
^