diff options
author | Cesar Strauss <cestrauss@gmail.com> | 2011-12-13 11:21:28 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-12-13 11:21:28 +0000 |
commit | ddf2e1095337e78d686460b25239a02ac7ae13f7 (patch) | |
tree | e514eb8dd095794dff07065a14c32e9639cc1dc7 /gcc | |
parent | 20936ceefe2d6e70fc6aa597914ca70dac6eee40 (diff) | |
download | gcc-ddf2e1095337e78d686460b25239a02ac7ae13f7.zip gcc-ddf2e1095337e78d686460b25239a02ac7ae13f7.tar.gz gcc-ddf2e1095337e78d686460b25239a02ac7ae13f7.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/ada/atree.h | 2 | ||||
-rw-r--r-- | gcc/ada/types.h | 16 |
3 files changed, 19 insertions, 13 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2a9e3f4..c55aad8 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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> diff --git a/gcc/ada/atree.h b/gcc/ada/atree.h index 31df7e9..822b30d 100644 --- a/gcc/ada/atree.h +++ b/gcc/ada/atree.h @@ -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 */ diff --git a/gcc/ada/types.h b/gcc/ada/types.h index 5877f32..4e29447 100644 --- a/gcc/ada/types.h +++ b/gcc/ada/types.h @@ -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 */ |