Commit Graph

27886 Commits

Author SHA1 Message Date
Tom Tromey
327f248083 re GNATS libgcj/220 (build fails with "only absolute run-paths are allowed" error during linking)
Fix for PR libgcj/220:
	* Makefile.in: Rebuilt.
	* Makefile.am (gij_LDFLAGS): Don't use libstdc++.
	(jv_convert_LDFLAGS): Likewise.
	(libgcj_la_LDFLAGS): Likewise.
	(GCJLINK): New macro.
	(jv_convert_LINK): Use it.
	(gij_LINK): Likewise.
	(libgcj_la_LINK): New macro.
	(libgcjawt_la_LINK): Likewise.

From-SVN: r33706
2000-05-05 16:11:36 +00:00
Richard Henderson
ad3958e7db flow.c (init_propagate_block_info): Fix merge error in HAVE_conditional_execution code.
* flow.c (init_propagate_block_info): Fix merge error
        in HAVE_conditional_execution code.

From-SVN: r33705
2000-05-05 03:53:47 -07:00
Andreas Jaeger
07d787fdd2 noreturn-2.c: New test.
2000-05-04  Andreas Jaeger  <aj@suse.de>

	* gcc.dg/noreturn-2.c: New test.

From-SVN: r33704
2000-05-05 10:44:09 +02:00
Jeff Law
a467853843 Daily bump.
From-SVN: r33703
2000-05-05 01:45:15 -06:00
Tom Tromey
a52dee2f36 field.h (JvFieldIsRef): Return false for gnu.gcj.RawData field.
* gcj/field.h (JvFieldIsRef): Return false for gnu.gcj.RawData
	field.
	* boehm.cc (_Jv_MarkObj): Removed dead code.  Use `STATIC', not
	`0x0008'.
	Include Modifier.h.

From-SVN: r33702
2000-05-05 04:46:26 +00:00
Tom Tromey
652f25043a boehm.c (mark_reference_fields): Don't mark RawData fields.
* boehm.c (mark_reference_fields): Don't mark RawData fields.
	Keep track of when we've seen a reference field after a
	non-reference field.
	(get_boehm_type_descriptor): Handle case where we see
	non-reference fields but no trailing reference field.
	* decl.c (rawdata_ptr_type_node): Define.
	(init_decl_processing): Initialize rawdata_ptr_type_node.
	* java-tree.h (rawdata_ptr_type_node): Declare.

From-SVN: r33701
2000-05-05 04:23:23 +00:00
Denis Chertykov
0db7ad3a43 avr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown shift count.
* config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
	shift cycle for unknown shift count. Also generates dec + brpl.
	(ashlqi3_out): Don't generate dec + brpl which now generates by
	`out_shift_with_cnt'.
	(ashlhi3_out): Likewise.
	(ashlsi3_out): Likewise.
	(ashrqi3_out): Likewise.
	(ashrhi3_out): Likewise.
	(ashrsi3_out): Likewise.
	(lshrqi3_out): Likewise.
	(lshrhi3_out): Likewise.
	(lshrsi3_out): Likewise.

From-SVN: r33700
2000-05-05 08:00:51 +04:00
Mark Mitchell
6462c441e1 cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
* cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
	(SET_FNADDR_FROM_VTABLE_ENTRY): Likewise.
	(lang_decl_flags): Add vcall_offset.
	(THUNK_VCALL_OFFSET): Use it.
	* decl.c (lang_mark_tree): Don't mark DECL_ACCESS for a thunk.
	* method.c (make_thunk): Create the lang_decl here, not in
	emit_thunk.
	(emit_thunk): Make generic thunks into ordinary functions once
	they have been fed to expand_body.
	* semantics.c (expand_body): Set current_function_is_thunk here.

From-SVN: r33699
2000-05-05 03:10:42 +00:00
Bryce McKinlay
9d4c21486c natClass.cc (isInstance): Use __builtin_expect.
2000-05-05  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/natClass.cc (isInstance): Use __builtin_expect.
	(_Jv_IsAssignableFrom): Ditto.
	(_Jv_IsInstanceOf): Ditto.
	(_Jv_CheckCast): Ditto.
	(_Jv_CheckArrayStore): Ditto.
	* java/lang/Class.h (_Jv_InitClass): Ditto.
	* java/lang/natObject.cc (_Jv_MonitorEnter): __builtin_expect `false',
	not `0'.
	(notify): Ditto.
	(notifyAll): Ditto.
	(wait): Ditto.
	(_Jv_MonitorExit): Ditto.
	* boehm.cc (_Jv_MarkObj): Ditto.
	(_Jv_MarkObj): Ditto.
	(_Jv_MarkArray): Ditto.
	* prims.cc (_Jv_AllocObject): Ditto.
	(_Jv_NewObjectArray): Ditto.
	(_Jv_NewPrimArray): Ditto.
	(_Jv_Malloc): Ditto.
	(_Jv_Realloc): Ditto.
	(_Jv_MallocUnchecked): Ditto.
	(_Jv_divI): Ditto.
	(_Jv_remI): Ditto.
	(_Jv_divJ): Ditto.
	(_Jv_remJ): Ditto.

From-SVN: r33698
2000-05-05 03:56:14 +01:00
Neil Booth
59b30ca6dd *** empty log message ***
From-SVN: r33697
2000-05-05 02:50:47 +00:00
Richard Henderson
5f97a7dcfd Move old ChangeLog out of the way.
From-SVN: r33696
2000-05-04 19:06:33 -07:00
Richard Henderson
beaf61f5d3 * gcc.c-torture/execute/20000503-1.c: Fix typo.
From-SVN: r33695
2000-05-04 19:05:56 -07:00
Richard Henderson
83f1c55d95 Merge all post c-torture-1.45 entries to the main testsuite ChangeLog.
From-SVN: r33694
2000-05-04 18:56:18 -07:00
Mark Elbrecht
ba40970f51 gcc.c (free_split_directories): Correct typo in explanation of make_relative_prefix.
* gcc.c (free_split_directories): Correct typo in explanation
        of make_relative_prefix.

From-SVN: r33693
2000-05-04 18:15:02 -06:00
Geoff Keating
fce9182047 rs6000.h (PREDICATE_CODES): Add floating-point comparison codes to branch_comparison_operator.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
comparison codes to branch_comparison_operator.

From-SVN: r33692
2000-05-05 00:06:34 +00:00
Richard Henderson
f63c134b33 20000504-1.c: New test.
* gcc.c-torture/compile/20000504-1.c: New test.  Derived from
        OpenSSL by Jason R Thorpe.

From-SVN: r33691
2000-05-04 16:27:15 -07:00
Richard Henderson
8eeb31597b * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
From-SVN: r33690
2000-05-04 16:23:45 -07:00
Richard Henderson
0927ce96c9 ifcvt.c (noce_process_if_block): Fail if A or B modified between condition and jump.
* ifcvt.c (noce_process_if_block): Fail if A or B modified
        between condition and jump.

From-SVN: r33689
2000-05-04 16:22:26 -07:00
Richard Henderson
00447f7d40 Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
* Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
        (DPBIT_FUNCS): Remove _sf_to_usi.
        (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.

From-SVN: r33688
2000-05-04 16:21:48 -07:00
Richard Henderson
7efe41a9d9 libgcc2.c (near eh_context_specific): Comment #endif string.
* libgcc2.c (near eh_context_specific): Comment #endif string.
        * longlong.h: Don't use strings with embedded newlines.

From-SVN: r33687
2000-05-04 16:21:33 -07:00
Geoff Keating
12a4e8c50d rs6000-protos.h: Add output_cbranch.
* config/rs6000/rs6000-protos.h: Add output_cbranch.
* config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
(print_operand): Delete %t and %T codes.
(output_cbranch): New function.  Support branch prediction.
* config/rs6000/rs6000.md: Use output_cbranch for
conditional branches and returns.

From-SVN: r33686
2000-05-04 22:15:23 +00:00
Jason Merrill
233844c0ea remove accidental -pipe checkin
From-SVN: r33685
2000-05-04 17:17:57 -04:00
Jason Merrill
f9e158c377 simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
        * stor-layout.c (place_field): Likewise.
        * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
        * expr.c (store_expr): Make align unsigned.
        * explow.c (plus_constant_wide): Make low words unsigned.
        * expmed.c (choose_multiplier): Likewise.
        * fold-const.c (fold):  Likewise.
        * tree.h (build_int_2): Likewise.
        * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
        * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
        (init_emit): Change cast to unsigned char*.
        * varasm.c (compare_constant_1): Add cast to char*.
        * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
        * reload1.c (reload): Likewise.

        * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).

From-SVN: r33684
2000-05-04 17:15:05 -04:00
Jeffrey A Law
926fd2e161 predict.c (estimate_probability): If no prediction was found...
* predict.c (estimate_probability): If no prediction was found, then
        predict the successor that is the next physical block (if such a
        successor exists).

From-SVN: r33683
2000-05-04 14:40:17 -06:00
Richard Henderson
18b554cb71 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
From-SVN: r33682
2000-05-04 13:14:20 -07:00
Kaveh R. Ghazi
7a98f26929 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
From-SVN: r33681
2000-05-04 19:16:21 +00:00
Kaveh R. Ghazi
ccedaff3a1 jcf-dump.c (SPECIAL_IINC): Ensure arguments match format specifiers in calls to fprintf.
* jcf-dump.c (SPECIAL_IINC): Ensure arguments match format
	specifiers in calls to fprintf.

From-SVN: r33680
2000-05-04 18:30:09 +00:00
Kaveh R. Ghazi
a85a47fbf4 demangle.h (demangler_engine): Constify.
include:
	* demangle.h (demangler_engine): Constify.

libiberty:
	* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
	Cast the arguments to `islower' to `unsigned char'.
	(print_demangler_list): Prototype.

From-SVN: r33679
2000-05-04 18:21:03 +00:00
Kaveh R. Ghazi
1cea04347c class.c (update_vtable_entry_for_fn): Prototype.
* class.c (update_vtable_entry_for_fn): Prototype.

	* pt.c (tsubst_decl): Initialize variables `argvec', `gen_tmpl'
	and `tmpl'.

	* search.c (dfs_build_inheritance_graph_order): Prototype.

From-SVN: r33678
2000-05-04 18:15:24 +00:00
Mumit Khan
2afc3e479c cygwin.h (CPP_PREDEFINES): Don't define __STDC__.
2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>

	* i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
	attribute macros from here ...
	(CPP_SPEC): to here.
	* i386/mingw32.h (CPP_PREDEFINES): Likewise.
	(CPP_SPEC): Likewise.
	* i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.

From-SVN: r33677
2000-05-04 18:15:08 +00:00
Mumit Khan
d34cba2bac Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>

	* Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
	(libgcc.a): Pass LIB1ASMSRC to libgcc.mk.

From-SVN: r33676
2000-05-04 18:13:14 +00:00
Kaveh R. Ghazi
362440248c bb-reorder.c (get_next_bb_note, [...]): Prototype.
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.

	* diagnostic (vbuild_message_string, build_message_string,
	build_location_prefix, output_get_prefix, init_output_buffer,
	output_notice, vline_wrapper_message_with_location,
	v_message_with_decl, default_print_error_function): De-constify.
	(set_real_maximum_length): Prototype.

	* diagnostic.h (struct output_buffer, init_output_buffer,
	output_get_prefix, output_set_prefix): De-constify.

	* function.c (init_function_start): Constify.

	* gensupport.c (remove_constraints, process_rtx): Prototype.

	* gthr-posix.h: Indent uses of #pragma.

	* objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
	Prototype.

	* predict.c (find_expected_value): Delete prototype.
	(expected_value_to_br_prob): Initialize variable `ev_reg'.

	* sbitmap.h (debug_sbitmap): Prototype.

	* ssa.c (compute_coalesced_reg_partition): Prototype.

	* stor-layout.c (debug_rli): Prototype.

	* tree.h (round_down): Prototype.
	(init_function_start): Constify.

ch:
	* ch-tree.h (init_function_start): Constify.

From-SVN: r33675
2000-05-04 17:58:40 +00:00
Zack Weinberg
57c578a6bf cpphash.h: #define __extension__ away if GCC_VERSION < 2095 (overly conservative).
* cpphash.h: #define __extension__ away if GCC_VERSION < 2095
	(overly conservative).  Change extern inline wrappers to
	static inline, define them always, use PARAMS properly.
	* cpplex.c (_cpp_get_directive_token): Don't issue pedantic
	whitespace warnings for \f and \v at the beginning of a line.

From-SVN: r33674
2000-05-04 16:21:29 +00:00
Jeffrey A Law
4e95db71c2 haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed
* haifa-sched.c (schedule_insns): Free the flow edge list when it
        is no longer needed

From-SVN: r33673
2000-05-04 10:04:44 -06:00
Tom Tromey
aff3283b59 Removed erroneous ChangeLog entry
From-SVN: r33672
2000-05-04 15:51:47 +00:00
Tom Tromey
f70b7142c2 Locale.java (Locale): Don't explicitly check for null.
* java/util/Locale.java (Locale): Don't explicitly check for
	null.
	* java/util/Hashtable.java (containsKey): Don't explicitly check
	for null.
	(get): Likewise.
	* java/util/BitSet.java (and, or, xor): Don't explicitly check for
	null.
	* java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check
	for null.
	* java/text/StringCharacterIterator.java
	(StringCharacterIterator): Don't check for null.
	* java/text/ChoiceFormat.java (setChoices): Don't explicitly check
	for null pointer.
	* java/net/MulticastSocket.java (joinGroup): Don't explicitly
	check for null pointer.
	(leaveGroup): Likewise.
	* java/net/DatagramPacket.java (DatagramPacket): Removed erroneous
	comment.
	(setData): Likewise.
	* java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check
	for `p==null'.

From-SVN: r33671
2000-05-04 15:50:34 +00:00
Philippe De Muyter
4aef973c2e sort.h (sys/types.h): File included unconditionnaly.
* sort.h (sys/types.h): File included unconditionnaly.
	(stddef.h): File include only #ifdef __STDC__.

	* sort.c (UCHAR_MAX): Provide fallback definition.

From-SVN: r33670
2000-05-04 15:40:25 +00:00
Bruce Korb
6b151aa706 Remove BOGOSITY code, and Remove code for installing "shell" version
From-SVN: r33669
2000-05-04 14:55:00 +00:00
Mark Mitchell
872f37f912 cp-tree.h (special_function_kind): Add various kinds of destructors.
* cp-tree.h (special_function_kind): Add various kinds of
	destructors.
	(special_function_p): New function.
	* class.c (overrides): Don't let one kind of destructor override
	another.
	* decl2.c (mark_used): Use DECL_NON_THUNK_FUNCTION_P when deciding
	whether or not to instantiate a template.
	* tree.c (special_function_p): Define.

From-SVN: r33668
2000-05-04 14:54:18 +00:00
Bruce Korb
72b9c7fb37 Remove `extern double cabs' declarations from math.h
From-SVN: r33667
2000-05-04 14:50:14 +00:00
Tom Tromey
c5acf51f3d configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Match `arm*-*-linux-*'.
	From Chris Dornan <cdornan@arm.com>.

From-SVN: r33666
2000-05-04 14:33:15 +00:00
Richard Kenner
bf49b1396b rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET.
* rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
	MEM_ALIAS_SET.
	* alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
	when calling MEM_COPY_ATTRIBUTES.
	* emit-rtl.c (operand_subword, change_address): Likewise.
	* explow.c (stabilize): Likewise.
	* expr.c (protect_from_queue, emit_move_insn_1): Likewise.
	* integrate.c (copy_rtx_and_substitute): Likewise.
	* combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
	when calling MEM_COPY_ATTRIBUTES.
	(make_extraction, simplify_shift_const, gen_lowpart_for_combine):
	Likewise.
	* cse.c (gen_lowpart_if_possible): Likewise.
	* function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
	* optabs.c (gen_move_insn): Likewise.
	* recog.c (validate_replace_rtx_1): Likewise.
	* simplify-rtx.c (add_mem_for_addr): Likewise.
	* stmt.c (expand_anon_union_decl): Likewise.
	* config/arm/arm.md: Likewise.
	* config/h8300/h7300.c (fix_bit_operand): Likewise.
	* config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
	(block_move_no_loop, block_move_sequence): Likewise.
	* config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
	* config/alpha/alpha.c (get_aligned_mem): Likewise.
	Clear MEM_ALIAS_SET.
	* final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
	MEM_COPY_ATTRIBUTES.

From-SVN: r33665
2000-05-04 09:49:50 -04:00
Robert Lipe
5b8714bfa9 configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
2000-05-03  Robert Lipe <robertlipe@usa.net>

        * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
        to suppress libgcc1.
        (i[34567]86-*-sco3.2v5*) Likewise.
        (i[34567]86-*-sco3.2v4*) Likewise.
        (i[34567]86-*-sco) Likewise.
        (i[34567]86-*-solaris2) Likewise.
        (i[34567]86-*-sysv5*) Likewise.
        (i[34567]86-*-sysv4*) Likewise.
        (i[34567]86-*-udk*) Likewise.
        (i[34567]86-*-sysv*) Likewise.

From-SVN: r33664
2000-05-04 12:59:23 +00:00
Jan Hubicka
62703c5d06 Undo my accidental checkin.
From-SVN: r33663
2000-05-04 12:16:27 +00:00
Jeff Law
36d94170e8 Daily bump.
From-SVN: r33662
2000-05-04 01:45:09 -06:00
Jeff Law
45023a756f try to fix cvsweb
From-SVN: r33661
2000-05-03 23:30:36 -06:00
Zack Weinberg
12cf91fef0 cpphash.h (U): New define, to correct type of string constants.
gcc:
	* cpphash.h (U): New define, to correct type of string constants.
	(ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
	routines, to do casts when passing unsigned strings to libc.
	* cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.

	* cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
	* cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
	* cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
	* cpplex.c (parse_ifdef, parse_include, validate_else): Make
	second argument an U_CHAR *.

	* cppinit.c (builtin_array): Make name and value U_CHAR *, add
	length field, clean up initializer.
	(ISTABLE): Add __extension__ to designated-
	initializers version.
	* cpplex.c (CHARTAB): Likewise.

	* mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
	case so the file won't be empty.

include:
	* symcat.h: Remove #endif label.

From-SVN: r33657
2000-05-04 04:38:01 +00:00
Robert Lipe
22a8784041 * gcc.dg/20000503-1.c: New test.
From-SVN: r33656
2000-05-04 03:02:24 +00:00
Jason Eckhardt
2a6fa433d0 bb-reorder.c (struct reorder_block_def): Member succ removed.
Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>

        * bb-reorder.c (struct reorder_block_def): Member succ removed.
        (REORDER_BLOCK_SUCC): Removed.
        (enum reorder_skip_type): Removed.
        (skip_insns_between_block): Renamed to skip_insns_after_block.
        Removed second argument. Removed dead code and cleaned up.
        (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
        (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
        second parameter to skip_insns_after_block.

From-SVN: r33655
2000-05-04 02:37:49 +00:00
Robert Lipe
d8e7c8842a configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
Regenerate:

        * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
        to suppress libgcc1.
        (i[34567]86-*-sco3.2v5*) Likewise.
        (i[34567]86-*-sco3.2v4*) Likewise.
        (i[34567]86-*-sco) Likewise.
        (i[34567]86-*-solaris2) Likewise.
        (i[34567]86-*-sysv5*) Likewise.
        (i[34567]86-*-sysv4*) Likewise.
        (i[34567]86-*-udk*) Likewise.
        (i[34567]86-*-sysv*) Likewise.

From-SVN: r33654
2000-05-04 02:26:11 +00:00