aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/a-reatim.adb
diff options
context:
space:
mode:
authorGeert Bosch <bosch@gcc.gnu.org>2001-12-18 01:03:38 +0100
committerGeert Bosch <bosch@gcc.gnu.org>2001-12-18 01:03:38 +0100
commit3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c (patch)
tree55411d765913c523d99194e1fdf09285ac70e7f4 /gcc/ada/a-reatim.adb
parentced7d98b9b110a3bc5ecbf3a2b9d20f9d8ac50ea (diff)
downloadgcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.zip
gcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.tar.gz
gcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.tar.bz2
gnat_rm.texi: Fix minor typos.
* gnat_rm.texi: Fix minor typos. Found while reading the section regarding "Bit_Order Clauses" that was sent to a customer. Very interesting documentation! * sem_case.adb (Choice_Image): Avoid creating improper character literal names by using the routine Set_Character_Literal_Name. This fixes bombs in certain error message cases. * a-reatim.adb: Minor reformatting. * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the case where the formal is an extension of another formal in the current unit or in a parent generic unit. * s-tposen.adb: Update comments. Minor reformatting. Minor code clean up. * s-tarest.adb: Update comments. Minor code reorganization. * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag when Java_VM. * exp_attr.adb: Minor reformatting * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle derivations nested within a child unit: verify that the parent type is declared in an outer scope. * sem_ch12.adb: Minor reformatting * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post warning if current unit is a predefined one, from which bodies may have been deleted. * eval_fat.ads: Add comment that Round_Even is referenced in Ada code Fix header format. Add 2001 to copyright date. * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, which caused CE during compilation if checks were enabled. From-SVN: r48136
Diffstat (limited to 'gcc/ada/a-reatim.adb')
-rw-r--r--gcc/ada/a-reatim.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/a-reatim.adb b/gcc/ada/a-reatim.adb
index 4ed7ce7..1d90489 100644
--- a/gcc/ada/a-reatim.adb
+++ b/gcc/ada/a-reatim.adb
@@ -174,8 +174,7 @@ package body Ada.Real_Time is
-- Extract the integer part of T, truncating towards zero.
if T_Val < 0.5 then
- SC := 0;
-
+ SC := 0;
else
SC := Seconds_Count (Time_Span' (T_Val - 0.5));
end if;