platform/upstream/linaro-gcc.git
22 years ago * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
rth [Fri, 18 Oct 2002 23:54:10 +0000 (23:54 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58295 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.dg/inherit/thunk1.C: New test.
mmitchel [Fri, 18 Oct 2002 23:42:35 +0000 (23:42 +0000)]
* g++.dg/inherit/thunk1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58294 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
mmitchel [Fri, 18 Oct 2002 23:35:40 +0000 (23:35 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58293 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
thorpej [Fri, 18 Oct 2002 23:10:35 +0000 (23:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58292 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/i386/i386.c (x86_initialize_trampoline): Emit a call
thorpej [Fri, 18 Oct 2002 23:00:50 +0000 (23:00 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58291 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * class.c (base_derived_from): Make sure return value is a bool.
mmitchel [Fri, 18 Oct 2002 21:46:53 +0000 (21:46 +0000)]
* class.c (base_derived_from): Make sure return value is a bool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58290 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * testsuite/thread/pthread1.cc: Remove needless workaround
ljrittle [Fri, 18 Oct 2002 21:37:53 +0000 (21:37 +0000)]
* testsuite/thread/pthread1.cc: Remove needless workaround
for FreeBSD 5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58289 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
ljrittle [Fri, 18 Oct 2002 21:25:13 +0000 (21:25 +0000)]
    * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58288 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.target (freebsd*): Use abi_baseline_triplet.
ljrittle [Fri, 18 Oct 2002 21:22:16 +0000 (21:22 +0000)]
* configure.target (freebsd*): Use abi_baseline_triplet.
* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58287 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
ljrittle [Fri, 18 Oct 2002 20:52:57 +0000 (20:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58286 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago (strictly_overrides): Remove.
mmitchel [Fri, 18 Oct 2002 09:26:42 +0000 (09:26 +0000)]
(strictly_overrides): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58284 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * class.c (find_final_overrider_data_s): Remove overriding_fn and
mmitchel [Fri, 18 Oct 2002 09:21:06 +0000 (09:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58283 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/8080
jason [Fri, 18 Oct 2002 09:00:47 +0000 (09:00 +0000)]
    PR c++/8080
        * semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess
        with condition decls in a template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58282 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Fri, 18 Oct 2002 08:09:58 +0000 (08:09 +0000)]
cp:
* class.c (add_method): Compare template parms too.
testsuite:
* g++.dg/overload/member2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58278 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoUpdate email address
gdr [Fri, 18 Oct 2002 08:02:13 +0000 (08:02 +0000)]
Update email address

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58277 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 18 Oct 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58276 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-18 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 18 Oct 2002 04:46:54 +0000 (04:46 +0000)]
2002-10-18  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Use target, not target_alias, when matching triplet
patterns.
* configure:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58270 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
sayle [Fri, 18 Oct 2002 03:29:17 +0000 (03:29 +0000)]
* doc/c-tree.texi: Update description of COND_EXPR tree nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58268 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
geoffk [Fri, 18 Oct 2002 00:30:23 +0000 (00:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58267 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-17 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 18 Oct 2002 00:22:58 +0000 (00:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58266 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-17 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 18 Oct 2002 00:15:26 +0000 (00:15 +0000)]
2002-10-17  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58265 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/7584
mmitchel [Thu, 17 Oct 2002 22:35:49 +0000 (22:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58262 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.dg/abi/mangle16.C: Adjust.
mmitchel [Thu, 17 Oct 2002 21:39:58 +0000 (21:39 +0000)]
* g++.dg/abi/mangle16.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58259 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/alpha/alpha.c (alpha_initialize_trampoline): Use
thorpej [Thu, 17 Oct 2002 20:58:48 +0000 (20:58 +0000)]
* config/alpha/alpha.c (alpha_initialize_trampoline): Use
tramp, not addr, to pass the trampoline address to
__enable_execute_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58258 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agooops, one extra typo.
hubicka [Thu, 17 Oct 2002 17:55:06 +0000 (17:55 +0000)]
oops, one extra typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58256 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReplace "ior" by "or".
hubicka [Thu, 17 Oct 2002 17:35:23 +0000 (17:35 +0000)]
Replace "ior" by "or".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58255 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/20021017-2.c: New test.
hubicka [Thu, 17 Oct 2002 17:13:41 +0000 (17:13 +0000)]
* gcc.dg/20021017-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58253 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mmintrin.h: Guard by __MMX__
hubicka [Thu, 17 Oct 2002 17:09:17 +0000 (17:09 +0000)]
* mmintrin.h: Guard by __MMX__
* xmmintrin.h: Guard by __SSE__

PR other/8062
* xmmintrin.h (_MM_SHUFFLE2): New macro.
(_mm_load*_?d): New functions.
(_mm_set*_?d): New functions.
(_mm_store*_?d): New functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58252 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pt.c (convert_template_argument): Revert this change:
mmitchel [Thu, 17 Oct 2002 17:07:15 +0000 (17:07 +0000)]
* pt.c (convert_template_argument): Revert this change:
2002-10-16  Mark Mitchell  <mark@codesourcery.com>
* pt.c (convert_template_argument): Do not fold non-type
template rguments when inside a template.

* g++.dg/abi/mangle17.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58251 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR opt/7630
hubicka [Thu, 17 Oct 2002 15:13:10 +0000 (15:13 +0000)]
PR opt/7630
* reload.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58248 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Really commit patch announced at Oct 14
hubicka [Thu, 17 Oct 2002 15:11:57 +0000 (15:11 +0000)]
Really commit patch announced at Oct 14
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.

PR other/8048
Found by Ian Ollmann
* xmmintrin.h (_mm_shuffle_pd): Fix typo.
(_mm_load?_pd): Likewise.
(_mm_store?_pd): Likewise.

PR target/7386
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.

PR opt/7630
* reload1.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58247 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Really commit patch announced at Oct 14
hubicka [Thu, 17 Oct 2002 13:54:32 +0000 (13:54 +0000)]
Really commit patch announced at Oct 14
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58246 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * init.c (expand_default_init): Handle brace-enclosed initializers
mmitchel [Thu, 17 Oct 2002 07:40:35 +0000 (07:40 +0000)]
* init.c (expand_default_init): Handle brace-enclosed initializers
correctly.

* g++.dg/init/array8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58245 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 17 Oct 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58244 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/special/mips-abi.exp: New test.
rsandifo [Thu, 17 Oct 2002 06:56:44 +0000 (06:56 +0000)]
* gcc.dg/special/mips-abi.exp: New test.
* gcc.dg/special/mips-abi.s: Empty file used by the above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58238 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
rsandifo [Thu, 17 Oct 2002 06:53:35 +0000 (06:53 +0000)]
* config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
if using mips/elf.h or mips/elf64.h.
* config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
* config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58237 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-17 Momchil Velikov <velco@fadata.bg>
ljrittle [Thu, 17 Oct 2002 05:26:21 +0000 (05:26 +0000)]
2002-10-17  Momchil Velikov  <velco@fadata.bg>
    Loren J. Rittle  <ljrittle@acm.org>

* configure.in: Add *-freebsd* to cross list.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58236 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mangle.c (write_expression): Correct handling of enumeration
mmitchel [Thu, 17 Oct 2002 02:07:45 +0000 (02:07 +0000)]
* mangle.c (write_expression): Correct handling of enumeration
constants.
(write_template_arg): Likewise.
* pt.c (convert_template_argument): Do not fold non-type template
arguments when inside a template.

* g++.dg/abi/mangle16.C: New test.
* g++.dg/abi/mangle17.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58234 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 17 Oct 2002 01:19:59 +0000 (01:19 +0000)]
2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
_M_name_timepunct.
(__timepunct::~__timepunct): Deallocate, remove specialization
declarations.
(messages::messages): Allocate _M_name_messages.
(messages::~messages): Deallocate.
(messages_byname): Same.
* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
Remove.
* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
Remove.

* docs/html/install.html: Add es_MX, en_PH to required locales list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58232 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/7478
mmitchel [Thu, 17 Oct 2002 00:17:59 +0000 (00:17 +0000)]
PR c++/7478
* cvt.c (convert_to_reference): Allow references as the incoming
type.

PR c++/7478
* g++.dg/template/ref1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58230 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 16 Oct 2002 23:08:43 +0000 (23:08 +0000)]
2002-10-16  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
SI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58227 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * paranoia.cc (ENUM_BITFIELD): New.
rth [Wed, 16 Oct 2002 23:07:29 +0000 (23:07 +0000)]
    * paranoia.cc (ENUM_BITFIELD): New.
        (class): Define as klass around real.h.
        (real_c_float): Not a template any longer; define MODE as a
        class static constant; use real_format elements for SIZE.
        Update uses of real_to_decimal and real_to_hexadecimal.
        (main): Change -g argument to use a format name.
        (mode_for_size): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58226 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20020720-1.x: Don't XFAIL for mips.
ghazi [Wed, 16 Oct 2002 21:39:24 +0000 (21:39 +0000)]
* gcc.c-torture/execute/20020720-1.x: Don't XFAIL for mips.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58224 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.
uweigand [Wed, 16 Oct 2002 21:25:26 +0000 (21:25 +0000)]
* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58222 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.table: Use mh-s390pic for s390x too.
jakub [Wed, 16 Oct 2002 20:07:03 +0000 (20:07 +0000)]
* config.table: Use mh-s390pic for s390x too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58221 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
uweigand [Wed, 16 Oct 2002 19:09:25 +0000 (19:09 +0000)]
* config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
(LPREFIX): Likewise.
(ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.

* config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
BSS_SECTION_ASM_OP): Move from linux.h.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.

* config/s390/s390.c (s390_function_profiler): Use
ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58219 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/7524
mmitchel [Wed, 16 Oct 2002 18:58:38 +0000 (18:58 +0000)]
PR c++/7524
* g++.dg/init/array7.C: New test.

PR c++/7524
* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
build_qualified_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58217 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 16 Oct 2002 16:14:10 +0000 (16:14 +0000)]
2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Add exports for codecvt constructors
where size_t == unsigned long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58208 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR libgcj/8234:
tromey [Wed, 16 Oct 2002 14:58:15 +0000 (14:58 +0000)]
Fix for PR libgcj/8234:
* java/util/zip/natInflater.cc (reset): Reset avail_in.
* java/util/zip/natDeflater.cc (reset): Reset avail_in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58205 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR target/7386
hubicka [Wed, 16 Oct 2002 13:14:23 +0000 (13:14 +0000)]
PR target/7386
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.
* doc/extend.texi (X86 Built-in Functions): Remove killed builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58202 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 16 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58194 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoRemove bogus copyright message in my last entry.
obrien [Wed, 16 Oct 2002 03:45:02 +0000 (03:45 +0000)]
Remove bogus copyright message in my last entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58188 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agogcc/
rth [Wed, 16 Oct 2002 00:40:39 +0000 (00:40 +0000)]
gcc/
        * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
        as arguments.  Bound DIGITS by the available buffer size.
        (real_to_hexadecimal): Likewise.
        * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
        (REAL_VALUE_TO_DECIMAL): Remove.
        * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
        sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
        config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
        config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
        config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
        config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
        config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
        use real_to_decimal directly, and with the proper arguments.
        * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.

gcc/cp/
        * error.c (dump_expr): Use real_to_decimal directly, and with
        the new arguments.

gcc/f/
        * target.h (ffetarget_print_real1, ffetarget_print_real2): Use
        real_to_decimal directly, and with the new arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58187 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jcf-parse.c (get_constant): Fix type warning.
rth [Wed, 16 Oct 2002 00:36:17 +0000 (00:36 +0000)]
    * jcf-parse.c (get_constant): Fix type warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58186 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * decl.c (reshape_init): Fix typo.
mmitchel [Tue, 15 Oct 2002 23:59:23 +0000 (23:59 +0000)]
* decl.c (reshape_init): Fix typo.

* cp-tree.h (operator_name_info_t): Add arity.
* lex.c (init_operators): Initialize it.
* mangle.c (write_conversion_operator_name): New function.
(write_unqualified_name): Use it.
(write_template_args): Accept template arguments as a TREE_LIST.
(write_expression): Adjust handling of qualified names to match
specification.

* g++.dg/init/array6.C: New test.

* g++.dg/abi/mangle13.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle15.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58185 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix x86 miscompilation of gdb mips simulator.
wilson [Tue, 15 Oct 2002 22:46:31 +0000 (22:46 +0000)]
Fix x86 miscompilation of gdb mips simulator.
* reload1.c (merge_assigned_reloads): After converting overlapping
reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58184 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * call.c (call_builtin_trap): New fn.
jason [Tue, 15 Oct 2002 22:03:53 +0000 (22:03 +0000)]
    * call.c (call_builtin_trap): New fn.
        (convert_arg_to_ellipsis): Use it.  Downgrade error to warning.
        (build_call): Don't set current_function_returns_abnormally outside
        a function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58180 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (do_tablejump): Fix typo in my previous commit.
hubicka [Tue, 15 Oct 2002 20:09:32 +0000 (20:09 +0000)]
* expr.c (do_tablejump): Fix typo in my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58179 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocvs commit fubar.
aph [Tue, 15 Oct 2002 19:25:13 +0000 (19:25 +0000)]
cvs commit fubar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58178 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix bad checkin.
aph [Tue, 15 Oct 2002 19:00:24 +0000 (19:00 +0000)]
Fix bad checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58177 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-15 Andrew Haley <aph@redhat.com>
aph [Tue, 15 Oct 2002 18:43:11 +0000 (18:43 +0000)]
2002-10-15  Andrew Haley  <aph@redhat.com>

        * libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
        * libjava.lang/EvaluationOrder.out (EvaluationOrder): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58176 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 15 Oct 2002 18:41:47 +0000 (18:41 +0000)]
2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>

* configure, config.h.in: Rebuilt.
* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58175 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * class.c (check_field_decls): Remove empty_p parameter. Instead,
mmitchel [Tue, 15 Oct 2002 18:07:24 +0000 (18:07 +0000)]
* class.c (check_field_decls): Remove empty_p parameter.  Instead,
clear CLASSTYPE_EMPTY_P.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(check_bases_and_members): Likewise.
(create_vtbl_ptr): Likewise.
(layout_class_type): Likewise.  Ensure that empty classes have
size zero when used as base classes in the 3.2 ABI.
(finish_struct_1): Initialize CLASSTYPE_EMPTY_P and
CLASSTYPE_NEARLY_EMPTY_P.  Adjust calls to avoid passing empty_p
parameter.
(is_empty_class): Correct definition when using post-3.2 ABI.
* cp-tree.h (lang_type_class): Add empty_p.
(CLASSTYPE_EMPTY_P): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58170 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
rsandifo [Tue, 15 Oct 2002 17:02:56 +0000 (17:02 +0000)]
* config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58169 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/s390.c (s390_split_branches): Add return
uweigand [Tue, 15 Oct 2002 16:27:34 +0000 (16:27 +0000)]
* config/s390/s390.c (s390_split_branches): Add return
value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.

(find_base_register_in_addr): New function.
(find_base_register_ref): New function.
(replace_base_register_ref): New function.

(struct constant_pool): Add members pool_insn, insns, and anchor.
Remove member last_insn.
(s390_start_pool): Initialize them.
(s390_end_pool): Emit pool placeholder insn.
(s390_add_pool_insn): New function.
(s390_find_pool): Use insns bitmap instead of addresses.
(s390_dump_pool): Replace placeholder insn.  Emit anchor.
Replace unspec 104 by local-pool-relative references.
(s390_output_constant_pool): Output anchor label if required.
(s390_output_symbolic_const): Handle unspec 104 and 105.
(s390_add_pool): Remove, replace by ...
(s390_add_constant, s390_find_constant): ... these new functions.
(s390_add_anchor): New function.

(s390_chunkify_pool): Delete, replace by ...
(s390_chunkify_start, s390_chunkify_finish,
s390_chunkify_cancel): ... these new functions.
(s390_optimize_prolog): Add parameter TEMP_REGNO.
Recompute register live data for special registers.
(s390_fixup_clobbered_return_reg): New function.
(s390_machine_dependent_reorg): Rewrite to use new
s390_chunkify_... routines.

config/s390/s390.md ("reload_base"): Rename to ...
("reload_base_31"): ... this.
("reload_base_64"): New insn.
("reload_base2"): Remove.
("reload_anchor"): New insn.
("pool"): New insn.

s390.c (s390_pool_overflow): Remove.
s390.h (s390_pool_overflow): Likewise.
s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58168 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Tue, 15 Oct 2002 16:01:02 +0000 (16:01 +0000)]
cp:
* init.c (build_delete): Do not apply save_expr for arrays.
(build_vec_delete): Likewise.
testsuite:
* g++.dg/init/ctor1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58166 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * sh.md (movv8qi_i+2): Don't split if source is -1.
amylaar [Tue, 15 Oct 2002 15:54:06 +0000 (15:54 +0000)]
* sh.md (movv8qi_i+2): Don't split if source is -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58165 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-15 Janis Johnson <janis187@us.ibm.com>
janis [Tue, 15 Oct 2002 15:52:33 +0000 (15:52 +0000)]
2002-10-15  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi: Formatting changes for conformance to HTML 4.01.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58164 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-15 Andrew Haley <aph@redhat.com>
aph [Tue, 15 Oct 2002 15:29:12 +0000 (15:29 +0000)]
2002-10-15  Andrew Haley  <aph@redhat.com>

        * java-tree.h (java_inlining_merge_static_initializers): Declare.
        (java_inlining_map_static_initializers): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58163 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20021015-1.c: New test.
uweigand [Tue, 15 Oct 2002 14:39:40 +0000 (14:39 +0000)]
* gcc.c-torture/execute/20021015-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58159 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoPR opt/7409
uweigand [Tue, 15 Oct 2002 14:38:10 +0000 (14:38 +0000)]
PR opt/7409
* loop.c (loop_regs_scan): Mark registers used for function
argument passing as MAY_NOT_OPTIMIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58158 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.
amylaar [Tue, 15 Oct 2002 13:25:16 +0000 (13:25 +0000)]
* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58157 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (movv2di_internal): New pattern.
hubicka [Tue, 15 Oct 2002 08:24:36 +0000 (08:24 +0000)]
* i386.md (movv2di_internal): New pattern.
(movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
(movv2di): New expander.
* i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.

* i386.c (ix86_expand_timode_binop_builtin): Delete.
(builtin_description): Add SSE1 logicals; rename SSE2 logicals.
(ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
(ix86_expand_builtin): Likewise.
* i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
        sse_andti3,
sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
        sse_andnti3,
sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
        sse_orti3,
sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
        sse_xorti3): Kill.
(sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
(*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
(*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.

* xmmintrin.h (__m128i): Define as __v2di.

PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.

PR c++/6419
(expand_expr): Use DECL_RTL_SET_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58156 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 15 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58155 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * decl.c (layout_var_decl): Call layout_decl even for variables
mmitchel [Tue, 15 Oct 2002 06:14:58 +0000 (06:14 +0000)]
* decl.c (layout_var_decl): Call layout_decl even for variables
whose type is an array with unspecified bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58149 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (simplify_set): Treat MODE_CC registers like cc0.
sayle [Tue, 15 Oct 2002 05:01:07 +0000 (05:01 +0000)]
* combine.c (simplify_set):  Treat MODE_CC registers like cc0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58148 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 15 Oct 2002 04:22:11 +0000 (04:22 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
c_locale_impl.
* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
* docs/html/abi.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58147 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 15 Oct 2002 01:05:30 +0000 (01:05 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/static_members.cc (test02): Less provincial.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58144 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 14 Oct 2002 22:13:34 +0000 (22:13 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/static_members.cc (test02): Disable for
systems without named locale support.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
running the testsuites in "C" environment.
Add new tests.
* docs/html/22_locale/locale.html: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58142 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/20020219-1.c: Disable for 16-bit targets.
rth [Mon, 14 Oct 2002 22:07:18 +0000 (22:07 +0000)]
    * gcc.dg/20020219-1.c: Disable for 16-bit targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58141 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.c (k6_cost): Correct typo.
sayle [Mon, 14 Oct 2002 21:48:12 +0000 (21:48 +0000)]
* config/i386/i386.c (k6_cost): Correct typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58139 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR optimization/6631
mmitchel [Mon, 14 Oct 2002 21:19:05 +0000 (21:19 +0000)]
PR optimization/6631
* Makefile.in (function.o): Depend on langhooks.h.
* alias.c (objects_must_conflict_p): Check honor_readonly when
examining TYPE_READONLY.
* function.c (assign_stack_temp_for_type): Likewise.

PR optimization/6631
* g++.dg/opt/const2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58136 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/7176
mmitchel [Mon, 14 Oct 2002 21:09:25 +0000 (21:09 +0000)]
PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.

PR c++/7176
* lex.c (do_identifier): Add another option for the parsing
parameter.
* parse.y (do_id): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58135 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
rth [Mon, 14 Oct 2002 19:57:18 +0000 (19:57 +0000)]
    * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
        Swap zero extension arguments.
        (umaxhi3): Fix instruction class.
        PR target/7211
        (prefetch): Fix prefetch instructions.
        PR target/7238
        (pkwb): Fix output constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58133 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.c (print_operand): Increase buffer size for
aoliva [Mon, 14 Oct 2002 19:53:25 +0000 (19:53 +0000)]
* config/mips/mips.c (print_operand): Increase buffer size for
real numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58132 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Oct 2002 19:02:56 +0000 (19:02 +0000)]
2002-10-14  Andrew Haley  <aph@redhat.com>

        * libjava.lang/StaticConstructor.java: New.
        * libjava.lang/StaticConstructor.out: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58131 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR opt/8165
rth [Mon, 14 Oct 2002 18:16:07 +0000 (18:16 +0000)]
    PR opt/8165
        * gcse.c (adjust_libcall_notes): Revert last change.
        * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58130 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-10-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Oct 2002 18:12:12 +0000 (18:12 +0000)]
2002-10-14  Andrew Haley  <aph@redhat.com>

        * tree-inline.c (remap_block): All local class initialization
        flags go in the outermost scope.
        (expand_call_inline): Call java_inlining_map_static_initializers.
        (expand_call_inline): Call java_inlining_merge_static_initializers.
        * java/lang.c (merge_init_test_initialization): New.
        (java_inlining_merge_static_initializers): New.
        (inline_init_test_initialization): New.
        (java_inlining_map_static_initializers): New.

        * tree-inline.c (expand_call_inline): Convert retvar to expected
        type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58129 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
grahams [Mon, 14 Oct 2002 18:02:43 +0000 (18:02 +0000)]
 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58128 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * stmt.c: Fix typo in comment.
aldyh [Mon, 14 Oct 2002 15:57:42 +0000 (15:57 +0000)]
* stmt.c: Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58124 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (c_common_type_for_mode): Add V2HImode case.
amylaar [Mon, 14 Oct 2002 10:36:41 +0000 (10:36 +0000)]
* c-common.c (c_common_type_for_mode): Add V2HImode case.
* tree.c (build_common_tree_nodes_2): Initialize
unsigned_V2HI_type_node and V2HI_type_node.
* tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
(unsigned_V2HI_type_node, V2HI_type_node): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58123 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
jakub [Mon, 14 Oct 2002 10:07:58 +0000 (10:07 +0000)]
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Handle TARGET_64BIT.

* gcc.dg/20021014-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58120 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
rsandifo [Mon, 14 Oct 2002 07:17:41 +0000 (07:17 +0000)]
* config/mips/vr.h (DRIVER_SELF_SPECS): Define.
* config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
(MULTILIB_DIRNAMES): Remove long32.
(MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
(MULTILIB_REDUNDANT_DIRS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58116 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Mon, 14 Oct 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58115 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/tm.texi (DRIVER_SELF_SPECS): Document.
rsandifo [Mon, 14 Oct 2002 07:15:39 +0000 (07:15 +0000)]
* doc/tm.texi (DRIVER_SELF_SPECS): Document.
* gcc.c (driver_self_specs): New variable.
(do_self_spec): New function.
(main): Use it to process driver_self_specs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58109 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
rth [Mon, 14 Oct 2002 02:36:25 +0000 (02:36 +0000)]
    * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58102 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mauve-libgcj: Enable Mauve tests that compile now.
mark [Sun, 13 Oct 2002 11:10:27 +0000 (11:10 +0000)]
    * mauve-libgcj: Enable Mauve tests that compile now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58100 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * libjava.mauve/xfails: Remove tests that now XPASS.
mark [Sun, 13 Oct 2002 11:07:24 +0000 (11:07 +0000)]
* libjava.mauve/xfails: Remove tests that now XPASS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58099 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 13 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58098 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/bits/stl_threads.h (_GLIBCPP_mutex,
dannysmith [Sun, 13 Oct 2002 06:35:15 +0000 (06:35 +0000)]
* include/bits/stl_threads.h (_GLIBCPP_mutex,
_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
_GLIBCPP_mutex_address_init, _GLIBCPP_once):
Declare in namespace __gnu_cxx.
(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
names.
Adjust copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58092 138bc75d-0d04-0410-961f-82ee72b054a4