Mark Mitchell [Tue, 23 Nov 1999 20:48:38 +0000 (20:48 +0000)]
integrate.h (copy_decl_for_inlining): New declaration.
1999-11-23 Mark Mitchell <mark@codesourcery.com>
* integrate.h (copy_decl_for_inlining): New declaration.
* integrate.c (copy_and_set_decl_abstract_origin): Remove.
(copy_decl_for_inlining): New function.
(integrate_parm_decls): Use it.
(integrate_decl_tree): Likewise.
From-SVN: r30644
Gavin Romig-Koch [Tue, 23 Nov 1999 19:18:48 +0000 (19:18 +0000)]
mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split the second two from the first.
* config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
the second two from the first.
(CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
* config/mips/mips.md (movcc,reload_incc,reload_outcc,
conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
ISA_HAS_FP4.
* config/mips/mips.c (mips_move_1word,gen_conditional_branch,
override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
ISA_HAS_FP4.
From-SVN: r30643
Jeffrey A Law [Tue, 23 Nov 1999 18:17:00 +0000 (18:17 +0000)]
pa.md (call_internal_symref, [...]): No mode needed on the address operand.
* pa.md (call_internal_symref, call_value_internal_symref): No mode
needed on the address operand.
* pa.c (call_operand_address): Check for the correct mode.
From-SVN: r30642
Kaveh R. Ghazi [Tue, 23 Nov 1999 16:17:52 +0000 (16:17 +0000)]
decl.c (pushdecl, [...]): Don't call a variadic function with a non-literal format string.
* decl.c (pushdecl, grokdeclarator): Don't call a variadic
function with a non-literal format string.
* lex.c (do_identifier): Likewise.
* typeck.c (build_unary_op): Likewise.
From-SVN: r30641
Kaveh R. Ghazi [Tue, 23 Nov 1999 15:53:22 +0000 (15:53 +0000)]
expr.c (build_chill_function_call): Don't call a variadic function with a non-literal format string.
* expr.c (build_chill_function_call): Don't call a variadic
function with a non-literal format string.
* grant.c (write_spec_module): Likewise.
* parse.c (require, expect): Likewise.
* tasking.c (get_struct_type_name, get_struct_debug_type_name,
get_tasking_code_name, get_struct_variable_name,
get_process_wrapper_name, build_start_process): Likewise.
* typeck.c (valid_array_index_p): Likewise.
From-SVN: r30640
Jason Merrill [Tue, 23 Nov 1999 14:47:08 +0000 (09:47 -0500)]
revert AT_containing_type change
From-SVN: r30639
Bernd Schmidt [Tue, 23 Nov 1999 12:10:36 +0000 (12:10 +0000)]
Copy propagation for hoisted mems in loop.c.
From-SVN: r30638
Bryce McKinlay [Tue, 23 Nov 1999 11:40:26 +0000 (11:40 +0000)]
re GNATS java.net/57 (potential buffer overruns)
1999-11-23 Bryce McKinlay <bryce@albatross.co.nz>
* java/net/natPlainSocketImpl.cc: Fix potential buffer overruns in
Exception messages. PR java.net/57.
(bind): set SO_REUSEADDR before bind.
* java/net/natPlainDatagramSocketImpl.cc: Fix potential buffer
overruns. PR java.net/57.
From-SVN: r30637
Jeff Law [Tue, 23 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30636
Mark Mitchell [Tue, 23 Nov 1999 08:08:53 +0000 (08:08 +0000)]
* cp-tree.h (DECL_NEEDED_P): Tweak to match documentation.
From-SVN: r30635
Mark Mitchell [Tue, 23 Nov 1999 08:07:09 +0000 (08:07 +0000)]
cp-tree.def (CTOR_COMPLETE): New tree node.
* cp-tree.def (CTOR_COMPLETE): New tree node.
* decl.c (finish_constructor_body): Add it, to mark the end of the
constructor.
(finish_function): Don't call end_protect_partials here.
* ir.texi (CTOR_COMPLETE): Document it.
* semantics.c (expand_stmt): Handle it.
From-SVN: r30634
Hans-Peter Nilsson [Tue, 23 Nov 1999 08:03:47 +0000 (08:03 +0000)]
Makefile.in (gencheck.o): Depend on gencheck.h.
* Makefile.in (gencheck.o): Depend on gencheck.h.
(insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
(insn-peep.o): Depend on except.h and function.h.
(insn-attrtab.o): Depend on RECOG_H.
(insn-output.o): Depend on toplev.h and flags.h.
(gengenrtl.o): Depend on real.h.
(gen-protos.o): Depend on cpplib.h and cpphash.h.
Unify all dependencies to be on RECOG_H rather than recog.h.
From-SVN: r30633
Rainer Orth [Tue, 23 Nov 1999 07:57:06 +0000 (07:57 +0000)]
config-ml.in (sparc*-*-*): Disable sparcv9 support if the necessary libraries are missing.
* config-ml.in (sparc*-*-*): Disable sparcv9 support if the
necessary libraries are missing.
From-SVN: r30632
Rainer Orth [Tue, 23 Nov 1999 07:57:06 +0000 (07:57 +0000)]
From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
* configure.in: Try building a bi-arch 32/64-bit compiler on
sparc-*-solaris2.7 and higher.
* configure: Rebuild.
From-SVN: r30631
Mark Mitchell [Tue, 23 Nov 1999 07:31:07 +0000 (07:31 +0000)]
cp-tree.def (CTOR_COMPLETE): New tree node.
* cp-tree.def (CTOR_COMPLETE): New tree node.
(finish_constructor_body): Add it, to mark the end of the
constructor.
(finish_function): Don't call end_protect_partials here.
* ir.texi (CTOR_COMPLETE): Document it.
* semantics.c (expand_stmt): Handle it.
From-SVN: r30630
Jeff Law [Tue, 23 Nov 1999 06:17:32 +0000 (23:17 -0700)]
freebsd.h: New, FreeBSD architecture independent file.
* config/freebsd.h: New, FreeBSD architecture independent file.
* config/i386/freebsd-elf.h: removed FreeBSD architecturally
independent pieces.
* config/i386/freebsd.h: include i386/perform.h via tm.h rather than
directly by i386/freebsd.h.
* configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
independent configuration file.
(*-*-freebsdelf): Include i386/perform.h via tm.h rather than
directly by i386/freebsd.h.
* configure: Rebuilt.
*POTFILES.in: Add config/freebsd.h
From-SVN: r30628
David O'Brien [Tue, 23 Nov 1999 06:09:34 +0000 (06:09 +0000)]
xm-i386.h: Define `__i386__' if not defined...
* xm-i386.h: Define `__i386__' if not defined, rather than `i386'
which is in the user's namespace.
* libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
`i386' which is not in our namespace.
From-SVN: r30627
R. Kelley Cook [Tue, 23 Nov 1999 05:59:41 +0000 (22:59 -0700)]
* invoke.texi (ARM Options): Add in -mno-alignment-traps
From-SVN: r30626
Mark Mitchell [Tue, 23 Nov 1999 02:49:41 +0000 (02:49 +0000)]
cp-tree.def (FUNCTION_NAME): New tree node.
* cp-tree.def (FUNCTION_NAME): New tree node.
* cp-tree.h (current_function_name_declared): Tweak documentation.
(lang_decl_flags): Add pretty_function_p, adjust dummy.
(DECL_PRETTY_FUNCTION_P): New macro.
* decl.c (cp_finish_decl): Handle declarations of __FUNCTION__,
etc., in a template function. Use at_function_scope_p instead of
expanding it inline.
* pt.c (tsubst_decl): Handle DECL_PRETTY_FUNCTION_P declarations
specially.
(tsubst): Handle FUNCTION_NAME.
(tsubst_copy): Likewise.
(instantiate_decl): Prevent redeclarations of __PRETTY_FUNCTION__,
etc. in instantiation.
* semantics.c (begin_compound_stmt): Declare __FUNCTION__, etc.,
even in template functions.
(setup_vtbl_ptr): Don't declare __PRETTY_FUNCTION in the
conditional scope at the top of a destructor.
* error.c (dump_function_decl): Use `[ with ... ]' syntax for
specializations too.
From-SVN: r30625
Jason Merrill [Tue, 23 Nov 1999 01:50:36 +0000 (01:50 +0000)]
dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
* dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
(add_dwarf_attr, add_child_die): Just push onto the front.
(reverse_die_lists): New fn.
(add_sibling_attributes): Use it.
(push_decl_scope): Reorganize.
(gen_struct_or_union_type_die): Don't add a DW_AT_containing_type
that points to ourself.
(add_name_and_src_coords_attributes): Don't set file and line for
an artificial decl.
(gen_subprogram_die): An artificial function doesn't need to match
file and line.
(gen_compile_unit_die): Return the generated die. Only add
AT_comp_dir if the filename is relative.
(remove_AT): Simplify loop. Also free string values.
(output_die): A DIE ref can't be null.
(output_value_format, value_format): Take a dw_attr_ref.
(dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
(AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
AT_addr, AT_lbl): New fns.
(various): Use them.
(various): Constify.
From-SVN: r30624
J"orn Rennecke [Mon, 22 Nov 1999 23:56:34 +0000 (23:56 +0000)]
combine.c (combine_simplify_rtx): When handling a SUBREG, take SUBREG_WORD into account.
* combine.c (combine_simplify_rtx): When handling a SUBREG,
take SUBREG_WORD into account.
(if_then_else_cond): Likewise.
From-SVN: r30623
Benjamin Kosnik [Mon, 22 Nov 1999 23:35:50 +0000 (23:35 +0000)]
stl_rope.h: Fix initialization order.
* stl_rope.h: Fix initialization order.
* stl_deque.h: Use static_casts<size_type>(signed_type).
Co-Authored-By: Matthias Klose <doko@cs.tu-berlin.de>
From-SVN: r30622
Jason Merrill [Mon, 22 Nov 1999 18:40:20 +0000 (18:40 +0000)]
gmon.c, [...]: Remove advertising clause from BSD license
* gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
clause from BSD license
From-SVN: r30621
Jason Merrill [Mon, 22 Nov 1999 18:36:49 +0000 (18:36 +0000)]
strtoul.c, [...]: Remove advertising clause from BSD license
* strtoul.c, strtol.c, random.c: Remove advertising clause from
BSD license
From-SVN: r30620
Bernd Schmidt [Mon, 22 Nov 1999 18:34:13 +0000 (18:34 +0000)]
Add regset_head and INIT_REG_SET.
From-SVN: r30619
Bernd Schmidt [Mon, 22 Nov 1999 16:40:32 +0000 (16:40 +0000)]
Reformat load_mems slightly.
From-SVN: r30618
Nathan Sidwell [Mon, 22 Nov 1999 16:10:58 +0000 (16:10 +0000)]
* g++.old-deja/g++.other/warn4.C: New test.
From-SVN: r30617
Nathan Sidwell [Mon, 22 Nov 1999 16:08:14 +0000 (16:08 +0000)]
semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT when actually negative.
* semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT
when actually negative.
* typeck.c (convert_for_assignment): Expand comment about
strange NULL check, moved from ...
(convert_for_initialization): ... here. Remove unneeded
code.
From-SVN: r30616
Nathan Sidwell [Mon, 22 Nov 1999 15:51:14 +0000 (15:51 +0000)]
cleanup2.C: New test.
* g++.old-deja/g++.eh/cleanup2.C: New test.
* g++.old-deja/g++.ext/pretty2.C: New test.
* g++.old-deja/g++.ext/pretty3.C: New test.
* g++.old-deja/g++.other/debug6.C: New test.
From-SVN: r30615
Bruce Korb [Mon, 22 Nov 1999 15:07:28 +0000 (15:07 +0000)]
fixinc.x86-linux-gnu folded into inclhack.def
From-SVN: r30614
Bruce Korb [Mon, 22 Nov 1999 15:05:48 +0000 (15:05 +0000)]
__FD_ZERO fixes for gnu libc1&2
From-SVN: r30613
Andrew Haley [Mon, 22 Nov 1999 14:53:20 +0000 (14:53 +0000)]
emit-rtl.c (gen_sequence): Only return the pattern of an insn if its code is INSN and it has no notes.
Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
* emit-rtl.c (gen_sequence): Only return the pattern of an insn if
its code is INSN and it has no notes.
From-SVN: r30612
Andrew Haley [Mon, 22 Nov 1999 14:20:35 +0000 (14:20 +0000)]
varasm.c (function_defined): Remove.
1999-11-22 Andrew Haley <aph@cygnus.com>
* varasm.c (function_defined): Remove.
(make_function_rtl): Don't set function_defined.
(make_decl_rtl): Remove global register warning.
* regclass.c (no_global_reg_vars): New variable.
(globalize_reg): Warn if function has already been defined.
(regclass_init): Set no_global_reg_vars.
From-SVN: r30611
Jan Hubicka [Mon, 22 Nov 1999 13:43:39 +0000 (14:43 +0100)]
regclass.c (reg_pref): New structure and static variable
* regclass.c (reg_pref): New structure and static variable
(prefclass): Delete.
(altclass): Delete.
(all uses of prefclass and altclass): Use reg_pref instead.
From-SVN: r30610
Jeff Law [Mon, 22 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30609
Anthony Green [Sun, 21 Nov 1999 23:37:58 +0000 (23:37 +0000)]
constants.c (find_methodref_index): Unwrap method names before inserting them in the constant pool.
* constants.c (find_methodref_index): Unwrap method names before
inserting them in the constant pool.
* jcf-parse.c (jcf_parse): Display `interface' when appropriate.
* class.c (assume_compiled_node): New typedef.
(assume_compiled_tree): New static data.
(find_assume_compiled_node): New function.
(add_assume_compiled): New function.
(assume_compiled): New function.
* class.c (make_class_data): Use assume_compiled.
(is_compiled_class): Use assume_compiled.
* java-tree.h (add_assume_compiled): Declare.
* lang.c (lang_decode_option): Parse new options.
From-SVN: r30608
Alexandre Oliva [Sun, 21 Nov 1999 17:49:59 +0000 (17:49 +0000)]
* delete2.C, delete3.C, delete4.C, delete5.C: New tests.
From-SVN: r30607
Alexandre Oliva [Sun, 21 Nov 1999 17:44:34 +0000 (17:44 +0000)]
cp-tree.h (build_vec_delete): Remove `auto_delete' argument.
* cp-tree.h (build_vec_delete): Remove `auto_delete' argument.
* init.c (build_vec_delete, build_vec_delete_1): Likewise.
Always destruct virtual bases of array components, but never
delete them.
(build_vec_init): Adjust invocations.
(build_delete): Likewise.
* decl2.c (delete_sanity): Likewise.
From-SVN: r30606
Nick Clifton [Sun, 21 Nov 1999 16:11:20 +0000 (16:11 +0000)]
Rename -mshort-load-bytes switch to -malignment-traps
From-SVN: r30604
Jan Hubicka [Sun, 21 Nov 1999 12:56:01 +0000 (12:56 +0000)]
Oops, forgot the Changleog entry.
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30603
Jan Hubicka [Sun, 21 Nov 1999 12:53:31 +0000 (12:53 +0000)]
global.c (allocno): New structure and static variable.
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30602
Jan Hubicka [Sun, 21 Nov 1999 12:40:47 +0000 (12:40 +0000)]
regclass.c (may_move_in_cost): Rename from may_move_cost, all references updated.
* regclass.c (may_move_in_cost): Rename from may_move_cost, all
references updated.
(may_move_out_cost): New variable.
(init_reg_sets_1): Initialize may_move_out_cost.
(record_reg_classes): Use may_move_out_cost.
From-SVN: r30601
Jan Hubicka [Sun, 21 Nov 1999 12:33:17 +0000 (12:33 +0000)]
regclass.c (dump_regclass): New function.
* regclass.c (dump_regclass): New function.
(regclass): New parameter DUMP, call DUMP_REGCLASS.
* toplev.c (rest_of_compilation): Opent lreg dump file before regclass,
pass rtl_dump_file to regclass.
* rtl.h (regclass): Update prototype.
From-SVN: r30600
Jeff Law [Sun, 21 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30599
Geoff Keating [Sun, 21 Nov 1999 07:53:01 +0000 (07:53 +0000)]
varasm.c (output_constructor): Solve problem with long long bitfields...
* varasm.c (output_constructor): Solve problem with long long
bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
From-SVN: r30598
Jan Hubicka [Sun, 21 Nov 1999 01:34:22 +0000 (02:34 +0100)]
i386.md (neg, [...]): Revmap to use ix86_expand_unary_operator and ix86_unary_operator_ok.
* i386.md (neg, not and abs patterns): Revmap to use
ix86_expand_unary_operator and ix86_unary_operator_ok.
(add?f and sub?f expanders): Force operand 1 to register.
* i386.c (ix86_expand_unary_operator): Rewrite.
(ix86_unary_operator_ok): Ensure that memory operands
match real opcode.
(ix86_binary_operator_ok): Do not allow operand 1 to
come into memory and operand 0 not.
(ix86_expand_binary_operator): Ensure that
src1 is not non-matching memory.
From-SVN: r30597
Jan Hubicka [Sun, 21 Nov 1999 00:04:15 +0000 (01:04 +0100)]
i386.md (negs?2): Rewrite to expanders...
* i386.md (negs?2): Rewrite to expanders, new patterns and splitters
to support integer registers and memory.
(abss?2_integer): Likewise.
From-SVN: r30596
Jeff Law [Sat, 20 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30595
Jan Hubicka [Fri, 19 Nov 1999 20:50:36 +0000 (21:50 +0100)]
i386.h (enum reg_class): Add FLOAT_INT_REGS.
* i386.h (enum reg_class): Add FLOAT_INT_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
and GENERAL_REGS.
* i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
(movsf): Likewise; unify 4th and 5th alternative.
(pushdf): Likewise.
(movdf_1): Likewise; rename to movdf_integer.
(pushxf): Likewise; rename to pushxf_integer; fix output template;
remove redundant splitter.
(movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
(movdf_nointeger): New.
(movxf_nointeger): New.
(pushxf_nointeger): New.
From-SVN: r30594
Jan Hubicka [Fri, 19 Nov 1999 20:27:08 +0000 (21:27 +0100)]
i386.md (extend?f?f): Split to expander and pattern, refuse two memory operands in patterns.
* i386.md (extend?f?f): Split to expander and pattern, refuse two
memory operands in patterns.
(fop*): Refuse two memory operands.
From-SVN: r30593
Jan Hubicka [Fri, 19 Nov 1999 20:12:14 +0000 (21:12 +0100)]
i386.md (ashrsi3_31): Allow cltd when optimizing for size even on !TARGET_USE_CLTD CPUs.
* i386.md (ashrsi3_31): Allow cltd when optimizing for size even
on !TARGET_USE_CLTD CPUs.
From-SVN: r30592
Tom Tromey [Fri, 19 Nov 1999 19:13:42 +0000 (19:13 +0000)]
sjlj jumbo patch
From-SVN: r30591
Diego Novillo [Fri, 19 Nov 1999 18:23:48 +0000 (18:23 +0000)]
* MAINTAINERS: Add new 'write after approval' maintainer.
From-SVN: r30590
Diego Novillo [Fri, 19 Nov 1999 17:23:37 +0000 (17:23 +0000)]
rtl.texi (mem): Add documentation for alias-set argument to RTX `mem'.
* rtl.texi (mem): Add documentation for alias-set argument
to RTX `mem'.
From-SVN: r30589
Nathan Sidwell [Fri, 19 Nov 1999 13:04:48 +0000 (13:04 +0000)]
* g++.old-deja/g++.ext/restrict1.C: New test.
From-SVN: r30588
Nathan Sidwell [Fri, 19 Nov 1999 13:03:00 +0000 (13:03 +0000)]
extend.texi: Document C++ restricted pointers and references.
* extend.texi: Document C++ restricted pointers and references.
* cp-tree.h (grok_method_quals): Return this pointer qualifiers.
* decl.c (grokdeclarator): Adjust calls to grok_method_quals.
* decl2.c (grok_method_quals): Accept `restrict' as applying to
the object pointer. Return such qualifiers.
(grokclassfn): Apply this pointer qualifiers. Cleanup unused
variables.
From-SVN: r30587
Bernd Schmidt [Fri, 19 Nov 1999 11:36:25 +0000 (11:36 +0000)]
addr_affects_sp_p now unconditional
From-SVN: r30586
Jan Hubicka [Fri, 19 Nov 1999 09:12:18 +0000 (09:12 +0000)]
i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move, fp_load and fp_store
* i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move,
fp_load and fp_store
(REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
fp->int moves
(MEMORY_MOVE_COST): New macro.
* i386.c (386_cost): Define new fields.
(i486_cost): Likewise.
(pentium_cost): Likewise.
(pentiumpro_cost): Likewise.
(k6_cost): Likewise.
From-SVN: r30585
Jeff Law [Fri, 19 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30584
Alexandre Oliva [Fri, 19 Nov 1999 06:36:45 +0000 (06:36 +0000)]
* template7.C: Crash test passes, bug error is now bogus.
From-SVN: r30583
Alexandre Oliva [Fri, 19 Nov 1999 03:23:11 +0000 (03:23 +0000)]
Changed my e-mail address to oliva@lsd.ic.unicamp.br
From-SVN: r30582
Alexandre Petit-Bianco [Fri, 19 Nov 1999 01:43:21 +0000 (01:43 +0000)]
class.c (layout_class): Always convert TYPE_SIZE_UNIT to int_type_node...
Wed Nov 17 21:09:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Always convert TYPE_SIZE_UNIT to
int_type_node: that's what `_Jv_AllocObject' expects.
From-SVN: r30581
Gabriel Dos Reis [Fri, 19 Nov 1999 01:40:12 +0000 (02:40 +0100)]
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh.
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
to define tanh.
From-SVN: r30580
Greg McGary [Fri, 19 Nov 1999 00:23:01 +0000 (00:23 +0000)]
m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68k.h (MASK_PCREL): Don't use same value as
MASK_ALIGN_INT.
* config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
(TARGET_STRICT_ALIGNMENT): New macro.
(TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
(STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
* invoke.texi (M680x0 Options): Document -mstrict-align.
Co-Authored-By: Geoff Keating <geoffk@cygnus.com>
From-SVN: r30579
Jan Hubicka [Thu, 18 Nov 1999 19:10:44 +0000 (20:10 +0100)]
i386-protos.h (split_xf, [...]): Remove.
* i386-protos.h (split_xf, ix86_split_movdi): Remove.
(ix86_split_long_move): Declare.
* i386.c (split_xf, ix86_split_movdi): Remove.
(ix86_split_to_parts, ix86_split_long_move): New.
* i386.md (dimode move splitters): Use ix86_split_long_move.
(dfmode move splitters): Likewise.
(xfmode move splitters): Likewise.
(movsf_1): Allow F->r.
(movdf_1, movxf_1): Allow F->ro.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30578
Mark Mitchell [Thu, 18 Nov 1999 17:52:27 +0000 (17:52 +0000)]
except.c (expand_end_catch_block): Fix typo.
* except.c (expand_end_catch_block): Fix typo.
(expand_exception_blocks): Simplify. Don't call
expand_leftover_cleanups.
From-SVN: r30577
Mark Mitchell [Thu, 18 Nov 1999 17:50:56 +0000 (17:50 +0000)]
except.h (struct eh_entry): Add goto_entry_p.
* except.h (struct eh_entry): Add goto_entry_p.
(eh_region_from_symbol): Remove prototype.
* except.c (find_func_region_from_symbol): New function.
(emit_cleanup_handler): Likewise.
(eh_region_from_symbol): Make it static.
(add_new_handler): Verify the argument.
(find_func_region): Update comment.
(expand_eh_region_end): Expand handlers here, rater than waiting
until expand_leftover_cleanups or start_all_catch.
(expand_leftover_cleanups): Don't expand here.
(expand_start_all_catch): Or here.
(expand_rethrow): Check the return value from find_func_region.
* function.c (expand_function_end): Emit the catch_clauses.
From-SVN: r30576
Gavin Romig-Koch [Thu, 18 Nov 1999 15:12:51 +0000 (15:12 +0000)]
* integrate.c (expand_inline_function): Add necessary check for NULL.
From-SVN: r30575
Nick Clifton [Thu, 18 Nov 1999 11:01:34 +0000 (11:01 +0000)]
Fix command line parsing to report unrecognised options.
From-SVN: r30574
Jeff Law [Thu, 18 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30573
Michael Gschwind [Thu, 18 Nov 1999 08:00:50 +0000 (08:00 +0000)]
basic-block.h (update_life_extent): Remove trailing comma on enumeration type list.
* basic-block.h (update_life_extent): Remove trailing comma on
enumeration type list.
From-SVN: r30572
Herman A.J. ten Brugge [Thu, 18 Nov 1999 07:57:32 +0000 (08:57 +0100)]
* varasm.c (output_constructor) Solved problem with long long
bitfields. Corrected calculating this_time and shift. Also
corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
From-SVN: r30571
Herman A.J. ten Brugge [Thu, 18 Nov 1999 07:56:12 +0000 (08:56 +0100)]
* gcc.c-torture/execute/991118-1.c: New test.
From-SVN: r30570
Tom Tromey [Thu, 18 Nov 1999 07:32:50 +0000 (07:32 +0000)]
* no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.
From-SVN: r30569
Tom Tromey [Thu, 18 Nov 1999 07:19:00 +0000 (07:19 +0000)]
natClass.cc (MCACHE_SIZE): Define as a power of 2 minus 1.
* java/lang/natClass.cc (MCACHE_SIZE): Define as a power of 2
minus 1.
(method_cache): Made larger.
From-SVN: r30568
Jeffrey A Law [Thu, 18 Nov 1999 06:45:55 +0000 (06:45 +0000)]
flow.c (split_edge): Take looping structure into account when determining where to put the new block...
* flow.c (split_edge): Take looping structure into account when
determining where to put the new block note.
From-SVN: r30567
Godmar Back [Thu, 18 Nov 1999 03:59:48 +0000 (03:59 +0000)]
typeck.c: (lookup_java_method): search all inherited interfaces when...
Wed Nov 3 15:20:02 MST 1999 Godmar Back <gback@cs.utah.edu>
* typeck.c: (lookup_java_method): search all inherited
interfaces when looking up interface method.
From-SVN: r30566
Jeff Law [Thu, 18 Nov 1999 03:59:33 +0000 (20:59 -0700)]
Replace spaces with tab in last change.
From-SVN: r30565
Jeff Holcomb [Thu, 18 Nov 1999 03:52:39 +0000 (03:52 +0000)]
Makefile.in (ggc-none.o): Provide host specific version if needed.
* Makefile.in (ggc-none.o): Provide host specific version if
needed.
From-SVN: r30564
Richard Henderson [Thu, 18 Nov 1999 00:52:07 +0000 (16:52 -0800)]
cse.c (delete_trivially_dead_insns): Identify no-op insns containing subregs too.
* cse.c (delete_trivially_dead_insns): Identify no-op insns
containing subregs too.
From-SVN: r30563
Diego Novillo [Thu, 18 Nov 1999 00:41:13 +0000 (00:41 +0000)]
invoke.texi: Add documentation for -muninit-const-in-rodata.
* invoke.texi: Add documentation for -muninit-const-in-rodata.
* config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
(TARGET_UNINIT_CONST_IN_RODATA): Define.
(text_section): Add switches -munint-const-in-rodata and
-mno-uninit-const-in-rodata.
(ASM_OUTPUT_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
const objects should be placed in read-only data. Otherwise declare
them in common.
From-SVN: r30562
Richard Henderson [Thu, 18 Nov 1999 00:39:00 +0000 (16:39 -0800)]
* jump.c (jump_optimize_1): Revert last change.
From-SVN: r30561
Alexandre Petit-Bianco [Thu, 18 Nov 1999 00:11:10 +0000 (00:11 +0000)]
MAINTAINERS: Add new Java maintainer.
Wed Nov 17 16:08:43 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* MAINTAINERS: Add new Java maintainer.
From-SVN: r30560
Richard Henderson [Wed, 17 Nov 1999 23:28:50 +0000 (15:28 -0800)]
jump.c (jump_optimize_1): Don't try to duplicate the loop exit test if optimizing for size.
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit
test if optimizing for size.
From-SVN: r30559
Gerald Pfeifer [Wed, 17 Nov 1999 20:23:43 +0000 (20:23 +0000)]
Change mail address of Per Bothner to per@bothner.com.
Approved/requested by Per himself.
From-SVN: r30558
Craig Burley [Wed, 17 Nov 1999 18:36:40 +0000 (13:36 -0500)]
a bit of a brain-dump from earlier this year
From-SVN: r30557
Mark Mitchell [Wed, 17 Nov 1999 18:13:01 +0000 (18:13 +0000)]
Makefile.in (toplev.o): Depend on except.h.
* Makefile.in (toplev.o): Depend on except.h.
(dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
From-SVN: r30556
Jan Hubicka [Wed, 17 Nov 1999 17:39:18 +0000 (18:39 +0100)]
i386.md (divmodsi4): Rewrite to expander.
Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (divmodsi4): Rewrite to expander.
(*divmodsi4_nocltd): New.
(*divmodsi4_cltd): New.
(divmodsi4 splitter): Handle the case when input comes in edx.
(udivmodhi4): Do not use constraints in exander.
(ashrsi3_31): Conditionize by TARGET_USE_CLTD.
From-SVN: r30555
Jason Merrill [Wed, 17 Nov 1999 17:29:36 +0000 (17:29 +0000)]
dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 for the common case.
* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
for the common case.
From-SVN: r30554
Jan Hubicka [Wed, 17 Nov 1999 17:27:30 +0000 (17:27 +0000)]
Add myself into "write after approval"
From-SVN: r30553
Jeff Law [Wed, 17 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30552
Geoff Keating [Wed, 17 Nov 1999 02:34:15 +0000 (02:34 +0000)]
u77-test.f (wd): Allow for longer working directory pathnames.
* gcc/testsuite/g77.f-torture/execute/u77-test.f (wd): Allow for longer
working directory pathnames.
* libf2c/libU77/u77-test.f (wd): Allow for longer working directory
pathnames.
From-SVN: r30551
Jakub Jelinek [Tue, 16 Nov 1999 17:43:40 +0000 (09:43 -0800)]
explow.c (hard_function_value): Add outgoing argument.
* explow.c (hard_function_value): Add outgoing argument.
* expr.h (hard_function_value): Declare it.
* calls.c (expand_call, emit_library_call_value): Update callers.
* function.c (aggregate_value_p): Ditto.
(diddle_return_value): Must look at the outgoing registers
on archs with register windows.
From-SVN: r30550
Jeff Law [Tue, 16 Nov 1999 08:45:10 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30549
Jason Merrill [Tue, 16 Nov 1999 05:58:53 +0000 (05:58 +0000)]
cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
* cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
* pt.c (tsubst, case INTEGER_TYPE): Call it.
Check uses_template_parms.
From-SVN: r30548
Richard Henderson [Tue, 16 Nov 1999 04:55:19 +0000 (20:55 -0800)]
ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long for printing.
* ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
for printing.
* ggc.h (struct ggc_statistics): Rearrange elements for better
packing on 64-bit hosts.
* lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
(compute_nearerout): Likewise.
From-SVN: r30547
Richard Henderson [Tue, 16 Nov 1999 04:51:28 +0000 (20:51 -0800)]
* flow.c (calculate_global_regs_live): Zero bb->aux to begin.
From-SVN: r30546
Richard Henderson [Tue, 16 Nov 1999 04:47:55 +0000 (20:47 -0800)]
alpha.c (alpha_build_va_list): Use make_lang_type and initialize TYPE_NAME for the va_list record.
* alpha.c (alpha_build_va_list): Use make_lang_type and
initialize TYPE_NAME for the va_list record.
From-SVN: r30545
Mark Mitchell [Tue, 16 Nov 1999 03:42:28 +0000 (03:42 +0000)]
cp-tree.h (build_enumerator): Change prototype.
* cp-tree.h (build_enumerator): Change prototype.
* decl.c (enum_next_value): Remove.
(enum_overflow): Likewise.
(init_decl_processing): Don't register enum_next_value as a root.
(start_enum): Clear TYPE_VALUES for a redefined enum.
(finish_enum): Reset the type of enumeration constants.
(build_enumerator): Fix indentation. Don't copy CONST_DECLs when
we don't need to. Maintain the TYPE_VALUES list and look there
for the previously defined enumeration constant. Let enumeration
constants have the type of their values until the enumeration type
is complete.
* parse.y (enumlist_opt, enumlist, enumerator): Don't return a value.
(structsp): Adjust.
* parse.c: Regenerated.
* pt.c (tsubst_enum): Adjust according to build_enumerator changes.
From-SVN: r30544
Mark Mitchell [Tue, 16 Nov 1999 03:41:13 +0000 (03:41 +0000)]
New test
From-SVN: r30543