Commit Graph

45898 Commits

Author SHA1 Message Date
Jan Hubicka a00782edb0 re PR other/8289 (Errorneous prototypes of xmmintrin.h functions)
PR other/8289
	* xmmintrin.h: Add const to the argument of loads.

	* i386.md (pushv2di): New pattern.
	PR target/6890
	* xmmintrin.h (_MM_TRANSPOSE4_PS): New.

From-SVN: r58428
2002-10-22 23:54:47 +00:00
Mark Mitchell ad4f991014 re PR c++/6579 (Infinite loop with statement expressions in member initialization)
PR c++/6579
	* spew.c (snarf_parenthesized_expression): New function.
	(snarf_block): Use it.

	PR c++/6579
	* g++.dg/parse/stmtexpr3.C: New test.

From-SVN: r58427
2002-10-22 23:44:25 +00:00
Richard Henderson 3961e8fe9e target.h (gcc_target.asm_out): Merge output_mi_thunk and output_mi_vcall_thunk into a single hook.
gcc/
	* target.h (gcc_target.asm_out): Merge output_mi_thunk and
	output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
	* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
	(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
	(TARGET_ASM_OUT): Update.
	* hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
	(hook_bool_tree_hwi_hwi_tree_true): New.
	(default_can_output_mi_thunk_no_vcall): New.
	* hooks.h: Declare them.
	* system.h (ASM_OUTPUT_MI_THUNK): Poison.

	* config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
	(alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
	* config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
	config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
	config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
	config/stormy16/stormy16.c: Similarly.

	* config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
	Handle 64-bit properly.  Streamline.
	(x86_output_mi_vcall_thunk): Remove.
	(x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
	(x86_can_output_mi_thunk): New.
	(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
	(override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.

	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
	output_mi_thunk; make static; always use function_section.
	(TARGET_ASM_OUTPUT_MI_THUNK): New.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
	(rs6000_ra_ever_killed): Test no_new_pseudos not
	targetm.asm_out.output_mi_thunk in conjunction with thunks.
	* config/rs6000/rs6000-protos.h: Update.
	* config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
	* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
	xcoffout_declare_function when using rs6000_output_mi_thunk.

	* config/s390/s390.c (s390_output_mi_thunk): Rename from
	s390_output_mi_vcall_thunk.
	(TARGET_ASM_OUTPUT_MI_THUNK): Remove.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.

	* config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
	(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
	* config/vax/vax-protos.h: Update.
	* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.

gcc/cp/
        * method.c (use_thunk): Always compute vcall_value; assert that
        it is not zero.  Use can_output_mi_thunk; use output_mi_thunk
        for vcall thunks as well.

From-SVN: r58424
2002-10-22 16:05:28 -07:00
Jan Hubicka 0e67d46049 i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
* i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
	* i386.h (EXTRA_CONSTRAINT): Recognize 'C'
	* i386.md (movti_internal): Use 'C'

	* xmmintrin.h (_mm_cmplt_epi*): New.

From-SVN: r58423
2002-10-22 22:38:07 +00:00
Ulrich Weigand d5869ca0f1 s390.md ("*movdi_64"): Fix op_type attribute.
* config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
	("*movdf_64"): Likewise.
	("*lshrdi3_64"): Likewise.
	("blockage"): Add length attribute.
	("lit"): Likewise.

From-SVN: r58422
2002-10-22 22:19:36 +00:00
Jan Hubicka 680dd104e0 i386.md: FIx typo.
* i386.md: FIx typo.
	(sse2_cvtsi2sd, sse2_pslrdq): Fix template.
	(sse2_umulv2siv2di3): Fix predicate.
	(sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
	lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
	* xmmintrin.h (_mm_mul_epu16): Rename to...
	(_mm_mul_epu32): This one.
	(_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.

	(contains_128bit_aligned_vector_p): Undo accidental checkin.

From-SVN: r58421
2002-10-22 21:58:03 +00:00
Eric Christopher 3aabf9a58b sparc.h: Add #error.
2002-10-22  Eric Christopher  <echristo@redhat.com>

        * config/sparc/sparc.h: Add #error.

From-SVN: r58420
2002-10-22 21:51:54 +00:00
Jakub Jelinek 7e7e6d089d Makefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.
* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
	instead of ${top_srcdir}.
	* Makefile.in: Rebuilt.

From-SVN: r58418
2002-10-22 23:48:26 +02:00
Ulrich Weigand 42c7861881 config.gcc [...]: Remove s390/t-linux from tmake_file.
* config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
	[s390x-*-linux*]: Likewise.
	* config/s390/t-linux: Remove.
	* config/s390/s390.h: Include fixdfdi.h when building libgcc2.

From-SVN: r58416
2002-10-22 20:26:13 +00:00
Geoffrey Keating cac67f1c73 * btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run.
From-SVN: r58415
2002-10-22 20:02:49 +00:00
Jan Hubicka 077084dd67 i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
* i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
	(ix86_expand_builtin): Fix MASKMOVDQU expasion.
	* i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
	* i386.md (mmx_punpck?dq): Simplify.
	(sse2_pubpcklqdq): Fix.
	(sse2_pubpckhqdq): New.
	* xmmintrin.h (_mm_unpackhi_epi32): New.

	* xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
	(_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.

From-SVN: r58412
2002-10-22 17:08:42 +00:00
David Edelsohn 874994a90e - Add final newline.
From-SVN: r58410
2002-10-22 10:44:04 -04:00
Loren J. Rittle 312af83702 numeric_limits.cc (test_extrema<long double>): Remove specialization for FreeBSD systems.
* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
	Remove specialization for FreeBSD systems.

From-SVN: r58409
2002-10-22 09:35:10 +00:00
Nathan Sidwell 8fe734a3fe re PR c++/7209 (Faulty array dereferencing)
PR c++/7209
	* fold_const.c (fold_binary_op_with_conditional_arg): Always
	build compound_expr if we used save_expr.
testsuite:
	* g++.dg/expr/cond1.C: New test.

From-SVN: r58405
2002-10-22 08:56:49 +00:00
Alan Modra 6a0a6ac4c1 output.h (SECTION_NOTYPE): Define.
* output.h (SECTION_NOTYPE): Define.
	* varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
	init array sections.
	(default_elf_asm_named_section): Mind SECTION_NOTYPE.
	* config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
	merge TLS support.

From-SVN: r58404
2002-10-22 17:29:41 +09:30
GCC Administrator f87229e947 Daily bump.
From-SVN: r58403
2002-10-22 07:17:19 +00:00
Mark Mitchell 7ba539c666 class.c (empty_base_at_nonzero_offset_p): New function.
* class.c (empty_base_at_nonzero_offset_p): New function.
	(layout_nonempty_base_or_field): Do not check for conflicts when
	laying out a virtual base using the GCC 3.2 ABI.
	(build_base_field): Correct checking for presence of empty classes
	at non-zero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P.

	* g++.dg/abi/vbase13.C: New test.
	* g++.dg/abi/vbase14.C: Likewise.

From-SVN: r58397
2002-10-22 05:04:48 +00:00
Richard Henderson 5e26e5a278 real.c (sticky_rshift_significand): Return inexact, don't or it in immediately.
* real.c (sticky_rshift_significand): Return inexact, don't
        or it in immediately.
        (sub_significands): Accept incomming carry.
        (div_significands, rtd_divmod): Update for sub_significands change.
        (round_for_format): Update for sticky_rshift_significand change.
        (do_add): Don't involve the inexact bit in addition, do give the
        inexact bit as the subtraction carry-in.
        (encode_internal, decode_internal, real_internal_format): New.
        * real.h (real_internal_format): Declare.

From-SVN: r58396
2002-10-21 17:17:15 -07:00
Richard Henderson ad03e4c4c7 paranoia.cc (real_c_float::image): Accomodate size of real_internal format.
* paranoia.cc (real_c_float::image): Accomodate size of
        real_internal format.
        (main): Unbuffer stdio.  Add real_internal format.
        (floor_log2_wide): New.

From-SVN: r58395
2002-10-21 17:09:41 -07:00
Ulrich Weigand f8eef88332 libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.
* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
        don't define sdiv_qrnnd.

From-SVN: r58393
2002-10-21 23:10:38 +00:00
Kazu Hirata 89e56fe54b h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify using IN_RANGE.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
	using IN_RANGE.
	(TINY_CONSTANT_ADDRESS_P): Likewise.

From-SVN: r58392
2002-10-21 22:44:51 +00:00
Jan Hubicka f02e13584e i386.c (builtin_description): Add punpcklqdq and movdq2q
* i386.c (builtin_description): Add punpcklqdq and movdq2q
	(ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
	v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
	void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
	__builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
	__builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
	__builtin_ia32_setzero128.
	(ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
	IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
	IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
	* i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
	IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
	IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
	IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
	* i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
	sse2_movq): New patterns.
	(sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
	* xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
	_mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
	_mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
	_mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
	_mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
	_mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
	(_mm_insert_epi16): Fix.

From-SVN: r58391
2002-10-21 22:09:06 +00:00
Dale Johannesen 676e4fb854 remove > > > glitch
From-SVN: r58390
2002-10-21 21:58:15 +00:00
Dale Johannesen de40e1df94 Fix fastmath-specific crash PR 7133.
From-SVN: r58389
2002-10-21 21:56:40 +00:00
Mark Mitchell e3ccdd508a class.c (include_empty_classes): Use normalize_rli.
* class.c (include_empty_classes): Use normalize_rli.
	(layout_class_type): Likewise.

From-SVN: r58388
2002-10-21 21:47:44 +00:00
Jakub Jelinek 75d3837989 i386.c (x86_64_sign_extended_value): Add allow_rip argument.
* config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
	argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
	from constant pool or LABEL_REFs as sign extended if allow_rip.
	Change all +-1GB limits to +-16MB.
	(x86_64_general_operand, x86_64_szext_general_operand,
	x86_64_nonmemory_operand, x86_64_movabs_operand,
	x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
	legitimate_address_p, ix86_expand_int_movcc): Update callers.
	(local_symbolic_operand): Don't allow offsets bigger than +-16MB
	in CM_SMALL_PIC model.
	(legitimate_pic_address_disp_p): Don't check offsets before
	calling local_symbolic_operand.
	(legitimize_pic_address): Force offsets bigger than +-16MB into
	register.
	* config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
	* config/i386/i386-protos.h (x86_64_sign_extended_value): Update
	prototype.

	* configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
	Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
	* configure: Rebuilt.
	* config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
	SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
	UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
	(legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
	-fpic.
	(ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
	non-pic code if TARGET_64BIT.
	(legitimize_address): Generate 64-bit TLS sequences.
	(output_pic_addr_const): Support x86-64 TLS operators.
	(i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
	(print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
	Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
	(output_addr_const_extra): Support x86-64 TLS operators.
	(maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
	(ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
	unconditionally.
	* config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
	(*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
	(*tls_global_dynamic_sun): Renamed to...
	(*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
	(tls_global_dynamic): Renamed to...
	(tls_global_dynamic_32): ... this.
	(tls_global_dynamic_64, *tls_global_dynamic_64): New.
	(*tls_local_dynamic_base_dynamic_gnu): Renamed to...
	(*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
	(*tls_local_dynamic_base_dynamic_sun): Renamed to...
	(*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
	(tls_local_dynamic_base_dynamic): Renamed to...
	(tls_local_dynamic_base_dynamic_32): ... this.
	(tls_local_dynamic_base_dynamic_64,
	*tls_local_dynamic_base_dynamic_64): New.
	(*tls_local_dynamic_once): Renamed to...
	(*tls_local_dynamic_32_once): ... this.

	* gcc.dg/tls/pic-1.c: New test.
	* gcc.dg/tls/nonpic-1.c: New test.
	* gcc.dg/20021018-1.c: New test.

From-SVN: r58383
2002-10-21 22:27:14 +02:00
Ulrich Weigand 59798a0cae libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3, __divdi3, __umoddi3, or __moddi3.
* libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
	__divdi3, __umoddi3, or __moddi3.

From-SVN: r58382
2002-10-21 20:25:38 +00:00
Ulrich Weigand 97d05bfdd2 c-opts.c (missing_arg): Use cl_options[opt_index].opt_code instead of just opt_index as switch expression.
* c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
	instead of just opt_index as switch expression.

	* calls.c (store_one_arg): Change type of 'excess_align'
	to unsigned int.

	* profile.c (output_gcov_string): Change type of 'temp'
	to size_t.

From-SVN: r58381
2002-10-21 20:24:57 +00:00
Ulrich Weigand aaee784acf profopt.exp (profopt-cleanup): New argument TESTCASE.
* lib/profopt.exp (profopt-cleanup): New argument TESTCASE.
	Remove only files with the same base name as the test case.
	(profopt-perf-value): Pass TESTCASE to profopt-cleanup.
	(profopt-execute): Likewise.  Also, remove old profiling
	and performance data files before running the tests.

	* gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls.
	* g++.dg/bprob/bprob.exp: Likewise.
	* g77.dg/bprob/bprob.exp: Likewise.  Also, relax regexp
	to allow more general test case names.

	* g++.dg/bprob/bprob-1.C: Rename to ...
	* g++.dg/bprob/g++-bprob-1.C: ... this.

	* g77.dg/bprob/bprob-1.f: Rename to ...
	* g77.dg/bprob/g77-bprob-1.f: ... this.

From-SVN: r58380
2002-10-21 20:21:00 +00:00
Ulrich Weigand 5d4d885ca6 fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
* config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
	(__fixunssfdi, __fixsfdi): Likewise.
	* config/s390/s390.c (s390_single_hi): Initialize 'value'.
	(s390_single_qi): Likewise.
	(s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
	unsigned comparison warning.
	(s390_return_addr_rtx): New function.
	* config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
	* config/s390/s390.h (RETURN_ADDR_RTX): Use it.
	(HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.

From-SVN: r58379
2002-10-21 19:41:11 +00:00
Zack Weinberg 22bd25548a 920923-1.c: Prevent spurious regressions with bison 1.50 or later.
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
	bison 1.50 or later.

From-SVN: r58374
2002-10-21 19:05:47 +00:00
Andrew Haley c1ddb5c8ac parse.y (patch_invoke): Call force_evaluation_order on a static arg list.
2002-10-15  Andrew Haley  <aph@redhat.com>

	* parse.y (patch_invoke): Call force_evaluation_order on a static
	arg list.
	(resolve_qualified_expression_name): Call force_evaluation_order
	on a arg list that is part of a Qualified Expression Name.

	* lang.c (dump_compound_expr): New.
	(java_dump_tree): New.

From-SVN: r58369
2002-10-21 18:26:34 +00:00
Janis Johnson 434fb8b763 README: Describe more test directories.
2002-10-21  Janis Johnson  <janis187@us.ibm.com>

	* g++.dg/README: Describe more test directories.

From-SVN: r58364
2002-10-21 17:42:49 +00:00
Mark Mitchell 4232804867 decl.c (reshape_init): Tweak handling of character arrays.
* decl.c (reshape_init): Tweak handling of character arrays.

	* g++.dg/init/array6.C: Add additional tests.

From-SVN: r58363
2002-10-21 16:47:14 +00:00
Ulrich Weigand ecef5e8753 typeof-2.c: Handle s390x targets as well.
* gcc.dg/weak/typeof-2.c: Handle s390x targets as well.
	* gcc.misc-tests/linkage.exp: Handle s390x targets in -m31 mode.

From-SVN: r58361
2002-10-21 15:42:23 +00:00
Ulrich Weigand 3062825faa s390.c (s390_output_mi_vcall_thunk): New function.
* config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
	(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
	(s390_output_mi_thunk): Remove.
	(TARGET_ASM_OUTPUT_MI_THUNK): Remove.

From-SVN: r58360
2002-10-21 15:27:27 +00:00
Kazu Hirata 2918c993e6 * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
From-SVN: r58359
2002-10-21 13:14:26 +00:00
Kazu Hirata 0ac1a3d36f 20020604-1.x: New.
* gcc.c-torture/compile/20020604-1.x: New.
	* gcc.c-torture/compile/simd-5.x: Likewise.
	* gcc.c-torture/execute/920710-1.x: Likewise.
	* gcc.c-torture/execute/20020720-1.x: Disable on h8300.

From-SVN: r58358
2002-10-21 12:49:08 +00:00
Mark Mitchell 5ec1192eb5 re PR c++/8218 (Excessively large amount of memory used with classes with large array members)
PR c++/8218
	* cp-tree.h (lang_type_class): Add contains_empty_class_p.
	(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
	* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
	(check_field_decls): Likewise.
	(layout_class_type): Likewise.
	(finish_struct_1): Initialize it.
	(walk_subobject_offsets): Use it to prune searches.

From-SVN: r58356
2002-10-21 08:40:24 +00:00
Mark Mitchell 97cc1f5e6c * g++.dg/inherit/override1.C: Add dg-options clause.
From-SVN: r58355
2002-10-21 07:57:10 +00:00
GCC Administrator 81697db9ef Daily bump.
From-SVN: r58354
2002-10-21 07:17:55 +00:00
Michael Koch a9fe07988c Fix date, grrr.
From-SVN: r58346
2002-10-21 05:04:07 +00:00
Michael Koch e1caed8988 2002-10-11 Michael Koch <konqueror@gmx.de>
* java/net/URL.java
	(URL): Activate SecurityManager checks.
	(equals): Use URLStreamHandler implementation instead of doing it
	alone. This allows special protocol stream handlers to change default
	behaviour.
	(hashCode): Use URLStreamHandler implementation instead of doing it
	alone. This allows special protocol stream handlers to change default
	behaviour.
	* java/net/URLStreamHandler.java
	(equals): Implemented default URL equality check.
	(hostsEqual): Implemented default URL equality check.
	(hashCode): Implemented default URL hashCode algorithm.
	* java/net/natPlainDatagramSocketImpl.cc:
	No lines longer then 80 characters.

From-SVN: r58345
2002-10-21 04:53:50 +00:00
Adam Megacz e2a450f6e8 aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
2002-10-20  Adam Megacz <adam@xwt.org>

        * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
        * configure.in: enabled hash sync on Win32
        * include/win32-threads.h (_Jv_ThreadId_t): added.
        * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
        heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
        removed some posix-isms, use Thread::sleep() instead of usleep,
        added code to clear bottom three bits if platform has a broken
        linker.  * include/win32-threads.h (_Jv_ThreadId_t): added.

From-SVN: r58344
2002-10-21 01:50:14 +00:00
Ranjit Mathew 6d0b22ecb0 natRuntime.cc (insertSystemProperties): Added GCJ runtime property "gnu.gcj.progname" containing the name used to...
2002-10-19  Ranjit Mathew <rmathew@hotmail.com>

	* java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
	runtime property "gnu.gcj.progname" containing the name used to
	invoke the current Java program (similar to argv[0] for C
	programs).

From-SVN: r58343
2002-10-20 23:47:43 +00:00
Ranjit Mathew 63bb20d4ec gcj.texi: Added item describing the GCJ runtime property "gnu.gcj.progname".
2002-10-20  Ranjit Mathew <rmathew@hotmail.com>

	* gcj.texi: Added item describing the GCJ runtime property
	"gnu.gcj.progname".

From-SVN: r58342
2002-10-20 23:47:05 +00:00
Tom Tromey 248cfd1c86 * jartool.c: Use mode 0666 when opening new file.
From-SVN: r58341
2002-10-20 23:30:24 +00:00
Richard Henderson c590b62588 target.h (struct gcc_target): Line wrap.
* target.h (struct gcc_target): Line wrap.

	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
	(TARGET_ASM_OUTPUT_MI_THUNK): Define here...
	* config/alpha/alpha.h: ... not here.
	* config/alpha/alpha-protos.h: Update.

	* config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
	config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
	config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
	config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
	config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
	config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
	config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
	config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
	config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
	config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
	config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
	config/sparc/openbsd.h, config/sparc/sparc-protos.h,
	config/sparc/sparc.c, config/sparc/sparc.h,
	config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
	config/stormy16/stormy16.h: Similarly.

	* config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
	selection logic from call patterns.

From-SVN: r58340
2002-10-20 15:37:14 -07:00
Mark Mitchell 16f7d029b9 * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
From-SVN: r58339
2002-10-20 21:19:51 +00:00
Zdenek Dvorak ab3146fde7 re PR other/8202 (_mm_srli_si128 and _mm_slli_si128 missing from xmmintrin.h)
PR other/8202
	* i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
	expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
	* i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
	* xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.

	* testsuite/gcc.dg/i386-sse-3.c: Add tests for _mm_srli_si128 and
	_mm_slli_si128.

From-SVN: r58338
2002-10-20 20:38:41 +00:00