OSDN Git Service

PR ada/49084
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 11:21:28 +0000 (11:21 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 11:21:28 +0000 (11:21 +0000)
* types.h (Byte): Change typedef to 'unsigned char'.
* atree.h (struct Flag_Word): Use Byte for 'convention' field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182275 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/atree.h
gcc/ada/types.h

index 2a9e3f4..c55aad8 100644 (file)
@@ -1,3 +1,10 @@
+2011-12-13  Cesar Strauss  <cestrauss@gmail.com>
+           Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/49084
+       * types.h (Byte): Change typedef to 'unsigned char'.
+       * atree.h (struct Flag_Word): Use Byte for 'convention' field.
+
 2011-12-12  Robert Dewar  <dewar@adacore.com>
 
        * s-taprop-mingw.adb: Minor reformatting.
@@ -9,8 +16,7 @@
 
 2011-12-12  Javier Miranda  <miranda@adacore.com>
 
-       * exp_disp.adb (Make_VM_TSD): Complete previous
-       patch.
+       * exp_disp.adb (Make_VM_TSD): Complete previous patch.
 
 2011-12-12  Bob Duff  <duff@adacore.com>
 
@@ -40,8 +46,8 @@
 
 2011-12-12  Javier Miranda  <miranda@adacore.com>
 
-       * exp_disp.adb (Make_VM_TSD): Generate code
-       to store the value 'alignment in the TSD.
+       * exp_disp.adb (Make_VM_TSD): Generate code to store the value of
+       'alignment in the TSD.
 
 2011-12-12  Bob Duff  <duff@adacore.com>
 
index 31df7e9..822b30d 100644 (file)
@@ -139,7 +139,7 @@ struct Flag_Word
   Boolean      flag94      :  1;
   Boolean      flag95      :  1;
   Boolean      flag96      :  1;
-  Short        convention   :  8;
+  Byte         convention   :  8;
 };
 
 /* Structure used for extra flags in fourth component overlaying Field12 */
index 5877f32..4e29447 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                              C Header File                               *
  *                                                                          *
- *          Copyright (C) 1992-2010, Free Software Foundation, Inc.         *
+ *          Copyright (C) 1992-2011, 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- *
@@ -41,24 +41,24 @@ typedef unsigned char Boolean;
 
 /* General Use Integer Types */
 
-/* Signed 32/bit integer */
+/* Signed 32-bit integer */
 typedef int Int;
 
-/* Signed 16 bit integer */
+/* Signed 16-bit integer */
 typedef short Short;
 
-/* Non/negative Int values */
+/* Non-negative Int values */
 typedef Int Nat;
 
 /* Positive Int values */
 typedef Int Pos;
 
-/* 8/bit unsigned integer */
-typedef char Byte;
+/* 8-bit unsigned integer */
+typedef unsigned char Byte;
 
-/* 8/Bit Character and String Types:  */
+/* 8-Bit Character and String Types:  */
 
-/* 8/bit character type */
+/* 8-bit character type */
 typedef char Char;
 
 /* Graphic characters, as defined in ARM */