Stephen M. Webb [Fri, 13 Jul 2001 16:47:56 +0000 (16:47 +0000)]
Makefile.am: New file encapsulating header generation rules.
2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
Loren J. Rittle <ljrittle@acm.org>
Phil Edwards <pme@sources.redhat.com>
* include/Makefile.am: New file encapsulating header generation rules.
* Makefile.am (SUBDIRS): Prepend 'include' directory.
* acinclude.m4: Moved/removed rules for building various headers.
* configure.in (AC_OUTPUT): Add include/Makefile.
* mkc++config: Removed.
* testsuite_flags.in: Changed build-includes to match new scheme.
* mknumeric_limits: Likewise.
* libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
* libmath/Makefile.am: Likewise.
* libsupc++/Makefile.am: Likewise.
* src/Makefile.am: Likewise; removed rules to build headers.
* libmath/mathconf.h: Changed #include'd header names to match.
* libmath/stubs.c: Likewise.
* src/gen-num-limits.cc: Likewise.
* configure: Regenerated.
* config.h.in: Regenerated.
* aclocal.m4: Regenerated.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libio/Makefile.in: Regenerated.
* libmath/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43985
David Edelsohn [Fri, 13 Jul 2001 15:05:51 +0000 (15:05 +0000)]
* combine.c (try_combine): Ensure const_int pow2 is positive.
From-SVN: r43983
Nicola Pero [Fri, 13 Jul 2001 13:33:23 +0000 (13:33 +0000)]
Added myself in the list of people who can write to CVS after approval
From-SVN: r43982
Hartmut Penner [Fri, 13 Jul 2001 13:11:59 +0000 (13:11 +0000)]
config.gcc: Add configuration for s/390.
* config.gcc: Add configuration for s/390.
* Changelog: Add s/390.
From-SVN: r43981
Hartmut Penner [Fri, 13 Jul 2001 13:10:42 +0000 (13:10 +0000)]
s390.c: New.
* config/s390/s390.c: New. Subroutines for code generation.
* config/s390/s390.h: New. Definitions for s/390.
* config/s390/s390-protos.h: New. Prototypes.
* config/s390/linux.h: New. Definitions for linux for s/390.
* config/s390/linux64.h: New. Definitions for linux for zSeries.
* config/s390/t-linux: New. Makefile fragment.
* config/s390/s390.md: New. Machine description for s/390 and zSeries.
* config/s390/fixdfdi.h: New. Fix L_fix*di.
---------------------------------------------------------------------
From-SVN: r43980
Jan Hubicka [Fri, 13 Jul 2001 12:55:15 +0000 (14:55 +0200)]
emit-rtl.c (try_split): Update mark_jump_label call.
* emit-rtl.c (try_split): Update mark_jump_label call.
* flow.c (find_sub_basic_blocks): Likewise.
* jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
jump_back_p): Kill.
(mark_all_labels): Kill second parameter.
(jump_optimize, jump_optimize_1): Kill cross_jump parameter.
(rebuild_jump_labels, jump_optimize_minimal): Update call
of jump_optimize_1.
(jump_optimize_1): Kill crossjumping code.
(mark_jump_label): Kill cross_jump parameter.
* rtl.h (mark_jump_label, jump_optimize): Update prototypes.
(JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
* reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
splitting.
* toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
DFI_bpro.
(rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
reorganize passes to do reg-stack first, bb-reorder second.
* invoke.texi (-d letters doc): Remove the jump2 pass.
From-SVN: r43979
GCC Administrator [Fri, 13 Jul 2001 07:16:46 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43977
Tom Tromey [Fri, 13 Jul 2001 05:41:28 +0000 (05:41 +0000)]
re PR libgcj/3426 (java.io.InputStreamReader, infinite loop)
Fix for PR libgcj/3426:
* gnu/gcj/convert/natIconv.cc: Include CharConversionException.h,
errno.h.
(read): Throw exception if character conversion fails.
* java/io/BufferedInputStream.java (refill): Now package-private.
* java/io/InputStreamReader.java (ready): Simplified.
(refill): New method.
(read): Use it.
Co-Authored-By: David Brownell <david-b@pacbell.net>
From-SVN: r43975
Alexandre Petit-Bianco [Thu, 12 Jul 2001 21:39:56 +0000 (14:39 -0700)]
anon_ctor_itf_arg.java: New file.
2001-07-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/anon_ctor_itf_arg.java: New file.
* libjava.compile/anon_ctor_itf_arg.out: New file.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00059.html)
From-SVN: r43974
Alexandre Petit-Bianco [Thu, 12 Jul 2001 21:36:43 +0000 (14:36 -0700)]
re PR java/3285 (gcj fails to resolve constructor calls in inner classes)
2001-07-11 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (verify_constructor_super): Compare anonymous class ctor
args with `valid_method_invocation_conversion_p.'
Fixes PR java/3285
(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00823.html)
From-SVN: r43973
Steve Ellcey [Thu, 12 Jul 2001 20:58:30 +0000 (20:58 +0000)]
* toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
From-SVN: r43972
Stephane Carrez [Thu, 12 Jul 2001 17:49:04 +0000 (19:49 +0200)]
configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj on m68hc11/m68hc12.
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj on m68hc11/m68hc12.
From-SVN: r43970
Tom Tromey [Thu, 12 Jul 2001 17:06:40 +0000 (17:06 +0000)]
expr.c (expand_load_internal): New function.
* expr.c (expand_load_internal): New function.
(LOAD_INTERNAL): Use it.
From-SVN: r43969
Tom Tromey [Thu, 12 Jul 2001 17:06:33 +0000 (17:06 +0000)]
* libjava.lang/N19990310_4.xfail: Removed.
From-SVN: r43968
Jan Hubicka [Thu, 12 Jul 2001 16:01:33 +0000 (18:01 +0200)]
flow.c (try_optimize_cfg): Delete whole chain of trivially dead basic blocks.
* flow.c (try_optimize_cfg): Delete whole chain of trivially dead
basic blocks.
(verify_flow_info): Make diagnostics prettier.
From-SVN: r43967
Tom Tromey [Thu, 12 Jul 2001 15:37:43 +0000 (15:37 +0000)]
Report from Henner Zeller:
* java/io/FileOutputStream.java (FileOutputStream): Throw
FileNotFoundException, not IOException.
From-SVN: r43966
Jan Hubicka [Thu, 12 Jul 2001 14:52:51 +0000 (16:52 +0200)]
flow.c (find_basic_blocks_1): Do not emit NOP after call.
* flow.c (find_basic_blocks_1): Do not emit NOP after call.
* flow.c (outgoing_edges_match): Return early if condition reversal
failed.
From-SVN: r43965
Richard Sandiford [Thu, 12 Jul 2001 08:53:02 +0000 (08:53 +0000)]
mips.c (print_operand): Extend '%D' to memory operands.
* config/mips/mips.c (print_operand): Extend '%D' to memory operands.
(mips_move_2words): When splitting a move into two instructions,
prefix the second address operand with '%D'.
From-SVN: r43964
Mark Mitchell [Thu, 12 Jul 2001 07:50:58 +0000 (07:50 +0000)]
decl.c (make_rtl_for_nonlocal_decl): Set DECL_C_HARD_REGISTER for `register' variables with an asm-specification.
* decl.c (make_rtl_for_nonlocal_decl): Set DECL_C_HARD_REGISTER
for `register' variables with an asm-specification.
From-SVN: r43963
GCC Administrator [Thu, 12 Jul 2001 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43960
Neil Booth [Thu, 12 Jul 2001 05:56:27 +0000 (05:56 +0000)]
Makefile.in (final.o): Depend on debug.h.
* Makefile.in (final.o): Depend on debug.h.
* dbxout.c (dbxout_begin_block, dbxout_end_block): New.
(dbx_debug_hooks): Add new hooks.
(xcoff_debug_hooks): New.
* debug.c (debug_nothing_file_int_int): New.
(do_nothing_debug_hooks): Update.
* debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
(debug_nothing_file_int_int): New.
* dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
* dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
static, update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
* final.c: Include debug.h.
(final_scan_insn): Use debug hooks when beginning and ending blocks.
* sdbout.c (sdbout_begin_block, sdbout_end_block): Make
static, update prototype.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
* toplev.c: Distinguish between xcoff and dbx.
* f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
Call all debug hooks, not just dwarf ones.
From-SVN: r43959
Timothy Wall [Thu, 12 Jul 2001 02:55:24 +0000 (02:55 +0000)]
ia64-aix port from Tim Wall
ia64-aix port from Tim Wall
* config.gcc: Add configuration for AIX5/IA64.
* config/ia64/aix.h: New. AIX5/IA64-specific configuration.
* config/ia64/crt[in].asm: New. Generic static ctor/dtor
support prefix/suffix code.
* config/ia64/t-aix: New. Makefile fragment.
* config/ia64/unwind-aix.c: New. Unwind table entry lookup.
From-SVN: r43958
Kazu Hirata [Thu, 12 Jul 2001 01:36:16 +0000 (01:36 +0000)]
recog.c (validate_change): Fix a comment typo.
2001-07-11 Kazu Hirata <kazu@hxi.com>
* recog.c (validate_change): Fix a comment typo.
From-SVN: r43956
Felix Natter [Thu, 12 Jul 2001 00:02:34 +0000 (00:02 +0000)]
porting-howto.xml: Initial checkin of master copy.
2001-07-11 Felix Natter <fnatter@gmx.net>
* docs/html/17_intro/porting-howto.xml: Initial checkin of
master copy.
* docs/html/17_intro/porting-howto.html: check in v0.9.3
From-SVN: r43953
Neil Booth [Wed, 11 Jul 2001 20:51:46 +0000 (20:51 +0000)]
Makefile.in (c-lex.o): Wrap long lines.
* Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
* c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
hooks directly.
* dbxout.c (dbx_debug_hooks): Add new hooks.
(dbxout_start_new_source_file): Rename dbxout_start_source_file,
make static.
(dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
make static.
* dbxout.h (dbxout_start_new_source_file,
dbxout_resume_previous_source_file): Delete.
* debug.c (do_nothing_debug_hooks): Add new hooks.
(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
(debug_nothing_int_charstar, debug_nothing_int): New.
* debug.h (gcc_debug_hooks): New hooks define, undef,
start_source_file and end_source_file.
(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
(debug_nothing_int_charstar, debug_nothing_int): New.
* dwarf2out.c (dwarf2_debug_hooks): Add new hooks.
(dwarf2out_start_source_file, dwarf2out_end_source_file,
dwarf2out_define, dwarf2out_undef): Make static.
* dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
dwarf2out_define, dwarf2out_undef): Remove.
* dwarfout.c (dwarf_debug_hooks): Add new hooks.
(dwarfout_start_source_file, dwarfout_end_source_file,
dwarfout_define, dwarfout_undef): Make static.
(dwarfout_start_source_file_check,
dwarfout_end_source_file_check): New.
(dwarfout_define, dwarfout_finish): Update.
* dwarfout.h (dwarfout_start_new_source_file,
dwarfout_resume_previous_source_file, dwarfout_define,
dwarfout_undef): Remove.
* sdbout.c (sdb_debug_hooks): Add new hooks.
(sdbout_start_new_source_file): Rename sdbout_start_source_file,
make static.
(sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
make static, take an arg.
* sdbout.h (sdbout_start_new_source_file,
sdbout_resume_previous_source_file): Delete.
* toplev.c (debug_start_source_file, debug_end_source_file,
debug_define, debug_undef): Delete.
* toplev.h (debug_start_source_file, debug_end_source_file,
debug_define, debug_undef): Delete.
* java/jcf-parse.c: Include debug.h.
(parse_class_file): Update to use debug hooks directly.
* java/Make-lang.in (jcf-parse.o): Depend on debug.h.
From-SVN: r43952
Richard Kenner [Wed, 11 Jul 2001 20:35:55 +0000 (20:35 +0000)]
alias.c (set_mem_alias_set): New function.
* alias.c (set_mem_alias_set): New function.
* rtl.h (set_mem_alias_set): Declare it.
* builtins.c (expand_builtin_return_addr): Call it instead of
using MEM_ALIAS_SET accessor.
(expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
(get_memory_rtx, expand_builtin_va_arg): Likewise.
(expand_builtin_va_copy):Likewise.
* caller-save.c (setup_save_areas): Likewise.
* calls.c (compute_argument_addresses): Likewise.
* explow.c (set_mem_attributes): Likewise.
* expr.c (emit_single_push_insn, emit_push_insn): Likewise.
(expand_assignment, store_constructor_field, store_field): Likewise.
(expand_expr_unaligned): Likewise.
* function.c (assign_stack_temp_for_type): Likewise.
(put_reg_into_stack, gen_mem_addressof): Likewise.
* ifcvt.c (noce_try_cmove_arith): Likewise.
* reload1.c (reload, alter_reg): Likewise.
* config/alpha/alpha.c (get_aligned_mem): Likewise.
(alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
(alpha_expand_unaligned_store): Likewise
(alpha_expand_unaligned_load_words): Likewise.
(alpha_expand_unaligned_store_words): Likewise.
(alpha_expand_block_clear, alpha_expand_prologue): Likewise.
(alpha_expand_epilogue): Likewise.
* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
* config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
* config/i386/i386.c (legitimize_pic_address): Likewise.
* config/i960/i960.c (setup_incoming_varargs): Likewise.
* config/ia64/ia64.c (spill_restore_mem): Likewise.
* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
* config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
* config/mips/mips.c (mips_va_arg): Likewise.
* config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
(setup_incoming_varargs, rs6000_va_arg): Likewise.
(rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
(rs6000_emit_epilogue): Likewise.
* config/sh/sh.c (sh_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/v850/v850.c (v850_va_arg): Likewise.
From-SVN: r43951
Jan Hubicka [Wed, 11 Jul 2001 19:42:35 +0000 (21:42 +0200)]
flow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is present.
* flow.c (merge_blocks_move_successor_nojumps): Do not crash
when fallthru edge is present.
(mege_blocks): Handle case where creation of jump insn
is required.
* basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
CLEANUP_POST_REGSTACK): New constants.
* except.c (finish_eh_generation): Update call of cleanup_cfg,
* jump.c (rtx_renumbered_equal_p): Handle 't' fields.
* output.h (cleanup_cfg): Update prototype.
* reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
* sibcall.c (optimize_sibling_and_tail_recursive_call): Update
cleanup_cfg call; kill missleading comment.
* toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
* flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
parameter; control optimizations performed using it.
(flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
try_crossjump_bb): New functions.
From-SVN: r43950
Phil Edwards [Wed, 11 Jul 2001 19:35:49 +0000 (19:35 +0000)]
run_doxygen: Don't keep output from previous run.
2001-07-11 Phil Edwards <pme@sources.redhat.com>
* docs/doxygen/run_doxygen: Don't keep output from previous run.
* docs/doxygen/user.cfg.in: Tweaks.
* include/bits/c++config: Documentation comments for Doxygen.
* include/bits/char_traits.h: Likewise.
* include/bits/limits_generic.h: Likewise.
* include/bits/std_stdexcept.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libmath/Makefile.am: Update and correct copyright.
From-SVN: r43948
John David Anglin [Wed, 11 Jul 2001 19:21:40 +0000 (19:21 +0000)]
pa.c (pa_output_function_prologue): Delete prototype.
* pa.c (pa_output_function_prologue): Delete prototype. Make function
extern.
* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
pa_output_function_prologue.
* pa-protos.h (pa_output_function_prologue): New prototype.
From-SVN: r43947
David Billinghurst [Wed, 11 Jul 2001 19:00:48 +0000 (19:00 +0000)]
intrinsic77.f: New test.
2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/intrinsic77.f: New test.
From-SVN: r43946
John David Anglin [Wed, 11 Jul 2001 18:36:38 +0000 (18:36 +0000)]
stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension...
* stmt.c (emit_case_nodes): Widen high and low instead of new_bound
and low to get correct sign extension in low+high test.
From-SVN: r43945
Janis Johnson [Wed, 11 Jul 2001 17:42:47 +0000 (17:42 +0000)]
gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.
* gcov.c (arcdata): Use gcov_type to fix branch percentage
for large hit count.
From-SVN: r43944
Janis Johnson [Wed, 11 Jul 2001 17:38:53 +0000 (17:38 +0000)]
* gcc.misc-tests/gcov-3.c: New test.
From-SVN: r43943
Janis Johnson [Wed, 11 Jul 2001 17:36:50 +0000 (17:36 +0000)]
profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code.
* profile.c (branch_prob): Fix .bbg info for computed gotos
and C++ EH code.
From-SVN: r43942
Mark Mitchell [Wed, 11 Jul 2001 17:35:56 +0000 (17:35 +0000)]
stmt.c (parse_output_constraint): New function, split out from ...
* stmt.c (parse_output_constraint): New function, split out
from ...
(expand_asm_operands): ... here. Use parse_output_constraint.
* tree.h (parse_output_constraint): Declare it.
* semantics.c (finish_asm_stmt): Mark the output operands
to an asm addressable, if necessary.
From-SVN: r43941
Richard Henderson [Wed, 11 Jul 2001 17:34:48 +0000 (10:34 -0700)]
bitmap.c: Comment some functions; fiddle whitespace.
* bitmap.c: Comment some functions; fiddle whitespace.
(bitmap_free): Don't export.
(bitmap_element_allocate): Use memset.
* bitmap.h (bitmap_free): Don't declare.
From-SVN: r43940
Daniel Berlin [Wed, 11 Jul 2001 16:11:47 +0000 (16:11 +0000)]
gcse.c, [...]: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
* gcse.c, lcm.c, sched-deps.c:
s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
* flow.c (flow_loops_find): Free dom if we found no loops, since
we aren't going to save it.
* lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
done.
From-SVN: r43938
Jeffrey A Law [Wed, 11 Jul 2001 14:58:54 +0000 (14:58 +0000)]
* ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
From-SVN: r43937
Richard Kenner [Wed, 11 Jul 2001 14:04:27 +0000 (14:04 +0000)]
dwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO.
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
#ifndef DWARF2_DEBUGGING_INFO.
From-SVN: r43936
Ben Elliston [Wed, 11 Jul 2001 13:10:18 +0000 (13:10 +0000)]
* Revert today's change -- there is a subtle bug.
From-SVN: r43935
Richard Sandiford [Wed, 11 Jul 2001 09:46:23 +0000 (09:46 +0000)]
* gcc.c-torture/compile/
20010711-1.c,
* gcc.c-torture/compile/
20010711-2.c: New tests.
From-SVN: r43934
Richard Sandiford [Wed, 11 Jul 2001 09:41:34 +0000 (09:41 +0000)]
* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
From-SVN: r43933
Richard Sandiford [Wed, 11 Jul 2001 09:38:11 +0000 (09:38 +0000)]
* gcc.c-torture/execute/
20010711-1.c: New test.
From-SVN: r43932
Richard Sandiford [Wed, 11 Jul 2001 09:32:18 +0000 (09:32 +0000)]
mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU.
* config/mips/mips.c (gen_int_relational): Tell the caller not to
reverse a branch if a NE comparison is implemented with GTU.
From-SVN: r43931
Richard Sandiford [Wed, 11 Jul 2001 09:29:42 +0000 (09:29 +0000)]
mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses.
* mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
constant addresses.
(call_internal2): Likewise.
(call_value_internal1): Likewise.
(call_value_internal2): Likewise.
(call_value_multiple_internal1): Likewise.
(call_value_multiple_internal2): Likewise.
Co-Authored-By: H.J. Lu <hjl@gnu.org>
From-SVN: r43930
Ben Elliston [Wed, 11 Jul 2001 07:56:23 +0000 (07:56 +0000)]
re PR c++/80 (g++ enum and attributed __packed__)
2001-07-11 Ben Elliston <bje@redhat.com>
PR c++/80
* decl.c (finish_enum): New "attributes" argument; pass it to
cplus_decl_attributes. Use a narrower type if the enum is packed.
* cp-tree.h (finish_enum): Adjust prototype.
* parse.y (enum_head): New non-terminal.
(structsp): Use it. Enums now may be preceded or followed by
optional attributes -- pass their chained tree to finish_enum().
* pt.c (tsubst_enum): Pass NULL_TREE for the new argument.
From-SVN: r43929
Ben Elliston [Wed, 11 Jul 2001 07:51:07 +0000 (07:51 +0000)]
enum5.C: New test.
2001-07-11 Ben Elliston <bje@redhat.com>
* g++.old-deja/g++.other/enum5.C: New test.
From-SVN: r43928
Alexandre Petit-Bianco [Wed, 11 Jul 2001 07:33:43 +0000 (00:33 -0700)]
[multiple changes]
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* lang-specs.h: Forbit the use if `-femit-class-file{s}' without
`-fsyntax-only.' Fixes PR java/3248
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* jcf-io.c (find_class): Clarified error message. Fixes PR java/2603
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): No `this' is fine if the
current function is static. Fixes PR java/1970
2001-07-09 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (patch_method_invocation): Add enclosing context to ctor
calls if necessary. Fixes PR java/2953
2001-07-09 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_package): Abort if qualified expression member
isn't right.
(qualify_ambiguous_name): Don't qualify as type if `this' in use.
Fixes PR java/1391
(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00701.html )
From-SVN: r43927
GCC Administrator [Wed, 11 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43925
Mark Mitchell [Wed, 11 Jul 2001 06:24:57 +0000 (06:24 +0000)]
pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables.
* pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope
variables.
From-SVN: r43924
Anthony Green [Wed, 11 Jul 2001 03:59:16 +0000 (03:59 +0000)]
Add some org packages.
From-SVN: r43922
Kazu Hirata [Wed, 11 Jul 2001 01:59:36 +0000 (01:59 +0000)]
Fix a typo in ChangeLog.
From-SVN: r43921
Mike Stump [Wed, 11 Jul 2001 01:53:36 +0000 (01:53 +0000)]
Jim is no longer at Wind River, he probably won't be contributing to mcore much
From-SVN: r43920
Richard Kenner [Wed, 11 Jul 2001 01:51:35 +0000 (21:51 -0400)]
Fix typo in last change
From-SVN: r43919
Kazu Hirata [Wed, 11 Jul 2001 01:04:26 +0000 (01:04 +0000)]
calls.c (emit_library_call_value_1): Fix a comment typo.
2001-07-10 Kazu Hirata <kazu@hxi.com>
* calls.c (emit_library_call_value_1): Fix a comment typo.
* dwarf2out.c (mem_loc_descriptor): Likewise.
* config/i386/i386.c (ix86_expand_aligntest): Likewise.
From-SVN: r43917
David Billinghurst [Wed, 11 Jul 2001 00:52:01 +0000 (00:52 +0000)]
simplify-rtx.c: (simplify_subreg) Fix typo in comment
2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
* simplify-rtx.c: (simplify_subreg) Fix typo in comment
From-SVN: r43916
Alexandre Petit-Bianco [Wed, 11 Jul 2001 00:47:37 +0000 (17:47 -0700)]
Makefile.am: Added `java/lang/ThreadLocal.java'.
libjava:
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* Makefile.am: Added `java/lang/ThreadLocal.java'.
* Makefile.in: Regenerate.
* java/lang/ThreadLocal.java: Initial import.
libjava/testsuite:
2001-07-10 Alexandre Petit-Bianco <apbianco@readhat.com>
* libjava.lang/TLtest.java: New file.
* libjava.lang/TLtest.out: New file.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html )
From-SVN: r43915
Jeff Johnston [Wed, 11 Jul 2001 00:11:12 +0000 (00:11 +0000)]
Makefile.in: Add support for regex code.
* Makefile.in: Add support for regex code.
* regex.c: New file.
From-SVN: r43914
Jeff Johnston [Wed, 11 Jul 2001 00:10:28 +0000 (00:10 +0000)]
xregex.h: New file to support libiberty regex.
* xregex.h: New file to support libiberty regex.
* xregex2.h: Ditto.
From-SVN: r43913
Richard Kenner [Tue, 10 Jul 2001 22:09:10 +0000 (22:09 +0000)]
recog.c (offsettable_address_p): Handle LO_SUM case.
* recog.c (offsettable_address_p): Handle LO_SUM case.
* config/mips/mips.c (double_memory_operand): Use adjust_address_nv
instead of plus_constant.
From-SVN: r43912
Stephane Carrez [Tue, 10 Jul 2001 20:43:59 +0000 (22:43 +0200)]
reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge...
* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
From-SVN: r43911
Toon Moene [Tue, 10 Jul 2001 20:39:40 +0000 (22:39 +0200)]
fio.h: Revert type of url from off_t to int.
2001-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/fio.h: Revert type of url from off_t to int.
* libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t.
* libI77/due.c (c_due): Ditto. (e_rdue): Ditto.
* libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer.
(G77_fseek_0): Cast offset argument of FSEEK to off_t.
From-SVN: r43910
Richard Kenner [Tue, 10 Jul 2001 20:24:06 +0000 (20:24 +0000)]
rs6000.c (print_operand, [...]): Use adjust_address_nv instead of plus_constant.
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
adjust_address_nv instead of plus_constant.
From-SVN: r43909
Neil Booth [Tue, 10 Jul 2001 18:44:34 +0000 (18:44 +0000)]
Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.
* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
dwarf2out.o): Depend on debug.h, wrap long lines.
* dbxout.c: Include debug.h.
(dbx_debug_hooks): New.
(dbxout_init): Make static, take just 2 args.
(dbxout_finish): Make static.
* dbxout.h (dbxout_init, dbxout_finish): Delete.
* debug.c: New file.
* debug.h: New file.
* dwarf2out.c: Include debug.h.
(dwarf2_debug_hooks): New.
(dwarf2out_init): Make static.
(dwarf2out_finish): Make static, take 2 args.
* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
* dwarfout.c: Include debug.h.
(dwarf_debug_hooks): New.
(dwarfout_init): Make static.
(dwarfout_finish): Make static, take 2 args.
* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
* sdbout.c: Include debug.h.
(sdb_debug_hooks): New.
(sdbout_init): Make static, take 2 args.
* sdbout.h (sdbout_init): Delete.
* toplev.c: Include debug.h.
(debug_hooks): New.
(compile_file): Set deubg_hooks based on command line options.
Use the hooks unconditionally rather than conditional compilation.
From-SVN: r43908
Neil Booth [Tue, 10 Jul 2001 18:07:41 +0000 (18:07 +0000)]
* tm.texi: Fix markup.
From-SVN: r43907
Jeffrey A Law [Tue, 10 Jul 2001 16:27:54 +0000 (16:27 +0000)]
ssa-ccp.c (first_phi_node): Remove.
* ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
first_insn_after_basic_block_note instead.
* df.c (df_bb_refs_unlink): #if 0 out for now.
* ssa.h: Add prototype for ssa_const_prop
* ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
(ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
(ssa_fast_dce): Remove unused variable
From-SVN: r43906
Gabriel Dos Reis [Tue, 10 Jul 2001 16:04:55 +0000 (16:04 +0000)]
diagnostic.c (finish_diagnostic): Rename to diagnostic_finish.
* diagnostic.c (finish_diagnostic): Rename to
diagnostic_finish. Make it take an 'output_buffer *'. Adjust
calls thourghout.
From-SVN: r43905
Jason Merrill [Tue, 10 Jul 2001 15:54:38 +0000 (11:54 -0400)]
dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have .loc support.
* dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
.loc support.
From-SVN: r43904
Jason Merrill [Tue, 10 Jul 2001 15:39:29 +0000 (11:39 -0400)]
collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
* collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
(dump_file): Only pad the demangled name with spaces if the
mangled name was padded with spaces.
From-SVN: r43903
Bernd Schmidt [Tue, 10 Jul 2001 14:57:13 +0000 (14:57 +0000)]
Correct branch/fallthru edge detection
From-SVN: r43902
Jason Merrill [Tue, 10 Jul 2001 13:54:24 +0000 (09:54 -0400)]
g++-dg.exp: Load file-format and target-supports like gcc.
* lib/g++-dg.exp: Load file-format and target-supports like gcc.
(g++-dg-prune): Call prune_gcc_output.
* prune.exp: New file for prune_gcc_output.
* lib/g++.exp, lib/gcc.exp: Load it.
From-SVN: r43901
Jason Merrill [Tue, 10 Jul 2001 13:05:18 +0000 (09:05 -0400)]
semantics.c (cp_expand_stmt): Fix for null current_function_return_value.
* semantics.c (cp_expand_stmt): Fix for null
current_function_return_value.
From-SVN: r43900
Gabriel Dos Reis [Tue, 10 Jul 2001 12:55:05 +0000 (12:55 +0000)]
acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* aclocal.m4: Regenerate.
* configure: Same.
From-SVN: r43898
Richard Kenner [Tue, 10 Jul 2001 11:29:25 +0000 (11:29 +0000)]
expr.c (expand_expr, [...]): Don't force using bitfield extraction if no direct load if...
* expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
extraction if no direct load if either EXPAND_CONST_ADDRESS or
EXPAND_INITIALIZER.
From-SVN: r43897
Richard Kenner [Tue, 10 Jul 2001 11:25:32 +0000 (11:25 +0000)]
emit-rtl.c (adjust_address, [...]): Change criteria for whether can put offset inside LO_SUM to check mode alignment...
* emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
whether can put offset inside LO_SUM to check mode alignment, not size.
From-SVN: r43896
Gabriel Dos Reis [Tue, 10 Jul 2001 10:52:01 +0000 (10:52 +0000)]
* doc/tm.texi (Misc): Fix thinko.
From-SVN: r43895
Jan van Male [Tue, 10 Jul 2001 10:40:22 +0000 (12:40 +0200)]
regmove.c (replace_in_call_usage): Fix warnings.
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* regmove.c (replace_in_call_usage): Fix warnings.
* sched-deps.c (add_dependence): Fix warnings.
* simplify-rtx.c (simplify_subreg): Likewise.
Return NULL_RTX instead of NULL.
* reg-stack.c (emit_swap_insn): Eliminate warnings.
(subst_asm_stack_regs): Likewise.
* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
warnings.
* dwarf2out.c (output_call_frame_info): Declare i as int.
(build_abbrev_table): Declare n_alloc as int.
(dwarf2out_finish): Initialize die.
* except.c: Declare sjlj_funcdef_number as unsigned.
(connect_post_landing_pads): Declare j as unsigned.
(convert_to_eh_region_ranges): Initialize call_site.
(output_function_exception_table): Initialize tt_format_size.
* expr.c (move_by_pieces_1): Initialize to1.
(store_constructor): Initialize minelt and maxelt.
* flow.c (mark_regs_live_at_end): Declare i as unsigned.
* function.c (instantiate_decls): Avoid signed/unsigned warning.
* c-decl.c (combine_parm_decls): Unused, remove.
* c-tree.h: Remove prototype for combine_parm_decls.
* reload.c (push_reload): Fix warning.
(regno_clobbered_p): Likewise.
* reload1.c (replace_pseudos_in_call_usage): Likewise.
(reload_combine): Likewise.
* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
warnings.
* bitmap.c (bitmap_operation): Change user.
* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
For cp/:
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* call.c (build_op_delete_call): Initialize fn.
(convert_like_real): Delete conditional.
(joust): Initialize *w and *l.
* class.c: Add prototype for binfo_ctor_vtable.
(get_primary_binfo): Initialize result.
* init.c (build_java_class_ref): Initialize name.
* typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an
lvalue and when the argument has side-effects.
For ch/:
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* ch-tree.h: Remove prototype for combine_parm_decls, unused
function.
From-SVN: r43894
Jan van Male [Tue, 10 Jul 2001 10:38:10 +0000 (12:38 +0200)]
regmove.c (replace_in_call_usage): Fix warnings.
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* regmove.c (replace_in_call_usage): Fix warnings.
* sched-deps.c (add_dependence): Fix warnings.
* simplify-rtx.c (simplify_subreg): Likewise.
Return NULL_RTX instead of NULL.
* reg-stack.c (emit_swap_insn): Eliminate warnings.
(subst_asm_stack_regs): Likewise.
* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
warnings.
* dwarf2out.c (output_call_frame_info): Declare i as int.
(build_abbrev_table): Declare n_alloc as int.
(dwarf2out_finish): Initialize die.
* except.c: Declare sjlj_funcdef_number as unsigned.
(connect_post_landing_pads): Declare j as unsigned.
(convert_to_eh_region_ranges): Initialize call_site.
(output_function_exception_table): Initialize tt_format_size.
* expr.c (move_by_pieces_1): Initialize to1.
(store_constructor): Initialize minelt and maxelt.
* flow.c (mark_regs_live_at_end): Declare i as unsigned.
* function.c (instantiate_decls): Avoid signed/unsigned warning.
* c-decl.c (combine_parm_decls): Unused, remove.
* c-tree.h: Remove prototype for combine_parm_decls.
* reload.c (push_reload): Fix warning.
(regno_clobbered_p): Likewise.
* reload1.c (replace_pseudos_in_call_usage): Likewise.
(reload_combine): Likewise.
* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
warnings.
* bitmap.c (bitmap_operation): Change user.
* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
For cp/:
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* call.c (build_op_delete_call): Initialize fn.
(convert_like_real): Delete conditional.
(joust): Initialize *w and *l.
* class.c: Add prototype for binfo_ctor_vtable.
(get_primary_binfo): Initialize result.
* init.c (build_java_class_ref): Initialize name.
* typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an
lvalue and when the argument has side-effects.
For ch/:
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* ch-tree.h: Remove prototype for combine_parm_decls, unused
function.
From-SVN: r43893
James Smaby [Tue, 10 Jul 2001 09:41:04 +0000 (09:41 +0000)]
intdoc.in: Fix the definition of COMPLEX ABS.
2001-07-10 James Smaby <jsmaby@virgo.umeche.maine.edu>
* intdoc.in: Fix the definition of COMPLEX ABS.
Remove `the' where inappropriate.
* intdoc.texi: Rebuilt.
From-SVN: r43892
Eric Christopher [Tue, 10 Jul 2001 09:32:46 +0000 (09:32 +0000)]
mips.c (override_options): Fix typo.
2001-07-10 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (override_options): Fix typo.
From-SVN: r43891
GCC Administrator [Tue, 10 Jul 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43890
Stan Shebs [Tue, 10 Jul 2001 06:18:36 +0000 (06:18 +0000)]
target.h (struct gcc_target): New fields init_builtins and expand_builtin.
* target.h (struct gcc_target): New fields init_builtins and
expand_builtin.
* target-def.h (TARGET_INIT_BUILTINS): New macro.
(TARGET_EXPAND_BUILTIN): New macro.
(TARGET_INITIALIZER): Add them.
* builtins.c: Include target.h.
(expand_builtin): Use targetm.expand_builtin.
(default_init_builtins): New function.
(default_expand_builtin): New function.
* expr.h (default_init_builtins): Declare.
(default_expand_builtin): Declare.
* c-common.c (c_common_nodes_and_builtins): Use
targetm.init_builtins.
* defaults.h (MD_INIT_BUILTINS): Remove.
* Makefile.in (builtins.o): Depend on target.h.
* config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
* config/arm/arm.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.
* config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
(c4x_init_builtins): Make endlink arg a local.
(c4x_print_operand): Fix typos in adjust_address usages.
* config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
* config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.
* config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
(ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
(ix86_init_builtins): Call new function only if TARGET_MMX.
* config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
* config/i386/i386.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.
* config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
* config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.
* doc/tm.texi: Document these changes.
From-SVN: r43888
Neil Booth [Tue, 10 Jul 2001 05:54:40 +0000 (05:54 +0000)]
* ChangeLog: Resolve conflict.
From-SVN: r43887
Diego Novillo [Tue, 10 Jul 2001 03:50:25 +0000 (03:50 +0000)]
basic-block.h (tree_node): Forward declare if needed.
2001-07-09 Diego Novillo <dnovillo@redhat.com>
* basic-block.h (tree_node): Forward declare if needed.
(struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
(BLOCK_HEAD_TREE): Define.
(BLOCK_END_TREE): Define.
(struct loops): Rename field 'tree' to 'tree_root'.
* flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
'end_tree'.
(flow_loops_tree_build): Rename reference to field 'tree' to
'tree_root'.
(flow_loops_level_compute): Ditto.
* predict.c (estimate_bb_frequencies): Ditto.
* tree.h (struct tree_common): Add field 'aux'.
From-SVN: r43886
Stan Shebs [Tue, 10 Jul 2001 00:49:45 +0000 (00:49 +0000)]
darwin.c (darwin_encode_section_info): Don't mark any DECL_EXTERNAL node as defined.
* config/darwin.c (darwin_encode_section_info): Don't mark any
DECL_EXTERNAL node as defined.
From-SVN: r43885
Erik Rozendaal [Mon, 9 Jul 2001 23:46:06 +0000 (19:46 -0400)]
typeck.c (unary_complex_lvalue): Do not duplicate the argument to modify...
* typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an
lvalue and when the argument has side-effects.
From-SVN: r43884
John David Anglin [Mon, 9 Jul 2001 22:55:21 +0000 (22:55 +0000)]
pa.c (pa_init_machine_status, [...]): Delete.
* pa.c (pa_init_machine_status, pa_mark_machine_status,
pa_free_machine_status, hppa_init_pic_save): Delete.
(hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
(hppa_profile_hook): Use hppa_pic_save_rtx.
* pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
hppa_init_pic_save): Delete.
(hppa_pic_save_rtx): Declare.
* pa.md (call, call_value, sibcall, sibcall_value,
builtin_setjmp_receiver): Use hppa_pic_save_rtx.
From-SVN: r43883
Kazu Hirata [Mon, 9 Jul 2001 22:05:44 +0000 (22:05 +0000)]
t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
2001-07-09 Kazu Hirata <kazu@hxi.com>
* config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
* config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
From-SVN: r43882
Phil Edwards [Mon, 9 Jul 2001 21:47:36 +0000 (21:47 +0000)]
configopts.html: Fix thinko.
2001-07-09 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Fix thinko.
* docs/html/27_io/howto.html: Fix thinko and HTML markup.
* include/bits/stl_iterator.h: Fix typo.
From-SVN: r43878
Andreas Jaeger [Mon, 9 Jul 2001 20:32:54 +0000 (22:32 +0200)]
Update.
From-SVN: r43877
Andreas Jaeger [Mon, 9 Jul 2001 20:32:33 +0000 (22:32 +0200)]
output.h: Add declaration of final_forward_branch_p.
* output.h: Add declaration of final_forward_branch_p.
* config/i386/i386.c (output_fix_trunc): Remove unused variable.
From-SVN: r43876
Andreas Jaeger [Mon, 9 Jul 2001 20:30:41 +0000 (22:30 +0200)]
varray.c: Include errors.h for internal_error and trim_filename declarations.
* varray.c: Include errors.h for internal_error and trim_filename
declarations.
* Makefile.in (varray.o): Add errors.h.
From-SVN: r43875
Toon Moene [Mon, 9 Jul 2001 20:21:48 +0000 (22:21 +0200)]
expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
* expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
* optabs.c (have_add2_insn): Check whether the add insn chosen
really accepts the operands. (have_sub2_insn): Ditto for sub insn.
* reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
From-SVN: r43874
Jeff Law [Mon, 9 Jul 2001 19:47:27 +0000 (13:47 -0600)]
Forgot to commit with last batch.
From-SVN: r43873
Jeff Law [Mon, 9 Jul 2001 19:42:28 +0000 (13:42 -0600)]
Makefile.in (OBJS): Add ssa-ccp.o
* Makefile.in (OBJS): Add ssa-ccp.o
(ssa-ccp.o): Add dependencies.
* toplev.c (DFI_ssa_ccp): New dump file enum.
(dump_file): Add entry for dumping after SSA CCP.
(flag_ssa_ccp): New flag variable.
(f_options): Add -fssa-ccp.
(rest_of_compilation): Run SSA CCP if requested.
* timevar.def (TV_SSA_CCP): New timevar.
* ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
* doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
Fix minor typo in SSA DCE documentation.
* doc/invoke.texi: Add documentation for new flag -fssa-ccp.
Add documentation for new dump option. Renumber dump files
appropriately.
* po/POTFILES.in: Add ssa-ccp.c
From-SVN: r43872
Jan Hubicka [Mon, 9 Jul 2001 19:38:19 +0000 (21:38 +0200)]
emit-rtl.c (gen_highpart_mode): New.
* emit-rtl.c (gen_highpart_mode): New.
* rtl.h (gen_highpart_mode): Declare.
* sparc.md (insn splitters): Use gen_highpart_mode, whenever the
operand can be VOIDmode constant.
From-SVN: r43869
Phil Edwards [Mon, 9 Jul 2001 19:37:01 +0000 (19:37 +0000)]
explanations.html: New file.
2001-07-09 Phil Edwards <pme@sources.redhat.com>
* docs/html/explanations.html: New file.
* docs/html/configopts.html: Link to it to provide more notes
on cstdio. Minor markup and spacing fixes.
* docs/html/27_io/howto.html: Talk about sync_with_stdio.
From-SVN: r43868
Jan Hubicka [Mon, 9 Jul 2001 19:32:53 +0000 (21:32 +0200)]
flow.c (redirect_edge_and_branch_force): New.
* flow.c (redirect_edge_and_branch_force): New.
(can_fallthru): Ensure that basic blocks are succeeding.
(try_optimize_cfg): Do not delete basic block if it is the last one.
* flow.c (try_redirect_by_replacing_jump): Do not remove
jumps with side effects, unlink chain on fallthru edge;
set block for new jump instruction; avoid basic block to
over by line number note.
* flow.c (try_simplify_condjump): Verify that the condjump
is not always falling trought.
Re-install patch:
* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
* flow.c (forwarder_block_p): Fix for fallthru blocks.
(try_redirect_by_replacing_jump): Update properly the count
and frequency information.
From-SVN: r43867
Richard Kenner [Mon, 9 Jul 2001 18:56:00 +0000 (18:56 +0000)]
emit-rtl.c (adjust_address, [...]): Handle an address that is a LO_SUM specially.
* emit-rtl.c (adjust_address, adjust_address_nv): Handle an
address that is a LO_SUM specially.
* explow.c (plus_constant_wide, case LO_SUM): Deleted.
From-SVN: r43866
Richard Kenner [Mon, 9 Jul 2001 18:36:15 +0000 (14:36 -0400)]
* c-lang.c (start_cdtor): Remove extra parameter from start_function.
From-SVN: r43865