Commit ddf2e109 by Cesar Strauss Committed by Eric Botcazou

re PR ada/49084 (bootstrap failure with Ada enabled)

	PR ada/49084
	* types.h (Byte): Change typedef to 'unsigned char'.
	* atree.h (struct Flag_Word): Use Byte for 'convention' field.

From-SVN: r182275
parent 20936cee
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> 2011-12-12 Robert Dewar <dewar@adacore.com>
* s-taprop-mingw.adb: Minor reformatting. * s-taprop-mingw.adb: Minor reformatting.
...@@ -9,8 +16,7 @@ ...@@ -9,8 +16,7 @@
2011-12-12 Javier Miranda <miranda@adacore.com> 2011-12-12 Javier Miranda <miranda@adacore.com>
* exp_disp.adb (Make_VM_TSD): Complete previous * exp_disp.adb (Make_VM_TSD): Complete previous patch.
patch.
2011-12-12 Bob Duff <duff@adacore.com> 2011-12-12 Bob Duff <duff@adacore.com>
...@@ -40,8 +46,8 @@ ...@@ -40,8 +46,8 @@
2011-12-12 Javier Miranda <miranda@adacore.com> 2011-12-12 Javier Miranda <miranda@adacore.com>
* exp_disp.adb (Make_VM_TSD): Generate code * exp_disp.adb (Make_VM_TSD): Generate code to store the value of
to store the value 'alignment in the TSD. 'alignment in the TSD.
2011-12-12 Bob Duff <duff@adacore.com> 2011-12-12 Bob Duff <duff@adacore.com>
......
...@@ -139,7 +139,7 @@ struct Flag_Word ...@@ -139,7 +139,7 @@ struct Flag_Word
Boolean flag94 : 1; Boolean flag94 : 1;
Boolean flag95 : 1; Boolean flag95 : 1;
Boolean flag96 : 1; Boolean flag96 : 1;
Short convention : 8; Byte convention : 8;
}; };
/* Structure used for extra flags in fourth component overlaying Field12 */ /* Structure used for extra flags in fourth component overlaying Field12 */
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* * * *
* C Header File * * 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 * * 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- * * terms of the GNU General Public License as published by the Free Soft- *
...@@ -41,24 +41,24 @@ typedef unsigned char Boolean; ...@@ -41,24 +41,24 @@ typedef unsigned char Boolean;
/* General Use Integer Types */ /* General Use Integer Types */
/* Signed 32/bit integer */ /* Signed 32-bit integer */
typedef int Int; typedef int Int;
/* Signed 16 bit integer */ /* Signed 16-bit integer */
typedef short Short; typedef short Short;
/* Non/negative Int values */ /* Non-negative Int values */
typedef Int Nat; typedef Int Nat;
/* Positive Int values */ /* Positive Int values */
typedef Int Pos; typedef Int Pos;
/* 8/bit unsigned integer */ /* 8-bit unsigned integer */
typedef char Byte; 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; typedef char Char;
/* Graphic characters, as defined in ARM */ /* Graphic characters, as defined in ARM */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment