]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Warn about conversion with any predefined time types
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 17 Feb 2021 22:55:59 +0000 (23:55 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 11 Oct 2021 13:38:11 +0000 (13:38 +0000)
commitb89465c94165676ee278631b144781f1c739e680
treeabb736bdfe2d7ed29651e2da1b8111412bfd0ca1
parent945ec76b8e110e2ef291777e123482389f6594e6
[Ada] Warn about conversion with any predefined time types

gcc/ada/

* sem_ch13.adb (Validate_Unchecked_Conversion): Simplify code
for detecting conversions with Ada.Calendar.Time type and extend
it to similar types in the Ada.Real_Time package.
gcc/ada/sem_ch13.adb