diff options
Diffstat (limited to 'gcc/ada/sem_type.adb')
-rw-r--r-- | gcc/ada/sem_type.adb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/ada/sem_type.adb b/gcc/ada/sem_type.adb index 785121adf24..06833fd9957 100644 --- a/gcc/ada/sem_type.adb +++ b/gcc/ada/sem_type.adb @@ -1728,18 +1728,6 @@ package body Sem_Type is end if; end if; - -- Check for overloaded CIL convention stuff because the CIL libraries - -- do sick things like Console.Write_Line where it matches two different - -- overloads, so just pick the first ??? - - if Convention (Nam1) = Convention_CIL - and then Convention (Nam2) = Convention_CIL - and then Ekind (Nam1) = Ekind (Nam2) - and then Ekind_In (Nam1, E_Procedure, E_Function) - then - return It2; - end if; - -- If the context is universal, the predefined operator is preferred. -- This includes bounds in numeric type declarations, and expressions -- in type conversions. If no interpretation yields a universal type, |