Commit Graph

27877 Commits

Author SHA1 Message Date
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
Robert Lipe
a5598a06ad configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
* 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: r33653
2000-05-04 02:25:32 +00:00
Richard Kenner
15f5aab6f8 Remove conflict indicator
From-SVN: r33652
2000-05-03 20:38:04 -04:00
Richard Kenner
1c12c17951 * tree.c (staticp, case LABEL_DECL): New case.
From-SVN: r33651
2000-05-03 20:36:20 -04:00
Richard Henderson
f4118ce9ea * mklibgcc1.in: Fix typo last change.
From-SVN: r33650
2000-05-03 16:56:03 -07:00
Richard Henderson
658a87e57f * Makefile.in (start.encap): Do not depend on LIBGCC1.
From-SVN: r33649
2000-05-03 16:18:47 -07:00
Jason Merrill
6bed14c7a6 Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
* Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
        (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
        (GCC_CFLAGS): Use it.
        (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
        * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
        objc/Make-lang.in: Use it.

From-SVN: r33648
2000-05-03 18:45:31 -04:00
Mark Mitchell
eb68cb5821 cp-tree.def (THUNK_DECL): Remove.
* cp-tree.def (THUNK_DECL): Remove.
	* cp-tree.h (DECL_THUNK_P): New macro.
	(DECL_NON_THUNK_FUNCTION_P): Likewise.
	(DECL_EXTERN_C_FUNCTION_P): Likewise.
	(SET_DECL_THUNK_P): Likewise.
	(DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P.
	(FNADDR_FROM_VTABLE_ENTRY): Likewise.
	(DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P.
	* decl.c (decls_match): Use DECL_EXTERN_C_P.
	(duplicate_decls): Likewise.
	(pushdecl): Likewise.  Adjust thunk handling.
	(grokfndecl): Use DECL_EXTERN_C_P.
	* decl2.c (mark_vtable_entries): Use DECL_THUNK_P.
	* dump.c (dequeue_and_dump): Remove THUNK_DECL handling.
	* except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P.
	* expr.c (cplus_expand_expr): Remove THUNK_DECL handling.
	* method.c (make_thunk): Use SET_DECL_THUNK_P.  Set
	DECL_NO_STATIC_CHAIN.
	(emit_thunk): Don't play games with TREE_CODE on thunks.  Don't
	set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk.
	* search.c (covariant_return_p): Remove THUNK_DECL handling.
	* ir.texi: Update.

From-SVN: r33647
2000-05-03 22:25:21 +00:00
Mark Mitchell
6428983a53 Fix typo
From-SVN: r33646
2000-05-03 22:19:14 +00:00
Jason R Thorpe
122ddbf9b3 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
From-SVN: r33645
2000-05-03 14:17:35 -07:00