platform/upstream/linaro-gcc.git
20 years ago* config/frv/frv-protos.h (frv_expand_epilogue,
aoliva [Sun, 2 May 2004 04:57:47 +0000 (04:57 +0000)]
* config/frv/frv-protos.h (frv_expand_epilogue,
frv_expand_fdpic_call): Add bool argument.
* config/frv/frv.c (frv_function_ok_for_sibcall): New.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it.
(frv_expand_epilogue): Use new argument to decide whether to emit
return instruction or copy the return address to LR.
(frv_expand_fdpic_call): Inline PLT entry when emitting direct
sibcalls.
(sibcall_operand): New.
* config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match
PLUS nor LABEL_REF.  Add sibcall_operand.
* config/frv/frv.md (call, call_value): Pass false to
frv_expand_fdpic_call.
(call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll.
(sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value,
sibcall_value_internal, sibcall_value_fdpicdi): New.
(return_unsigned_true, return_unsigned_false): New.
(epilogue): Adjust call to frv_expand_epilogue.
(sibcall_epilogue): New.

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

20 years ago* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
aoliva [Sun, 2 May 2004 04:50:04 +0000 (04:50 +0000)]
* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
(CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__
before redefining them.

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

20 years ago * builtins.c (fold_fixed_mathfn): New function.
ghazi [Sun, 2 May 2004 02:53:05 +0000 (02:53 +0000)]
* builtins.c (fold_fixed_mathfn): New function.
(fold_builtin_lround, fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-integral-1.c: Reorg and add more cases.
* gcc.dg/torture/builtin-convert-3.c: New test.

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

20 years agoDaily bump.
gccadmin [Sun, 2 May 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
jakub [Sat, 1 May 2004 21:12:55 +0000 (21:12 +0000)]
* config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3.

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

20 years ago * decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
zack [Sat, 1 May 2004 19:12:46 +0000 (19:12 +0000)]
* decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
Instead, dig into the representation type to find the array bound.

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

20 years ago * config/cris/cris.h: Revert my "fix comment typos" patch.
kazu [Sat, 1 May 2004 16:27:45 +0000 (16:27 +0000)]
* config/cris/cris.h: Revert my "fix comment typos" patch.

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

20 years agoTARGET->TUNE in last entry.
rsandifo [Sat, 1 May 2004 12:57:13 +0000 (12:57 +0000)]
TARGET->TUNE in last entry.

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

20 years ago * config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.
rsandifo [Sat, 1 May 2004 12:55:23 +0000 (12:55 +0000)]
* config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.

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

20 years ago * config/alpha/alpha.md (builtin_insbl, builtin_inswl,
falk [Sat, 1 May 2004 12:26:28 +0000 (12:26 +0000)]
* config/alpha/alpha.md (builtin_insbl, builtin_inswl,
builtin_insll): Disallow 0 as first input operand.

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

20 years ago * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
falk [Sat, 1 May 2004 12:21:51 +0000 (12:21 +0000)]
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.

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

20 years ago PR middle-end/15054
uweigand [Sat, 1 May 2004 11:37:39 +0000 (11:37 +0000)]
PR middle-end/15054
* expr.c (expand_expr_real): Do not call preserve_temp_slots
on a TARGET_EXPR temp.
* function.c (assign_stack_temp_for_type): Set 'keep' flag for
TARGET_EXPR temp slots.

PR middle-end/15054
* g++.dg/opt/pr15054.C: New test.

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

20 years ago2004-05-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 1 May 2004 09:36:55 +0000 (09:36 +0000)]
2004-05-01  Paolo Bonzini  <bonzini@gnu.org>

        * simplify-rtx.c (simplify_ternary_operation): When
        converting an IF_THEN_ELSE to a relational op, return
        correct mode.

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

20 years ago * builtins.c (fold_builtin_round): Fix comment typo.
ghazi [Sat, 1 May 2004 01:51:33 +0000 (01:51 +0000)]
* builtins.c (fold_builtin_round): Fix comment typo.
(fold_builtin_lround): New function.
(fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-rounding-1.c: New test.
* gcc.dg/builtins-25.c: Delete.
* gcc.dg/builtins-29.c: Delete.

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

20 years ago2004-04-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 1 May 2004 00:48:33 +0000 (00:48 +0000)]
2004-04-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/11608
        * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it
        more like the one in config/dbxelf.h.

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

20 years agoDaily bump.
gccadmin [Sat, 1 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
zack [Sat, 1 May 2004 00:08:17 +0000 (00:08 +0000)]
* tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
and adjust definition accordingly.
(TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE.
(TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE.
* expr.c (store_constructor): Do not access TYPE_DOMAIN of a
VECTOR_TYPE.

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

20 years ago PR c++/14587
jason [Fri, 30 Apr 2004 22:26:48 +0000 (22:26 +0000)]
    PR c++/14587
        * config/i386/winnt.c (associated_type): Look for attributes on
        the TYPE_MAIN_VARIANT of *this.
        * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also
        apply the attributes to the variants.

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

20 years agoTrivial comment typo in previous change.
pbrook [Fri, 30 Apr 2004 20:35:15 +0000 (20:35 +0000)]
Trivial comment typo in previous change.

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

20 years ago * config.gcc: Simplify arm --with-{cpu,tune} test.
pbrook [Fri, 30 Apr 2004 20:29:23 +0000 (20:29 +0000)]
* config.gcc: Simplify arm --with-{cpu,tune} test.
* config/arm/arm-cores.def: Document whitespace restrictions.

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

20 years ago PR other/1963
ro [Fri, 30 Apr 2004 20:09:51 +0000 (20:09 +0000)]
PR other/1963
* config/alpha/osf.h (SWITCHES_NEED_SPACES): Define.

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

20 years ago * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
ford [Fri, 30 Apr 2004 18:50:28 +0000 (18:50 +0000)]
* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(DWARF2_DEBUGGING_INFO): Define to enable.
(DBX_REGISTER_NUMBER): Define to use the svr4 register map for
DWARF2.
* configure.ac (Target-specific assembler checks)
<i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
relocs.
* configure: Regenerate.
* config.in: Likewise.

* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(ASM_OUPUT_DWARF_OFFSET): Define.

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

20 years ago * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
rmathew [Fri, 30 Apr 2004 18:19:37 +0000 (18:19 +0000)]
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
additional option "-Wmissing-prototypes" for compiling C sources.
Print actual filename for pass/fail rather than $name.c.
* testsuite/libjava.jni/PR15133.java: New testcase file.
* testsuite/libjava.jni/PR15133.c: Likewise.
* testsuite/libjava.jni/PR15133.out: Likewise.

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

20 years ago Fixes PR java/15133
rmathew [Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)]
Fixes PR java/15133
* gjavah.c (struct method_name): Add member is_native.
(overloaded_jni_method_exists_p): Match candidate method only if
it is native.
(print_method_info): Initialise is_native flag from the method's
access flags.

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

20 years ago * MAINTAINERS (Write After Approval): Add myself.
ford [Fri, 30 Apr 2004 18:11:53 +0000 (18:11 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

20 years ago Refer to base members using COMPONENT_REFs where possible.
jason [Fri, 30 Apr 2004 17:25:42 +0000 (17:25 +0000)]
    Refer to base members using COMPONENT_REFs where possible.
        * class.c (build_simple_base_path): New fn.
        (build_base_path): Use it for non-virtual base references.
        (layout_class_type): Change base fields to their real type
        after layout is done.
        * cp-tree.h (IS_FAKE_BASE_TYPE): New macro.
        * cp-lang.c (cxx_get_alias_set): Use it.

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

20 years ago2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Fri, 30 Apr 2004 16:40:22 +0000 (16:40 +0000)]
2004-04-29  Andreas Krebbel  <krebbel1@de.ibm.com>

ChangeLog:

* config/s390/s390-protos.h (s390_emit_epilogue): Parameter added.
(s390_emit_call): New function prototype added.
(s390_tls_get_offset): Function removed.
* config/s390/s390.c (s390_function_ok_for_sibcall,
s390_call_saved_register_used_p): New functions.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added.
(s390_tls_get_offset): Function merged into s390_emit_tls_call_insn.
(s390_emit_tls_call_insn): New function.
(legitimize_tls_address): Call s390_emit_tls_call_insn instead of
emit_call_insn.
(s390_emit_prologue): Use s390_emit_call instead of emit_call_insn.
(s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls
added.
* config/s390/s390.h (SIBCALL_REGNUM): New macro representing the
register number used to hold the target address for sibcalls.
* config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"):
New expanders.
("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br",
"*sibcall_value_brc", "*sibcall_value_brcl"): New insns.
("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"):
Expanders removed.
("call", "call_value"): Call s390_emit_call to emit the call patterns.
("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls",
"*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P.
("epilogue"): Changed the call to s390_emit_epilogue to use the
new parameter.

testsuite/ChangeLog:

* gcc.dg/sibcall-3.c: Delete s390 from expected fail list.
* gcc.dg/sibcall-4.c: Likewise.
* gcc.dg/sibcall-6.c: Enable s390 as test platform.

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

20 years ago * bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c,
kazu [Fri, 30 Apr 2004 16:27:30 +0000 (16:27 +0000)]
* bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c,
cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c,
reg-stack.c, varasm.c, config/alpha/ev4.md,
config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c,
config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c,
config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c,
config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c,
config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c,
config/ia64/itanium2.md, config/ip2k/ip2k.c,
config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md,
config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix
comment typos.

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

20 years ago * class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
kazu [Fri, 30 Apr 2004 15:51:53 +0000 (15:51 +0000)]
* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
comment typos.

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

20 years ago * gcc.c-torture/execute/20040331-1.c: Don't use too wide a
kazu [Fri, 30 Apr 2004 15:30:55 +0000 (15:30 +0000)]
* gcc.c-torture/execute/20040331-1.c: Don't use too wide a
bit-field on 16-bit targets.

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

20 years ago * gcc.c-torture/execute/20040409-2.c: Fix constants used on
kazu [Fri, 30 Apr 2004 14:19:05 +0000 (14:19 +0000)]
* gcc.c-torture/execute/20040409-2.c: Fix constants used on
16-bit targets.

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

20 years ago * builtins.c (java_builtins): Add acos, asin, ceil and floor.
sayle [Fri, 30 Apr 2004 14:15:08 +0000 (14:15 +0000)]
* builtins.c (java_builtins): Add acos, asin, ceil and floor.
(initialize_builtins): Likewise, define acos, asin, ceil and floor.

* testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
ceil and floor.

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

20 years agoFit typo in previous patch
pbrook [Fri, 30 Apr 2004 13:14:02 +0000 (13:14 +0000)]
Fit typo in previous patch
* config.gcc: Default ep9312 to hard-float.

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

20 years ago2004-04-30 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 30 Apr 2004 12:19:32 +0000 (12:19 +0000)]
2004-04-30  Andrew Pinski  <pinskia@physics.uc.edu>

        * rs6000-power2-1.c: Change to compile only.
        * rs6000-power2-2.c: Likewise.

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

20 years ago * configure.gcc: Default ep9312 to hard-float.
pbrook [Fri, 30 Apr 2004 12:13:49 +0000 (12:13 +0000)]
* configure.gcc: Default ep9312 to hard-float.
* config/arm/arm-cores.def: Add ARCH field.
* config/arm/arm.c (FL_FOR_ARCH*): Define.
(arm_arch_cirrus): New variable.
(all_cores): Set and use arch.
(all_architectures): Ditto.
(arm_arch_name): New variable.
(arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT.
Set and use arm_arch_cirrus.
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines.
(enum processor_type): Update ARM_CORE define.
(enum target_cpus): Add.  Replaces TARGET_CPU_* defines.
(CPP_SPEC): Remove %(cpp_cpu_arch).
(CPP_ARCH_DEFAULT_SPEC): Remove.
(CPP_CPU_ARCH_SPEC): Remove.
(EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC.
(FPUTYPE_DEFAULT): Don't define here.

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

20 years ago * expr.c (store_constructor): SIZE operand is now in bits; CLEARED
kenner [Fri, 30 Apr 2004 12:09:28 +0000 (12:09 +0000)]
* expr.c (store_constructor): SIZE operand is now in bits; CLEARED
less than zero now means emitted CLOBBER already.
(store_constructor_field, expand_expr_real): Reflect above changes.

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

20 years ago * flow.c (propagate_one_insn): Call mark_set_regs for stack pointer
amylaar [Fri, 30 Apr 2004 11:28:57 +0000 (11:28 +0000)]
* flow.c (propagate_one_insn): Call mark_set_regs for stack pointer
updates too.

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

20 years ago * arm.c (arm_needs_doubleword_align): Use mode alignment.
pbrook [Fri, 30 Apr 2004 10:54:37 +0000 (10:54 +0000)]
* arm.c (arm_needs_doubleword_align): Use mode alignment.

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

20 years ago2004-04-30 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 30 Apr 2004 09:59:01 +0000 (09:59 +0000)]
2004-04-30  Paolo Bonzini  <bonzini@gnu.org>

        * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to
        vec_sububs.
        [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without
        duplicates.

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

20 years ago2004-04-30 Uros Bizjak <uros@kss-loka.si>
uros [Fri, 30 Apr 2004 06:04:57 +0000 (06:04 +0000)]
2004-04-30  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near
        atan2?f3 expanders.

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

20 years agoPatch from Nick Clifton.
wilson [Fri, 30 Apr 2004 05:59:06 +0000 (05:59 +0000)]
Patch from Nick Clifton.
Bug 14093
* config/sh/sh-protos.h (sh_promote_prototypes): Declare.
* config/sh/sh.c (sh_promote_prototypes): Remove declaration.
Delete static from definition.
* config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call.

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

20 years ago2004-04-30 Uros Bizjak <uros@kss-loka.si>
uros [Fri, 30 Apr 2004 05:31:48 +0000 (05:31 +0000)]
2004-04-30  Uros Bizjak  <uros@kss-loka.si>

        * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS,
        UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.
        <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same.
        <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same.

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

20 years agoPatch from Richard Guenther.
wilson [Fri, 30 Apr 2004 05:29:23 +0000 (05:29 +0000)]
Patch from Richard Guenther.
* commom.opt (Wfatal-errors): Add it.
* diagnostic.c (flag_fatal_errors): Define it.
(diagnostic_action_after_output): Check for flag_fatal_errors.
* flags.h (flag_fatal_errors): Declare it.
* opts.c (common_handle_option): Add OPT_Wfatal_errors.
* doc/invoke.texi (Warning Options): Document -Wfatal-errors.

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

20 years ago * gcse.c (remove_reachable_equiv_notes): Delete notes also in
zlomek [Fri, 30 Apr 2004 05:26:54 +0000 (05:26 +0000)]
* gcse.c (remove_reachable_equiv_notes): Delete notes also in
blocks which have kill flag set.

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

20 years ago * configure.ac (--with-as): Abort if user-supplied assembler
bje [Fri, 30 Apr 2004 00:33:18 +0000 (00:33 +0000)]
* configure.ac (--with-as): Abort if user-supplied assembler
cannot be executed.
(--with-ld): Likewise for the linker.
* configure: Regenerate.

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

20 years agoDaily bump.
gccadmin [Fri, 30 Apr 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2004-04-29 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 29 Apr 2004 22:07:13 +0000 (22:07 +0000)]
2004-04-29  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc (locale::operator==): Always avoid constructing
locale::name(), directly compare pairs of _M_names.

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

20 years ago * convert.c (convert_to_integer): Ensure `long_integer_type_node'
ghazi [Thu, 29 Apr 2004 21:10:59 +0000 (21:10 +0000)]
   * convert.c (convert_to_integer): Ensure `long_integer_type_node'
       isn't NULL before using it.

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

20 years ago2004-04-29 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 29 Apr 2004 20:23:36 +0000 (20:23 +0000)]
2004-04-29  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/rs6000-power2-1.c: Change the options to be more correct.
        * gcc.dg/rs6000-power2-2.c: Change the options to be more correct.
        Change the asm registers to be in form of frN instead of fN.

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

20 years ago PR target/15189
rsandifo [Thu, 29 Apr 2004 19:54:17 +0000 (19:54 +0000)]
PR target/15189
* config/mips/mips.md (load_df_low): Use default length.
(load_df_high, store_df_high): Likewise.

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

20 years ago * config/mips/mips.md, config/mips/sb1.md,
kazu [Thu, 29 Apr 2004 18:37:27 +0000 (18:37 +0000)]
* config/mips/mips.md, config/mips/sb1.md,
config/rs6000/rs6000.c: Fix comment typos.

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

20 years ago * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
kazu [Thu, 29 Apr 2004 15:39:12 +0000 (15:39 +0000)]
* builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
Fix comment typos.

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

20 years ago * gcc.c (DELETE_IF_ORDINARY): New macro default definition.
rupp [Thu, 29 Apr 2004 15:28:42 +0000 (15:28 +0000)]
* gcc.c (DELETE_IF_ORDINARY): New macro default definition.
(delete_if_ordinary): Use above macro.
* config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition.
Update copyright.
* doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro.
* libiberty/mkstemps.c (mkstemps) [VMS]: Remove special open option.
 Update copyright.

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

20 years ago2004-04-29 Ed Schonberg <schonberg@gnat.com>
charlet [Thu, 29 Apr 2004 15:24:56 +0000 (15:24 +0000)]
2004-04-29  Ed Schonberg  <schonberg@gnat.com>

* checks.adb (Enable_Range_Check): If the prefix of an index component
is an access to an unconstrained array, perform check unconditionally.

2004-04-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* decl.c (gnat_to_gnu_field): Also call make_packable_type if
Component_Clause.

2004-04-29  Olivier Hainque  <hainque@act-europe.fr>

* init.c (__gnat_install_handler, __gnat_error_handler): Remove
alternate stack setting. There was no support for the tasking cases
and the changes eventually caused a number of side-effect failures in
the non-tasking case too.

2004-04-29  Eric Botcazou  <ebotcazou@act-europe.fr>

lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or
-gnats is passed.

2004-04-29  Vincent Celier  <celier@gnat.com>

* make.adb (Gnatmake): Increase max size of argument array for
gnatbind for the potential addition of -F.
If there are Stand-Alone Library projects, invoke gnatbind with -F to
be sure that elaboration flags will be checked.

* switch-c.adb: Correct call to Scan_Pos for -gnateI

2004-04-29  Thomas Quinot  <quinot@act-europe.fr>

* sem_warn.adb (Check_References): Move '<access-variable> may be
null' warning out of under Warn_On_No_Value_Assigned.

2004-04-29  Ed Falis  <falis@gnat.com>

* gnat_ugn.texi: Fixed texi error

2004-04-29  Robert Dewar  <dewar@gnat.com>

* sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove
abstract operations if they come from predefined files.

* gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be
Dynamic, not RM).

* s-addope.adb: Correct obvious error in mod function

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

20 years ago* c-decl.c (get_parm_info): Use the correct tag keywords when
rearnsha [Thu, 29 Apr 2004 13:49:54 +0000 (13:49 +0000)]
* c-decl.c (get_parm_info): Use the correct tag keywords when
warning about type declarations in prototypes.

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

20 years ago * config.gcc: Pull list of cores from arm-cores.def.
pbrook [Thu, 29 Apr 2004 10:28:05 +0000 (10:28 +0000)]
* config.gcc: Pull list of cores from arm-cores.def.

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

20 years ago2004-04-29 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 29 Apr 2004 08:08:44 +0000 (08:08 +0000)]
2004-04-29  Paolo Bonzini  <bonzini@gnu.org>

Complete last checkin:
        * combine.c (combine_simplify_rtx): Adjust call to use
        simplify_relational_operation.  Do not use SELECT_CC_MODE
        when a comparison already has a MODE_CC mode.

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

20 years ago2004-04-29 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 29 Apr 2004 07:50:55 +0000 (07:50 +0000)]
2004-04-29  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c (combine_simplify_rtx): Adjust call to use
        simplify_relational_operation.  Do not use SELECT_CC_MODE
        when a comparison already has a MODE_CC mode.
        (simplify_set): simplify_relational_operation may now
        return another relational expression.
        * cse.c (fold_rtx): simplify_relational_operation now
        takes of computing the comparison mode.
        * dojump.c (compare_from_rtx): Use simplify_relational_operation,
        remove dead code.
        (do_compare_rtx_and_jump): Likewise.
        * integrate.c (subst_constants): simplify_relational_operation
        may now return another relational expression.
        * simplify-rtx.c (simplify_gen_relational): Move most code to
        the new simplify_relational_operation and
        simplify_relational_operation_1 functions.
        (simplify_relational_operation): Rewritten.
        (simplify_relational_operation_1): New function.
        (simplify_ternary_operation): simplify_relational_operation
        may now return another relational expression.
        (simplify_rtx): Remove unnecessary temp variable.

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

20 years ago2004-04-28 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 29 Apr 2004 07:40:05 +0000 (07:40 +0000)]
2004-04-28  Paolo Bonzini  <bonzini@gnu.org>

        * config/acx.m4: Fix fastcompare support for new-bootstrap.
        * configure: Regenerate.

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

20 years ago2004-04-23 Uros Bizjak <uros@kss-loka.si>
uros [Thu, 29 Apr 2004 07:19:25 +0000 (07:19 +0000)]
2004-04-23  Uros Bizjak  <uros@kss-loka.si>

        * reg-stack.c (swap_to_top): New function.
        (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use\
        swap_to_top().
        (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
        (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and
        UNSPEC_FSCALE_EXP.

        * config/i386/i386.md (UNSPEC_FSCALE): Remove.
        (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
        (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
        x87's fscale insn.
        (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
        (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
        patterns.

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

20 years ago* MAINTAINERS: Add myself to write-after-approval.
uros [Thu, 29 Apr 2004 07:06:46 +0000 (07:06 +0000)]
* MAINTAINERS: Add myself to write-after-approval.

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

20 years agoPatch from Serge Belyshev.
wilson [Thu, 29 Apr 2004 06:28:59 +0000 (06:28 +0000)]
Patch from Serge Belyshev.
PR 14944
* coverage.c (read_counts_file): Fix usage of warning () call.
* pretty-print.c (pp_base_format_text): Fix typo in the comment.

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

20 years ago * doc/invoke.texi (Objective-C Dialect Options): Don't prefix
bje [Thu, 29 Apr 2004 04:26:51 +0000 (04:26 +0000)]
* doc/invoke.texi (Objective-C Dialect Options): Don't prefix
options with "-" in the option index.
(SPARC Options): Likewise.
(M32R/D Options): Likewise.

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

20 years agoFix typo.
ghazi [Thu, 29 Apr 2004 01:19:40 +0000 (01:19 +0000)]
Fix typo.

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

20 years ago * convert.c (convert_to_integer): Convert (long)round -> lround,
ghazi [Thu, 29 Apr 2004 00:36:20 +0000 (00:36 +0000)]
* convert.c (convert_to_integer): Convert (long)round -> lround,
etc.

testsuite:
* gcc.dg/torture/builtin-convert-2.c: New test.

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

20 years agoDaily bump.
gccadmin [Thu, 29 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2004-04-28 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 28 Apr 2004 23:03:31 +0000 (23:03 +0000)]
2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (registers_ok_for_quad_peep):
        Return false if we do not have fp register.
        (addrs_ok_for_quad_peep): Rename to ...
        (mems_ok_for_quad_peep): this.
        Add check for volatile memory.
        * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep):
        Rename to ...
        (mems_ok_for_quad_peep): this.
        * config/rs6000/rs6000.md: Change peephole's for lfq/stq
        to peephole2's.
        (lfq_power2): New instruction.
        (stfq_power2): Likewise.

2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/rs6000-power2-1.c: New test.
        * gcc.dg/rs6000-power2-2.c: New test.

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

20 years ago * Makefile.in: Add target macro definitions for s390*-linux*.
uweigand [Wed, 28 Apr 2004 21:02:02 +0000 (21:02 +0000)]
* Makefile.in: Add target macro definitions for s390*-linux*.
* system-linux-s390.ads: New file.
* system-linux-s390x.ads: New file.

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

20 years ago * gcc.dg/unused-6.c: New test.
hubicka [Wed, 28 Apr 2004 20:40:55 +0000 (20:40 +0000)]
* gcc.dg/unused-6.c: New test.

PR c/15004
* function.c (do_warn_unused_parameter): Break out form ...
(expand_function_end): ... here; warn only when not using cgraphunit.
* function.h (do_warn_unused_parameter): Declare.
* cgraphunit.c: Include function.h.
(cgraph_finalize_function): Do unused parameter warning.
* Makefile.in (cgraphunit.o): Depend on function.h

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

20 years ago * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
jsm28 [Wed, 28 Apr 2004 18:00:05 +0000 (18:00 +0000)]
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
calling install-info on $(DESTDIR)$(infodir)/dir already being
present.

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

20 years ago * dwarf2out.c (mem_loc_descriptor): Handle shifts.
pbrook [Wed, 28 Apr 2004 15:13:42 +0000 (15:13 +0000)]
* dwarf2out.c (mem_loc_descriptor): Handle shifts.

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

20 years ago * gnat_ugn.texi: Correct argument to @setfilename.
jsm28 [Wed, 28 Apr 2004 14:57:15 +0000 (14:57 +0000)]
* gnat_ugn.texi: Correct argument to @setfilename.

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

20 years ago * a-exexpr.adb (Unwind_Word): New data type.
uweigand [Wed, 28 Apr 2004 14:36:34 +0000 (14:36 +0000)]
* a-exexpr.adb (Unwind_Word): New data type.
(Unwind_Exception): Use it as type of Private1 and Private2.

* raise.c (db_action_for): Fix debug printf.

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

20 years ago * gcse.c (find_moveable_store): Do not accept store insns with
uweigand [Wed, 28 Apr 2004 14:34:51 +0000 (14:34 +0000)]
* gcse.c (find_moveable_store): Do not accept store insns with
REG_EH_REGION note.

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

20 years ago * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
pbrook [Wed, 28 Apr 2004 13:25:59 +0000 (13:25 +0000)]
* calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
* function.c (assign_temp): Ditto.
* system.h (PROMOTE_FOR_CALL_ONLY): Poison.

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

20 years ago * config/arm/lib1funcs.asm: Recognize armv5tej and armv6.
pbrook [Wed, 28 Apr 2004 13:24:30 +0000 (13:24 +0000)]
* config/arm/lib1funcs.asm: Recognize armv5tej and armv6.

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

20 years ago * Makefile.in: Add target pairs for powerpc darwin*
charlet [Wed, 28 Apr 2004 09:38:51 +0000 (09:38 +0000)]
* Makefile.in: Add target pairs for powerpc darwin*
tasking support.

* a-intnam-darwin.ads, s-osinte-darwin.adb,
s-osinte-darwin.ads, system-darwin-ppc.ads: New files.

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

20 years ago * var-tracking.c (variable_different_p): Add a parameter
zlomek [Wed, 28 Apr 2004 06:00:45 +0000 (06:00 +0000)]
* var-tracking.c (variable_different_p): Add a parameter
compare_current_location, compare current location of variable parts
if it is true.
(dataflow_set_different_1): Pass compare_current_location == false.
(dataflow_set_different_2): Pass compare_current_location == false.
(emit_notes_for_differences_1): Pass compare_current_location == true.

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

20 years ago * config/s390/s390.md ("casesi"): Mark jump table access as
uweigand [Wed, 28 Apr 2004 02:45:57 +0000 (02:45 +0000)]
* config/s390/s390.md ("casesi"): Mark jump table access as
non-trapping and unchanging.

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

20 years agoDaily bump.
gccadmin [Wed, 28 Apr 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago PR debug/14829
danglin [Tue, 27 Apr 2004 23:24:01 +0000 (23:24 +0000)]
PR debug/14829
* dwarf2out.c (reg_number): Rename to dbx_reg_number.  Adjust all
callers.
(multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register
number for indexing hard_regno_nregs array.

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

20 years ago * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
geoffk [Tue, 27 Apr 2004 23:07:52 +0000 (23:07 +0000)]
* config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
* config/darwin-crt2.c: Only have contents on __ppc__.

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

20 years ago * config/xtensa/xtensa.c (call_insn_operand): Check
bwilson [Tue, 27 Apr 2004 22:47:56 +0000 (22:47 +0000)]
* config/xtensa/xtensa.c (call_insn_operand): Check
SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P.
* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise.
* config/xtensa/xtensa.md (call, call_value): Likewise.

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

20 years ago2004-04-27 Wu Yongwei <adah@sh163.net>
dannysmith [Tue, 27 Apr 2004 21:38:05 +0000 (21:38 +0000)]
2004-04-27  Wu Yongwei  <adah@sh163.net>

* gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.
(__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.
(__gthread_mutex_init_function): Replace CreateMutex with
initialization of custom mutex using CreateSemaphore.
(__gthread_mutex_lock): Use InterlockedIncrement.
(__gthread_mutex_trylock): Use InterlockedCompareExchange.
(__gthread_mutex_unlock): Use InterlockedDecrement and
ReleaseSemaphore to unlock
* config/i386/gthr-win32.c (__gthread_mutex_init_function,
__gthread_mutex_lock, __gthread_mutex_trylock,
__gthread_mutex_unlock): Adjust to match inline versions in
gthr-win32.h.

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

20 years agoMerge from src:
dj [Tue, 27 Apr 2004 18:20:35 +0000 (18:20 +0000)]
Merge from src:
2004-04-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.

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

20 years ago * config/arm/arm.c (arm_promote_prototypes): New function.
pbrook [Tue, 27 Apr 2004 14:20:10 +0000 (14:20 +0000)]
* config/arm/arm.c (arm_promote_prototypes): New function.
(TARGET_PROMOTE_PROTOTYPES): Use it.

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

20 years ago2004-04-27 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 27 Apr 2004 11:58:38 +0000 (11:58 +0000)]
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

Revert:
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

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

20 years ago2004-04-27 Ed Schonberg <schonberg@gnat.com>
charlet [Tue, 27 Apr 2004 10:49:37 +0000 (10:49 +0000)]
2004-04-27  Ed Schonberg  <schonberg@gnat.com>

* a-wtmoio.ads: Formal type must be a modular type, not a signed
integer type.

2004-04-27  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* decl.c (gnat_to_gnu_entity, case object): Call
__builtin_update_setjmp_buf.

* gigi.h (update_setjmp_buf): Deleted.
(ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New.

* misc.c: (update_setjmp_buf): Deleted.

* trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue
around block of RTL.

* utils.c (init_gigi_decls): Initialize update_setjmp_buf.

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

20 years ago * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
pbrook [Tue, 27 Apr 2004 10:23:32 +0000 (10:23 +0000)]
* config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.

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

20 years agoPatch from Bernard Giroud.
wilson [Tue, 27 Apr 2004 06:35:17 +0000 (06:35 +0000)]
Patch from Bernard Giroud.
* config/alpha.c (alpha_end_function): For OpenVMS gas,
correctly output .pdesc directive before .end.

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

20 years agoPatch from Robert Millan.
wilson [Tue, 27 Apr 2004 06:14:30 +0000 (06:14 +0000)]
Patch from Robert Millan.
Add patches from libtool CVS.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

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

20 years agoBug 15093
wilson [Tue, 27 Apr 2004 05:41:45 +0000 (05:41 +0000)]
Bug 15093
* configure.ac: Test for existence of mmap and sys/mman.h before
checking blacklist.  Fix suggested by Jim Wilson.
* configure: Regenerate.

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

20 years agoBug 14927
wilson [Tue, 27 Apr 2004 05:19:49 +0000 (05:19 +0000)]
Bug 14927
* config/ia64/ia64.md (movxf): New local op0.  Handle case where
operands[0] is a SUBREG.  Handle case where operands[1] is a GR reg.

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

20 years agoPatch 14922
austern [Tue, 27 Apr 2004 01:45:19 +0000 (01:45 +0000)]
Patch 14922
* src/powerpc/darwin.S: Go through a non-lazy pointer for initial
FDE location.
* src/powerpc/darwin_closure.S: Likewise.

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

20 years agoDaily bump.
gccadmin [Tue, 27 Apr 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
zack [Tue, 27 Apr 2004 00:12:30 +0000 (00:12 +0000)]
* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
* config/pa/pa-hpux10.h: Likewise.
* config/pa/pa-hpux11.h: Likewise.

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

20 years ago * ada/acats/run_all.sh: Define $target variable.
uweigand [Mon, 26 Apr 2004 21:15:54 +0000 (21:15 +0000)]
* ada/acats/run_all.sh: Define $target variable.

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

20 years ago * doc/invoke.texi (Overall Options): Document default for -o
geoffk [Mon, 26 Apr 2004 19:23:52 +0000 (19:23 +0000)]
* doc/invoke.texi (Overall Options): Document default for -o
for PCH files.

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

20 years ago * builtins.c (expand_builtin_update_setjmp_buf): New function.
kenner [Mon, 26 Apr 2004 18:11:32 +0000 (18:11 +0000)]
* builtins.c (expand_builtin_update_setjmp_buf): New function.
(expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case.
* builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code.

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

20 years ago2004-04-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Apr 2004 15:26:18 +0000 (15:26 +0000)]
2004-04-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc: Fix comment.

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