summaryrefslogtreecommitdiff
path: root/gcc/ada/cstand.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/cstand.adb')
-rw-r--r--gcc/ada/cstand.adb12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ada/cstand.adb b/gcc/ada/cstand.adb
index 75378b579f7..e0e8a655ebf 100644
--- a/gcc/ada/cstand.adb
+++ b/gcc/ada/cstand.adb
@@ -8,7 +8,7 @@
-- --
-- $Revision$
-- --
--- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2002 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- --
@@ -353,7 +353,7 @@ package body CStand is
Set_Ekind (Standard_Boolean, E_Enumeration_Type);
Set_First_Literal (Standard_Boolean, Standard_False);
Set_Etype (Standard_Boolean, Standard_Boolean);
- Init_Esize (Standard_Boolean, 8);
+ Init_Esize (Standard_Boolean, Standard_Character_Size);
Init_RM_Size (Standard_Boolean, 1);
Set_Prim_Alignment (Standard_Boolean);
@@ -471,7 +471,8 @@ package body CStand is
Set_Ekind (Standard_Character, E_Enumeration_Type);
Set_Etype (Standard_Character, Standard_Character);
- Init_Size (Standard_Character, Standard_Character_Size);
+ Init_Esize (Standard_Character, Standard_Character_Size);
+ Init_RM_Size (Standard_Character, 8);
Set_Prim_Alignment (Standard_Character);
Set_Is_Unsigned_Type (Standard_Character);
@@ -800,7 +801,7 @@ package body CStand is
Set_Ekind (Any_Boolean, E_Enumeration_Type);
Set_Scope (Any_Boolean, Standard_Standard);
Set_Etype (Any_Boolean, Standard_Boolean);
- Init_Esize (Any_Boolean, 8);
+ Init_Esize (Any_Boolean, Standard_Character_Size);
Init_RM_Size (Any_Boolean, 1);
Set_Prim_Alignment (Any_Boolean);
Set_Is_Unsigned_Type (Any_Boolean);
@@ -813,7 +814,8 @@ package body CStand is
Set_Etype (Any_Character, Any_Character);
Set_Is_Unsigned_Type (Any_Character);
Set_Is_Character_Type (Any_Character);
- Init_Size (Any_Character, Standard_Character_Size);
+ Init_Esize (Any_Character, Standard_Character_Size);
+ Init_RM_Size (Any_Character, 8);
Set_Prim_Alignment (Any_Character);
Set_Scalar_Range (Any_Character, Scalar_Range (Standard_Character));
Make_Name (Any_Character, "a character type");