Commit Graph

32540 Commits

Author SHA1 Message Date
DJ Delorie
584932e9b4 fnmatch.c: Make the note about the origins of this file more accurate...
* fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.

From-SVN: r38550
2000-12-29 14:37:03 -05:00
Bernd Schmidt
b5d37c6fc2 Improve alias analysis on ia64
From-SVN: r38549
2000-12-29 18:18:50 +00:00
Bernd Schmidt
de10dbf5be Add a comment
From-SVN: r38548
2000-12-29 17:52:57 +00:00
Bernd Schmidt
6152c64aab Compute REG_N_SETS for ORIGINAL_REGNOs.
From-SVN: r38547
2000-12-29 17:48:08 +00:00
Bernd Schmidt
08394eefae Introduce ORIGINAL_REGNO macro
From-SVN: r38546
2000-12-29 17:35:57 +00:00
Richard Kenner
5538d8a004 tree.c (get_set_constructor_bits): Use host_integerp and tree_low_cst.
* tree.c (get_set_constructor_bits): Use host_integerp and
	tree_low_cst.

From-SVN: r38545
2000-12-29 12:18:22 -05:00
Jakub Jelinek
77f5250d6f * decl.c (init_decl_processing): Fix sign of wchar_type_node.
From-SVN: r38537
2000-12-29 15:43:24 +01:00
Richard Kenner
c2fd66f48e local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
2000-12-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.

*** local-alloc.c	2000/11/30 21:40:33	1.75
--- local-alloc.c	2000/12/29 13:10:59
*************** update_equiv_regs ()
*** 1141,1146 ****
  		  rtx new_insn;

! 		  new_insn = emit_insn_before (copy_rtx (PATTERN (equiv_insn)),
! 					       insn);
  		  REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn);
  		  REG_NOTES (equiv_insn) = 0;
--- 1141,1145 ----
  		  rtx new_insn;

! 		  new_insn = emit_insn_before (PATTERN (equiv_insn), insn);
  		  REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn);
  		  REG_NOTES (equiv_insn) = 0;

From-SVN: r38536
2000-12-29 08:13:42 -05:00
Richard Kenner
e1a132c650 toplev.c (main): Call xmalloc_set_program_name.
* toplev.c (main): Call xmalloc_set_program_name.
	* gcc.c (main): Likewise.

From-SVN: r38535
2000-12-29 08:09:35 -05:00
Philip Blundell
5184f7c5e1 Fix typo.
From-SVN: r38534
2000-12-29 12:49:37 +00:00
Richard Henderson
50f9ca2f0c New test.
From-SVN: r38533
2000-12-29 03:57:30 -08:00
Richard Henderson
c17f08e1a8 alpha.c (alpha_expand_block_move): Initialize src_align and dst_align in bits.
* config/alpha/alpha.c (alpha_expand_block_move): Initialize
        src_align and dst_align in bits.  Do unaligned quadword loads
        if possible for BWX too.
        (alpha_expand_block_clear): Initialize align in bits.  Track
        small leading offsets into a larger alignment.  Play games with
        stq_u for large 4-byte aligned blocks.  Use load/mask/store
        for appropreately aligned heads and tails.

From-SVN: r38532
2000-12-29 03:51:01 -08:00
Richard Henderson
12db0efc8e 20001117-1.c (__cyg_profile_func_enter): Define.
* gcc.dg/20001117-1.c (__cyg_profile_func_enter): Define.
        (__cyg_profile_func_exit): Define.

From-SVN: r38531
2000-12-29 01:27:22 -08:00
Mark Mitchell
31a714f6d8 class.c (pushclass): Remove #if 0'd code.
* class.c (pushclass): Remove #if 0'd code.
	* cp-tree.h (overload_template_name): Remove.
	* decl.c (store_bindings): Simplify.
	(pop_from_top_level): Likewise.
	* pt.c (overload_template_name): Remove.
	(instantiate_decl): Don't call push_to_top_level if it's not
	needed.

From-SVN: r38530
2000-12-29 09:20:46 +00:00
Jeff Law
d40fb37362 Daily bump.
From-SVN: r38529
2000-12-29 01:45:07 -07:00
Alexandre Oliva
f523247a94 function.c (assign_parms): Convert arguments passed by reference to the right mode.
* function.c (assign_parms): Convert arguments passed by
reference to the right mode.

From-SVN: r38528
2000-12-29 08:38:19 +00:00
Geoffrey Keating
fb8b656c65 c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement...
2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

	* c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
	on the condition of a FOR statement, so that it gets typechecked
	and optimised.

2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

	* gcc.dg/noncompile/20001228-1.c: New test.

From-SVN: r38527
2000-12-29 08:27:40 +00:00
Alexandre Oliva
6894017546 c-decl.c (grokdeclarator): Prevent crash in case of overflow in array size.
* c-decl.c (grokdeclarator): Prevent crash in case of overflow in
array size.

From-SVN: r38526
2000-12-29 08:03:56 +00:00
Mark Mitchell
7e7d951756 Add comment
From-SVN: r38525
2000-12-29 06:09:44 +00:00
Mark Mitchell
414ea4aa86 pt.c (register_local_specialization): Don't return a value.
* pt.c (register_local_specialization): Don't return a value.
	(lookup_template_class): Use move-to-front heuristic when looking
	up template instantiations.
	(instantiate_decl): Only push_to_top_level when we're actually
	going to instantiate the template.

From-SVN: r38524
2000-12-29 06:08:00 +00:00
Alexandre Oliva
6b5273c31e calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference.
* calls.c (emit_library_call_value_1): Add to call_fusage the
stack slot assigned to argument passed by reference.

From-SVN: r38523
2000-12-29 04:36:00 +00:00
Hans-Peter Nilsson
cd372c39a8 * g++.dg/vtgc1.C: New test.
From-SVN: r38522
2000-12-29 02:57:08 +00:00
Hans-Peter Nilsson
6f18f7e9b7 search.c (binfo_for_vtable): Return least derived class, not most.
* search.c (binfo_for_vtable): Return least derived class, not
	most.  Handle secondary vtables.

From-SVN: r38521
2000-12-29 02:41:05 +00:00
Jeffrey Oldham
328a8516f5 toplev.h (extern really_sorry): Remove extern declaration for nonexistent function.
2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

	* toplev.h (extern really_sorry): Remove extern declaration for
        nonexistent function.

From-SVN: r38520
2000-12-29 01:45:53 +00:00
Geoffrey Keating
3ba35c91c1 Alan forgot his name...
From-SVN: r38519
2000-12-28 23:58:29 +00:00
Geoffrey Keating
f33f0c3a01 * gcc.dg/20001228-1.c: New test.
From-SVN: r38518
2000-12-28 23:56:49 +00:00
Geoffrey Keating
bc5137ae0f * gcc.c-torture/execute/20001228-1.c: New test.
From-SVN: r38517
2000-12-28 23:50:38 +00:00
Jeff Sturm
4c58589f1a DriverManager.java (getConnection): Don't set user/password properties if null.
2000-12-27  Jeff Sturm  <jeff.sturm@commerceone.com>

	* java/sql/DriverManager.java (getConnection): Don't set
	user/password properties if null.

From-SVN: r38516
2000-12-28 22:21:36 +00:00
Robert Lipe
347d73aac2 jartool.c (MAXPATHLEN): Provide if not defined.
2000-12-28  Robert Lipe <robertl@sco.com>

        * jartool.c (MAXPATHLEN): Provide if not defined.

From-SVN: r38515
2000-12-28 21:47:37 +00:00
Jeffrey Oldham
212addfac7 varasm.c (initializer_constant_valid_p): Indicate subtraction of pointers to the same string constant is absolute.
2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

	* varasm.c (initializer_constant_valid_p): Indicate subtraction of
	pointers to the same string constant is absolute.

From-SVN: r38514
2000-12-28 19:35:56 +00:00
Jeffrey Oldham
5da01bc1fb test_summary: Export filesuffix, not fileprefix.
2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

	* test_summary: Export filesuffix, not fileprefix.

From-SVN: r38513
2000-12-28 19:28:11 +00:00
Joseph Myers
26f6672d2e c-common.c (enum format_type): Add strfmon_format_type.
* c-common.c (enum format_type): Add strfmon_format_type.
	(decl_attributes): Handle format attributes strfmon and
	__strfmon__.
	(FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
	FMT_FLAG_EMPTY_PREC_OK): Define.
	(format_char_info): Update comment for flag_chars.
	(format_flag_spec): Add skip_next_char.
	(format_kind_info): Add left_precision_char.
	(printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
	format_types): Update for these new structure members and flags.
	(time_char_table): Make const.
	(strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
	monetary_char_table): New.
	(format_types): Add details of strfmon formats.
	(init_function_format_info): Create default attribute for strfmon.
	(check_format_info_main): Check the new flags.  Handle
	skip_next_char and left precision.
	* toplev.c (documented_lang_options): Update description of
	-Wformat.
	* extend.texi: Document strfmon format attributes.  Document
	attribute forms such as __printf__.  Clarify format_arg attribute
	documentation.
	* invoke.texi (-Wformat): Update for strfmon formats.

testsuite:
	* gcc.dg/format-strfmon-1.c: New test.

From-SVN: r38512
2000-12-28 18:48:05 +00:00
Andreas Jaeger
df7978d9b7 expmed.c (store_bit_field): Fix last patch.
2000-12-28  Andreas Jaeger  <aj@suse.de>

	* expmed.c (store_bit_field): Fix last patch.

From-SVN: r38511
2000-12-28 09:51:59 +01:00
Alexandre Oliva
78362efbc6 crt1.asm (start_l): __SH4_SINGLE_ONLY__' was missing the trailing __'.
* config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
the trailing `__'.

From-SVN: r38510
2000-12-28 08:47:14 +00:00
Jeff Law
1e2677023f Daily bump.
From-SVN: r38509
2000-12-28 01:45:15 -07:00
Warren Levy
ed55bdc47f re PR libgcj/1358 (java.util.Date.toString() doesn't seem to behave properly.)
Fix for PR libgcj/1358:
	* java/lang/System.java: Update Copyright date properly.
	* java/util/Calendar.java: Fix typo in comment.
	(set): Set 24-hour clock hour instead of 12-hour clock hour.
	* java/util/GregorianCalendar.java (GregorianCalendar): Properly
	initialize times.  Spec says to set H:M:S values to zero only if
	a date is given.
	* java/util/TimeZone.java (getDefaultDisplayName): Casts to char
	needed for evaluating numbers '0' to '9' in printouts of GMT offsets.
	* java/util/natGregorianCalendar.cc (computeTime): Properly handle
	timezones and GMT offsets, being careful to account for units of
	milliseconds vs. seconds.

From-SVN: r38508
2000-12-28 05:55:56 +00:00
Alan Lehotsky
5da1e2c489 expmed.c (store_bit_field): Correctly compute smallest mode that is sufficient to contain all bits we are...
* expmed.c (store_bit_field): Correctly compute smallest mode that
	is sufficient to contain all bits we are storing.

From-SVN: r38507
2000-12-28 00:55:03 -05:00
Bryce McKinlay
6147e9d0c9 re PR libgcj/1516 (Method.invoke won't accept boolean parameters)
Fix for PR libgcj/1516:
	* java/lang/reflect/natMethod.cc (primitives): Remove void entry.
	Add boolean entry.
	(can_widen): Declared inline. Remove redundant checks for void
	arguments and char->short conversion. Add special case for boolean
	conversions.
	(ffi_type): Declared inline.
	(_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block.

From-SVN: r38506
2000-12-28 04:34:33 +00:00
Bryce McKinlay
867e24ad3d natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can not be assigned to Object.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can
	not be assigned to Object.

From-SVN: r38505
2000-12-28 04:33:53 +00:00
Kaveh R. Ghazi
6385a28ffb builtins.c (build_function_call_expr): New function.
* builtins.c (build_function_call_expr): New function.  Use it
	everywhere in lieu of manually constructing a CALL_EXPR.

From-SVN: r38504
2000-12-28 02:45:37 +00:00
Chandrakala Chavva
57ec470999 calls.c (store_one_arg): If parm is passed both in stack and in register and offset is greater than...
* calls.c (store_one_arg):  If parm is passed both in stack and in
        register and offset is greater than reg_parm_stack_space, split
        the offset and call emit_push_insn().

From-SVN: r38503
2000-12-27 20:51:55 -05:00
Ben Elliston
bc53668ead * MAINTAINERS: Add myself under ``Write After Approval''.
From-SVN: r38502
2000-12-28 09:00:13 +11:00
Nick Clifton
37f25cb9ae Handle jump insns that are PARALLEL.
From-SVN: r38501
2000-12-27 18:22:51 +00:00
Alexandre Oliva
715e2ab149 rtl.c (copy_most_rtx, [...]): Copy frame_related flag.
* rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
flag.

From-SVN: r38500
2000-12-27 16:35:00 +00:00
Bruce Korb
46159c151d "test" is better at testing for directories than "ls"
From-SVN: r38499
2000-12-27 15:46:42 +00:00
Bruce Korb
47986760dd accommodate ancient bourne shells
From-SVN: r38498
2000-12-27 15:40:02 +00:00
Kaveh R. Ghazi
ce94d12f67 stdio-opt-1.c: Test __builtin_ style too.
* gcc.c-torture/execute/stdio-opt-1.c: Test __builtin_ style too.
	* gcc.c-torture/execute/stdio-opt-2.c: Likewise.
	* gcc.c-torture/execute/string-opt-1.c: Likewise.
	* gcc.c-torture/execute/string-opt-2.c: Likewise.
	* gcc.c-torture/execute/string-opt-3.c: Likewise.
	* gcc.c-torture/execute/string-opt-4.c: Likewise.
	* gcc.c-torture/execute/string-opt-6.c: Likewise.
	* gcc.c-torture/execute/string-opt-7.c: Likewise.
	* gcc.c-torture/execute/string-opt-8.c: Likewise.
	* gcc.c-torture/execute/string-opt-9.c: Likewise.
	* gcc.c-torture/execute/string-opt-10.c: Likewise.
	* gcc.c-torture/execute/string-opt-11.c: Likewise.
	* gcc.c-torture/execute/string-opt-12.c: Likewise.

	* gcc.c-torture/execute/string-opt-3.c: Test rindex.
	* gcc.c-torture/execute/string-opt-4.c: Test index.

From-SVN: r38497
2000-12-27 15:29:52 +00:00
Bernd Schmidt
0a1bb917fc Avoid unnecessary dependencies on COND_EXEC insns.
From-SVN: r38496
2000-12-27 12:55:16 +00:00
Geoffrey Keating
6cbadf36b2 [multiple changes]
2000-12-27  Geoffrey Keating  <geoffk@redhat.com>

	* config/rs6000/rs6000.md (define_attr "length"): Correct
	calculation.

2000-12-26  Geoffrey Keating  <geoffk@redhat.com>

	* gcc.c-torture/compile/20001226-1.c: New test.

From-SVN: r38495
2000-12-27 11:01:03 +00:00
Jeff Law
b370937715 Daily bump.
From-SVN: r38494
2000-12-27 01:45:09 -07:00