OSDN Git Service
kenner [Sat, 30 Dec 2000 13:10:51 +0000 (13:10 +0000)]
* alias.c (alias_sets_conflict_p): New function.
(mems_in_disjoint_alias_sets_p): Use it.
(readonly_fields_p): Moved from expr.c; check for record type.
(objects_must_conflict_p): New function.
* calls.c (expand_call): Use assign_temp as much as possible, use
readonly variant if assigned once, and don't set memory attributes.
(emit_library_call_value_1, store_one_arg): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (expand_asm_operands, expand_return): Likewise.
* expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
(store_field, save_noncopied_parts, expand_expr): Likewise.
(expand_expr_unaligned): Likewise.
(readonly_fields_p): Moved to alias.c.
(safe_from_p): Rework handling of SAVE_EXPR.
MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
* function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
(assign_stack_for_temp): Use objects_must_confict_p.
Set all memory attributes from type, if specified.
(mark_temp_slot): Mark TYPE field.
* tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
(objects_must_conflict_p): Likewise.
* stmt.c (expand_decl): Don't use assign_stack_temp in error case.
(add_case_node): No need to copy nodes anymore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38559
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 30 Dec 2000 12:22:15 +0000 (12:22 +0000)]
Forgot these in last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38558
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 30 Dec 2000 12:18:39 +0000 (12:18 +0000)]
For boehm-gc:
* configure.in: Rename THREADLIB to THREADLIBS.
* Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
ensures that we link the correct version of the linuxthreads semaphore
functions.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
* linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
list of signals which are not blocked during suspend in the NO_SIGNALS
case.
For libjava:
* Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that
the correct versions of various linuxthreads functions get linked.
* Makefile.in: Rebuilt.
* java/lang/natThread.cc (finalize_native): New static function. Call
_Jv_ThreadDestroyData.
(initialize_native): Register finalizer for "data".
* include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype.
(_Jv_ThreadDestroyData): New prototype.
* include/win32-threads.h: Ditto.
* include/no-threads.h: Ditto.
* posix-threads.cc (_Jv_ThreadInitData): Implement new prototype.
(_Jv_ThreadDestroyData): New function. Free native thread "data" and
move mutex and condition variable destroy code from:
(really_start): ...here.
(_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED.
* win32-threads.cc (_Jv_ThreadInitData): Implement new prototype.
(_Jv_ThreadDestroyData): Implemented.
* nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t".
(_Jv_AllocArray): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38557
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sat, 30 Dec 2000 11:56:57 +0000 (11:56 +0000)]
* MAINTAINERS: Add myself as avr port co-maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38556
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 30 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38555
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 30 Dec 2000 07:53:35 +0000 (07:53 +0000)]
* config/sh/sh.c (split_branches): Don't dereference re-computed
`beyond' before checking it's non-NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38554
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 29 Dec 2000 22:25:57 +0000 (22:25 +0000)]
* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38553
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Fri, 29 Dec 2000 22:15:03 +0000 (22:15 +0000)]
Remove COFF support from i?86-pc-sco3.2v5.
* i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
(TARGET_ELF): Now always true.
(SUBTARGET_SWTICHES: )Remove -mcoff.
* i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_EXCEPTION): Nuke coff.
(CRTSTUFF_T_CFLAGS_S): Deleted.
(TARGET_LIBGCC2_CFLAGS): Added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38552
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 29 Dec 2000 20:34:20 +0000 (20:34 +0000)]
* varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
modifies them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38551
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 29 Dec 2000 19:37:03 +0000 (19:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38550
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 29 Dec 2000 18:18:50 +0000 (18:18 +0000)]
Improve alias analysis on ia64
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38549
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 29 Dec 2000 17:52:57 +0000 (17:52 +0000)]
Add a comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38548
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 29 Dec 2000 17:48:08 +0000 (17:48 +0000)]
Compute REG_N_SETS for ORIGINAL_REGNOs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38547
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 29 Dec 2000 17:35:57 +0000 (17:35 +0000)]
Introduce ORIGINAL_REGNO macro
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38546
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Dec 2000 17:18:22 +0000 (17:18 +0000)]
* tree.c (get_set_constructor_bits): Use host_integerp and
tree_low_cst.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38545
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 29 Dec 2000 14:43:24 +0000 (14:43 +0000)]
* decl.c (init_decl_processing): Fix sign of wchar_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38537
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Dec 2000 13:13:42 +0000 (13:13 +0000)]
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;
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38536
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Dec 2000 13:09:35 +0000 (13:09 +0000)]
* toplev.c (main): Call xmalloc_set_program_name.
* gcc.c (main): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38535
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Fri, 29 Dec 2000 12:49:37 +0000 (12:49 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38534
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 29 Dec 2000 11:57:30 +0000 (11:57 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38533
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 29 Dec 2000 11:51:01 +0000 (11:51 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38532
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 29 Dec 2000 09:27:22 +0000 (09:27 +0000)]
* gcc.dg/
20001117-1.c (__cyg_profile_func_enter): Define.
(__cyg_profile_func_exit): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38531
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Dec 2000 09:20:46 +0000 (09:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38530
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 29 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38529
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 29 Dec 2000 08:38:19 +0000 (08:38 +0000)]
* function.c (assign_parms): Convert arguments passed by
reference to the right mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38528
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 29 Dec 2000 08:27:40 +0000 (08:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38527
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 29 Dec 2000 08:03:56 +0000 (08:03 +0000)]
* c-decl.c (grokdeclarator): Prevent crash in case of overflow in
array size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38526
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Dec 2000 06:09:44 +0000 (06:09 +0000)]
Add comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38525
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Dec 2000 06:08:00 +0000 (06:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38524
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 29 Dec 2000 04:36:00 +0000 (04:36 +0000)]
* calls.c (emit_library_call_value_1): Add to call_fusage the
stack slot assigned to argument passed by reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38523
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 29 Dec 2000 02:57:08 +0000 (02:57 +0000)]
* g++.dg/vtgc1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38522
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 29 Dec 2000 02:41:05 +0000 (02:41 +0000)]
* search.c (binfo_for_vtable): Return least derived class, not
most. Handle secondary vtables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38521
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Fri, 29 Dec 2000 01:45:53 +0000 (01:45 +0000)]
2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
* toplev.h (extern really_sorry): Remove extern declaration for
nonexistent function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38520
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 28 Dec 2000 23:58:29 +0000 (23:58 +0000)]
Alan forgot his name...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38519
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 28 Dec 2000 23:56:49 +0000 (23:56 +0000)]
* gcc.dg/
20001228-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38518
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 28 Dec 2000 23:50:38 +0000 (23:50 +0000)]
* gcc.c-torture/execute/
20001228-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38517
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 28 Dec 2000 22:21:36 +0000 (22:21 +0000)]
2000-12-27 Jeff Sturm <jeff.sturm@commerceone.com>
* java/sql/DriverManager.java (getConnection): Don't set
user/password properties if null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38516
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Thu, 28 Dec 2000 21:47:37 +0000 (21:47 +0000)]
2000-12-28 Robert Lipe <robertl@sco.com>
* jartool.c (MAXPATHLEN): Provide if not defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38515
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Thu, 28 Dec 2000 19:35:56 +0000 (19:35 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38514
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Thu, 28 Dec 2000 19:28:11 +0000 (19:28 +0000)]
2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
* test_summary: Export filesuffix, not fileprefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38513
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 28 Dec 2000 18:48:05 +0000 (18:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38512
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Thu, 28 Dec 2000 08:51:59 +0000 (08:51 +0000)]
2000-12-28 Andreas Jaeger <aj@suse.de>
* expmed.c (store_bit_field): Fix last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38511
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 28 Dec 2000 08:47:14 +0000 (08:47 +0000)]
* config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
the trailing `__'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38510
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Dec 2000 08:45:15 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38509
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Thu, 28 Dec 2000 05:55:56 +0000 (05:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38508
138bc75d-0d04-0410-961f-
82ee72b054a4
alehotsky [Thu, 28 Dec 2000 05:55:03 +0000 (05:55 +0000)]
* expmed.c (store_bit_field): Correctly compute smallest mode that
is sufficient to contain all bits we are storing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38507
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 28 Dec 2000 04:34:33 +0000 (04:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38506
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 28 Dec 2000 04:33:53 +0000 (04:33 +0000)]
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can
not be assigned to Object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38505
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 28 Dec 2000 02:45:37 +0000 (02:45 +0000)]
* builtins.c (build_function_call_expr): New function. Use it
everywhere in lieu of manually constructing a CALL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38504
138bc75d-0d04-0410-961f-
82ee72b054a4
cchavva [Thu, 28 Dec 2000 01:51:55 +0000 (01:51 +0000)]
* 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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38503
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 27 Dec 2000 22:00:13 +0000 (22:00 +0000)]
* MAINTAINERS: Add myself under ``Write After Approval''.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38502
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 27 Dec 2000 18:22:51 +0000 (18:22 +0000)]
Handle jump insns that are PARALLEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38501
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 27 Dec 2000 16:35:00 +0000 (16:35 +0000)]
* rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38500
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Wed, 27 Dec 2000 15:46:42 +0000 (15:46 +0000)]
"test" is better at testing for directories than "ls"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38499
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Wed, 27 Dec 2000 15:40:02 +0000 (15:40 +0000)]
accommodate ancient bourne shells
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38498
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 27 Dec 2000 15:29:52 +0000 (15:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38497
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 27 Dec 2000 12:55:16 +0000 (12:55 +0000)]
Avoid unnecessary dependencies on COND_EXEC insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38496
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 27 Dec 2000 11:01:03 +0000 (11:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38495
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 27 Dec 2000 08:45:09 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38494
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Wed, 27 Dec 2000 01:58:23 +0000 (01:58 +0000)]
2000-12-26 Petter Reinholdtsen <pere@hungry.com>
* java/sql/SQLWarning.java: Fixed typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38493
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 26 Dec 2000 22:16:22 +0000 (22:16 +0000)]
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38492
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 26 Dec 2000 18:14:54 +0000 (18:14 +0000)]
2000-12-26 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix a comment typo.
(get_shift_alg): Do not output extra whitespace after one line
of assembly code. Output a tab after an opcode instead of a
space.
(emit_a_shift): Output a tab after an opcode instead of a space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38491
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 26 Dec 2000 17:54:45 +0000 (17:54 +0000)]
2000-12-26 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (get_shift_alg): Fix a typo in the assembly
code for 12-bit ASHIFTRT in HImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38490
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 26 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38489
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 26 Dec 2000 07:18:16 +0000 (07:18 +0000)]
* java/awt/MenuItem.java (paramString): Now protected.
* java/awt/MenuShortcut.java: Implements Serializable.
* java/awt/MenuBar.java: Rewrote from scratch.
* java/awt/MenuComponent.java (removeNotify): Wrote.
Implements Serializable.
* java/awt/GridBagConstraints.java (GridBagConstraints): New
constructor.
* java/awt/CheckboxMenuItem.java: Wrote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38488
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 26 Dec 2000 00:25:13 +0000 (00:25 +0000)]
* java/awt/MenuContainer.java: Fixed typo.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added SystemColor.java.
* java/awt/SystemColor.java: New file.
* java/awt/Color.java (rgba): Now package-private.
* java/awt/event/InputEvent.java (isAltGraphDown): New method.
* java/awt/event/ContainerEvent.java (getContainer): Renamed from
getComponent.
* java/awt/MenuItem.java (addNotify): New method.
(MenuItem(String,MenuShortcut)): New constructor.
(setLabel): Notify peer of change.
(setEnabled): Likewise.
* java/awt/GridLayout.java (toString): New method.
* java/awt/FlowLayout.java (LEADING, TRAILING): New constants.
(FlowLayout): Check for LEADING and TRAILING.
(setAlignment): Likewise.
(layoutContainer): Handle component orientation.
* java/awt/Component.java (orientatin): New field.
(setComponentOrientation): Wrote.
(getComponentOrientation): Wrote.
* java/awt/Event.java (Event): Implements Serializable.
(consumed): New field for serialization.
* java/awt/Dimension.java (Dimension): Implements Serializable.
* java/awt/Cursor.java (Cursor): Implements Serializable.
* java/awt/Container.java (Container): No longer abstract.
* java/awt/Choice.java: Wrote.
* java/awt/Checkbox.java: Wrote.
* java/awt/ItemSelectable.java: Documented.
* java/awt/CheckboxGroup.java: Wrote.
* java/awt/CardLayout.java (layoutContainer): Directly use fields
in other classes.
(getSize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38486
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 26 Dec 2000 00:24:01 +0000 (00:24 +0000)]
2000-12-24 Jeff Sturm <jeff.sturm@commerceone.com>
* java/io/FileDescriptor.java: Initialize fd to -1.
Remove default constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38485
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 25 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38484
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 24 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38483
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 24 Dec 2000 00:43:40 +0000 (00:43 +0000)]
Shorten primitive array allocation path:
* decl.c (init_decl_processing): Use _Jv_NewPrimArray not _Jv_NewArray
to create new primitive arrays.
* expr.c (build_newarray): If generating native code, call
soft_newarray_node with a reference to the primitive TYPE identifier
instead of type_value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38482
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 23 Dec 2000 23:38:51 +0000 (23:38 +0000)]
* java/lang/mprec.h: Change C9X reference to refer to C99.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38481
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Sat, 23 Dec 2000 19:58:17 +0000 (19:58 +0000)]
* config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
%4 in output templates, do not modify operands passed by the caller.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38480
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 23 Dec 2000 10:32:15 +0000 (10:32 +0000)]
xfail
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38479
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 23 Dec 2000 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38478
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 23 Dec 2000 07:13:57 +0000 (07:13 +0000)]
2000-12-23 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
(strstream.cc): Add special rule for deprecated files.
* libsupc++/Makefile.am (INCLUDES): Sync.
* acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here.
Reported by Fred Fish <fnf@ninemoons.com>
* include/backward/iomanip.h: Remove backward from include
* include/backward/strstream.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* src/strstream.cc: And here.
Reported by Brad Garcia <bgarcia@laurelnetworks.com>
* src/string-inst.cc (_S_find): Use generic template.
* include/bits/string.tcc (_S_find): Remove specializations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38477
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 23 Dec 2000 02:23:27 +0000 (02:23 +0000)]
2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
* gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38476
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 23 Dec 2000 00:51:20 +0000 (00:51 +0000)]
* builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
Don't define.
* builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
BUILT_IN_LLABS and BUILT_IN_IMAXABS.
* c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
builtin labs, llabs and imaxabs.
(expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
and BUILT_IN_IMAXABS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38475
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 23 Dec 2000 00:48:08 +0000 (00:48 +0000)]
* c-common.c (builtin_function_2): New function.
(c_common_nodes_and_builtins): Use it to define each pair (foo,
__builtin_foo) of builtins in one place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38474
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 23 Dec 2000 00:33:26 +0000 (00:33 +0000)]
* typeck.c (build_binary_op): Fix pmf comparison logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38473
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 23 Dec 2000 00:05:44 +0000 (00:05 +0000)]
* pt.c (more_specialized): Don't optimize len==0.
(fn_type_unification): If we're adding the return type, increase len.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38472
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 23:31:55 +0000 (23:31 +0000)]
* typeck.c (build_binary_op): Fix pmf comparison logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38471
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 22 Dec 2000 21:21:29 +0000 (21:21 +0000)]
* gccbug.in: Add libgcj and preprocessor categories.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38470
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 22 Dec 2000 20:05:09 +0000 (20:05 +0000)]
* gcc.c-torture/compile/
20001222-1.c: New test.
* gcc.c-torture/compile/
20001222-1.x: Xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38469
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 22 Dec 2000 18:40:33 +0000 (18:40 +0000)]
Fix error in last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38468
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 22 Dec 2000 18:22:03 +0000 (18:22 +0000)]
Prevent LR from being used by 2nd cond exec pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38467
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 22 Dec 2000 17:55:09 +0000 (17:55 +0000)]
Allow the (scratch) frame pointer to be initialised from the stack pointer
plus a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38466
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 17:05:50 +0000 (17:05 +0000)]
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38465
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 16:44:22 +0000 (16:44 +0000)]
* call.c (joust): Use DECL_NONSTATIC_MEMBER_FUNCTION_P, not
DECL_STATIC_FUNCTION_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38464
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 22 Dec 2000 15:44:42 +0000 (15:44 +0000)]
Renamer improvements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38463
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 14:51:22 +0000 (14:51 +0000)]
* semantics.c (genrtl_finish_function): Don't try to jump to
return_label unless it exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38461
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 14:47:23 +0000 (14:47 +0000)]
In partial ordering for a call, ignore parms for which we don't have
a real argument.
* call.c (joust): Pass len to more_specialized.
(add_template_candidate_real): Strip 'this', pass len.
* pt.c (more_specialized): Pass len down. Lose explicit_args parm.
(get_bindings_order): New fn. Pass len down.
(get_bindings_real): Strip 'this', pass len.
(fn_type_unification): Likewise.
(type_unification_real): Succeed after checking 'len' args.
(most_specialized_instantiation): Lose explicit_args parm.
* class.c (resolve_address_of_overloaded_function): Strip 'this',
pass len.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38460
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 22 Dec 2000 12:44:28 +0000 (12:44 +0000)]
Fix typo in ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38453
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 22 Dec 2000 12:27:36 +0000 (12:27 +0000)]
* Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
* fp-bit.h (usi_to_float): Add prototype.
* i386.c (file_info_cmp): Likewise.
(dwarf2out_line): Hide variable `old_in_use'.
* objc-act.c (objc_fatal): Delete.
* sched-vis.c (visualize_stall_cycles): Remove unused variable.
* system.h (getopt): Fix error in last change.
* varasm.c (assemble_trampoline_template): Constify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38452
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 22 Dec 2000 11:42:51 +0000 (11:42 +0000)]
* collect2.c (main): Use auto_demangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38451
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 22 Dec 2000 11:06:17 +0000 (11:06 +0000)]
000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38450
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 22 Dec 2000 11:03:33 +0000 (11:03 +0000)]
2000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
(std): make locale::_Impl protected. CHANGE BACK
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38449
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 22 Dec 2000 09:30:15 +0000 (09:30 +0000)]
* release: Change some EGCS references to GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38448
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 22 Dec 2000 08:50:26 +0000 (08:50 +0000)]
* gcc.c-torture/execute/comp-goto-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38447
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 22 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38446
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 22 Dec 2000 08:15:27 +0000 (08:15 +0000)]
Fix typo in previous patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38445
138bc75d-0d04-0410-961f-
82ee72b054a4