- 20 Oct, 2002 8 commits
-
-
2002-10-20 Ranjit Mathew <rmathew@hotmail.com> * gcj.texi: Added item describing the GCJ runtime property "gnu.gcj.progname". From-SVN: r58342
Ranjit Mathew committed -
From-SVN: r58341
Tom Tromey committed -
* 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
Richard Henderson committed -
From-SVN: r58339
Mark Mitchell committed -
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
Zdenek Dvorak committed -
PR c/761 * toplev.c (flag_unsafe_profile_arcs): Remove. (flag_bounded_pointers): Remove. (flag_bounds_check): Correct comments. (lang_independent_options): Remove -funsafe-profile-arcs and -fbounded-pointers. Correct -fbounds-check comments. * flags.h: Correct flag_schedule_interblock comments. (flag_bounded_pointers): Remove prototype. (flag_bounds_check): Correct comments. * c-opts.c (c_common_init_options): No need to mark flag_bounds_check as unspecified. (c_common_post_options): And no need to set it from flag_bounded_pointers if its still unspecified. * doc/invoke.texi: Fix some overfull hboxes in "make dvi". Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock, -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous, -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check. From-SVN: r58334
Roger Sayle committed -
* alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to match target.h. * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise. * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise. * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise. * i386-protos.h, i386.c (x86_output_mi_vcall_thunk, x86_output_mi_thunk): Likewise. * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise. * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise. * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise. * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise. * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise. * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise. * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk): Likewise. * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise. * target.h (gcc_target): Update output_mi_thunk and output_mi_vcall_thunk to take a HOST_WIDE_INT delta and vcall_index. * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with TARGET_ASM_OUTPUT_MI_THUNK in comments. * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it. (TARGET_ASM_OUTPUT_MI_THUNK): #undef it. * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition. * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update signature. * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise. * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with TARGET_ASM_OUTPUT_MI_THUNK in comments. * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define. (TARGET_ASM_OUTPUT_MI_THUNK): Do define. * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with TARGET_ASM_OUTPUT_MI_THUNK in comments. * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef ASM_OUTPUT_MI_THUNK and replace with check of targetm. * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature. (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise. From-SVN: r58333
Mark Mitchell committed -
From-SVN: r58330
GCC Administrator committed
-
- 19 Oct, 2002 10 commits
-
-
* real.c (do_add): Fix 0+0 sign corner case. (do_divide): Fix Inf/0 corner case. From-SVN: r58322
Brad Lucier committed -
* i386.c (classify_argument): Pass MMX arguments in memory (ix86_expand_builtin): Expand proper address mode for cflush. * i386.md (movdqa): Fix typo. (sse2_cflush): Accept DImode addresses. * xmmintrin.h (_mm_sqrt_sd): Accept two arguments. (_mm_max_sd): Fix pasto. (_mm_storeh_pd, _mm_storel_pd): Fix. * i386.c (bdesc_comi): Fix to match specification. (ix86_expand_sse_comi): Emit the comparison properly. * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi): Do not use comparison operator. (vnmaskcmp): Fix template. * xmmintrin.h (_mm_cvtps_pi16): Fix. From-SVN: r58321
Jan Hubicka committed -
* lib/compat.exp (compat-run): Prepend "./" when $dest has no directory component. From-SVN: r58318
Andreas Schwab committed -
* mmintrin.h (__m64): typedef it to v2si. (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16, _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16, _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64, _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64, _mm_or_si64, _mm_xor_si64): Add neccesary casts. * xmmintrin.h (_mm_setzero_si64): Likewise. From-SVN: r58316
Jan Hubicka committed -
* dependence.c : Removed. * Makefile.in : Remove dependence.o. From-SVN: r58307
Sebastian Pop committed -
* mmintrin.h (__m64): typedef it to v2si. (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16, _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16, _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64, _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64, _mm_or_si64, _mm_xor_si64): Add neccesary casts. * xmmintrin.h (_mm_setzero_si64): Likewise. * i386.h (ALIGN_MODE_128): Update comment; add missing modes (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros. PR target/7693 Patch by Shawn Wagner * mmintrin.h: Replace pi64 by si64. From-SVN: r58306
Jan Hubicka committed -
From-SVN: r58305
GCC Administrator committed -
* rs6000.md (movdf_hardfloat32): Order alternatives consistently. Use length of 4 not *. (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR. (movdf_softfloat64): Likewise. (movdi_internal32): Use length of 4 not *. (movti_power): Same. (ctrsi, ctrdi): Same. From-SVN: r58299
David Edelsohn committed -
* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized- typedef extension at __typeof__. From-SVN: r58297
Zack Weinberg committed -
From-SVN: r58296
Sebastian Pop committed
-
- 18 Oct, 2002 21 commits
-
-
* real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New. (real_to_decimal): Re-implement using the logic from the gcc 3.2 etoasc. Comment heavily. (div_significands): Simplify loop startup and comparison logic. From-SVN: r58295
Richard Henderson committed -
From-SVN: r58294
Mark Mitchell committed -
* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise. (TARGET_ASM_OUT): Add them. * target.h (asm_out): Add output_mi_thunk and output_mi_vcall_thunk. * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/arm/arm-protos.h (arm_output_mi_thunk): Declare. * config/arm/arm.c (arm_output_mi_thunk): Define. * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust prototype. (x86_output_mi_vcall_thunk): Declare. * config/i386/i386.c (override_options): Clear output_mi_vcall_thunk in 64-bit mode. (ix86_fntype_regparm): New function. (ix86_return_pops_args): Use it. (ia32_this_parameter): New function. (x86_output_mi_vcall_thunk): New function. (x86_output_mi_thunk): Use it * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define. * config/i960/i960-protos.h (i960_output_mi_thunk): Declare. * config/i960/i960.c (i960_output_mi_thunk): New function. * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust. * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare. * config/ia64/ia64.c (ia64_output_mi_thunk): Define. * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function. * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/s390/s390-protos.h (s390_output_mi_thunk): Declare. * config/s390/s390.c (s390_output_mi_thunk): Define. * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * config/vax/vax-protos.h (vax_output_mi_thunk): Declare. * config/vax/vax.c (vax_output_mi_thunk): Define. * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ... (TARGET_ASM_OUTPUT_MI_THUNK): ... this. * doc/tm.texi: Adjust documentation. From-SVN: r58293
Mark Mitchell committed -
* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define __enable_execute_stack function. * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define as NETBSD_ENABLE_EXECUTE_STACK. * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. From-SVN: r58292
Jason Thorpe committed -
i386.c (x86_initialize_trampoline): Emit a call to __enable_execute_stack with the address of the trampoline if... * config/i386/i386.c (x86_initialize_trampoline): Emit a call to __enable_execute_stack with the address of the trampoline if TRANSFER_FROM_TRAMPOLINE is defined. * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time constant if building libgcc2. From-SVN: r58291
Jason Thorpe committed -
From-SVN: r58290
Mark Mitchell committed -
* testsuite/thread/pthread1.cc: Remove needless workaround for FreeBSD 5. From-SVN: r58289
Loren J. Rittle committed -
From-SVN: r58288
Loren J. Rittle committed -
* configure.target (freebsd*): Use abi_baseline_triplet. * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file. From-SVN: r58287
Loren J. Rittle committed -
howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro. * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro. * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise. (__mem_interface): Remove all references to old internal typedef. * include/backward/alloc.h (__USE_MALLOC): Remove it and all guarded code. * include/bits/c++config (__USE_MALLOC): Update related error message and comment. * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all guarded code. Update all related comments. (__mem_interface): Unconditionally replace it with __new_alloc. However, leave the typedef around in case anyone used it. (__default_alloc_template<>::_S_force_new): New class static. (__default_alloc_template<>::allocate, deallocate): Add run-time controlled feature similar to what __USE_MALLOC code path had provided. * src/stl-inst.cc (__USE_MALLOC): Remove it and all guarded code. * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC. Add documentation on GLIBCPP_FORCE_NEW environment variable. * testsuite/ext/allocators.cc: Likewise. From-SVN: r58286
Loren J. Rittle committed -
From-SVN: r58284
Mark Mitchell committed -
* class.c (find_final_overrider_data_s): Remove overriding_fn and overriding_base. (dfs_base_derived_from): New function. (base_derived_from): Likewise. (dfs_find_final_overrider): Use base_derived_from. (find_final_overrider): Adjust. * g++.dg/inherit/override1.C: New test. From-SVN: r58283
Mark Mitchell committed -
PR c++/8080 * semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess with condition decls in a template. From-SVN: r58282
Jason Merrill committed -
cp: * class.c (add_method): Compare template parms too. testsuite: * g++.dg/overload/member2.C: New test. From-SVN: r58278
Nathan Sidwell committed -
From-SVN: r58277
Gabriel Dos Reis committed -
From-SVN: r58276
GCC Administrator committed -
2002-10-18 Phil Edwards <pme@gcc.gnu.org> * configure.in: Use target, not target_alias, when matching triplet patterns. * configure: Regenerate. From-SVN: r58270
Phil Edwards committed -
From-SVN: r58268
Roger Sayle committed -
* config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes in CTR/LR/MQ. * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves to/from CTR/LR/MQ. (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ. (movsf_softfloat): Likewise. From-SVN: r58267
Geoffrey Keating committed -
2002-10-17 Janis Johnson <janis187@us.ibm.com> * g++.dg/README: Describe new compat directory. * g++.dg/dg.exp: Skip tests in compat directory. * README.compat: New file. * lib/compat.exp: New expect script. * g++.dg/compat: New test directory. * g++.dg/compat/compat.exp: New expect script. * g++.dg/compat/abi: New test directory. * g++.dg/compat/abi/bitfield1_x.C, g++.dg/compat/abi/bitfield1_main.C, g++.dg/compat/abi/bitfield1_y.C, g++.dg/compat/abi/bitfield1.h, g++.dg/compat/abi/bitfield2_x.C, g++.dg/compat/abi/bitfield2_main.C, g++.dg/compat/abi/bitfield2_y.C, g++.dg/compat/abi/bitfield2.h, g++.dg/compat/abi/vbase8-10_x.C, g++.dg/compat/abi/vbase8-10_main.C, g++.dg/compat/abi/vbase8-10_y.C, g++.dg/compat/abi/vbase8-10.h, g++.dg/compat/abi/vbase8-21_x.C, g++.dg/compat/abi/vbase8-21_main.C, g++.dg/compat/abi/vbase8-21_y.C, g++.dg/compat/abi/vbase8-21.h, g++.dg/compat/abi/vbase8-22_x.C, g++.dg/compat/abi/vbase8-22_main.C, g++.dg/compat/abi/vbase8-22_y.C, g++.dg/compat/abi/vbase8-22.h, g++.dg/compat/abi/vbase8-4_x.C, g++.dg/compat/abi/vbase8-4_main.C, g++.dg/compat/abi/vbase8-4_y.C, g++.dg/compat/abi/vbase8-4.h: New files. * g++.dg/compat/break: New test directory. * g++.dg/compat/break/empty6_x.C, g++.dg/compat/break/empty6_main.C, g++.dg/compat/break/empty6_y.C, g++.dg/compat/break/empty6.h, g++.dg/compat/break/vbase10_x.C, g++.dg/compat/break/vbase10_main.C, g++.dg/compat/break/vbase10_y.C, g++.dg/compat/break/vbase10.h, g++.dg/compat/break/vbase11_x.C, g++.dg/compat/break/vbase11_main.C, g++.dg/compat/break/vbase11_y.C, g++.dg/compat/break/vbase11.h, g++.dg/compat/break/bitfield7_x.C, g++.dg/compat/break/bitfield7_main.C, g++.dg/compat/break/bitfield7_y.C, g++.dg/compat/break/bitfield7.h, g++.dg/compat/break/bitfield5_x.C, g++.dg/compat/break/bitfield5_main.C, g++.dg/compat/break/bitfield5_y.C, g++.dg/compat/break/bitfield5.h, g++.dg/compat/break/README: New files. * g++.dg/compat/eh: New test directory. * g++.dg/compat/eh/ctor1_x.C, g++.dg/compat/eh/ctor1_main.C, g++.dg/compat/eh/ctor1_y.C, g++.dg/compat/eh/ctor1.h, g++.dg/compat/eh/ctor2_x.C, g++.dg/compat/eh/ctor2_main.C, g++.dg/compat/eh/ctor2_y.C, g++.dg/compat/eh/ctor2.h, g++.dg/compat/eh/dtor1_x.C, g++.dg/compat/eh/dtor1_main.C, g++.dg/compat/eh/dtor1_y.C, g++.dg/compat/eh/dtor1.h, g++.dg/compat/eh/filter1_x.C, g++.dg/compat/eh/filter1_main.C, g++.dg/compat/eh/filter1_y.C, g++.dg/compat/eh/filter1.h, g++.dg/compat/eh/filter2_x.C, g++.dg/compat/eh/filter2_main.C, g++.dg/compat/eh/filter2_y.C, g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_main.C, g++.dg/compat/eh/new1_y.C, g++.dg/compat/eh/nrv1_x.C, g++.dg/compat/eh/nrv1_main.C, g++.dg/compat/eh/nrv1_y.C, g++.dg/compat/eh/nrv1.h, g++.dg/compat/eh/spec3_x.C, g++.dg/compat/eh/spec3_main.C, g++.dg/compat/eh/spec3_y.C, g++.dg/compat/eh/spec3.h, g++.dg/compat/eh/template1_x.C, g++.dg/compat/eh/template1_main.C, g++.dg/compat/eh/template1_y.C, g++.dg/compat/eh/template1.h, g++.dg/compat/eh/unexpected1_x.C, g++.dg/compat/eh/unexpected1_main.C, g++.dg/compat/eh/unexpected1_y.C: New files. * g++.dg/compat/init: New test directory. * g++.dg/compat/init/array5_x.C, g++.dg/compat/init/array5_main.C, g++.dg/compat/init/array5_y.C, g++.dg/compat/init/byval1_x.C, g++.dg/compat/init/byval1_main.C, g++.dg/compat/init/byval1_y.C, g++.dg/compat/init/byval1.h, g++.dg/compat/init/dtor1_x.C, g++.dg/compat/init/dtor1_main.C, g++.dg/compat/init/dtor1_y.C, g++.dg/compat/init/dtor1.h, g++.dg/compat/init/elide1_x.C, g++.dg/compat/init/elide1_main.C, g++.dg/compat/init/elide1_y.C, g++.dg/compat/init/elide1.h, g++.dg/compat/init/init-ref2_x.C, g++.dg/compat/init/init-ref2_main.C, g++.dg/compat/init/init-ref2_y.C: New files. From-SVN: r58266
Janis Johnson committed -
2002-10-17 Janis Johnson <janis187@us.ibm.com> * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS. From-SVN: r58265
Janis Johnson committed
-
- 17 Oct, 2002 1 commit
-
-
PR c++/7584 * class.c (handle_using_decl): Allow the declaration used to be from an ambiguous base. PR c++/7584 * g++.dg/inherit/using3.C: New test. From-SVN: r58262
Mark Mitchell committed
-