aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2000-02-11 15:48:24 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-02-11 15:48:24 +0000
commitf70773947a9ab42b3197e991e9738bf816523b02 (patch)
tree6a0db9594d0c1e5a245a6d005d404db780e17902
parent3637ef0c711cbf1072849bd22fbc45f5d2395614 (diff)
downloadgcc-f70773947a9ab42b3197e991e9738bf816523b02.zip
gcc-f70773947a9ab42b3197e991e9738bf816523b02.tar.gz
gcc-f70773947a9ab42b3197e991e9738bf816523b02.tar.bz2
expr.c (compare_records): Delete maximum_field_alignment declaration.
* expr.c (compare_records): Delete maximum_field_alignment declaration. * inout.c (inout_init): Likewise. (build_chill_gettextaccess): Likewise. (build_enum_tables): Likewise. * lang.c: Likewise. * satisfy.c (satisfy): Likewise. * tasking.c (build_tasking_struct): Likewise. (build_tasking_message_type): Likewise. * typeck.c (build_init_struct): Likewise. * except.c (emit_setup_handler): Make save_maximum_field_alignment unsigned int to match maximum_field_alignment. * inout.c (inout_init): Likewise. (build_chill_gettextaccess): Likewise. (build_enum_tables): Likewise. * tasking.c (build_tasking_struct): Likewise. (build_tasking_message_type): Likewise. * typeck.c (build_init_struct): Likewise. From-SVN: r31920
-rw-r--r--gcc/ch/ChangeLog21
-rw-r--r--gcc/ch/except.c2
-rw-r--r--gcc/ch/expr.c1
-rw-r--r--gcc/ch/inout.c9
-rw-r--r--gcc/ch/lang.c2
-rw-r--r--gcc/ch/satisfy.c3
-rw-r--r--gcc/ch/tasking.c6
-rw-r--r--gcc/ch/typeck.c3
8 files changed, 29 insertions, 18 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog
index aa747d7..386577c 100644
--- a/gcc/ch/ChangeLog
+++ b/gcc/ch/ChangeLog
@@ -1,3 +1,24 @@
+2000-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * expr.c (compare_records): Delete maximum_field_alignment declaration.
+ * inout.c (inout_init): Likewise.
+ (build_chill_gettextaccess): Likewise.
+ (build_enum_tables): Likewise.
+ * lang.c: Likewise.
+ * satisfy.c (satisfy): Likewise.
+ * tasking.c (build_tasking_struct): Likewise.
+ (build_tasking_message_type): Likewise.
+ * typeck.c (build_init_struct): Likewise.
+
+ * except.c (emit_setup_handler): Make save_maximum_field_alignment
+ unsigned int to match maximum_field_alignment.
+ * inout.c (inout_init): Likewise.
+ (build_chill_gettextaccess): Likewise.
+ (build_enum_tables): Likewise.
+ * tasking.c (build_tasking_struct): Likewise.
+ (build_tasking_message_type): Likewise.
+ * typeck.c (build_init_struct): Likewise.
+
2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* except.c (maximum_field_alignment): Remove duplicate declaration.
diff --git a/gcc/ch/except.c b/gcc/ch/except.c
index 4518545..a59e675 100644
--- a/gcc/ch/except.c
+++ b/gcc/ch/except.c
@@ -396,7 +396,7 @@ emit_setup_handler ()
/* We temporarily reset the maximum_field_alignment to zero so the
compiler's exception data structures can be compatible with the
run-time system, even when we're compiling with -fpack. */
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
maximum_field_alignment = 0;
push_obstacks_nochange ();
end_temporary_allocation ();
diff --git a/gcc/ch/expr.c b/gcc/ch/expr.c
index 01574ed..13e5bd8 100644
--- a/gcc/ch/expr.c
+++ b/gcc/ch/expr.c
@@ -3469,7 +3469,6 @@ compare_records (exp0, exp1)
int have_variants = 0;
tree result = boolean_true_node;
- extern int maximum_field_alignment;
if (TREE_CODE (type) != RECORD_TYPE)
abort ();
diff --git a/gcc/ch/inout.c b/gcc/ch/inout.c
index 5700da1..56164ac 100644
--- a/gcc/ch/inout.c
+++ b/gcc/ch/inout.c
@@ -1088,8 +1088,7 @@ inout_init ()
/* We temporarily reset the maximum_field_alignment to zero so the
compiler's init data structures can be compatible with the
run-time system, even when we're compiling with -fpack. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
extern tree chill_predefined_function_type;
tree endlink = void_list_node;
@@ -2821,8 +2820,7 @@ build_chill_gettextaccess (text)
tree access, refaccess, acc, decl, listbase;
tree tlocmode, indexmode, dynamic;
tree result;
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
if (! check_text (text, 1, "GETTEXTACCESS"))
return error_mark_node;
@@ -4590,8 +4588,7 @@ void build_enum_tables ()
/* We temporarily reset the maximum_field_alignment to zero so the
compiler's init data structures can be compatible with the
run-time system, even when we're compiling with -fpack. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment;
+ unsigned int save_maximum_field_alignment;
if (pass == 1)
return;
diff --git a/gcc/ch/lang.c b/gcc/ch/lang.c
index d2f21f1..42470cf 100644
--- a/gcc/ch/lang.c
+++ b/gcc/ch/lang.c
@@ -50,8 +50,6 @@ int special_UC = 0;
char* chill_real_input_filename;
extern FILE* finput;
-extern int maximum_field_alignment;
-
static int deep_const_expr PARAMS ((tree));
static void chill_print_error_function PARAMS ((const char *));
diff --git a/gcc/ch/satisfy.c b/gcc/ch/satisfy.c
index a52c9fd..a747669 100644
--- a/gcc/ch/satisfy.c
+++ b/gcc/ch/satisfy.c
@@ -533,8 +533,7 @@ satisfy (exp, chain)
/* if we have an ACCESS or TEXT mode we have to set
maximum_field_alignment to 0 to fit with runtime
system, even when we compile with -fpack. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
if (CH_IS_ACCESS_MODE (exp) || CH_IS_TEXT_MODE (exp))
maximum_field_alignment = 0;
diff --git a/gcc/ch/tasking.c b/gcc/ch/tasking.c
index 1a67e99..3016942 100644
--- a/gcc/ch/tasking.c
+++ b/gcc/ch/tasking.c
@@ -763,8 +763,7 @@ build_tasking_struct ()
/* We temporarily reset the maximum_field_alignment to zero so the
compiler's init data structures can be compatible with the
run-time system, even when we're compiling with -fpack. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
maximum_field_alignment = 0;
decl1 = build_decl (FIELD_DECL, get_identifier ("TaskName"),
@@ -1239,8 +1238,7 @@ build_tasking_message_type ()
tree temp;
/* We temporarily reset maximum_field_alignment to deal with
the runtime system. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
tree field1, field2, field3;
maximum_field_alignment = 0;
diff --git a/gcc/ch/typeck.c b/gcc/ch/typeck.c
index 0116de3..5082b78 100644
--- a/gcc/ch/typeck.c
+++ b/gcc/ch/typeck.c
@@ -2168,8 +2168,7 @@ build_init_struct ()
/* We temporarily reset the maximum_field_alignment to zero so the
compiler's init data structures can be compatible with the
run-time system, even when we're compiling with -fpack. */
- extern int maximum_field_alignment;
- int save_maximum_field_alignment = maximum_field_alignment;
+ unsigned int save_maximum_field_alignment = maximum_field_alignment;
maximum_field_alignment = 0;
decl1 = build_decl (FIELD_DECL, get_identifier ("__INIT_ENTRY"),