1. 22 Oct, 2002 16 commits
  2. 21 Oct, 2002 24 commits
    • libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd. · f8eef883
              * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
              don't define sdiv_qrnnd.
      
      From-SVN: r58393
      Ulrich Weigand committed
    • h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify using IN_RANGE. · 89e56fe5
      	* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
      	using IN_RANGE.
      	(TINY_CONSTANT_ADDRESS_P): Likewise.
      
      From-SVN: r58392
      Kazu Hirata committed
    • i386.c (builtin_description): Add punpcklqdq and movdq2q · f02e1358
      	* 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
      Jan Hubicka committed
    • remove > > > glitch · 676e4fb8
      From-SVN: r58390
      Dale Johannesen committed
    • Fix fastmath-specific crash PR 7133. · de40e1df
      From-SVN: r58389
      Dale Johannesen committed
    • class.c (include_empty_classes): Use normalize_rli. · e3ccdd50
      	* class.c (include_empty_classes): Use normalize_rli.
      	(layout_class_type): Likewise.
      
      From-SVN: r58388
      Mark Mitchell committed
    • i386.c (x86_64_sign_extended_value): Add allow_rip argument. · 75d38379
      	* 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
      Jakub Jelinek committed
    • libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3, __divdi3, __umoddi3, or __moddi3. · 59798a0c
      	* libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
      	__divdi3, __umoddi3, or __moddi3.
      
      From-SVN: r58382
      Ulrich Weigand committed
    • c-opts.c (missing_arg): Use cl_options[opt_index].opt_code instead of just… · 97d05bfd
      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
      Ulrich Weigand committed
    • profopt.exp (profopt-cleanup): New argument TESTCASE. · aaee784a
      	* 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
      Ulrich Weigand committed
    • fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes. · 5d4d885c
      	* 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
      Ulrich Weigand committed
    • 920923-1.c: Prevent spurious regressions with bison 1.50 or later. · 22bd2554
      	* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
      	bison 1.50 or later.
      
      From-SVN: r58374
      Zack Weinberg committed
    • parse.y (patch_invoke): Call force_evaluation_order on a static arg list. · c1ddb5c8
      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
      Andrew Haley committed
    • README: Describe more test directories. · 434fb8b7
      2002-10-21  Janis Johnson  <janis187@us.ibm.com>
      
      	* g++.dg/README: Describe more test directories.
      
      From-SVN: r58364
      Janis Johnson committed
    • decl.c (reshape_init): Tweak handling of character arrays. · 42328048
      	* decl.c (reshape_init): Tweak handling of character arrays.
      
      	* g++.dg/init/array6.C: Add additional tests.
      
      From-SVN: r58363
      Mark Mitchell committed
    • typeof-2.c: Handle s390x targets as well. · ecef5e87
      	* 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
      Ulrich Weigand committed
    • s390.c (s390_output_mi_vcall_thunk): New function. · 3062825f
      	* 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
      Ulrich Weigand committed
    • * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize. · 2918c993
      From-SVN: r58359
      Kazu Hirata committed
    • 20020604-1.x: New. · 0ac1a3d3
      	* 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
      Kazu Hirata committed
    • re PR c++/8218 (Excessively large amount of memory used with classes with large array members) · 5ec1192e
      	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
      Mark Mitchell committed
    • * g++.dg/inherit/override1.C: Add dg-options clause. · 97cc1f5e
      From-SVN: r58355
      Mark Mitchell committed
    • Daily bump. · 81697db9
      From-SVN: r58354
      GCC Administrator committed
    • Fix date, grrr. · a9fe0798
      From-SVN: r58346
      Michael Koch committed
    • 2002-10-11 Michael Koch <konqueror@gmx.de> · e1caed89
      	* 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
      Michael Koch committed