gcc.git
20 years agore PR java/15133 (gcjh generates wrong method signatures)
Ranjit Mathew [Fri, 30 Apr 2004 18:19:37 +0000 (18:19 +0000)]
re PR java/15133 (gcjh generates wrong method signatures)

* 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.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r81358

20 years agore PR java/15133 (gcjh generates wrong method signatures)
Ranjit Mathew [Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)]
re PR java/15133 (gcjh generates wrong method signatures)

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.

From-SVN: r81357

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

From-SVN: r81356

20 years agoRefer to base members using COMPONENT_REFs where possible.
Jason Merrill [Fri, 30 Apr 2004 17:25:42 +0000 (13:25 -0400)]
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.

From-SVN: r81349

20 years agos390-protos.h (s390_emit_epilogue): Parameter added.
Andreas Krebbel [Fri, 30 Apr 2004 16:40:22 +0000 (16:40 +0000)]
s390-protos.h (s390_emit_epilogue): Parameter added.

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.

From-SVN: r81347

20 years agobb-reorder.c, [...]: Fix comment typos.
Kazu Hirata [Fri, 30 Apr 2004 16:27:30 +0000 (16:27 +0000)]
bb-reorder.c, [...]: Fix comment typos.

* 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.

From-SVN: r81345

20 years agoclass.c, [...]: Fix comment typos.
Kazu Hirata [Fri, 30 Apr 2004 15:51:53 +0000 (15:51 +0000)]
class.c, [...]: Fix comment typos.

* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
comment typos.

From-SVN: r81344

20 years ago20040331-1.c: Don't use too wide a bit-field on 16-bit targets.
Kazu Hirata [Fri, 30 Apr 2004 15:30:55 +0000 (15:30 +0000)]
20040331-1.c: Don't use too wide a bit-field on 16-bit targets.

* gcc.c-torture/execute/20040331-1.c: Don't use too wide a
bit-field on 16-bit targets.

From-SVN: r81343

20 years ago20040409-2.c: Fix constants used on 16-bit targets.
Kazu Hirata [Fri, 30 Apr 2004 14:19:05 +0000 (14:19 +0000)]
20040409-2.c: Fix constants used on 16-bit targets.

* gcc.c-torture/execute/20040409-2.c: Fix constants used on
16-bit targets.

From-SVN: r81342

20 years agobuiltins.c (java_builtins): Add acos, asin, ceil and floor.
Roger Sayle [Fri, 30 Apr 2004 14:15:08 +0000 (14:15 +0000)]
builtins.c (java_builtins): Add acos, asin, ceil and floor.

* 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.

From-SVN: r81341

20 years agoFit typo in previous patch
Paul Brook [Fri, 30 Apr 2004 13:14:02 +0000 (13:14 +0000)]
Fit typo in previous patch

Fit typo in previous patch
* config.gcc: Default ep9312 to hard-float.

From-SVN: r81338

20 years agors6000-power2-1.c: Change to compile only.
Andrew Pinski [Fri, 30 Apr 2004 12:19:32 +0000 (12:19 +0000)]
rs6000-power2-1.c: Change to compile only.

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

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

From-SVN: r81337

20 years agoconfigure.gcc: Default ep9312 to hard-float.
Paul Brook [Fri, 30 Apr 2004 12:13:49 +0000 (12:13 +0000)]
configure.gcc: Default ep9312 to hard-float.

* 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.

From-SVN: r81336

20 years agoexpr.c (store_constructor): SIZE operand is now in bits...
Richard Kenner [Fri, 30 Apr 2004 12:09:28 +0000 (12:09 +0000)]
expr.c (store_constructor): SIZE operand is now in bits...

* 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.

From-SVN: r81335

20 years agoflow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too.
J"orn Rennecke [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.

* flow.c (propagate_one_insn): Call mark_set_regs for stack pointer
updates too.

From-SVN: r81334

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

From-SVN: r81332

20 years agoaltivec.h [...] (vec_subsubs): Rename to vec_sububs.
Paolo Bonzini [Fri, 30 Apr 2004 09:59:01 +0000 (09:59 +0000)]
altivec.h [...] (vec_subsubs): Rename to vec_sububs.

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.

From-SVN: r81331

20 years agoi386.md (atansf2, [...]): Move near atan2?f3 expanders.
Uros Bizjak [Fri, 30 Apr 2004 06:04:57 +0000 (08:04 +0200)]
i386.md (atansf2, [...]): Move near atan2?f3 expanders.

2004-04-30  Uros Bizjak  <uros@kss-loka.si>

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

From-SVN: r81326

20 years agoPatch from Nick Clifton.
Nick Clifton [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.

From-SVN: r81325

20 years agoreg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F...
Uros Bizjak [Fri, 30 Apr 2004 05:31:48 +0000 (07:31 +0200)]
reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.

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.

From-SVN: r81324

20 years agoPatch from Richard Guenther.
Richard Guenther [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.

From-SVN: r81323

20 years agogcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill...
Josef Zlomek [Fri, 30 Apr 2004 05:26:54 +0000 (07:26 +0200)]
gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set.

* gcse.c (remove_reachable_equiv_notes): Delete notes also in
blocks which have kill flag set.

From-SVN: r81322

20 years agoconfigure.ac (--with-as): Abort if user-supplied assembler cannot be executed.
Ben Elliston [Fri, 30 Apr 2004 00:33:18 +0000 (00:33 +0000)]
configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.

* configure.ac (--with-as): Abort if user-supplied assembler
cannot be executed.
(--with-ld): Likewise for the linker.
* configure: Regenerate.

From-SVN: r81316

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

From-SVN: r81313

20 years agolocale.cc (locale::operator==): Always avoid constructing locale::name(), directly...
Paolo Carlini [Thu, 29 Apr 2004 22:07:13 +0000 (22:07 +0000)]
locale.cc (locale::operator==): Always avoid constructing locale::name(), directly compare pairs of _M_names.

2004-04-29  Paolo Carlini  <pcarlini@suse.de>

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

From-SVN: r81309

20 years agoconvert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL before...
Kaveh R. 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.

       * convert.c (convert_to_integer): Ensure `long_integer_type_node'
       isn't NULL before using it.

From-SVN: r81305

20 years agors6000-power2-1.c: Change the options to be more correct.
Andrew Pinski [Thu, 29 Apr 2004 20:23:36 +0000 (20:23 +0000)]
rs6000-power2-1.c: Change the options to be more correct.

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.

From-SVN: r81303

20 years agore PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 -mno-split...
Richard Sandiford [Thu, 29 Apr 2004 19:54:17 +0000 (19:54 +0000)]
re PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs)

PR target/15189
* config/mips/mips.md (load_df_low): Use default length.
(load_df_high, store_df_high): Likewise.

From-SVN: r81301

20 years agomips.md, [...]: Fix comment typos.
Kazu Hirata [Thu, 29 Apr 2004 18:37:27 +0000 (18:37 +0000)]
mips.md, [...]: Fix comment typos.

* config/mips/mips.md, config/mips/sb1.md,
config/rs6000/rs6000.c: Fix comment typos.

From-SVN: r81296

20 years agobuiltins.c, [...]: Fix comment typos.
Kazu Hirata [Thu, 29 Apr 2004 15:39:12 +0000 (15:39 +0000)]
builtins.c, [...]: Fix comment typos.

* builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
Fix comment typos.

From-SVN: r81291

20 years agogcc.c (DELETE_IF_ORDINARY): New macro default definition.
Douglas B Rupp [Thu, 29 Apr 2004 15:28:42 +0000 (15:28 +0000)]
gcc.c (DELETE_IF_ORDINARY): New macro default definition.

* 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.

From-SVN: r81290

20 years ago[multiple changes]
Arnaud Charlet [Thu, 29 Apr 2004 15:24:56 +0000 (17:24 +0200)]
[multiple changes]

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

From-SVN: r81289

20 years agoc-decl.c (get_parm_info): Use the correct tag keywords when warning about type declar...
Richard Earnshaw [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.

* c-decl.c (get_parm_info): Use the correct tag keywords when
warning about type declarations in prototypes.

From-SVN: r81287

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

From-SVN: r81285

20 years agoComplete last checkin:
Paolo Bonzini [Thu, 29 Apr 2004 08:08:44 +0000 (08:08 +0000)]
Complete last checkin:

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.

From-SVN: r81283

20 years agocombine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation.
Paolo Bonzini [Thu, 29 Apr 2004 07:50:55 +0000 (07:50 +0000)]
combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation.

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.

From-SVN: r81282

20 years agoacx.m4: Fix fastcompare support for new-bootstrap.
Paolo Bonzini [Thu, 29 Apr 2004 07:40:05 +0000 (07:40 +0000)]
acx.m4: Fix fastcompare support for new-bootstrap.

2004-04-28  Paolo Bonzini  <bonzini@gnu.org>

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

From-SVN: r81281

20 years agoreg-stack.c (swap_to_top): New function.
Uros Bizjak [Thu, 29 Apr 2004 07:19:25 +0000 (09:19 +0200)]
reg-stack.c (swap_to_top): New function.

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.

From-SVN: r81278

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

From-SVN: r81277

20 years agore PR gcov-profile/14944 ([3.4 only] ICE when gcc reads *.gcda file of different...
Serge Belyshev [Thu, 29 Apr 2004 06:28:59 +0000 (06:28 +0000)]
re PR gcov-profile/14944 ([3.4 only] ICE when gcc reads *.gcda file of different version)

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.

From-SVN: r81276

20 years agoinvoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in the optio...
Ben Elliston [Thu, 29 Apr 2004 04:26:51 +0000 (04:26 +0000)]
invoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in the option index.

* doc/invoke.texi (Objective-C Dialect Options): Don't prefix
options with "-" in the option index.
(SPARC Options): Likewise.
(M32R/D Options): Likewise.

From-SVN: r81272

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

From-SVN: r81270

20 years agoconvert.c (convert_to_integer): Convert (long)round -> lround, etc.
Kaveh R. Ghazi [Thu, 29 Apr 2004 00:36:20 +0000 (00:36 +0000)]
convert.c (convert_to_integer): Convert (long)round -> lround, etc.

* convert.c (convert_to_integer): Convert (long)round -> lround,
etc.

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

From-SVN: r81269

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

From-SVN: r81266

20 years agors6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register.
Andrew Pinski [Wed, 28 Apr 2004 23:03:31 +0000 (23:03 +0000)]
rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register.

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.

From-SVN: r81262

20 years agoMakefile.in: Add target macro definitions for s390*-linux*.
Ulrich Weigand [Wed, 28 Apr 2004 21:02:02 +0000 (21:02 +0000)]
Makefile.in: Add target macro definitions for s390*-linux*.

* Makefile.in: Add target macro definitions for s390*-linux*.
* system-linux-s390.ads: New file.
* system-linux-s390x.ads: New file.

From-SVN: r81261

20 years agore PR c/15004 ([unit-at-a-time] no warning for unused paramater in static function)
Jan Hubicka [Wed, 28 Apr 2004 20:40:55 +0000 (22:40 +0200)]
re PR c/15004 ([unit-at-a-time] no warning for unused paramater in static function)

* 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

From-SVN: r81260

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

* Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
calling install-info on $(DESTDIR)$(infodir)/dir already being
present.

From-SVN: r81256

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

From-SVN: r81252

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

From-SVN: r81251

20 years agoa-exexpr.adb (Unwind_Word): New data type.
Ulrich Weigand [Wed, 28 Apr 2004 14:36:34 +0000 (14:36 +0000)]
a-exexpr.adb (Unwind_Word): New data type.

* 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.

From-SVN: r81250

20 years agogcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note.
Ulrich Weigand [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.

* gcse.c (find_moveable_store): Do not accept store insns with
REG_EH_REGION note.

From-SVN: r81249

20 years agocalls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
Paul Brook [Wed, 28 Apr 2004 13:25:59 +0000 (13:25 +0000)]
calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.

* calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
* function.c (assign_temp): Ditto.
* system.h (PROMOTE_FOR_CALL_ONLY): Poison.

From-SVN: r81247

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

From-SVN: r81246

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

* 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.

From-SVN: r81245

20 years agovar-tracking.c (variable_different_p): Add a parameter compare_current_location...
Josef Zlomek [Wed, 28 Apr 2004 06:00:45 +0000 (08:00 +0200)]
var-tracking.c (variable_different_p): Add a parameter compare_current_location...

* 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.

From-SVN: r81242

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

* config/s390/s390.md ("casesi"): Mark jump table access as
non-trapping and unchanging.

From-SVN: r81240

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

From-SVN: r81237

20 years agore PR debug/14829 (Bootstrap comparison failure on hppa64-hp-hpux11.11)
John David Anglin [Tue, 27 Apr 2004 23:24:01 +0000 (23:24 +0000)]
re PR debug/14829 (Bootstrap comparison failure on hppa64-hp-hpux11.11)

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.

From-SVN: r81233

20 years agodarwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
Geoffrey Keating [Tue, 27 Apr 2004 23:07:52 +0000 (23:07 +0000)]
darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.

* config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
* config/darwin-crt2.c: Only have contents on __ppc__.

From-SVN: r81230

20 years agoxtensa.c (call_insn_operand): Check SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_L...
Bob Wilson [Tue, 27 Apr 2004 22:47:56 +0000 (22:47 +0000)]
xtensa.c (call_insn_operand): Check SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P.

* 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.

From-SVN: r81228

20 years agogthr-win32.h (__gthread_mutex_t): Change typedef to new structure.
Wu Yongwei [Tue, 27 Apr 2004 21:38:05 +0000 (21:38 +0000)]
gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.

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.

From-SVN: r81227

20 years agobackport: configure.in (mips*-*-irix5*): Enable ld.
Rainer Orth [Tue, 27 Apr 2004 18:20:35 +0000 (18:20 +0000)]
backport: configure.in (mips*-*-irix5*): Enable ld.

Merge from src:
2004-04-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.

From-SVN: r81225

20 years agoarm.c (arm_promote_prototypes): New function.
Paul Brook [Tue, 27 Apr 2004 14:20:10 +0000 (14:20 +0000)]
arm.c (arm_promote_prototypes): New function.

* config/arm/arm.c (arm_promote_prototypes): New function.
(TARGET_PROMOTE_PROTOTYPES): Use it.

From-SVN: r81223

20 years agorevert: Makefile.def (flags_to_pass): Remove *dir variables that are passed to the...
Paolo Bonzini [Tue, 27 Apr 2004 11:58:38 +0000 (11:58 +0000)]
revert: Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via...

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.

From-SVN: r81221

20 years ago[multiple changes]
Arnaud Charlet [Tue, 27 Apr 2004 10:49:37 +0000 (12:49 +0200)]
[multiple changes]

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.

From-SVN: r81218

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

From-SVN: r81216

20 years agoPatch from Bernard Giroud.
Bernard Giroud [Tue, 27 Apr 2004 06:35:17 +0000 (08:35 +0200)]
Patch from Bernard Giroud.

* config/alpha.c (alpha_end_function): For OpenVMS gas,
correctly output .pdesc directive before .end.

From-SVN: r81214

20 years agoPatch from Robert Millan.
Robert Millan [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.

From-SVN: r81213

20 years agoBug 15093
Joe Buck [Tue, 27 Apr 2004 05:41:45 +0000 (05:41 +0000)]
Bug 15093

Bug 15093
* configure.ac: Test for existence of mmap and sys/mman.h before
checking blacklist.  Fix suggested by Jim Wilson.
* configure: Regenerate.

From-SVN: r81212

20 years agoBug 14927
James E Wilson [Tue, 27 Apr 2004 05:19:49 +0000 (05:19 +0000)]
Bug 14927

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.

From-SVN: r81211

20 years agoPatch 14922
Matt Austern [Tue, 27 Apr 2004 01:45:19 +0000 (01:45 +0000)]
Patch 14922

Patch 14922
* src/powerpc/darwin.S: Go through a non-lazy pointer for initial
FDE location.
* src/powerpc/darwin_closure.S: Likewise.

From-SVN: r81209

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

From-SVN: r81206

20 years agohpux.h: Predefine __STDCPP__ when compiling C++.
Zack Weinberg [Tue, 27 Apr 2004 00:12:30 +0000 (00:12 +0000)]
hpux.h: Predefine __STDCPP__ when compiling C++.

* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
* config/pa/pa-hpux10.h: Likewise.
* config/pa/pa-hpux11.h: Likewise.

From-SVN: r81202

20 years agorun_all.sh: Define $target variable.
Laurent GUERBY [Mon, 26 Apr 2004 21:15:54 +0000 (21:15 +0000)]
run_all.sh: Define $target variable.

* ada/acats/run_all.sh: Define $target variable.

Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r81201

20 years agoinvoke.texi (Overall Options): Document default for -o for PCH files.
Geoffrey Keating [Mon, 26 Apr 2004 19:23:52 +0000 (19:23 +0000)]
invoke.texi (Overall Options): Document default for -o for PCH files.

* doc/invoke.texi (Overall Options): Document default for -o
for PCH files.

From-SVN: r81199

20 years agobuiltins.c (expand_builtin_update_setjmp_buf): New function.
Richard Kenner [Mon, 26 Apr 2004 18:11:32 +0000 (18:11 +0000)]
builtins.c (expand_builtin_update_setjmp_buf): New function.

* 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.

From-SVN: r81198

20 years agoistream.tcc: Fix comment.
Paolo Carlini [Mon, 26 Apr 2004 15:26:18 +0000 (15:26 +0000)]
istream.tcc: Fix comment.

2004-04-26  Paolo Carlini  <pcarlini@suse.de>

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

From-SVN: r81193

20 years agoMakefile.in: Put back merge of some targets to avoid code duplication.
Arnaud Charlet [Mon, 26 Apr 2004 14:52:20 +0000 (16:52 +0200)]
Makefile.in: Put back merge of some targets to avoid code duplication.

* Makefile.in: Put back merge of some targets to avoid code duplication.
Remove at the same obsolete variable GNATLIBLDFLAGS.

From-SVN: r81192

20 years agoconfigure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
Maciej W. Rozycki [Mon, 26 Apr 2004 14:21:49 +0000 (16:21 +0200)]
configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.

* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
* configure: Regenerate.

From-SVN: r81191

20 years ago* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
Paul Brook [Mon, 26 Apr 2004 13:56:00 +0000 (13:56 +0000)]
* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.

From-SVN: r81189

20 years agore PR c++/15119 (internal compiler error: in substitute_placeholder_in_expr, at tree...
Andrew Pinski [Mon, 26 Apr 2004 12:54:55 +0000 (12:54 +0000)]
re PR c++/15119 (internal compiler error: in substitute_placeholder_in_expr, at tree.c:2155)

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

        PR c++/15119
        * g++.dg/other/vararg-1.C: New test.

        PR c++/4794
        * g++.dg/eh/cleanup3.C: New test.

From-SVN: r81188

20 years ago[multiple changes]
Arnaud Charlet [Mon, 26 Apr 2004 12:29:41 +0000 (14:29 +0200)]
[multiple changes]

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

* sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
subprogram for which no pragma All_Calls_Remote applies, store the
address of the real subprogram in the underlying record type, so local
dereferences do not go through the PCS.

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

* i-c.ads: Add some type qualifications to avoid ambiguities when
compiling with s-auxdec.ads and a non-private address type.

2004-04-26  Arnaud Charlet  <charlet@act-europe.fr>

* Makefile.rtl: Fix error in previous check-in:
Add s-addope.o to non tasking object list (rather than tasking object
list).

2004-04-26  Javier Miranda  <miranda@gnat.com>

* sem_aggr.adb: Fix typo in comments
(Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
Required to check the null-exclusion attribute.

* sem_attr.adb (Resolve_Attribute): Check the accessibility level in
case of anonymous access types in record and array components. For a
component definition the level is the same of the enclosing composite
type.

* sem_ch3.adb (Analyze_Component_Declaration): In case of components
that are anonymous access types the level of accessibility depends on
the enclosing type declaration. In order to have this information, set
the scope of the anonymous access type to the enclosing record type
declaration.
(Array_Type_Declaration): In case of components that are anonymous
access types the level of accessibility depends on the enclosing type
declaration. In order to have this information, set the scope of the
anonymous access type to the enclosing array type declaration.

* sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
access type.

* sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
renaming of anonymous access-to-constant types allowed if and only if
the renamed object is access-to-constant.

* sem_util.adb (Type_Access_Level): In case of anonymous access types
that are component_definition or discriminants of a nonlimited type,
the level is the same as that of the enclosing component type.

2004-04-26  Sergey Rybin  <rybin@act-europe.fr>

* sem_elim.adb: Some minor code reorganization from code reading. Fix
misprint in the function name (File_Name_Match).

From-SVN: r81186

20 years agoMakefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends.
Paolo Bonzini [Mon, 26 Apr 2004 12:08:07 +0000 (12:08 +0000)]
Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends.

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

        * Makefile.def (host_modules): Mark with the bootstrap
        flag packages on which gcc depends.
        * Makefile.tpl (all-bootstrap): Use it.
        * Makefile.in: Regenerate.

From-SVN: r81185

20 years agoMakefile.def (flags_to_pass): Remove *dir variables that are passed to the modules...
Paolo Bonzini [Mon, 26 Apr 2004 11:50:44 +0000 (11:50 +0000)]
Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via...

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.

From-SVN: r81184

20 years agoconfigure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
Paolo Bonzini [Mon, 26 Apr 2004 11:46:42 +0000 (11:46 +0000)]
configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.

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

* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* configure: Regenerate.
* config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
* gcc/Makefile.tpl (compare): Use the result of the test.
* gcc/Makefile.in: Regenerate.

From-SVN: r81183

20 years agoClean up previous change.
Arnaud Charlet [Mon, 26 Apr 2004 11:10:33 +0000 (13:10 +0200)]
Clean up previous change.

From-SVN: r81182

20 years ago* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
Paul Brook [Mon, 26 Apr 2004 10:32:53 +0000 (10:32 +0000)]
* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.

From-SVN: r81180

20 years agostl_vector.h: Trivial formatting fixes.
Paolo Carlini [Mon, 26 Apr 2004 09:02:43 +0000 (09:02 +0000)]
stl_vector.h: Trivial formatting fixes.

2004-04-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_vector.h: Trivial formatting fixes.
* include/bits/vector.tcc: Likewise.

From-SVN: r81178

20 years agofold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 (NEGATE_...
Roger Sayle [Mon, 26 Apr 2004 03:43:17 +0000 (03:43 +0000)]
fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 (NEGATE_EXPR, ...)).

* fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
fold (build1 (NEGATE_EXPR, ...)).  Optimize X / -1 as -X and
X % -1 as 0.

From-SVN: r81177

20 years agore PR bootstrap/15141 (MMIX breakage in except.c:connect_post_landing_pads:handle...
Hans-Peter Nilsson [Mon, 26 Apr 2004 03:17:08 +0000 (03:17 +0000)]
re PR bootstrap/15141 (MMIX breakage in except.c:connect_post_landing_pads:handle insns after actual call insn)

PR bootstrap/15141
* except.c (connect_post_landing_pads): Delete insns after the
barrier when generating a unwind_resume_libfunc call.

From-SVN: r81176

20 years agoDaily bump.
GCC Administrator [Mon, 26 Apr 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81173

20 years agoPR/c++ 15119
Richard Kenner [Sun, 25 Apr 2004 23:54:42 +0000 (19:54 -0400)]
PR/c++ 15119

PR/c++ 15119
* tree.c (substitute_placeholder_in_expr, case 4): New case,
for TARGET_EXPR.

From-SVN: r81170

20 years agoFix typo in comment.
Richard Kenner [Sun, 25 Apr 2004 23:52:13 +0000 (19:52 -0400)]
Fix typo in comment.

From-SVN: r81169

20 years agoconfigure.ac: Fix stupid brain-fade; set default_gnattools_target correctly.
Nathanael Nerode [Sun, 25 Apr 2004 21:29:37 +0000 (21:29 +0000)]
configure.ac: Fix stupid brain-fade; set default_gnattools_target correctly.

* configure.ac: Fix stupid brain-fade; set default_gnattools_target
correctly.
* configure: Regenerate.

From-SVN: r81167

20 years agogcov-io.h (__gcov_fork, [...]): Do not declare when inhibit_libc is defined.
Zdenek Dvorak [Sun, 25 Apr 2004 16:38:07 +0000 (18:38 +0200)]
gcov-io.h (__gcov_fork, [...]): Do not declare when inhibit_libc is defined.

* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when
inhibit_libc is defined.

From-SVN: r81164

20 years agoPR libstdc++/15002 (continued again)
Paolo Carlini [Sun, 25 Apr 2004 15:45:13 +0000 (15:45 +0000)]
PR libstdc++/15002 (continued again)

2004-04-25  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/15002 (continued again)
* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Use a temporary buffer, thus
avoiding reallocation for common case.

* include/bits/basic_string.tcc (_S_construct(_InIterator,
_InIterator, const _Alloc&, input_iterator_tag)): Tweak size
of temporary buffer to a power of two.

* testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.

From-SVN: r81163

20 years ago10.cc: New.
Paolo Carlini [Sun, 25 Apr 2004 12:56:41 +0000 (12:56 +0000)]
10.cc: New.

2004-04-25  Paolo Carlini  <pcarlini@suse.de>

* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.

From-SVN: r81159

20 years agorun_all.sh: Handle cd2a83c, cd2a91c (target_bit) and ad8011a (target_insn).
Laurent GUERBY [Sun, 25 Apr 2004 11:57:10 +0000 (11:57 +0000)]
run_all.sh: Handle cd2a83ccd2a91c (target_bit) and ad8011a (target_insn).

2004-04-24  Laurent GUERBY <laurent@guerby.net>

* ada/acats/run_all.sh: Handle cd2a83ccd2a91c (target_bit)
and ad8011a (target_insn).
* ada/acats/support/macro.dfs: Likewise.
* ada/acats/support/impbit.adb: New file.

From-SVN: r81158

20 years agomips-protos.h (mips_linked_macc_p): Declare.
Richard Sandiford [Sun, 25 Apr 2004 08:28:32 +0000 (08:28 +0000)]
mips-protos.h (mips_linked_macc_p): Declare.

* config/mips/mips-protos.h (mips_linked_macc_p): Declare.
* config/mips/mips.h (TUNE_MACC_CHAINS): New macro.
* config/mips/mips.c (TARGET_SCHED_REORDER): Define.
(TARGET_SCHED_VARIABLE_ISSUE): Define.
(mips_adjust_cost): Move later in file, next to other sched hooks.
(mips_macc_chains_last_hilo): New variable.
(mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder)
(mips_promote_ready, mips_sched_reorder, mips_variable_issue): New.
* config/mips/mips.md (may_clobber_hilo): New attribute.

From-SVN: r81157