OSDN Git Service

pf3gnuchains/gcc-fork.git
17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years ago * Makefile.in: Put back merge of some targets to avoid code duplication.
charlet [Mon, 26 Apr 2004 14:52:20 +0000 (14:52 +0000)]
* Makefile.in: Put back merge of some targets to avoid code duplication.
Remove at the same obsolete variable GNATLIBLDFLAGS.

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

17 years ago * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
ian [Mon, 26 Apr 2004 14:21:49 +0000 (14:21 +0000)]
* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
* configure: Regenerate.

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

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

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

17 years ago2004-04-26 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 26 Apr 2004 12:54:55 +0000 (12:54 +0000)]
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.

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

17 years ago2004-04-26 Thomas Quinot <quinot@act-europe.fr>
charlet [Mon, 26 Apr 2004 12:29:41 +0000 (12:29 +0000)]
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).

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

17 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 12:08:07 +0000 (12:08 +0000)]
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.

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

17 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 11:50:44 +0000 (11:50 +0000)]
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@81184 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 11:46:42 +0000 (11:46 +0000)]
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.

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

17 years agoClean up previous change.
charlet [Mon, 26 Apr 2004 11:10:33 +0000 (11:10 +0000)]
Clean up previous change.

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

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

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

17 years ago2004-04-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Apr 2004 09:02:43 +0000 (09:02 +0000)]
2004-04-26  Paolo Carlini  <pcarlini@suse.de>

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

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

17 years ago * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
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, ...)).  Optimize X / -1 as -X and
X % -1 as 0.

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

17 years ago PR bootstrap/15141
hp [Mon, 26 Apr 2004 03:17:08 +0000 (03:17 +0000)]
PR bootstrap/15141
* except.c (connect_post_landing_pads): Delete insns after the
barrier when generating a unwind_resume_libfunc call.

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

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

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

17 years ago PR/c++ 15119
kenner [Sun, 25 Apr 2004 23:54:42 +0000 (23:54 +0000)]
PR/c++ 15119
* tree.c (substitute_placeholder_in_expr, case 4): New case,
for TARGET_EXPR.

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

17 years agoFix typo in comment.
kenner [Sun, 25 Apr 2004 23:52:13 +0000 (23:52 +0000)]
Fix typo in comment.

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

17 years ago * configure.ac: Fix stupid brain-fade; set default_gnattools_target
neroden [Sun, 25 Apr 2004 21:29:37 +0000 (21:29 +0000)]
* configure.ac: Fix stupid brain-fade; set default_gnattools_target
correctly.
* configure: Regenerate.

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

17 years ago * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
rakdver [Sun, 25 Apr 2004 16:38:07 +0000 (16:38 +0000)]
* 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.

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

17 years ago2004-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Apr 2004 15:45:13 +0000 (15:45 +0000)]
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.

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

17 years ago2004-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Apr 2004 12:56:41 +0000 (12:56 +0000)]
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.

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

17 years ago2004-04-24 Laurent GUERBY <laurent@guerby.net>
guerby [Sun, 25 Apr 2004 11:57:10 +0000 (11:57 +0000)]
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.

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

17 years ago * config/mips/mips-protos.h (mips_linked_macc_p): Declare.
rsandifo [Sun, 25 Apr 2004 08:28:32 +0000 (08:28 +0000)]
* 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.

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

17 years ago * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
rmathew [Sun, 25 Apr 2004 04:19:13 +0000 (04:19 +0000)]
* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
limit the maximum heap size to avoid unnecessary thrashing.

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

17 years ago * mark.c (GC_mark_from): Use pointer as prefetch argument.
aj [Sun, 25 Apr 2004 04:17:51 +0000 (04:17 +0000)]
    * mark.c (GC_mark_from): Use pointer as prefetch argument.

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

17 years agoDaily bump.
gccadmin [Sun, 25 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * fixinc/inclhack.def (aix_syswait_2): New fix.
sayle [Sat, 24 Apr 2004 22:42:29 +0000 (22:42 +0000)]
* fixinc/inclhack.def (aix_syswait_2): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/sys/wait.h: Update for new test.

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

17 years ago2004-04-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Apr 2004 22:20:31 +0000 (22:20 +0000)]
2004-04-24  Paolo Carlini  <pcarlini@suse.de>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/15002 (continued)
* include/bits/istream.tcc (basic_istream<>::getline(char_type*,
streamsize, char_type)): Use traits::find/copy in a loop to speed
up greatly the function in the common case (I/O buffer size >> 1).

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

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

* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
of sbumpc(), consistently with the other functions, thus also
dealing correctly with the case of exceeded string::max_size().

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

17 years ago2004-04-24 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 24 Apr 2004 16:03:05 +0000 (16:03 +0000)]
2004-04-24  Jerry Quinn  <jlquinn@optonline.net>

* java/text/CollationElementIterator.java (reset): Reset
        lookahead variables.

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

17 years ago2004-04-24 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 24 Apr 2004 07:48:37 +0000 (07:48 +0000)]
2004-04-24  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization
error. Reported by Thomas Heller <theller@python.net>.
* testsuite/libffi.call/cls_multi_sshort.c (main): Likewise.
* testsuite/libffi.call/cls_multi_ushort.c (main): Likewise.

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

17 years ago2004-04-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 24 Apr 2004 06:42:54 +0000 (06:42 +0000)]
2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.

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

17 years ago PR target/14960
amodra [Sat, 24 Apr 2004 06:37:19 +0000 (06:37 +0000)]
PR target/14960
* config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size
to non_fixed_size, and leave out fixed_size from the sum.
(generate_set_vrsave): Correct clobbers.
(rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE.
(rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI.
(rs6000_libcall_value): Likewise.
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise.
(FUNCTION_ARG_REGNO_P): Likewise.

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

17 years ago * Makefile.in: Revert most of Arnaud's last change. Prefer anything
neroden [Sat, 24 Apr 2004 01:28:02 +0000 (01:28 +0000)]
* Makefile.in: Revert most of Arnaud's last change.  Prefer anything
over error-prone Make abuse.  Remove temporary debug code.
(gnatlib-zcx): New target.
(gnattools): Split into gnattools-native, gnattools-cross, to fix
previous bug; select which on the basis of default_gnattools_target.
(ada.all.cross): Merged with gnattools-cross target.
* configure.ac: Set default_gnattools_target.
* configure: Regenerate.

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

17 years ago * expmed.c (expand_mult_highpart_adjust): Do not assume OP1
uweigand [Sat, 24 Apr 2004 01:03:11 +0000 (01:03 +0000)]
* expmed.c (expand_mult_highpart_adjust): Do not assume OP1
is a CONST_INT.
(expand_mult_highpart_optab): Call expand_mult_highpart_adjust
with NARROW_OP1 instead of OP1.

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

17 years ago * gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.
uweigand [Sat, 24 Apr 2004 00:34:48 +0000 (00:34 +0000)]
* gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.

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

17 years ago * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
uweigand [Sat, 24 Apr 2004 00:33:18 +0000 (00:33 +0000)]
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
and __s390x__ hosts.

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

17 years agoDaily bump.
gccadmin [Sat, 24 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
rakdver [Fri, 23 Apr 2004 22:50:16 +0000 (22:50 +0000)]
* Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
_gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve.
* builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New.
* builtins.c (expand_builtin_fork_or_exec): New.
(expand_builtin): Call it.
* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE,
BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New.
* c-common.c (PID_TYPE): New macro.
(c_common_nodes_and_builtins): Initialize pid_type_node.
* calls.c (special_function_p): Do not handle fork and exec.
(expand_call): Do not handle ECF_FORK_OR_EXEC.
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): Declare.
* libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): New.
* tree.h (enum tree_index): Add TI_PID_TYPE.
(pid_type_node): New macro.
(ECF_FORK_OR_EXEC): Removed.

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

17 years ago2004-04-24 Matthias Klose <doko@debian.org>
doko [Fri, 23 Apr 2004 22:06:51 +0000 (22:06 +0000)]
2004-04-24  Matthias Klose  <doko@debian.org>

        Jonathan Wakely  <cow@compsoc.man.ac.uk>
        * docs/html/configopts.html: Fix reference to allocator config option.

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

17 years ago PR optimization/13985
ebotcazou [Fri, 23 Apr 2004 22:01:35 +0000 (22:01 +0000)]
PR optimization/13985
* cfgloopmanip.c (fix_loop_placements): New prototype.
Call fix_bb_placements on the preheader of loops that have
been reparented.
(remove_path): Adjust call to fix_loop_placements.

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

17 years ago2004-04-23 Laurent GUERBY <laurent@guerby.net>
guerby [Fri, 23 Apr 2004 21:06:21 +0000 (21:06 +0000)]
2004-04-23  Laurent GUERBY <laurent@guerby.net>

* Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
install.

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