This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2001-08-01T23:23:35Z.
- To: gcc-regression at gcc dot gnu dot org
- Subject: Re: GCC build failed for native with your patch on 2001-08-01T23:23:35Z.
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 2 Aug 2001 01:47:30 -0700
- Cc: amacleod at redhat dot com, robertl at caldera dot com
- References: <200108020114.f721E7m30495@maat.cygnus.com>
On Thu, Aug 02, 2001 at 01:14:05AM +0000, GCC regression checker wrote:
> /maat/heart/tbox/cvs-gcc/gcc/gcc/gengenrtl.c:266: Internal compiler error
> in verify_local_live_at_start, at flow.c:4376
I led Andrew astray in telling him to just initialize call_really_used_regs
to call_used_regs. The x86 port initializes call_used_regs to a bitmask and
cleans things up in CONDITIONAL_REGISTER_USAGE.
r~
* regclass.c (call_really_used_regs): Conditionally define.
(init_reg_sets_1): Don't use it if not defined.
(fix_register): Similarly, don't set it.
Index: except.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.c,v
retrieving revision 1.178
diff -c -p -d -r1.178 except.c
*** except.c 2001/08/01 01:37:31 1.178
--- except.c 2001/08/01 22:42:37
*************** output_function_exception_table ()
*** 3500,3506 ****
#endif
tt_format_size = size_of_encoded_value (tt_format);
! assemble_eh_align (tt_format_size * BITS_PER_UNIT);
}
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "LLSDA", funcdef_number);
--- 3500,3506 ----
#endif
tt_format_size = size_of_encoded_value (tt_format);
! assemble_align (tt_format_size * BITS_PER_UNIT);
}
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "LLSDA", funcdef_number);
*************** output_function_exception_table ()
*** 3607,3613 ****
(i ? NULL : "Action record table"));
if (have_tt_data)
! assemble_eh_align (tt_format_size * BITS_PER_UNIT);
i = VARRAY_ACTIVE_SIZE (cfun->eh->ttype_data);
while (i-- > 0)
--- 3607,3613 ----
(i ? NULL : "Action record table"));
if (have_tt_data)
! assemble_align (tt_format_size * BITS_PER_UNIT);
i = VARRAY_ACTIVE_SIZE (cfun->eh->ttype_data);
while (i-- > 0)
Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.185
diff -c -p -d -r1.185 varasm.c
*** varasm.c 2001/07/29 02:46:18 1.185
--- varasm.c 2001/08/01 22:42:37
*************** init_varasm_once ()
*** 4764,4837 ****
ggc_add_root (&const_str_htab, 1, sizeof const_str_htab,
mark_const_str_htab);
}
-
- /* Extra support for EH values. */
- void
- assemble_eh_label (name)
- const char *name;
- {
- #ifdef ASM_OUTPUT_EH_LABEL
- ASM_OUTPUT_EH_LABEL (asm_out_file, name);
- #else
- assemble_label (name);
- #endif
- }
-
- /* Assemble an alignment pseudo op for an ALIGN-bit boundary. */
-
- void
- assemble_eh_align (align)
- int align;
- {
- #ifdef ASM_OUTPUT_EH_ALIGN
- if (align > BITS_PER_UNIT)
- ASM_OUTPUT_EH_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
- #else
- assemble_align (align);
- #endif
- }
-
-
- /* On some platforms, we may want to specify a special mechansim to
- output EH data when generating with a function.. */
- int
- assemble_eh_integer (x, size, force)
- rtx x;
- int size;
- int force;
- {
-
- switch (size)
- {
- #ifdef ASM_OUTPUT_EH_CHAR
- case 1:
- ASM_OUTPUT_EH_CHAR (asm_out_file, x);
- return 1;
- #endif
-
- #ifdef ASM_OUTPUT_EH_SHORT
- case 2:
- ASM_OUTPUT_EH_SHORT (asm_out_file, x);
- return 1;
- #endif
-
- #ifdef ASM_OUTPUT_EH_INT
- case 4:
- ASM_OUTPUT_EH_INT (asm_out_file, x);
- return 1;
- #endif
-
- #ifdef ASM_OUTPUT_EH_DOUBLE_INT
- case 8:
- ASM_OUTPUT_EH_DOUBLE_INT (asm_out_file, x);
- return 1;
- #endif
-
- default:
- break;
- }
- return (assemble_integer (x, size, force));
- }
-
-
-
--- 4764,4766 ----