aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/get_targ.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2007-08-14 10:36:48 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-08-14 10:36:48 +0200
commit835d23b2e08bb08e88163700eac0dc08442b2b0b (patch)
tree05b5ae79d8bf769dcfc728d032c9a64d115ddfeb /gcc/ada/get_targ.adb
parent4a9b6b95df593226fd81c8d2a828e130b9d9a660 (diff)
downloadgcc-835d23b2e08bb08e88163700eac0dc08442b2b0b.zip
gcc-835d23b2e08bb08e88163700eac0dc08442b2b0b.tar.gz
gcc-835d23b2e08bb08e88163700eac0dc08442b2b0b.tar.bz2
uintp.adb, [...]: Minor reformatting.
2007-08-14 Robert Dewar <dewar@adacore.com> * uintp.adb, a-ztedit.adb, s-wchcon.adb, xnmake.adb, s-wchcon.adb, par-ch5.adb, par-ch10.adb, get_targ.adb, a-wtedit.adb, a-teioed.adb, s-osinte-solaris.adb, s-osinte-solaris.ads, s-osinte-freebsd.ads, s-osinte-freebsd.adb: Minor reformatting. * styleg.adb, styleg.ads, stylesw.adb, stylesw.ads: implement style switch -gnatyS. Enable -gnatyS in GNAT style check mode From-SVN: r127409
Diffstat (limited to 'gcc/ada/get_targ.adb')
-rw-r--r--gcc/ada/get_targ.adb29
1 files changed, 19 insertions, 10 deletions
diff --git a/gcc/ada/get_targ.adb b/gcc/ada/get_targ.adb
index fb2b226..ddf30d7 100644
--- a/gcc/ada/get_targ.adb
+++ b/gcc/ada/get_targ.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -32,11 +32,16 @@ package body Get_Targ is
function Digits_From_Size (Size : Pos) return Pos is
begin
- if Size = 32 then return 6;
- elsif Size = 48 then return 9;
- elsif Size = 64 then return 15;
- elsif Size = 96 then return 18;
- elsif Size = 128 then return 18;
+ if Size = 32 then
+ return 6;
+ elsif Size = 48 then
+ return 9;
+ elsif Size = 64 then
+ return 15;
+ elsif Size = 96 then
+ return 18;
+ elsif Size = 128 then
+ return 18;
else
raise Program_Error;
end if;
@@ -57,10 +62,14 @@ package body Get_Targ is
function Width_From_Size (Size : Pos) return Pos is
begin
- if Size = 8 then return 4;
- elsif Size = 16 then return 6;
- elsif Size = 32 then return 11;
- elsif Size = 64 then return 21;
+ if Size = 8 then
+ return 4;
+ elsif Size = 16 then
+ return 6;
+ elsif Size = 32 then
+ return 11;
+ elsif Size = 64 then
+ return 21;
else
raise Program_Error;
end if;