Commit Graph

47346 Commits

Author SHA1 Message Date
Zdenek Dvorak
cd68f4e4c2 Makefile.in (cfgloop.o, [...]): Add dependencies on coretypes.h and $(TM_H).
* Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
	dependencies on coretypes.h and $(TM_H).

From-SVN: r61762
2003-01-25 10:16:10 +00:00
Jan Hubicka
67945f2e18 * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
From-SVN: r61761
2003-01-25 10:11:05 +00:00
Kazu Hirata
08f0414bfd Fix a small breakage.
From-SVN: r61759
2003-01-25 04:12:17 +00:00
Tom Tromey
b493875095 Cleaned up ChangeLog snafu
From-SVN: r61756
2003-01-25 02:53:04 +00:00
Stuart Hastings
095fa59493 * config/i386/i386.c (x86_output_mi_thunk) Add Darwin/x86 support.
From-SVN: r61755
2003-01-25 01:35:50 +00:00
Michael Hayes
1e4c04e02a c4x.md (UNSPEC_BU): New constants.
* config/c4x/c4x.md (UNSPEC_BU): New constants.
	(UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
	(UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
	(UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
	(UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
	(UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
	(UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
	(UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.

From-SVN: r61754
2003-01-25 00:35:36 +00:00
GCC Administrator
e5c81eff2e Daily bump.
From-SVN: r61753
2003-01-25 00:17:05 +00:00
Gerald Pfeifer
6b99984e7f MAINTAINERS: Remove incorrect entry for Paul Eggert.
* MAINTAINERS: Remove incorrect entry for Paul Eggert.  Fix
	entry of HJ Lu.

From-SVN: r61746
2003-01-24 23:31:41 +00:00
Christopher Faylor
ece0e59fbc configure.in: Remove special pex-cygwin consideration.
* configure.in: Remove special pex-cygwin consideration.
* configure: Regenerate.
* pex-cygwin.c: Remove.
* Makefile.in: Remove pex-cygwin.[co] lines.

From-SVN: r61744
2003-01-24 18:23:18 -05:00
Paolo Carlini
f5128e889f undefined1.C: Add error message.
2003-01-24  Paolo Carlini  <pcarlini@unitus.it>

	* g++.dg/parse/undefined1.C: Add error message.

From-SVN: r61742
2003-01-24 23:14:28 +00:00
Jan Hubicka
a560d4d4d9 emit-rtl.c (reg_attrs_htab): New static variable.
* emit-rtl.c (reg_attrs_htab): New static variable.
	(reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
	functions.
	(reg_rtx): Do not maintain regno_decl.
	(gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
	set_mem_attrs_from_reg): New global function.
	(init_emit): Do not initialize regno_decl.
	(init_emit_once): initialize reg_attrs_htab.
	* final.c (alter_subreg): Do not replace REG by SUBREG.
	(gen_mem_expr_from_op): Improve output.
	(output_asm_operands): Likewise.
	* function.c (assign_params): Do not set REGNO_DECL.
	* function.h (struct function): Kill regno_decl.
	(REGNO_DECL): Kill.
	* gengtype.c (adjust_field_rtx_def): Handle new field of reg.
	* print_rtl.c (print_rtx): Output REG information.
	* regclass.c (reg_scan_mark_refs): Update attrs.
	* reload1.c (alter_reg): Likewise.
	* simplify_rtx.c (simplify_subreg): Likewise.
	* stmt.c (expand_decl): Likewise.
	* rtl.def (REG): Add new field.
	* rtl.h (struct reg_attrs): New.
	(rtunion_def): At rtreg.
	(X0MEMATTR): Add checking.
	(X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
	(set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
	Declare.
	* tree.h (SET_DECL_RTL): Call set_decl_rtl.

From-SVN: r61741
2003-01-24 22:45:58 +00:00
Bob Wilson
1d0ea52e2d xtensa.c: Remove unused include of machmode.h.
* config/xtensa/xtensa.c: Remove unused include of machmode.h.
        (xtensa_emit_call, print_operand): Fix printf format strings
        to avoid compile warnings.
        (xtensa_function_prologue, xtensa_function_epilogue): Change type
        of "size" argument to HOST_WIDE_INT to fix compile warnings.
        * config/xtensa/xtensa-protos.h
        (xtensa_function_prologue, xtensa_function_epilogue): Ditto.

From-SVN: r61739
2003-01-24 22:09:05 +00:00
Jan Hubicka
272f51a36f builtins.c (DEF_BUILTIN): Accept 10 arguments.
* builtins.c (DEF_BUILTIN): Accept 10 arguments.
	(implicit_built_in_decls): New global array.
	(mathfn_built_in): New global function.
	(fold_trunc_transparent_mathfn): New static function
	(expand_builtin_strstr, expand_bultin_strchr,
	expand_builtin_strpbrk, expand_builtin_strcpy,
	expand_builtin_strncpy, expand_bultin_strcmp,
	expand_bultin_strncat, expand_builtin_fputs): Use
	implicint_built_in_decls.
	(fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
	* builtins.def: Fix comments.
	(DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
	DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
	DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
	DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
	(DEF_C99_C90RES_BULTIN): New.
	(*f, *l builtins): Update.
	* c-common.c (DEF_BUILTIN): Initialize implicit array.
	(c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
	* convert.c (strip_float_extensions): New global function.
	* tree.h (DEF_BUILTIN): Accept 10 arguments.
	(implicit_built_in_decls, mathfn_built_in, strip_float_extension):
	Declare.
	* java/builtins.c (define_builtin): Handle implicit.
	(DEF_BUILTIN): Update.
	* tm.texi (TARGET_C99_FUNCTIONS): Document.
	* defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
	* config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
	when using glibc2.

From-SVN: r61738
2003-01-24 22:07:01 +00:00
Ranjit Mathew
0ced43354f re PR java/9253 (on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C:)
2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>

	Fixes PR java/9253:
	* java/io/natFileWin32.cc (performList): Append only "*.*"
	if the canonical file path already has a "\" at the end.

From-SVN: r61736
2003-01-24 21:57:00 +00:00
Bob Wilson
1f37a5b273 config.gcc (xtensa-*-elf*): Removed assignments to with_newlib, extra_parts, and fixincludes.
* config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
        extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
        (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
        * config/xtensa/crti.asm: New file.
        * config/xtensa/crtn.asm: New file.
        * config/xtensa/t-elf: New file.
        * config/xtensa/t-linux: New file.
        * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
        Move various CFLAGS settings to new t-elf file.

From-SVN: r61735
2003-01-24 21:51:03 +00:00
Richard Henderson
84f5e1b11f re PR rtl-optimization/4382 (__builtin_{set,long}jmp with -O3 can crash the compiler)
PR optimization/4382
        * tree-inline.c (find_builtin_longjmp_call_1): New.
        (find_builtin_longjmp_call): New.
        (inlinable_function_p): Use it.

From-SVN: r61732
2003-01-24 13:16:28 -08:00
Zdenek Dvorak
09b2e78d66 i386-protos.h (function_arg_pass_by_reference): Declare.
* config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
	* config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
	* config/i386/i386.c (function_arg_pass_by_reference): New.
	(ix86_va_arg): Support arguments passed by reference.

From-SVN: r61731
2003-01-24 20:48:47 +00:00
Zdenek Dvorak
3d436d2ac5 cfgloopanal.c: New file.
* cfgloopanal.c: New file.
	* cfgloopmanip.c: New file.
	* Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
	(toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
	cfglayout.o): Add dependency on cfgloop.h.
	(cfgloop.o): Add flags.h dependency.
	* basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
	(VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
	(struct loop, struct loops, flow_loops_find, flow_loops_update,
	flow_loops_free, flow_loops_dump, flow_loop_dump,
	flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
	LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
	LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
	flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
	loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
	find_common_loop, verify_loop_structure): Declarations moved to ...
	* cfgloop.h: New file.
	* bb-reorder.c (reorder_basic_blocks): Modified.
	* cfglayout.c: Include cfgloop.h.
	(cleanup_unconditional_jumps, cfg_layout_redirect_edge,
	cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
	(break_superblocks): New static function.
	(cfg_layout_finalize): Use it.
	(cfg_layout_split_block): New function.
	* cfglayout.h (struct reorder_block_def): Add copy and duplicated
	fields.
	(cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
	changed.
	(cfg_layout_split_block): Declare.
	* cfgloop.c: Include cfgloop.h and flags.h.
	(flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
	get_loop_body): Avoid signed versus unsigned comparison warnings.
	(make_forwarder_block, flow_loops_find, loop_preheader_edge,
	loop_latch_edge): Modified.
	(verify_loop_structure): Modified to use flags stored in loop structure;
	check irreducible loops.
	(cancel_loop, cancel_loop_tree): New functions.
	(estimate_probability): Use loop analysis code for predictions.
	(estimate_loops_at_level):  Avoid signed versus unsigned comparison
	warnings.
	* doloop.c: Include cfgloop.h.
	* loop.c: Include cfgloop.h.
	* predict.c: Include cfgloop.h.
	* toplev.c: Include cfgloop.h.
	* unroll.c: Include cfgloop.h.
	* tracer.c (tracer): Modified.

From-SVN: r61730
2003-01-24 20:27:02 +00:00
Zack Weinberg
55d0e5e022 Makefile.in (CFILES): Add pex-*.c.
* Makefile.in (CFILES): Add pex-*.c.
	(REQUIRED_OFILES): Change pexecute.o to @pexecute@
	(CONFIGURED_OFILES): Add pex-*.o.
	(TEXIFILES): Add pexecute.txh.
	(pexecute.o): Delete rule.
	(pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
	pex-unix.o, pex-win32.o): New rules.
	* configure.in: Change AC_INIT argument to xmalloc.c.
	Compute appropriate pexecute implementation and substitute it
	as @pexecute@.

	* pexecute.c: Split up into...
	* pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
	pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
	new files.

	* functions.texi: Regenerate.
	* configure: Regenerate.

From-SVN: r61728
2003-01-24 20:02:11 +00:00
Tom Tromey
4c98b1b078 defineclass.cc (handleMethodsEnd): Precompute code for static method.
* defineclass.cc (handleMethodsEnd): Precompute code for static
	method.
	(handleCodeAttribute): Likewise.
	* resolve.cc (ncode): Use run_class for unsynchronized static
	methods.
	* include/java-interp.h (class _Jv_InterpMethod): Declare
	run_class.
	* interpret.cc (run_synch_class): Initialize class.
	(run) [insn_invokestatic]: Don't initialize class.
	[insn_anewarray]: Likewise.
	[insn_multianewarray]: Likewise.
	(run_class): New function.

From-SVN: r61727
2003-01-24 19:58:21 +00:00
Tom Tromey
d291503a67 ClassLoader.java (findLoadedClass): Removed erroneous comment.
* java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
	comment.

From-SVN: r61725
2003-01-24 19:37:17 +00:00
Tom Tromey
c2c984456c class.c (build_static_field_ref): Only a String or numeric field can fold to a constant.
* class.c (build_static_field_ref): Only a String or numeric field
	can fold to a constant.

From-SVN: r61723
2003-01-24 17:44:03 +00:00
Ranjit Mathew
38997f1bf5 calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes.
2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>

	* libjava.jni/calls.c (Java_calls_docall): Define with
	JNIEXPORT and JNICALL method attributes.
	* libjava.jni/field.c (Java_field_fetch): Likewise.
	* libjava.jni/final_method.c (Java_final_1method_meth): Likewise.
	* libjava.jni/findclass.c (Java_findclass_doit): Likewise.
	* libjava.jni/invoke.c (Java_invoke_val): Likewise.
	* libjava.jni/martin.c (Java_martin_myNative): Likewise.
	* libjava.jni/noclass.c (Java_noclass_find_1it): Likewise.
	* libjava.jni/overload.c (Java_overload_over__I): Likewise.
	(Java_overload_over__II): Likewise.
	* libjava.jni/register.c (JNI_OnLoad): Likewise.
	* libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise.
	* libjava.jni/throwit.c (Java_throwit_throwit): Likewise.
	* libjava.jni/virtual.c (Java_virtual_equals): Likewise.

From-SVN: r61720
2003-01-24 17:39:49 +00:00
Kazu Hirata
a38b3eea74 * config/h8300/h8300.c (get_shift_alg): Fix a typo.
From-SVN: r61718
2003-01-24 17:19:47 +00:00
Nathan Sidwell
3de9870034 missing changelog entry
From-SVN: r61717
2003-01-24 17:17:05 +00:00
Ulrich Weigand
fd3cd001d5 configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
* configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
	* configure: Regenerate.

	* config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
	(tls_symbolic_reference_mentioned_p): Add prototype.
	(s390_tls_get_offset): Add prototype.
	(emit_pic_move): Remove prototype, replace by ...
	(emit_symbolic_move): .. this new prototype.

	* config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
	(tls_model_chars): New global variable.
	(s390_encode_section_info): Encode TLS model.
	Use targetm.binds_local_p to check for local symbols.
	(s390_strip_name_encoding): New function.
	(TARGET_STRIP_NAME_ENCODING): Define.

	(get_thread_pointer): New function.
	(legitimize_tls_address): New function.
	(legitimize_address): Call it.
	(emit_pic_move): Remove, replace by ...
	(emit_symbolic_move): ... this new function.

	(larl_operand): Handle TLS operands.
	(legitimate_constant_p): Likewise.
	(s390_decompose_address): Likewise.
	(s390_cannot_force_const_mem): New function.
	(TARGET_CANNOT_FORCE_CONST_MEM): Define.

	(s390_output_symbolic_const): Handle TLS unspecs.
	(print_operand): New code 'J'.
	(machine_function): Add struct member 'some_ld_name'.
	(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.

	(enum s390_builtin): New type.
	(code_for_builtin_64, code_for_builtin_31): New global variables.
	(s390_init_builtins, s390_expand_builtin): New functions.
	(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.

	* config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
	(ASM_OUTPUT_LABELREF): Define.
	(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.

	* config/s390/s390.md: Define TLS UNSPEC constants.
	("movdi", "movsi"): Handle TLS operands.
	("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
	("*tls_load_64", "*tls_load_31"): New insns.
	("call_value_tls", "call_value_tls_exp"): New expanders.
	("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
	"bas_tls_64", "bas_tls_31"): New insns.

From-SVN: r61714
2003-01-24 17:10:22 +00:00
Andreas Schwab
475c1d0989 * config/linker-map.gnu: Fix for size_t variance.
From-SVN: r61713
2003-01-24 17:01:25 +00:00
Nathan Sidwell
01f4962dee rs6000.c (rs6000_parse_abi_options): Make sure spe ABI is configured, if requested.
* config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
	spe ABI is configured, if requested.

From-SVN: r61712
2003-01-24 16:54:23 +00:00
Volker Reichelt
70b9185438 * doc/passes.texi: Fix typo.
From-SVN: r61708
2003-01-24 16:43:40 +00:00
Andreas Schwab
b8089d8d6c * stor-layout.c (excess_unit_span): Only define if used.
From-SVN: r61707
2003-01-24 16:32:16 +00:00
Nathan Sidwell
c13bea50d1 valarray_meta.h: Remove, split into ...
* include/bits/valarray_meta.h: Remove, split into ...
	* include/bits/valarray_before.h: ... this, and ...
	* include/bits/valarray_after.h: ... this.
	* include/std/std_valarray.h: Adjust.
	* include/Makefile.am (bits_headers): Adjust.
	* include/Makefile.in: Regenerate.

From-SVN: r61706
2003-01-24 16:32:11 +00:00
Andreas Schwab
e12825cd48 ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to size_t to avoid warning.
* ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
	size_t to avoid warning.

From-SVN: r61705
2003-01-24 16:30:17 +00:00
Jerry Quinn
38df970eff invoke.texi (Optimization Options): List -O levels for each optimization flag.
* gcc/doc/invoke.texi (Optimization Options): List -O levels
	for each optimization flag.

From-SVN: r61704
2003-01-24 16:08:41 +00:00
Kazu Hirata
dff23a65f6 * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
From-SVN: r61702
2003-01-24 16:03:14 +00:00
Volker Reichelt
0573975349 bugreport.texi: Use @command instead of @code for commands.
* doc/bugreport.texi: Use @command instead of @code for commands.
	* doc/collect2.texi: Likewise.
	* doc/headerdirs.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/standards.texi: Likewise.
	* doc/tm.texi: Likewise.
	* doc/trouble.texi: Likewise.

From-SVN: r61701
2003-01-24 15:57:41 +00:00
Nick Clifton
06bea5aa22 arm.c (use_return_insn): Do not use a single return instruction for interrupt handelrs which have to...
* config/arm/arm.c (use_return_insn): Do not use a single return instruction
for interrupt handelrs which have to create a stack frame.
(arm_expand_prologue): Do not pre-bias the return address of interrupt handlers
which create a stack frame.

From-SVN: r61698
2003-01-24 15:50:44 +00:00
Alexandre Oliva
3a8699c7ab Add sh2e support:
2002-08-12  Alexandre Oliva  <aoliva@redhat.com>

        * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
        med_cbranches.  Fix logic in short_cbranches.

    2002-04-03  Alexandre Oliva  <aoliva@redhat.com>

        * config/sh/sh.md (delay for cbranch): Don't annul delay
        slots on SH2e.
        * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
        cbranch with unfilled delay slot on SH2e.
        (output_branch): Fill with a nop the delay slot of a
        branch that required a delay slot but didn't get one.

    2002-04-02  Alexandre Oliva  <aoliva@redhat.com>

        * doc/invoke.texi (SH options): Document -m2e.
        * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
        * config/sh/lib1funcs.asm: Likewise.
        * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
        * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
        not __sh1__.
        (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
        SH2E up.
        (SH3E_BIT): Renamed to...
        (SH_E_BIT): ... this.  Replace all uses.
        (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
        Replace all uses of TARGET_SH3E with TARGET_SH2E.
        (TARGET_SWITCHES): Added 2e.
        (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
        (processor_type): Added PROCESSOR_SH2E.
        * config/sh/sh.md: Replace all uses of TARGET_SH3E with
        TARGET_SH2E, except in sqrtsf2_i.
        (attribute cpu): Added sh2e.
        * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
        (MULTILIB_MATCHES): Use m2e multilib for m3e.
        * config.gcc: Add sh2e target support.

From-SVN: r61697
2003-01-24 15:45:53 +00:00
Phil Edwards
65ca2d606c Rename -W to -Wextra.
2003-01-24  Phil Edwards  <pme@gcc.gnu.org>

	Rename -W to -Wextra.
	* c-decl.c:  Update comments.
	* c-typeck.c:  Likewise.
	* flags.h:  Likewise.
	* function.c:  Likewise.
	* stmt.c:  Likewise.
	* toplev.c:  Update comments.
	(W_options):  Add 'extra'.
	(display_help):  Remove '-W'.
	(decode_W_option):  Special warn_uninitialized treatment in the case
	of -Wextra.
	* doc/invoke.texi:  Update with new entries.

From-SVN: r61696
2003-01-24 15:17:26 +00:00
Richard Henderson
3de9c088e8 ifcvt.c (noce_process_if_block): Re-add check vs X being changed in no-else-block case.
* ifcvt.c (noce_process_if_block): Re-add check vs X being changed
        in no-else-block case.  Add commentary.

From-SVN: r61695
2003-01-23 18:59:58 -08:00
Tom Tromey
8bef0925e8 jcf-parse.c (parse_zip_file_entries): Overwrite trailing \0 of file name in resource buffer.
* jcf-parse.c (parse_zip_file_entries): Overwrite trailing \0 of
	file name in resource buffer.

From-SVN: r61694
2003-01-24 02:37:34 +00:00
Kaveh R. Ghazi
b48624772c * configure.in: Revert last change.
From-SVN: r61693
2003-01-24 02:26:04 +00:00
Kaveh R. Ghazi
49691411b7 ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
* ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
	* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
	* unwind-dw2-fde.h (last_fde): Use __attribute__, not
	ATTRIBUTE_UNUSED.

	* configure: Regenerate.

From-SVN: r61692
2003-01-24 01:46:50 +00:00
Nathanael Nerode
ee42dd9daa * dump.c: ANSIfy function declarations and definitions.
From-SVN: r61691
2003-01-24 00:45:55 +00:00
Nathanael Nerode
97286f7fe0 No, really this time.
From-SVN: r61689
2003-01-24 00:39:39 +00:00
GCC Administrator
90861f513b Daily bump.
From-SVN: r61688
2003-01-24 00:17:07 +00:00
Petur Runolfsson
1ceb90cfa1 re PR libstdc++/9322 (return value of basic_streambuf<>::getloc affected by locale::global)
2003-01-23  Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/9322
	* include/std/std_streambuf.h
	(basic_streambuf::basic_streambuf,
	basic_streambuf::~basic_streambuf,
	basic_streambuf::getloc, basic_streambuf::imbue):
	Remove _M_buf_locale_init use.
	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
	* testsuite/27_io/streambuf_members.cc (test08):  Add.
	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.

From-SVN: r61678
2003-01-23 22:53:35 +00:00
Nathanael Nerode
806e09354f configure.in: Revert previous change.
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Revert previous change.
	* configure: Regenerate.

From-SVN: r61676
2003-01-23 22:32:25 +00:00
Franz Sirl
c4db7ecbc3 re PR java/6748 (Array_3 testcase failing on powerpc-linux-gnu)
2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR java/6748
	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
	regs->nip. Fix rt_sigreturn frame layout. Add support for newer
	kernels.

From-SVN: r61675
2003-01-23 22:28:48 +00:00
Tom Tromey
1f369e606f expr.c (build_known_method_ref): Use method's context to find method table index.
* expr.c (build_known_method_ref): Use method's context to find
	method table index.

From-SVN: r61670
2003-01-23 21:19:50 +00:00
Nathanael Nerode
c38e9817ad * cp-tree.h, decl.h: Get rid of PARAMS. Again.
From-SVN: r61669
2003-01-23 20:22:16 +00:00