zack [Wed, 22 Aug 2001 00:33:33 +0000 (00:33 +0000)]
* expmed.c (mode_for_extraction): New function.
(store_bit_field, extract_bit_field): Use it.
* expr.h: Prototype it and provide an enum for its first argument.
* combine.c, function.c, recog.c: Don't include insn-codes.h.
Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
and digging through the insn_data tables.
* Makefile.in: Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45086
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 23:05:12 +0000 (23:05 +0000)]
* cppfiles.c (stack_include_file): line-map.c now handles include
depth.
(handle_missing_handler): Similarly.
(_cpp_execute_include): Similarly.
(_cpp_pop_file_buffer): Similarly.
* cpphash.h (struct cpp_reader): Remove system_include_depth,
buffer_stack_depth and include_depth.
* cpplib.c (do_include_common): line-map.c now handles include depth.
(cpp_push_buffer): Similarly.
(_cpp_pop_buffer): Similarly.
* cppmacro.c (builtin_macro): Update.
* line-map.c (init_line_maps): Set depth.
(add_line_map): Increment "used" earlier. Update and use the
include depth.
(trace_include): Use the include depth.
* line-map.h (struct line_maps): New member depth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45085
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 21:17:48 +0000 (21:17 +0000)]
* cppfiles.c (stack_include_file): Don't handle -H here.
* cppinit.c (cpp_start_read): Set include tracing after
cpp_post_options and after stacking the main file.
* line-map.c (trace_include): New.
(init_line_maps, add_line_map): Update.
* line-map.h (struct line_maps): New member trace_includes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45084
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 19:23:24 +0000 (19:23 +0000)]
* cppfiles.c (stack_include_file): Harmonize system headerness tests.
* cppfiles.c (stack_include_file): Only stack a file if there
is something to do. Return a boolean indicating whether a
buffer was stacked or not.
(_cpp_execute_include): Similarly.
(_cpp_read_file): Similarly.
* cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45083
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 17:10:22 +0000 (17:10 +0000)]
* tradcpp.c (rescan): define obufp_before_macroname before RECACHE
(RECACHE): keep obufp_before_macroname up to date
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45082
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Tue, 21 Aug 2001 16:40:45 +0000 (16:40 +0000)]
* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting
on cygwin.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45081
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 21 Aug 2001 16:11:35 +0000 (16:11 +0000)]
* gcc.misc-tests/gcov.exp: Add support for branch information.
* gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up.
* gcc.misc-tests/gcov-4.c: New test.
* gcc.misc-tests/gcov-4b.c: New test.
* gcc.misc-tests/gcov-5b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45080
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 21 Aug 2001 16:09:59 +0000 (16:09 +0000)]
Remove information about new tests, to move to testsuite/ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45079
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)]
* stmt.c: Don't include insn-codes.h.
(expand_end_case): Machine specific logic moved to expr.c.
No need to worry about __builtin_classify_type.
(check_for_full_enumeration_handling, emit_case_nodes):
Kill #if 0 blocks.
* builtins.o (expand_builtin_classify_type): Split up so code
can be shared with fold_builtin_classify_type.
(type_to_class, fold_builtin_classify_type): New functions.
(fold_builtins): Handle __builtin_classify_type.
* expr.c (do_tablejump): Now static.
(case_values_threshold, try_casesi, try_tablejump): New;
code mostly from stmt.c (expand_end_case).
(expr.h): Update prototypes.
* Makefile.in (stmt.o): Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45078
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 21 Aug 2001 14:24:48 +0000 (14:24 +0000)]
* java/util/IdentityHashMap.java (get): Fix off-by-one error.
(put): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45077
138bc75d-0d04-0410-961f-
82ee72b054a4
wcohen [Tue, 21 Aug 2001 12:17:28 +0000 (12:17 +0000)]
2001-08-21 Will Cohen <wcohen@redhat.com>
* configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
declaration of variable i.
* configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
declaration of variable i.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45076
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 10:12:07 +0000 (10:12 +0000)]
* crtstuff.c: Fix thinko last change. Move list tails to start
of CRT_END section. Tidy ifdefs.
(__EH_FRAME_BEGIN__): Always static for ELF.
(__do_global_ctors_1): Rename from __frame_dummy.
* config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
name change; don't hide __EH_FRAME_BEGIN__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45075
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 08:54:33 +0000 (08:54 +0000)]
* gdbinit.in: Move break on exit after break on fancy_abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45074
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 08:50:36 +0000 (08:50 +0000)]
* config/ia64/ia64.c (ia64_return_in_memory): True for variable
sized types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45073
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 21 Aug 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45071
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 06:20:18 +0000 (06:20 +0000)]
* cpphash.h (_cpp_push_next_buffer): New.
* cppinit.c (do_includes): Remove.
(push_include, free_chain, _cpp_push_next_buffer): New.
(cpp_start_read): Use them to rework command line option handling.
(cpp_handle_option): Combine handling of -include and -imacros.
* cpplex.c (_cpp_lex_token): Push a new -include buffer if
appropriate. Always insert missing \n at EOF.
* cpplib.c (start_directive): Get the directive position right.
* cppmain.c (cb_file_change): Always print the first line, unless
preprocessed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45070
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 21 Aug 2001 05:06:55 +0000 (05:06 +0000)]
* profile.c (compute_branch_probabilities): Remove extra new-line
in error message.
* flow.c (verify_flow_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45069
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 21 Aug 2001 03:22:26 +0000 (03:22 +0000)]
* basic-block.h (basic_block): Add new field 'flags'.
(BB_REACHABLE): Define.
(expunge_block): Declare.
* flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
(EXIT_BLOCK_PTR): Ditto.
(expunge_block): Remove static declaration.
(cleanup_cfg): Clear bb->aux on every basic block.
(find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
computing reachability.
(delete_unreachable_blocks): Delete block b if b->flags has
BB_REACHABLE unset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45068
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 21 Aug 2001 02:34:14 +0000 (02:34 +0000)]
* doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45067
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 21 Aug 2001 00:17:47 +0000 (00:17 +0000)]
* sparc.c (sparc_variable_issue): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45066
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Tue, 21 Aug 2001 00:09:09 +0000 (00:09 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45065
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 20 Aug 2001 22:25:30 +0000 (22:25 +0000)]
* gcc.c-torture/execute/
20000801-4.x: Delete, test no longer
expected to fail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45064
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 20 Aug 2001 20:53:21 +0000 (20:53 +0000)]
* varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45063
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 20 Aug 2001 20:06:07 +0000 (20:06 +0000)]
include/
2001-08-20 Daniel Berlin <dan@cgsoftware.com>
* fibheap.h: New file. Fibonacci heap.
libiberty/
2001-08-20 Daniel Berlin <dan@cgsoftware.com>
* fibheap.c: New file. Fibonacci heap.
* Makefile.in (CFILES): Add fibheap.c.
(REQUIRED_OFILES): Add fibheap.o.
(fibheap.o): Add dependencies for fibheap.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45062
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 19:53:14 +0000 (19:53 +0000)]
* java/awt/GridBagConstraints.java: Removed comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45061
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 19:52:02 +0000 (19:52 +0000)]
* jni.cc (nathash, nathash_count, nathash_size): New globals.
(DELETED_ENTRY): New define.
(hash): New function.
(nathash_find_slot): Likewise.
(natrehash): Likewise.
(nathash_add): Likewise.
(_Jv_JNI_RegisterNatives): No longer interpreter-specific. Use
nathash_add.
(nathash_find): New function.
(_Jv_LookupJNIMethod): Use it. Synchronize body.
(call): Synchronize around assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45060
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 20 Aug 2001 18:12:39 +0000 (18:12 +0000)]
* pa.h (RETURN_IN_MEMORY): Improve comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45059
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:40:26 +0000 (17:40 +0000)]
Test of gcov branch coverage reporting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45058
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:39:20 +0000 (17:39 +0000)]
Test of gcov line coverage information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45057
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:37:23 +0000 (17:37 +0000)]
Change to invoke gcov and clean up.
Remove dg-prms-id, which carried over to other tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45056
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:36:05 +0000 (17:36 +0000)]
Add support for branch information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45055
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:34:48 +0000 (17:34 +0000)]
* gcc.misc-tests/gcov.exp: Add support for branch information.
* gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up.
* gcc.misc-tests/gcov-4.c: New test.
* gcc.misc-tests/gcov-4b.c: New test.
* gcc.misc-tests/gcov-5b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45054
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:08:14 +0000 (17:08 +0000)]
* doc/invoke.texi (Profiling options): Clarify the interactions
between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45053
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 16:40:46 +0000 (16:40 +0000)]
* configure: Rebuilt.
* configure.in: Always ask gcc for threads package.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45052
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Mon, 20 Aug 2001 15:24:24 +0000 (15:24 +0000)]
2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
* crtstuff.c (__do_global_ctors): Fix typo in preprocessing
command.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45051
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 20 Aug 2001 13:39:36 +0000 (13:39 +0000)]
* gcc.c (make_relative_prefix): Allocate a sufficiently large
buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45049
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 20 Aug 2001 09:08:57 +0000 (09:08 +0000)]
Fixed ChangeLog entry: mips.c (reload_outcc) -> (reload_incc)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45048
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 20 Aug 2001 07:27:32 +0000 (07:27 +0000)]
* final.c (end_final): Fix typo last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45047
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Aug 2001 07:16:49 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45046
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Aug 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45044
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 20 Aug 2001 06:14:53 +0000 (06:14 +0000)]
* cppinit.c (init_standard_includes): The returned buffer
is already malloc-ed.
* gcc.c (add_prefix): Similarly.
* prefix.c (translate_name): Update to support clear buffer
ownership rules.
(update_path): Similarly. Be sure to free any newly allocated
key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
(tr): New function.
* prefix.h (update_path): Update prototype and document.
* config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
up and update to new buffer ownership rules.
* doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45043
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 19 Aug 2001 23:46:10 +0000 (23:46 +0000)]
* final.c (compute_alignments): New function.
(init_insn_lengths): Do not care label_align.
(LABEL_ALIGN_AFTER_BARRIER): Default to 1.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
(JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
(shorted_branches): Realloc label_align array; do
not call init_insn_lengths; Do not care about loop alignments.
* output.h (compute_alignments): Declare.
* toplev.c (rest_of_compilation): Call compute_alignments.
* tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
* predict.c (block_info_def): Add npredecesors, remove nvisited;
change visited to tovisit.
(propagate_freq): Use faster traversing algorithm.
(estimate_loops_at_level, estimate_bb_frequencies): Change visited
to tovisit; reverse meaning.
* predict.c (struct block_info_def): Remove nvisited.
(propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
(estimate_bb_frequencies): Call mark_dfs_back_edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45042
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sun, 19 Aug 2001 21:40:37 +0000 (21:40 +0000)]
* doc/invoke.texi (MIPS Options): Document -mfused-madd.
* config/mips/mips.h (MASK_NO_FUSED_MADD): New.
(TARGET_FUSED_MADD): New.
(TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
* config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
the multiply-add instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45041
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 19 Aug 2001 21:00:30 +0000 (21:00 +0000)]
* g++.dg/special/ecos.exp (initp1.C): Run initp1.C test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45037
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 20:08:36 +0000 (20:08 +0000)]
* dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
is aligned to pointer size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45034
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 19 Aug 2001 18:35:06 +0000 (18:35 +0000)]
* typeck2.c (add_exception_specifier): Only require complete type if
not in processing template declaration.
* g++.dg/eh/template1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45032
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 15:42:38 +0000 (15:42 +0000)]
* config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
display markers during final schedule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45031
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 09:04:31 +0000 (09:04 +0000)]
* function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45030
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 09:03:02 +0000 (09:03 +0000)]
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
in the same string.
(ASM_NAME_TO_STRING): Remove.
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
in the same string. Remove support for expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45029
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 08:45:28 +0000 (08:45 +0000)]
* config/i386/i386.md (tablejump): Make an expander; handle
pic relative addressing here.
(tablejump_1): Rename from tablejump_pic.
(casesi): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45028
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 08:39:19 +0000 (08:39 +0000)]
* regclass.c (fix_register): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45027
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 19 Aug 2001 07:52:23 +0000 (07:52 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45025
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 04:55:15 +0000 (04:55 +0000)]
* config/ia64/unwind-ia64.c (UNW_REG_B0): New.
(struct _Unwind_Context): Expand br_loc to hold it.
(uw_frame_state_for): Handle leaf functions better.
(uw_update_reg_address): Update for br_loc change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45024
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 04:46:25 +0000 (04:46 +0000)]
* config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
(__do_global_dtors_aux): Update to match.
(__JCR_LIST__, __do_jv_register_classes): New.
(.init): Call it.
* config/ia64/crtend.asm (__JCR_END__): New.
(__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
instead of an indirect LTOFF22 reloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45023
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 03:53:34 +0000 (03:53 +0000)]
* crtstuff.c: Move list heads before code that uses them.
(__JCR_LIST__): Remove initial null.
(frame_dummy, __frame_dummy): Do java registration here ...
(__do_global_ctors_aux): ... not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45022
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 03:04:19 +0000 (03:04 +0000)]
* flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
* regclass.c (init_reg_sets_1): Fix typo.
* config/ia64/ia64.c (ar_pfs_reg_operand): New.
(ia64_expand_call): Pass ar.pfs to sibcall expanders.
(ia64_compute_frame_size): Make ar.unat live when in use.
(ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
for ar.pfs; remove ar.unat handling.
* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
call-saved.
(PREDICATE_CODES): Add ar_pfs_reg_operand.
* config/ia64/ia64-protos.h: Update decls.
* config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
(sibcall_pic): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45021
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 02:54:15 +0000 (02:54 +0000)]
* config/ia64/ia64.md (cycle_display): Combine the expander
and insn patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45020
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 02:51:35 +0000 (02:51 +0000)]
* config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
pred_rel_mutex when searching for insn_group_barrier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45019
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 02:46:30 +0000 (02:46 +0000)]
* config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
bit before asm as needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45018
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 02:43:30 +0000 (02:43 +0000)]
* timevar.def (TV_MACH_DEP): New.
* toplev.c (rest_of_compilation): Use it.
* config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45017
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sun, 19 Aug 2001 00:29:01 +0000 (00:29 +0000)]
2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
* include/bits/locale_facets.tcc (collate::do_transform): Add typename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45016
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sun, 19 Aug 2001 00:20:07 +0000 (00:20 +0000)]
2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/operators.cc: Add test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45015
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 19 Aug 2001 00:09:46 +0000 (00:09 +0000)]
* unwind-dw2.c (execute_stack_op): Add default aborts to
the inner switches to prevent warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45014
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 18 Aug 2001 23:10:22 +0000 (23:10 +0000)]
* timevar.h (struct timevar_time_def): Change element type to float.
(ticks_to_msec, clocks_to_msec): Likewise.
(TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
(get_time): Likewise.
(timevar_print): Adjust zero check and printing to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45013
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Aug 2001 21:02:44 +0000 (21:02 +0000)]
* doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
Eliminate overfull or underfull hboxes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45012
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Aug 2001 20:46:45 +0000 (20:46 +0000)]
include:
* ansidecl.h: Reorganize for readability, remove documentation
of obsolete macros, document PARAMS and VPARAMS. Add new
macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic
function implementation.
gcc:
* cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45011
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Aug 2001 20:44:57 +0000 (20:44 +0000)]
oops, that went with the previous commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45010
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Aug 2001 20:25:54 +0000 (20:25 +0000)]
* haifa-sched.c: Convert to target hooks. Macros replaced
are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
MD_SCHED_FINISH, and HAVE_cycle_display.
* target-def.h (TARGET_SCHED_ADJUST_COST,
TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
New hook #defines to be overridden.
(TARGET_SCHED): Bring them all together.
(TARGET_INITIALIZER): Update.
* target.h: Don't forward declare struct rtx_def. Use 'rtx'
instead of 'struct rtx_def *' throughout.
(struct sched): New set of hooks for the scheduler.
* Makefile.in (haifa-sched.o): Depend on target.h.
* doc/tm.texi: Document the new scheduler hooks, together in
their own section, instead of scattered around.
Fix a bunch of underfull/overfull hboxes.
* a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
sparc.h: Don't define any of the old scheduler macros.
* a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
sparc.c: Create hook functions from code extracted from
corresponding target header, or make existing hooks static, as
appropriate. Set the appropriate entries in targetm.
* alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
rs6000-protos.h, s390-protos.h, sparc-protos.h:
Remove prototypes for functions which are now static.
* d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
related gunk; the Haifa scheduler is now the only choice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45009
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Aug 2001 19:59:46 +0000 (19:59 +0000)]
* optabs.h (OTI_flodiv, flodiv_optab): Kill.
* genopinit.c: Put floating point divide insns in sdiv_optab.
* expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
* config/gofast.h, config/c4x/c4x.h,
config/ia64/hpux_longdouble.h, config/mips/mips.h,
config/pa/long_double.h, config/rs6000/sysv4.h,
config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
* optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
(init_optabs): Use init_optabv for overflow-trapping optabs.
Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
cmp_optab RTX codes so have_insn_for can find them.
* optabs.c (expand_simple_binop, expand_simple_unop,
have_insn_for, gen_sub3_insn): New interfaces.
* expr.h: Prototype new functions.
(enum optab_methods): Move here from optabs.h.
* builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
Use new functions instead of working directly with optabs.
* doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
unroll.c: Don't include optabs.h.
* caller-save.c, combine.c, function.c, stmt.c: Just include
insn-codes.h, not optabs.h.
* Makefile.in: Update dependencies.
* combine.c (make_compound_operation, simplify_comparison):
Fix typos testing for this or that instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45008
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 18 Aug 2001 19:22:25 +0000 (19:22 +0000)]
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
m68k and m680[246]0.
* config/cpu/m68k/bits/atomicity.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45006
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 18 Aug 2001 18:16:08 +0000 (18:16 +0000)]
* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
generating libgcc.a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45005
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 18 Aug 2001 18:11:18 +0000 (18:11 +0000)]
* except.c (TYPE_HASH): Delete.
* objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
HOST_WIDE_INT.
* tree.c (TYPE_HASH): Delete.
* tree.h (TYPE_HASH): Define.
ch:
* tree.c (TYPE_HASH): Moved to ../tree.h.
cp:
* decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to
GNU_xref_start_scope and GNU_xref_end_scope.
* tree.c (TYPE_HASH): Moved to ../tree.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45004
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Sat, 18 Aug 2001 11:23:01 +0000 (11:23 +0000)]
* config/mips/mips.md (adddi3_internal_2+1): Remove contraints from
define_split.
(adddi3_internal_2+2): Likewise.
(eh_set_lr_di+1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45002
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 18 Aug 2001 07:17:14 +0000 (07:17 +0000)]
* cppinit.c (init_standard_includes): Reverse accidentally
included hunk from prefix.c patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45001
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 18 Aug 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45000
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Sat, 18 Aug 2001 03:56:01 +0000 (03:56 +0000)]
* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
starting from zero offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44997
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 18 Aug 2001 02:53:13 +0000 (02:53 +0000)]
2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
Implement std::collate.
* config/locale/collate_specializations_gnu.cc: Add here, implement in
MT-safe way.
* config/locale/collate_specializations_generic.cc: Add here, but
in a less sophisticated manner.
* include/bits/locale_facets.tcc (collate): Add generic definition.
* include/bits/locale_facets.h (~collate): Mark virtual.
(collate::_M_compare_helper): New.
(collate::_M_transform_helper): New.
* src/locale.cc: Remove unnecessary specializations.
* src/string-inst.cc: Tweak instantiation of ctors.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Add collate.cc.
* src/Makefile.in: Regenerate.
* testsuite/22_locale/collate_byname.cc: New.
* testsuite/22_locale/collate.cc: New file.
* testsuite/22_locale/collate_char_members.cc: New file.
* testsuite/22_locale/collate_wchar_t_members.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44996
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 18 Aug 2001 01:04:43 +0000 (01:04 +0000)]
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
merged local changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44994
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 18 Aug 2001 01:01:51 +0000 (01:01 +0000)]
2001-08-17 Hans-J. Boehm <Hans_Boehm@hp.com>
* boehm.cc: Include gc_local_alloc.h if appropriate.
(GC_GENERIC_MALLOC): Don't define.
(MAYBE_MARK): Redefine for GC 6.0.
(_Jv_MarkObj): Mark class differently.
(_Jv_AllocArray): Use GC_generic_malloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44993
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 18 Aug 2001 00:53:20 +0000 (00:53 +0000)]
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
* dwarf2asm.c: ... here.
* dwarfout.c: Remove them.
* varasm.c (assemble_integer): Add align parameter.
(assemble_real, output_constant, output_constructor): Likewise.
* output.h: Update decls.
* dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
Update all callers.
* final.c (end_final): Abort profile block generation if we
havn't layed it out properly.
* output.h (assemble_eh_integer): Remove stale decl.
* varasm.c (assemble_zeros): Tidy; use assemble_integer.
(min_align): New.
(assemble_integer): Handle unaligned data.
(assemble_real): Abort on unaligned data.
(output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
anything useful.
(default_dtor_section_asm_out_destructor): Use assemble_align.
(default_named_section_asm_out_constructor): Likewise.
(default_ctor_section_asm_out_constructor): Likewise.
* config/darwin.c (machopic_asm_out_constructor): Likewise.
(machopic_asm_out_destructor): Likewise.
* config/nextstep.c (nextstep_asm_out_constructor): Likewise.
(nextstep_asm_out_destructor): Likewise.
* config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
(vms_asm_out_destructor): Likewise.
* java/class.c (emit_register_classes): Add align parameter to
call to assemble_integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44992
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 18 Aug 2001 00:25:09 +0000 (00:25 +0000)]
* config/mips/iris6.h (TARGET_IRIX6): New.
(current_section_name, current_section_flags): New.
(ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
(MAX_OFILE_ALIGNMENT): New.
(ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
* config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
(copy_file_data): Split out from
(mips_asm_file_end): ... here.
(mips_asm_file_start): Remove extra .section directive. Use
tmpfile instead of mips_make_temp_file.
(mips_unique_section): Use const char * as needed for warnings.
(iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
re-add align parameter.
(iris6_asm_named_section): New.
(iris_section_align_entry_eq, iris_section_align_entry_hash): New.
(iris6_asm_output_align, iris6_section_align_1): New.
(iris6_asm_file_start, iris6_asm_file_end): New.
* config/mips/mips-protos.h: Update decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44991
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 17 Aug 2001 22:30:56 +0000 (22:30 +0000)]
* doc/install.texi (Install GCC): Add links to build status pages.
(Specific): Ditto.
(Final install): Ditto; request updates for specific info
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44988
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 17 Aug 2001 22:26:15 +0000 (22:26 +0000)]
2001-08-17 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/XercesBug.java: New file.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01066.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44987
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 17 Aug 2001 22:23:49 +0000 (22:23 +0000)]
* cpperror.c (print_location): Don't take a file name; use the
line map instead.
(_cpp_begin_message): Similarly.
(cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
(cpp_pedwarn_with_file_and_line): Remove.
* cppfiles.c (stack_include_file): Update; set filename to stdin
here when appropriate.
* cpphash.h (struct cpp_buffer): Remove nominal_fname.
(_cpp_begin_message): Don't take a file name.
* cppinit.c: Add comment.
* cpplex.c: Fix end-of-directive indicator.
* cpplib.c: Don't include intl.h.
(run_directive, do_diagnostic): Update.
(do_line): Update to not use nominal_fname.
(cpp_push_buffer): Don't take a filename.
* cpplib.h (struct ht): Remove.
(cpp_push_buffer): Don't take a filename.
(cpp_pedwarn_with_file_and_line): Remove.
* cppmacro.c (struct cpp_macro): Remove file.
(builtin_macro): Update.
(_cpp_create_definition): Update.
* cppmain.c: Correct comment.
* fix-header.c (read_scan_file): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44986
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 17 Aug 2001 22:21:49 +0000 (22:21 +0000)]
(Install GCC): Add links to build status pages.
(Specific): Ditto.
(Final install): Ditto; request updates for specific info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44985
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 17 Aug 2001 22:21:02 +0000 (22:21 +0000)]
2001-08-17 Mark J Roberts <mjr@anarcast.net>
* java/math/BigInteger.java (randBytes): New method.
(BigInteger(int,Random)): Use randBytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44984
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 17 Aug 2001 21:23:12 +0000 (21:23 +0000)]
* sbitmap.c: Fix comment formatting.
* sched-deps.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* stor-layout.c: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* varasm.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44983
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 17 Aug 2001 21:07:07 +0000 (21:07 +0000)]
2001-08-16 Alexandre Petit-Bianco <apbianco@redhat.com>
* jcf-parse.c (load_class): New locals saved and class_loaded. If
loading a class_or_name fails, try considering an innerclass name
and load the enclosing context.
* parse.y (resolve_inner_class): New function.
(find_as_inner_class): Added leading comment.
(register_incomplete_type): Keep the current context as enclosing
context for JDEP_FIELD dependencies.
(do_resolve_class): Locals new_class_decl and super initialized to
NULL. Call resolve_inner_class, explore the enclosing context
superclass if necessary.
Fixes PR java/4007
2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* decl.c (init_decl_processing): exception_type_node,
class_not_found_type_node, and no_class_def_found_type_node
initialized. predef_filenames augmented accordingly.
instinit_identifier_node initialized.
* java-tree.def (INSTANCE_INITIALIZERS_EXPR): Entry removed.
* java-tree.h (enum java_tree_index): New entries
JTI_EXCEPTION_TYPE_NODE, JTI_CLASS_NOT_FOUND_TYPE_NODE,
JTI_NO_CLASS_DEF_FOUND_TYPE_NODE, JTI_INSTINIT_IDENTIFIER_NODE.
(exception_type_node): New macro.
(class_not_found_type_node): Likewise.
(no_class_def_found_type_node): Likewise.
(instinit_identifier_node): Likewise.
(PREDEF_FILENAMES_SIZE): Adjusted.
(TYPE_HAS_FINAL_VARIABLE): Fixed typo.
(struct lang_type): Fixed typo in bitfield name.
(DECL_INSTINIT_P): New macro.
(ID_INSTINIT_P): Likewise.
* jcf-write.c (generate_classfile): instinit$ bears the Synthetic
attribute.
* parse.y (encapsulate_with_try_catch): New function.
(generate_instinit): Likewise.
(build_instinit_invocation): Likewise.
(ctors_unchecked_throws_clause_p): Likewise.
(add_instance_initializer): Deleted.
(build_instance_initializer): Likewise.
(in_instance_initializer): Likewise.
(check_method_redefinition): instinit$ not to be verified.
(java_complete_expand_methods): Generate instinit$, simplified code.
(build_dot_class_method): Eliminated unnecessary locals. Use
encapsulate_with_try_catch, removed unnecessary code.
(fix_constructors): New local iii. Use build_instinit_invocation.
(patch_method_invocation): Added comment.
(maybe_use_access_method): Don't consider instinit$.
(find_applicable_accessible_methods_list): Shorten the search for
instinit$ too.
(java_complete_lhs): case INSTANCE_INITIALIZERS_EXPR removed.
(patch_return): Use DECL_INSTINIT_P instead of in_instance_initializer.
(patch_throw_statement): Likewise. Fixed typo.
2001-08-09 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (java_lang_expand_expr): Call `expand_end_bindings' and
`poplevel' in the right order.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01061.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44982
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 17 Aug 2001 20:55:50 +0000 (20:55 +0000)]
* pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
or larger than an integer in memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44981
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 17 Aug 2001 20:29:21 +0000 (20:29 +0000)]
* system.h: Forward-declare struct rtx_def, struct rtvec_def,
and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
* rtl.h: Don't forward-declare union tree_node here. Don't
typedef rtx or rtvec here. Change all uses of struct rtx_def *,
struct rtvec_def *, or union tree_node * to use rtx, rtvec,
and tree respectively.
* tree.h: Don't forward-declare struct rtx_def here. Don't
typedef tree here. Change all uses of struct rtx_def *,
struct rtvec_def *, or union tree_node * to use rtx, rtvec,
and tree respectively.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44980
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Fri, 17 Aug 2001 20:17:23 +0000 (20:17 +0000)]
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44979
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 19:58:05 +0000 (19:58 +0000)]
Add commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44978
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 19:40:03 +0000 (19:40 +0000)]
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
config/mips/openbsd.h: Fix typos last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44977
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 17 Aug 2001 19:15:47 +0000 (19:15 +0000)]
* doc/invoke.texi (Optimize Options): The default for
-finline-limit is 600.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44975
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 19:07:46 +0000 (19:07 +0000)]
* doc/tm.texi (Sections): Document TEXT_SECTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44974
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 18:57:51 +0000 (18:57 +0000)]
* varasm.c (text_section): Allow TEXT_SECTION to override the
printing of TEXT_SECTION_ASM_OP.
* dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
(DATA_SECTION, BSS_SECTION): Remove.
* dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
Rename from s/_NAME//.
* config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
(ASM_DECLARE_FUNCTION_NAME): Move file switching ...
(TEXT_SECTION): ... here. New.
* config/mips/elf.h (TEXT_SECTION): New; no file switching.
* config/mips/elf64.h, config/mips/netbsd.h: Likewise.
* config/mips/openbsd.h: Likewise.
* config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
(mips_asm_file_end): Likewise test.
(mips_output_function_epilogue): Likewise. Switch back to data
section after emitting the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44973
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 17 Aug 2001 18:39:15 +0000 (18:39 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44969
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 18:34:56 +0000 (18:34 +0000)]
* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
(dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44968
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 17 Aug 2001 18:30:51 +0000 (18:30 +0000)]
Dummy commit in preparation for import
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44967
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Aug 2001 18:28:06 +0000 (18:28 +0000)]
* varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
* crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
__JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
Add aligned attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44966
138bc75d-0d04-0410-961f-
82ee72b054a4