John Wehle
35bb0780fc
jump.c (jump_optimize_1): Don't delete dead stores here.
...
* jump.c (jump_optimize_1): Don't delete dead stores here.
* toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
prior to running jump optimize before cse2.
From-SVN: r41320
2001-04-13 04:10:56 +00:00
Richard Henderson
1a5428f737
Makefile.in (regmove.o): Depend on except.h.
...
* Makefile.in (regmove.o): Depend on except.h.
* remove.c: Include it.
From-SVN: r41319
2001-04-12 19:52:24 -07:00
Gabriel Dos Reis
d72274e411
set_operators.cc: Just try to compile.
...
* testsuite/23_containers/set_operators.cc: Just try to compile.
Mark as XFAIL.
* testsuite/23_containers/map_operators.cc: Same.
From-SVN: r41318
2001-04-13 02:14:11 +00:00
Stan Shebs
4bd34c3985
objc-act.c: Remove all code ifdefed with the never-used macro OBJC_INT_SELECTORS.
...
* objc/objc-act.c: Remove all code ifdefed with the never-used
macro OBJC_INT_SELECTORS.
* config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
* tm.texi: Remove doc for OBJC_INT_SELECTORS.
From-SVN: r41317
2001-04-13 01:42:39 +00:00
Jason Merrill
ee8fc32b17
cp-tree.h (decl_namespace_list): New macro.
...
* cp-tree.h (decl_namespace_list): New macro.
(struct saved_scope): Add decl_ns_list.
* decl.c (mark_saved_scope): Mark it.
* decl2.c: Lose static decl_namespace_list.
(init_decl2): Don't save it.
From-SVN: r41316
2001-04-12 20:49:43 -04:00
Rodney Brown
3b7da9c5fb
* config/pa/quadlib.c: Add prototypes.
...
From-SVN: r41315
2001-04-12 18:12:12 -06:00
Kaveh R. Ghazi
48857160b2
cp-tree.h (warn_return_type, yylex): Delete redundant declarations.
...
* cp-tree.h (warn_return_type, yylex): Delete redundant
declarations.
* decl.c (current_class_depth, global_namespace): Likewise.
* decl2.c (current_class_depth, flag_gnu_xref): Likewise
* repo.c (flag_use_repository): Likewise.
From-SVN: r41314
2001-04-12 22:31:56 +00:00
Kaveh R. Ghazi
44c4c11d5d
bitmap.h (debug_bitmap): Delete redundant prototype.
...
* bitmap.h (debug_bitmap): Delete redundant prototype.
* rtl.h (get_frame_size): Likewise.
From-SVN: r41313
2001-04-12 22:27:22 +00:00
Kaveh R. Ghazi
e197a0eccf
bad.c (inhibit_warnings): Delete redundant declaration.
...
* bad.c (inhibit_warnings): Delete redundant declaration.
* com.c (skip_redundant_dir_prefix): Likewise.
* com.h (mark_addressable): Likewise.
From-SVN: r41312
2001-04-12 22:18:51 +00:00
Jim Wilson
640cea5fb4
Fix for PR 2498, getf/stf require normalization after a cast.
...
* config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
to just emit an fnorm.
From-SVN: r41311
2001-04-12 13:46:19 -07:00
Kaveh R. Ghazi
20e50c6277
c-common.h (truthvalue_conversion, [...]): Delete redundant declarations.
...
* c-common.h (truthvalue_conversion, type_for_mode,
type_for_size): Delete redundant declarations.
* c-lex.h (is_class_name): Likewise.
* c-tree.h (pedantic, convert, getdecls, gettags,
global_bindings_p, init_decl_processing, insert_block,
maybe_build_cleanup, poplevel, print_lang_decl,
print_lang_identifier, print_lang_type, pushdecl, pushlevel,
set_block, incomplete_type_error, build_function_call,
lvalue_or_else, mark_addressable): Likewise.
* expr.h (expand_tree_builtin): Likewise.
From-SVN: r41309
2001-04-12 18:23:09 +00:00
Mark Mitchell
33d3b05bdc
* invoke.texi: Document --param max-gcse-memory.
...
From-SVN: r41308
2001-04-12 17:05:13 +00:00
Kaveh R. Ghazi
845e14ed61
cp-tree.h (pedantic, [...]): Delete redundant declarations.
...
* cp-tree.h (pedantic, convert, global_bindings_p, insert_block,
set_block, pushdecl, getdecls, gettags, init_decl_processing,
maybe_build_cleanup, copy_lang_decl, prep_stmt, lvalue_p,
lvalue_or_else, print_lang_statistics, comp_target_types,
unsigned_type, signed_type, signed_or_unsigned_type,
build_function_call, mark_addressable, incomplete_type_error):
Delete redundant declarations.
From-SVN: r41306
2001-04-12 15:43:32 +00:00
Kaveh R. Ghazi
6c889b67cb
configure.in (errno): Check for declaration.
...
* configure.in (errno): Check for declaration.
* configure, config.in: Regenerated.
* system.h (errno): Only declare if not already done.
From-SVN: r41305
2001-04-12 15:36:24 +00:00
Jason Merrill
1951a1b6ec
cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
...
* cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
(TYPE_ANONYMOUS_P): New macro.
(TAGGED_TYPE_P): New macro.
* decl.c (check_tag_decl): Use TYPE_ANONYMOUS_P.
(grokfndecl, grokvardecl, grokdeclarator): Likewise.
* tree.c (no_linkage_helper): Likewise.
* semantics.c (begin_class_definition): Likewise.
* pt.c (convert_template_argument): Likewise.
* lex.c (check_for_missing_semicolon): Likewise.
From-SVN: r41303
2001-04-12 10:15:48 -04:00
Jason Merrill
d93aa33514
libstdc++.exp (libstdc++-dg-test): Prepend "./" to output_file.
...
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
output_file.
(dg-test): Revert rth's change.
From-SVN: r41301
2001-04-12 09:35:24 -04:00
Alexandre Oliva
75b9074c18
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.226.
...
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
From-SVN: r41299
2001-04-12 12:28:03 +00:00
Bryce McKinlay
52c2897732
Makefile.am: Make a libtool convenience library.
...
libffi:
* Makefile.am: Make a libtool convenience library.
* Makefile.in: Rebuilt.
libjava:
* java/io/File.java (normalizePath): New private method.
(File (String)): Use normalizePath().
(File (String, String)): Likewise.
* Makefile.am (libffi_files): Removed.
(libgcj.la): Link libffi as a convenience library instead of
refering to its object files directly.
* Makefile.in: Rebuilt.
From-SVN: r41298
2001-04-12 10:32:50 +01:00
Nathan Sidwell
f847167e3d
eh_alloc.cc (__cxa_allocate_exception): Don't terminate holding the mutex.
...
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
From-SVN: r41296
2001-04-12 07:47:34 +00:00
Nathan Sidwell
0fb3018cd8
class.c (dfs_unshared_virtual_bases): New function.
...
cp:
* class.c (dfs_unshared_virtual_bases): New function.
(mark_primary_bases): Call it.
(check_bases): Ignore virtual bases when determining
nearly-emptiness.
testsuite:
* g++.old-deja/g++.abi/primary3.C (main): Correct expected layout.
* g++.old-deja/g++.abi/crash1.C: New test.
From-SVN: r41295
2001-04-12 07:44:48 +00:00
Nathan Sidwell
bbb53468cc
method.c (make_thunk): Clear DECL_CLONED_FUNCTION.
...
cp:
* method.c (make_thunk): Clear DECL_CLONED_FUNCTION.
testsuite:
* g++.old-deja/g++.other/crash40.C: New test.
From-SVN: r41294
2001-04-12 07:42:17 +00:00
GCC Administrator
571a66c6c9
Daily bump.
...
From-SVN: r41291
2001-04-12 07:16:40 +00:00
Alexandre Oliva
c033e268c5
recog.c (general_operand, [...]): Require CONST_INTs to be sign-extended values for their modes.
...
* recog.c (general_operand, immediate_operand,
nonmemory_operand): Require CONST_INTs to be sign-extended
values for their modes.
From-SVN: r41286
2001-04-12 05:25:55 +00:00
Alexandre Oliva
691073076b
expmed.c (store_bit_field): Truncate CONST_INTs.
...
* expmed.c (store_bit_field): Truncate CONST_INTs.
(expand_mult_highpart, expand_divmod): Likewise.
* expr.c (convert_modes, store_field): Likewise.
* integrate.c (expand_inline_function): Use promote_mode() to
determine whether to convert_modes() an argument as signed
or unsigned.
* optabs.c (expand_binop): Get CONST_INT operands
sign-extended for their appropriate modes.
* stmt.c (emit_case_nodes): Convert node values to the
appropriate mode.
(expand_end_case): Convert minval and range to the appropriate
mode.
* unroll.c (loop_iterations): Truncate abs_diff to the mode of
the iteration variable.
* varasm.c (immed_double_const): Don't require words to be
narrower than host wide ints to properly sign-extend
CONST_INTs.
From-SVN: r41285
2001-04-12 03:41:36 +00:00
Kaz Kojima
001643af80
* sh.md (builtin_setjmp_receiver): New expander.
...
From-SVN: r41283
2001-04-12 03:34:07 +00:00
Alexandre Oliva
38886f371d
rs6000.c (rs6000_emit_move): Do not special-case HOST_BITS_PER_WIDE_INT != 32.
...
* config/rs6000/rs6000.c (rs6000_emit_move): Do not
special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria
for generating CONST_INT and CONST_DOUBLE.
* config/rs6000/rs6000.c (logical_operand): CONST_INTs are
already sign-extended.
(rs6000_emit_prologue): Make register iterator signed.
(rs6000_emit_epilogue): Likewise.
* config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
and low.
(movsf split, movdf split): Sign-extend CONST_INTs.
(movdi splits): Likewise.
From-SVN: r41282
2001-04-12 03:11:48 +00:00
Kelley Cook
ccc27eab42
* config-lang.in (lang_dirs): Add in zlib.
...
From-SVN: r41280
2001-04-12 03:06:00 +00:00
Alexandre Oliva
383252a724
i386.md: Apply trunc_int_for_mode() to GEN_INT operands that make it to RTL.
...
* config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
operands that make it to RTL.
From-SVN: r41279
2001-04-12 02:59:43 +00:00
Stan Shebs
125404c5f3
* MAINTAINERS: Add self as Darwin port maintainer.
...
From-SVN: r41278
2001-04-12 02:19:48 +00:00
Stan Shebs
ee890fe2a1
Add Darwin (Mac OS X kernel) native support.
...
* config.gcc (powerpc-*-darwin*): Add native bits.
* config/darwin.c: New file, generic Darwin support functions.
* config/darwin.h: New file, generic Darwin definitions.
* config/darwin-protos.h: New file, generic Darwin prototypes.
* rs6000/darwin.h: New file, Darwin for PowerPC.
* rs6000/t-darwin: New file, Darwin makefile fragment.
* rs6000/rs6000.h (OBJECT_MACHO): New macro.
(TARGET_MACHO): Ditto.
(rs6000_abi): Add ABI_DARWIN.
(RS6000_REG_SAVE): Add ABI_DARWIN case.
(RS6000_SAVE_AREA): Ditto.
(FP_ARG_MAX_REG): Ditto.
(RETURN_ADDRESS_OFFSET): Ditto.
* rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
cases.
(rs6000_emit_move): Add ABI_DARWIN cases.
(print_operand): Ditto.
(first_reg_to_save): Ditto.
(rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
(debug_stack_info): Ditto.
(rs6000_emit_prologue): Ditto.
(rs6000_emit_epilogue): Ditto.
(output_profiler_hook): Ditto.
(output_function_profiler): Ditto.
(rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
(output_mi_thunk): Add TARGET_MACHO case.
(add_compiler_stub): Ditto.
(output_compiler_stub): Ditto.
(no_previous_def): Ditto.
(output_call): Ditto.
(machopic_output_stub): Ditto.
(rs6000_machopic_legitimize_pic_address): Ditto.
(toc_section): Ditto.
* rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
(macho_high): Ditto.
(macho_low): Ditto.
(movsi_low): Ditto.
(load_macho_picbase): Ditto.
(call): Add TARGET_MACHO case to modify function.
(call_value): Ditto.
(call_nonlocal_sysv): Add ABI_DARWIN case.
(call_value_nonlocal_sysv): Ditto.
* rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
Add prototype.
(machopic_output_stub): Ditto.
* ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
From-SVN: r41277
2001-04-12 02:13:00 +00:00
Mark Mitchell
5101b30466
dwarf2out.c (modified_type_die): Don't create new types here.
...
* dwarf2out.c (modified_type_die): Don't create new types here.
* tree.h (get_qualified_type): New function.
(build_qualified_type): Adjust comment.
* tree.c (get_qualified_type): New function.
(build_qualified_type): Use it.
From-SVN: r41276
2001-04-12 01:44:21 +00:00
Gabriel Dos Reis
e98d0ceafc
* testsuite/README: Add DejaGnu specific documentation.
...
From-SVN: r41274
2001-04-11 23:42:57 +00:00
Kaveh R. Ghazi
c8abc68426
cpp.texi (-Wtraditional): Update description.
...
* cpp.texi (-Wtraditional): Update description.
* invoke.texi (-Wtraditional): Likewise.
From-SVN: r41272
2001-04-11 21:46:28 +00:00
Kaveh R. Ghazi
76cf1895c3
* gcc.c-torture/execute/20010122-1.c: Fix declaration of alloca.
...
From-SVN: r41270
2001-04-11 20:31:15 +00:00
Jim Wilson
93dd6255c2
Fix PR 2520, a problem with structure parameter passing.
...
* config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
requires more than 64 bits of alignment.
From-SVN: r41269
2001-04-11 13:19:43 -07:00
Mark Mitchell
9b7949d5ff
optimize.c (maybe_clone_body): Copy DECL_NUM_STMTS from the cloned function to the clone.
...
* optimize.c (maybe_clone_body): Copy DECL_NUM_STMTS from the
cloned function to the clone.
From-SVN: r41267
2001-04-11 19:45:49 +00:00
Neil Booth
2f5bf149f2
* cpplib.c (do_line): Sanity check iff enable checking.
...
From-SVN: r41265
2001-04-11 19:28:23 +00:00
Joern Rennecke
b6285d1baf
Typo fix.
...
From-SVN: r41264
2001-04-11 20:16:01 +01:00
Benjamin Kosnik
46840bcd52
acinclude.m4: AC_CHECK_TOOL for expect.
...
2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: AC_CHECK_TOOL for expect.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (RUNTEST): Use substituted.
(EXPECT): Same.
* configure.in: Remove xcompiling substitution.
* tests_flags.in (CROSS_LIB_PATH): Remove.
(xcompiling): Remove.
(CXX): Use substituted CXX.
From-SVN: r41262
2001-04-11 18:52:31 +00:00
Richard Henderson
04f378ce1e
Makefile.in (insn-recog.o): Depend on toplev.h.
...
* Makefile.in (insn-recog.o): Depend on toplev.h.
(insn-emit.o, doloop.o): Likewise.
* genrecog.c, genemit.c: Include toplev.h in generated file.
* doloop.c: Include toplev.h.
From-SVN: r41261
2001-04-11 11:36:50 -07:00
Mark Mitchell
f1fa37ff6b
Makefile.in (gcse.o): Depend on params.h.
...
* Makefile.in (gcse.o): Depend on params.h.
* gcse.c: Include params.h.
(gcse_main): Don't do GCSE if doing so will take inordinate
amounts of memory.
* params.def (PARAM_MAX_GCSE_MEMORY): New parameter.
* params.h (MAX_GCSE_MEMORY): New macro.
From-SVN: r41260
2001-04-11 18:22:46 +00:00
Kaveh R. Ghazi
f3a8030a5b
Makefile.in (insn-output.o): Depend on $(EXPR_H).
...
* Makefile.in (insn-output.o): Depend on $(EXPR_H).
* genoutput.c (output_prologue): Include expr.h in insn-output.c.
From-SVN: r41258
2001-04-11 15:57:31 +00:00
Kaveh R. Ghazi
68896bf9a2
output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
...
* output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
* real.h (ereal_atof, real_value_truncate, target_isnan,
target_isinf, target_negative, assemble_real, debug_real): Delete
redundant prototypes.
From-SVN: r41257
2001-04-11 15:53:46 +00:00
Kaveh R. Ghazi
d6684bc856
Makefile.in (ifcvt.o): Depend on toplev.h.
...
* Makefile.in (ifcvt.o): Depend on toplev.h.
* c-semantics.c: Include expr.h.
* ifcvt.c: Include toplev.h.
* expr.h (rtx_equal_p): Delete prototype.
* rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
eliminate_constant_term, expand_complex_abs, find_single_use,
make_tree, init_expr_once, init_optabs, supports_one_only):
Likewise.
* tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
expand_assignment, store_expr, emit_line_note_after,
emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
* toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
cp:
* Make-lang.in (cp/semantics.o): Depend on $(EXPR_H).
* semantics.c: Include expr.h.
java:
* Make-lang.in (java/boehm.o): Depend on toplev.h.
* boehm.c: Include toplev.h.
From-SVN: r41256
2001-04-11 15:51:55 +00:00
Kaveh R. Ghazi
2ef56a41e6
* sparc-protos.h: Delete redundant prototypes.
...
From-SVN: r41255
2001-04-11 15:48:45 +00:00
Vladimir Makarov
550d794297
reload.c (push_reload): Add condition missed in SUBREG byte offset patch.
...
2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
* reload.c (push_reload): Add condition missed in SUBREG byte
offset patch.
From-SVN: r41253
2001-04-11 14:13:13 +00:00
Rainer Orth
8fe879c7ad
* sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
...
From-SVN: r41251
2001-04-11 15:00:49 +02:00
Jan Hubicka
037f20f168
i386.md (floatsisf_sse): Fix output template
...
* i386.md (floatsisf_sse): Fix output template
* i386.c (ix86_expand_fp_movcc)
* reg-stack.c (emit_pop_insn): Handle complex modes.
(move_for_stack_reg): Emit proper move mode.
(subst_stack_regs_pat): Handle complex modes.
From-SVN: r41250
2001-04-11 12:10:22 +00:00
Jakub Jelinek
01ef656387
* cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
...
From-SVN: r41247
2001-04-11 11:43:10 +02:00
Alan Modra
876684fea3
update my mail address
...
From-SVN: r41246
2001-04-11 18:32:47 +09:30