]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu, 15 Nov 2001 23:34:17 +0000 (23:34 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 15 Nov 2001 23:34:17 +0000 (18:34 -0500)
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.

* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.

From-SVN: r47074

gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/ada/utils2.c

index b2aecad6bf2f17752c71e9e4efa9be61edb80712..dce151b45cd1de9972e1aaf23ac02cfecbed294b 100644 (file)
@@ -1,3 +1,7 @@
+Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
+
 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * misc.c (gnat_init): Change prototype.  Include the
index daa2469dc94bf2fd76fcc7957c833e45ec9fa4dc..7db952eb4d9cd7fd168a43d2989c2a38bc698244 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *                            $Revision$
+ *                            $Revision: 1.4 $
  *                                                                          *
  *          Copyright (C) 1992-2001, Free Software Foundation, Inc.         *
  *                                                                          *
@@ -1421,7 +1421,6 @@ tree_transform (gnat_node)
              tree gnu_inner;
              enum machine_mode mode;
              int unsignedp, volatilep;
-             unsigned int alignment;
 
              gnu_result_type = get_unpadded_type (Etype (gnat_node));
              gnu_prefix = remove_conversions (gnu_prefix);
@@ -1444,7 +1443,7 @@ tree_transform (gnat_node)
                gigi_abort (310);
 
              get_inner_reference (gnu_prefix, &bitsize, &bitpos, &gnu_offset,
-                                  &mode, &unsignedp, &volatilep, &alignment);
+                                  &mode, &unsignedp, &volatilep);
 
 
              if (TREE_CODE (gnu_prefix) == COMPONENT_REF)
index a5363a71af341aa6081c249f5179c0c0ef7b2a06..e9b5429520bc43ab8913fa55532c500c6c25c536 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *                            $Revision$
+ *                            $Revision: 1.3 $
  *                                                                          *
  *          Copyright (C) 1992-2001, Free Software Foundation, Inc.         *
  *                                                                          *
@@ -1164,11 +1164,9 @@ build_unary_op (op_code, result_type, operand)
              tree offset, inner;
              enum machine_mode mode;
              int unsignedp, volatilep;
-             unsigned int alignment;
 
              inner = get_inner_reference (operand, &bitsize, &bitpos, &offset,
-                                          &mode, &unsignedp, &volatilep,
-                                          &alignment);
+                                          &mode, &unsignedp, &volatilep);
 
              /* If INNER is a padding type whose field has a self-referential
                 size, convert to that inner type.  We know the offset is zero