OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago * config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
mrs [Tue, 3 Aug 2004 21:26:16 +0000 (21:26 +0000)]
* config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
for frameworks.
* doc/invoke.texi (Darwin Options): Update to reflect above.

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

16 years ago PR middle-end/16790
sayle [Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)]
PR middle-end/16790
* fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
truncations, not just global truncations.

* gcc.c-torture/execute/pr16790-1.c: New test case.

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

16 years ago * gcc.dg/symbian1.c: New test.
mmitchel [Tue, 3 Aug 2004 21:20:36 +0000 (21:20 +0000)]
* gcc.dg/symbian1.c: New test.
* gcc.dg/symbian2.c: Likewise.

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

16 years ago2004-08-03 Andrew Pinski <apinski@apple.com>
pinskia [Tue, 3 Aug 2004 21:13:15 +0000 (21:13 +0000)]
2004-08-03  Andrew Pinski  <apinski@apple.com>

        PR bootstrap/16865
        * loop-iv.c (simplify_using_assignment): Initialize lhs.

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

16 years ago * configure.in: Check for MPFR as well as GMP.
pbrook [Tue, 3 Aug 2004 21:11:29 +0000 (21:11 +0000)]
* configure.in: Check for MPFR as well as GMP.
* configure: Regenerate.
* gcc/doc/install.texi: Document MPFR requirement.

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

16 years agoRevert bogus portion of previous commit
neroden [Tue, 3 Aug 2004 20:52:01 +0000 (20:52 +0000)]
Revert bogus portion of previous commit

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

16 years agoChangeLog:
neroden [Tue, 3 Aug 2004 20:48:48 +0000 (20:48 +0000)]
ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.

config/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* mt-linux: Rename to ...
* mt-gnu: ... this.

libffi/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
* configure: Regenerate.

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

16 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:36:23 +0000 (20:36 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

16 years agoRemove spurious conflict marker
neroden [Tue, 3 Aug 2004 20:33:52 +0000 (20:33 +0000)]
Remove spurious conflict marker

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

16 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:33:23 +0000 (20:33 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* configure: Regenerate.

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

16 years agogcc/
hjl [Tue, 3 Aug 2004 19:52:52 +0000 (19:52 +0000)]
gcc/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
to tmake_file.
(i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
(i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
to tmake_file.

* config/i386/t-gmm_malloc: New file.
* config/i386/t-pmm_malloc: Likewise.

* config/i386/xmmintrin.h: Include <mm_malloc.h>.

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
    Tanguy Fautr´┐Ż  <tfautre@pandora.be>

* config/i386/pmm_malloc.h: New file.

2004-08-03  Danny Smith  <dannysmith@users.sourceforge.net>

* config/i386/gmm_malloc.h: New file.

gcc/testsuite/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* gcc.dg/i386-sse-9.c: New test.

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

16 years ago * acinclude.m4: Include no-executables.m4.
neroden [Tue, 3 Aug 2004 19:40:56 +0000 (19:40 +0000)]
* acinclude.m4: Include no-executables.m4.
* aclocal.m4: Rebuild.
* configure.in: Convert to the autoconf 2.59 version of
of the no-executables hack, and also of the nonstandard CXX
hack and the multilibbed CC and CXX hack.  Change prerequisite
to autoconf 2.59.
* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
* Makefile.in, gcj/Makefile.in, include/Makefile.in,
testsuite/Makefile.in: Regenerate.

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

16 years ago2004-08-03 Dale Johannesen <dalej@apple.com>
dalej [Tue, 3 Aug 2004 18:23:35 +0000 (18:23 +0000)]
2004-08-03  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.c (machopic_output_stub):  Align Darwin stubs.
* c-common.c: Include opts.h.
(c_common_get_alias_set): Fix check for a single input file.
* toplev.c: Remove current_file_decl.
* tree.h: Ditto.

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

16 years ago * jni.cc: Reindented.
tromey [Tue, 3 Aug 2004 17:38:30 +0000 (17:38 +0000)]
* jni.cc: Reindented.

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

16 years ago * config.gcc (arm*-*-symbianelf*): New target.
mmitchel [Tue, 3 Aug 2004 17:38:09 +0000 (17:38 +0000)]
* config.gcc (arm*-*-symbianelf*): New target.
* config/arm/symbian.h: New file.

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

16 years ago * gthr-gnat.c: Add visibility #pragmas.
mmitchel [Tue, 3 Aug 2004 16:57:40 +0000 (16:57 +0000)]
* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise.
* gthr.h: Likewise.
* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
(__ffsDI2): Likewise.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* libgcc2.h: Add visibility #pragmas.
(__clzDI2): Add prototype.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ffsDI2): Likewise.
(__ffsSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* unwind-dw2-fde.h: Add visibility #pragmas.
* unwind.h: Likewise.

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

16 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
dje [Tue, 3 Aug 2004 15:31:38 +0000 (15:31 +0000)]
    * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
        constants more accurately.  Adjust costs for FMA instructions.
        Add cases for most logical and float operations.  Recurse into
        most operands.

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

16 years ago* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.
rearnsha [Tue, 3 Aug 2004 15:22:03 +0000 (15:22 +0000)]
* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.

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

16 years ago2004-08-03 Pat Haugen <pthaugen@us.ibm.com>
dje [Tue, 3 Aug 2004 15:00:49 +0000 (15:00 +0000)]
2004-08-03  Pat Haugen  <pthaugen@us.ibm.com>

        * ra-build.c (conflicts_between_webs): For webs that cross a call add
        conflicts to regs_invalidated_by_call.

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

16 years ago * config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.
pbrook [Tue, 3 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.

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

16 years ago * gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.
jsm28 [Tue, 3 Aug 2004 14:19:39 +0000 (14:19 +0000)]
* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.

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

16 years ago2004-08-03 Dale Johannesen <dalej@apple.com>
fche [Tue, 3 Aug 2004 14:19:26 +0000 (14:19 +0000)]
2004-08-03  Dale Johannesen  <dalej@apple.com>

         * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.

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

16 years ago * coverage.c (tree_coverage_counter_ref): Fix computation of the new
hubicka [Tue, 3 Aug 2004 14:05:15 +0000 (14:05 +0000)]
* coverage.c (tree_coverage_counter_ref): Fix computation of the new
ARRAY_REF argument.

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

16 years ago* arm-cores.def: Sort by architecture. Add arm946es, arm966es,
rearnsha [Tue, 3 Aug 2004 13:52:49 +0000 (13:52 +0000)]
* arm-cores.def: Sort by architecture.  Add arm946es, arm966es,
arm968es, arm10e, arm1020e, arm1022e.
* invoke.texi: Update list of ARM cores.
* arm-tune.md: Regenerate.

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

16 years ago2004-08-03 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 3 Aug 2004 13:40:21 +0000 (13:40 +0000)]
2004-08-03  Frank Ch. Eigler  <fche@redhat.com>

* mf-runtime.c (compare_uintptr_t): Remove function.  Inline
simplified contents in all former callers.

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

16 years ago* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.
rearnsha [Tue, 3 Aug 2004 13:35:47 +0000 (13:35 +0000)]
* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.

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

16 years ago PR libgfortran/16137
sayle [Tue, 3 Aug 2004 13:28:26 +0000 (13:28 +0000)]
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.

* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.

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

16 years ago* arm/gentune.sh: New file.
rearnsha [Tue, 3 Aug 2004 13:27:02 +0000 (13:27 +0000)]
* arm/gentune.sh: New file.
* arm/t-arm: New file.
* arm/arm-tune.md: New file (autogenerated).
* config.gcc (arm*-*-*): Add t-arm to tmake_file for all variants.
* arm.md (attribute tune): Delete.  Include arm-tune.md.

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

16 years ago2004-08-03 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 3 Aug 2004 10:11:31 +0000 (10:11 +0000)]
2004-08-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/list.tcc: Trivial formatting fixes.

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

16 years ago2004-08-03 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 3 Aug 2004 09:38:08 +0000 (09:38 +0000)]
2004-08-03  Paolo Bonzini <bonzini@gnu.org>

* gcc.c (add_prefix, add_sysrooted_prefix): Remove
penultimate parameter.  All callers adjusted.
(struct prefix_list): Remove used_flag_ptr.
(find_a_file): Do not set *pl->used_flag_ptr.
(warn_B, warn_std_ptr): Remove.

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

16 years ago2004-08-03 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 3 Aug 2004 09:35:46 +0000 (09:35 +0000)]
2004-08-03 Paolo Bonzini <bonzini@gnu.org>

* Makefile.def (host-modules): Add gcc.
* Makefile.in: Regenerate.
* Makefile.tpl (sorry): New rule.
(configure-host, all-host, [+make_target+]-host, do-check,
install-host): Do not add gcc as a special case.
(host modules): Add a small special-casing for gcc.  Export
extra_make_flags through the environment.
(maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc,
maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc,
other recursive targets for gcc): Remove.

(all, do-[+make_target+], do-check): Wrap between unstage and stage.
(stage, unstage): New rules.
(stage[+id+]-start, stage[+id+]-end, [+compare-target+],
distclean-stage[+id+]): Use stage_current.
([+bootstrap-target+], profiledbootstrap): Do not invoke manually
the stage*-start rules.

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

16 years ago * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.
dorit [Tue, 3 Aug 2004 09:31:47 +0000 (09:31 +0000)]
    * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.

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

16 years ago * gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
jsm28 [Tue, 3 Aug 2004 08:22:26 +0000 (08:22 +0000)]
* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c,
gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c,
gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c,
gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c,
gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c,
gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c,
gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c,
gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c,
gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c,
gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c,
gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c,
gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c,
gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c,
gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c,
gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c,
gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c,
gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c,
gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c,
gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c,
gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c,
gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c,
gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c,
gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c,
gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c,
gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c,
gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c,
gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c,
gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c,
gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c,
gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c,
gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c,
gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c,
gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c,
gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c,
gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c,
gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c,
gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c,
gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c,
gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c,
gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c,
gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c,
gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c,
gcc.misc-tests/i386-pf-3dnow-1.c,
gcc.misc-tests/i386-pf-athlon-1.c,
gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m:
Declare built-in functions used.
* gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2.

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

16 years ago * libsupc++/new_op.cc: Update comments.
mmitchel [Tue, 3 Aug 2004 07:11:16 +0000 (07:11 +0000)]
* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.

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

16 years ago * libsupc++/cxxabi.h: Make all declarations have default
mmitchel [Tue, 3 Aug 2004 06:45:54 +0000 (06:45 +0000)]
* libsupc++/cxxabi.h: Make all declarations have default
visibility.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libsupc++/unwind-cxx.h: Likewise.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
the __cxxabiv1 namespace.
(__cxa_free_exception): Likewise.
* libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
(__cxa_bad_typeid): Likewise.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
(__cxa_end_catch): Likewise.
* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
(__cxa_get_globals): Likewise.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
(__cxa_rethrow): Likewise.
* libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
* libsupc++/eh_type.cc: Include <cxxabi.h>.

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

16 years agoIndex: ChangeLog
geoffk [Tue, 3 Aug 2004 00:52:18 +0000 (00:52 +0000)]
Index: ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* ltcf-cxx.sh: On Darwin, make archive multi-module, and don't
use -all_load flag.

Index: gcc/ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* dwarf2out.c (output_call_frame_info): Don't change data format
due to TARGET_USES_WEAK_UNWIND_INFO.  Always refer to the local
label.  Use 'true' not '1'.
* doc/install.texi (powerpc-*-darwin*): Mention cctools version
required.

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

16 years ago2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
bryce [Tue, 3 Aug 2004 00:21:26 +0000 (00:21 +0000)]
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* java/sql/Timestamp.java (valueOf): Synchronize access to
dateFormat.

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

16 years agoDaily bump.
gccadmin [Tue, 3 Aug 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
bryce [Mon, 2 Aug 2004 21:20:46 +0000 (21:20 +0000)]
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

PR java/16701
* parse.y (fold_constant_for_init): Call resolve_field_access with
correct current_class context.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* testsuite/libjava.compile/PR16701.java: New test.

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

16 years ago * Makefile.am (hosted_source): Add libmath and testsuite.
mmitchel [Mon, 2 Aug 2004 20:28:22 +0000 (20:28 +0000)]
* Makefile.am (hosted_source): Add libmath and testsuite.
(SUBDIRS): Remove them.
* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
on arm*-*-symbianelf*.
* crossconfig.m4: Add arm*-*-symbianelf* support.
* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
when freestanding.  Do not bring names into std:: namespace with
"using" when freestanding.  Declare required functions and macros
when freestanding.
* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
when freestanding.
* libsupc++/del_op.cc: Declare "free" only when freestanding.
* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
(malloc): Declare when freestanding.
(free): Likewise.
(memset): Likewise.
(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
for memset.
(__cxa_free_exception): Likewise for free.
* libsupc++/new_op.cc: Declare "malloc" when freestanding.
* libsupc++/pure.cc (writestr): Define to nothing when
freestanding.
* libsupc++/vterminate.cc: Do not define anything when
freestanding.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

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

16 years ago * gdbinit.in: Reflect previous changes to rtunion_def.
gdr [Mon, 2 Aug 2004 19:36:57 +0000 (19:36 +0000)]
    * gdbinit.in: Reflect previous changes to rtunion_def.

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

16 years ago PR c++/16707
mmitchel [Mon, 2 Aug 2004 18:49:07 +0000 (18:49 +0000)]
PR c++/16707
* name-lookup.c (validate_nonmember_using_decl): Robustify.

PR c++/16707
* g++.dg/lookup/using12.C: New test.

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

16 years ago * g++.dg/init/null1.C: Fix PR number.
mmitchel [Mon, 2 Aug 2004 18:35:28 +0000 (18:35 +0000)]
* g++.dg/init/null1.C: Fix PR number.
* g++.dg/parse/namespace10.C: Likewise.

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

16 years ago * fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
sayle [Mon, 2 Aug 2004 17:11:42 +0000 (17:11 +0000)]
* fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
-> "X % Y" is only valid for TRUNC_MOD_EXPR.

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

16 years agoSync from src.
bonzini [Mon, 2 Aug 2004 16:58:38 +0000 (16:58 +0000)]
Sync from src.

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

16 years agoinclude/
gdr [Mon, 2 Aug 2004 16:45:52 +0000 (16:45 +0000)]
include/
        * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
        const-qualification before disposal.

gcc/
        * vec.h (DEF_VEC_P): Add proper cast to uses of vec_o_reserve and
        vec_p_reserve.
        * langhooks.h (lang_hooks::builtin_function): Rename parameter
        from "class" to "bt_class".

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

16 years ago PR rtl-optimization/15068
pbrook [Mon, 2 Aug 2004 13:19:39 +0000 (13:19 +0000)]
PR rtl-optimization/15068
* flow.c (init_propagate_block_info): Check condition is reversible.

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

16 years ago * gengtype.h (options::info): Change type to const char *.
gdr [Mon, 2 Aug 2004 12:48:49 +0000 (12:48 +0000)]
    * gengtype.h (options::info): Change type to const char *.
        (enum gc_used_enum): Move out of struct type scope.
        * gengtype.c (create_option): Convert initializer for
        option::info to
        appropiate type.
        (adjust_field_type, walk_type, write_func_for_structure,
        write_root, write_roots): Remove pointless cast.

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

16 years ago * genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.
amylaar [Mon, 2 Aug 2004 12:07:51 +0000 (12:07 +0000)]
* genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.

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

16 years ago * rtl.h (union rtunion_def): Have all members start with the
gdr [Mon, 2 Aug 2004 10:29:26 +0000 (10:29 +0000)]
    * rtl.h (union rtunion_def): Have all members  start with the
        prefix "rt_".
        (XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE, XBBDEF, XTMPL,
        X0INT, X0UINT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
        X0MEMATTR, X0BBDEF, X0REGATTR, XCINT, XCUINT, XCSTR, XCEXP,
        XCVEC, XCMODE, XCBITMAP, XCTREE, XCBBDEF, XC2EXP): Adjust
        members
        access.
        * gengtype.c (adjust_field_rtx_def): Likewise.
        * rtlanal.c (loc_mentioned_in_p): Likewise.

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

16 years ago PR c++/16224
mmitchel [Mon, 2 Aug 2004 06:25:36 +0000 (06:25 +0000)]
PR c++/16224
* name-lookup.c (decl_namespace): Remove.
(current_decl_namespace): Use decl_namespace_context instead of
decl_namespace.
(push_decl_namespace): Likewise.
(arg_assoc_class): Likewise.
(arg_assoc_type): Likewise.
* pt.c (check_specialization_namespace): New function.
(maybe_process_partial_specialization): Use it.
(register_specialization): Likewise.

PR c++/16224
* g++.dg/template/spec17.C: New test.
* g++.old-deja/g++.ns/template13.C: Remove XFAIL.
* g++.old-deja/g++.pt/lookup10.C: Add dg-error marker.

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

16 years ago * config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.
rsandifo [Mon, 2 Aug 2004 06:13:40 +0000 (06:13 +0000)]
* config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.
Replace uses of mips/elf64.h with mips/elf.h
* config/mips/elf.h (MAX_OFILE_ALIGNMENT, TARGET_ASM_NAMED_SECTION)
(TYPE_OPERAND_FMT, TYPE_ASM_OP, SIZE_ASM_OP, BSS_SECTION_ASM_OP)
(ASM_OUTPUT_ALIGNED_BSS, ASM_WEAKEN_LABEL, ASM_OUTPUT_WEAK_ALIAS)
(MAKE_DECL_ONE_ONLY, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP)
(HANDLE_SYSV_PRAGMA): Delete.
(ASM_OUTPUT_DEF): Fix formatting.
* config/mips/elf64.h: Delete.

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

16 years ago2004-08-02 David Billinghurst
billingd [Mon, 2 Aug 2004 06:00:55 +0000 (06:00 +0000)]
2004-08-02  David Billinghurst

PR fortran/16292
* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*

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

16 years ago PR libstdc++/16844
austern [Mon, 2 Aug 2004 04:40:19 +0000 (04:40 +0000)]
PR libstdc++/16844
* include/bits/stl_list.h (_M_create_node): Remove unused
zero-argument version.
* include/ext/slist (_M_create_node): Pass two arguments to
allocator's construct() member function.
* testsuite/23_containers/deque/explicit_instantiation.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
* testsuite/ext/hash_set_explicit_instantiation.cc: New.
* testsuite/ext/slist_explicit_instantiation.cc: New.

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

16 years ago * config/ia64/ia64.c (got_symbolic_operand): Do require a
zack [Mon, 2 Aug 2004 03:23:01 +0000 (03:23 +0000)]
* config/ia64/ia64.c (got_symbolic_operand): Do require a
symbol+offset operand to have its offset be zero mod 0x3fff
when GOT entries are in use.  Clarify logic in SYMBOL_REF
case.  Clarify comments.
(ia64_expand_load_address): Split a symbol+offset load when
the offset is nonzero mod 0x3fff, not 0x1fff.
testsuite:
* gcc.dg/ia64-got-1.c: New test case.

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

16 years agoFix typos in ChangeLog.
mmitchel [Mon, 2 Aug 2004 02:04:46 +0000 (02:04 +0000)]
Fix typos in ChangeLog.

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

16 years agoFix typo in ChangeLog
mmitchel [Mon, 2 Aug 2004 02:00:18 +0000 (02:00 +0000)]
Fix typo in ChangeLog

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

16 years ago PR c++/16338
mmitchel [Mon, 2 Aug 2004 01:58:52 +0000 (01:58 +0000)]
PR c++/16338
* cp-tree.h (DECL_INTEGRAL_CONSTANT_VAR_P): New macro.
* call.c (null_ptr_cst_p): Handle variables with constant
initializers.
* pt.c (convert_nontype_argument): Use
DECL_INTEGRAL_CONSTANT_VAR_P.
* semantics.c (finish_id_expression): Likewise.

PR c++~/16489
* decl.c (duplicate_decls): Reject duplicate namespace
declarations.

PR c++/16810
* typeck.c (build_ptrmemfunc): Loosen assertion.

PR c++/16338
* g++.dg/init/null1.C: New test.
* g++.dg/tc1/dr76.C: Adjust error marker.

PR c++/16489
* g++.dg/parse/namespace10.C: New test.

PR c++/16810
* g++.dg/inherit/ptrmem2.C: New test.

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

16 years ago * config/rs6000/rs6000.c (rs6000_split_multireg_move): Just abort
geoffk [Mon, 2 Aug 2004 01:46:40 +0000 (01:46 +0000)]
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Just abort
if trying to *store* to a non-offsettable address.
* config/rs6000/rs6000.md (movtf_internal): Don't move GPRs to
a nonoffsettable address.
(movdi_internal32): Don't move GPRs to a nonoffsettable address.
Clean up.
(movti_string): Don't move GPRs to a nonoffsettable address.
(movti_ppc64): Don't move GPRs to a nonoffsettable address.  Clean up.

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

16 years agoPatch for PR target/16155.
bje [Mon, 2 Aug 2004 01:05:47 +0000 (01:05 +0000)]
Patch for PR target/16155.

2004-08-02  Ben Elliston  <bje@au.ibm.com>

PR target/16155
* config/rs6000/altivec.h: Replace typeof with __typeof__.

[testsuite]
2004-08-02  Ben Elliston  <bje@au.ibm.com>

* gcc.dg/pr16155.c: New test.

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

16 years agoDaily bump.
gccadmin [Mon, 2 Aug 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * options.c (gfc_init_options): Don't warn about the use GNU
sayle [Sun, 1 Aug 2004 21:37:21 +0000 (21:37 +0000)]
* options.c (gfc_init_options): Don't warn about the use GNU
extensions by default.
(gfc_post_options): Warn about GNU extensions with -pedantic.
(gfc_handle_option): Don't warn about GNU extensions with -std=gnu.

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

16 years ago * expr.c (expand_expr_real_1) <normal_inner_ref>: Fix crash with
rth [Sun, 1 Aug 2004 21:12:20 +0000 (21:12 +0000)]
    * expr.c (expand_expr_real_1) <normal_inner_ref>: Fix crash with
        variable sized types.

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

16 years ago * call.c (z_candidate::template_decl): Rename from template.
gdr [Sun, 1 Aug 2004 18:07:32 +0000 (18:07 +0000)]
    * call.c (z_candidate::template_decl): Rename from template.
        (add_template_candidate_real): Adjust member reference.
        (joust): Likewise.

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

16 years ago * decl.c (update_aliases, initialize_local_variable): Replace calls
sayle [Sun, 1 Aug 2004 18:04:42 +0000 (18:04 +0000)]
* decl.c (update_aliases, initialize_local_variable): Replace calls
to build with calls to buildN.
* java-gimplify.c (java_gimplify_modify_expr): Likewise.
* java-tree.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Likewise.
* parse.h (BUILD_THROW): Likewise.
* parse.y (switch_expression, synchronized_statement,
catch_clause_parameter, array_creation_expression,
conditional_expression, make_qualified_name,
resolve_qualified_expression_name, patch_method_invocation,
patch_invoke, build_method_invocation, build_new_invocation,
build_assignment, patch_assignment, build_binop, patch_binop,
build_string_concatenation, build_incdec, patch_unaryop,
patch_cast, build_array_ref, build_newarray_node, patch_newarray,
patch_return, build_if_else_statement, build_labeled_block,
build_new_loop, build_loop_body, build_bc_statement,
build_assertion, encapsulate_with_try_catch, build_try_statement,
build_try_finally_statement, patch_synchronized_statement,
emit_test_initialization): Likewise, replace build with buildN.

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

16 years ago * io/write.c (write_float): Use the slightly more portable isnan
sayle [Sun, 1 Aug 2004 13:40:52 +0000 (13:40 +0000)]
* io/write.c (write_float): Use the slightly more portable isnan
in preference to isinf.

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

16 years ago * doc/invoke.texi: In the MIPS options section, remove the passage
rsandifo [Sun, 1 Aug 2004 11:36:25 +0000 (11:36 +0000)]
* doc/invoke.texi: In the MIPS options section, remove the passage
saying that -mexplicit-relocs is usually disabled for -mabicalls
-fno-unit-at-a-time.
* config/mips/mips.c (override_options): Remove the code that enforced
this rule.

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

16 years ago * config/mips/mips.md (cprestore): Provide two alternatives, one for
rsandifo [Sun, 1 Aug 2004 11:30:39 +0000 (11:30 +0000)]
* config/mips/mips.md (cprestore): Provide two alternatives, one for
an in-range offset and one for an out-of-range offset.  Wrap the latter
in .set macro/.set nomacro if it's inside a .set nomacro block.

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

16 years ago * config/mips/mips-protos.h (mips_gp_save_slot): Remove.
rsandifo [Sun, 1 Aug 2004 11:17:36 +0000 (11:17 +0000)]
* config/mips/mips-protos.h (mips_gp_save_slot): Remove.
(mips_restore_gp): Declare.
* config/mips/mips.c (mips_add_offset): Add a scratch register
argument.  Reimplement in rtl only, reusing MIPS16 logic from
mips_output_mi_thunk.
(mips_legitimize_address, mips_legitimize_const_move): Adjust calls
to mips_add_offset.
(mips_gp_save_slot): Delete.
(mips_restore_gp): New function.
(mips_set_return_address, mips_output_mi_thunk): Use mips_add_offset.
* config/mips/mips.md (exception_receiver): Turn into a
define_insn_and_split.  Use mips_restore_gp to do the split.
(call_internal, call_value_internal, call_value_multiple_internal): Use
mips_restore_gp to restore $gp.

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

16 years ago2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
mkoch [Sun, 1 Aug 2004 11:14:42 +0000 (11:14 +0000)]
2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>

* java/util/Collection.java, java/util/List.java,
java/util/Map.java, java/util/Set.java,
java/util/SortedMap.java, java/util/SortedSet.java:
Added additional exceptions to documentation.

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

16 years ago * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
dannysmith [Sun, 1 Aug 2004 04:29:31 +0000 (04:29 +0000)]
* configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
* configure. Regenerate.
* include/win32.h: Explicitly include winsock2.h
* win32.cc (_Jv_platform_initialize): Require version 2.2 of
Winsock api.

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

16 years ago2004-07-31 Andrew Pinski <apinski@apple.com>
pinskia [Sun, 1 Aug 2004 00:44:43 +0000 (00:44 +0000)]
2004-07-31  Andrew Pinski  <apinski@apple.com>

        PR other/16842
        * mkheaders.in (libsubdir): s/gcc-lib/gcc/.

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

16 years agoDaily bump.
gccadmin [Sun, 1 Aug 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * c-decl.c (diagnose_mismatched_decls): Give error for external
jsm28 [Sat, 31 Jul 2004 17:21:27 +0000 (17:21 +0000)]
* c-decl.c (diagnose_mismatched_decls): Give error for external
redeclaration of identifier declared with no linkage, not just
warning with -Wtraditional.  Do not check DECL_CONTEXT to give
error for redeclaration with no linkage.

testsuite:
* gcc.dg/redecl-2.c: New test.

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

16 years ago2004-07-30 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 31 Jul 2004 09:00:09 +0000 (09:00 +0000)]
2004-07-30  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int): In the main parsing loop delay the
life of __q to the actual use point.

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

16 years agoAdd Fariborz to my last change.
geoffk [Sat, 31 Jul 2004 01:45:16 +0000 (01:45 +0000)]
Add Fariborz to my last change.

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

16 years ago2004-07-30 Geoffrey Keating <geoffk@apple.com>
geoffk [Sat, 31 Jul 2004 01:40:18 +0000 (01:40 +0000)]
2004-07-30  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Permit
non-offsettable addresses even for DImode.
(rs6000_split_multireg_move): Cope with non-offsettable addresses
being moved into multiple GPRs.

* config/rs6000/rs6000.c (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Default
to 64.
(rs6000_override_options): Use RS6000_DEFAULT_LONG_DOUBLE_SIZE.
* config/rs6000/darwin.h (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define
to 128.
* config/rs6000/darwin-ldouble.c (isless): New macro.
(inf): New macro.
(nonfinite): New macro.
(FPKINF): Delete.
(_xlqadd): Completely rewrite.
(_xlqmul): Correct overflow handling.
(_xlqdiv): Correct overflow handling.
* config/rs6000/darwin-ldouble-format: New file.

Index: testsuite/ChangeLog
2004-07-30  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/darwin-longdouble.c: New file.

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

16 years agoDaily bump.
gccadmin [Sat, 31 Jul 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * config/i386/i386.md: New peephole2's to convert imul by 3, 5 or
sayle [Sat, 31 Jul 2004 00:03:38 +0000 (00:03 +0000)]
* config/i386/i386.md: New peephole2's to convert imul by 3, 5 or
9 into the equivalent lea instruction.

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

16 years ago * gimplify.c (gimplify_expr) <case CONST_DECL>: Don't replace
rth [Fri, 30 Jul 2004 22:55:30 +0000 (22:55 +0000)]
    * gimplify.c (gimplify_expr) <case CONST_DECL>: Don't replace
        with DECL_INITIAL if fb_lvalue.
        * tree-gimple.c (is_gimple_id): Add CONST_DECL.
        * tree-pretty-print.c (dump_decl_name): Dump unnamed CONST_DECL
        with <Cxxx>.
        * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Fold CONST_DECL.
fortran/
        * trans-expr.c (gfc_conv_expr_reference): Create a CONST_DECL
        for TREE_CONSTANTs.
testsuite/
        * gfortran.fortran-torture/execute/intrinsic_rrspacing.f90: Fix
        write to constant argument.
        * gfortran.fortran-torture/execute/intrinsic_scale.f90: Likewise.

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

16 years ago * gfortran.fortran-torture/execute/intrinsic_nearest.f90: Disable
rth [Fri, 30 Jul 2004 22:31:20 +0000 (22:31 +0000)]
    * gfortran.fortran-torture/execute/intrinsic_nearest.f90: Disable
        tests of nearest around zero.

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

16 years ago2004-07-30 Andrew Pinski <apinski@apple.com>
pinskia [Fri, 30 Jul 2004 22:01:59 +0000 (22:01 +0000)]
2004-07-30  Andrew Pinski  <apinski@apple.com>

        * gcc.c-torture/compile/20040730-1.c: New test.

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

16 years ago * tree-ssa-alias.c (compute_points_to_and_addr_escape): If a
dnovillo [Fri, 30 Jul 2004 19:40:30 +0000 (19:40 +0000)]
* tree-ssa-alias.c (compute_points_to_and_addr_escape): If a
pointer escapes through a function call, assume that the
callee will dereference it.
(add_pointed_to_var): Assume that VALUE is always an
ADDR_EXPR.
(collect_points_to_info_r): Only call add_pointed_to_var if
the value is an ADDR_EXPR.

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

16 years ago * gcc.dg/vmx/vmx.exp: Explain why we skip tests for
aldyh [Fri, 30 Jul 2004 18:37:03 +0000 (18:37 +0000)]
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for
powerpc-eabispe.

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

16 years ago2004-07-30 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 30 Jul 2004 17:00:34 +0000 (17:00 +0000)]
2004-07-30  Michael Koch  <konqueror@gmx.de>

* java/util/zip/GZIPInputStream.java
(GZIPInputStream): Increase buffer size to 4k.
* java/util/zip/GZIPOutputStream.java
(GZIPOutputStream): Likewise.
* java/util/zip/Inflater.java
(setInput): Merged formating with GNU classpath.
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Increase buffer size to 4k.
(fill): Throw exception if stream ends early.
(read): Merged endless-loop with GNU classpath.
(skip): Increase buffer size to 2k.

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

16 years ago * tree-ssa-alias.c (create_alias_map_for): Do not get the
dnovillo [Fri, 30 Jul 2004 14:59:46 +0000 (14:59 +0000)]
* tree-ssa-alias.c (create_alias_map_for): Do not get the
alias set of the inner type of ARRAY_TYPEs.

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

16 years ago2004-07-30 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 30 Jul 2004 14:50:50 +0000 (14:50 +0000)]
2004-07-30  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/EmbeddedWindow.java
(addNotify): Use AccessController to allow execution of privileged
code.

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

16 years ago * gcc.dg/vmx/vmx.exp: Disable tests for eabispe.
aldyh [Fri, 30 Jul 2004 13:51:12 +0000 (13:51 +0000)]
* gcc.dg/vmx/vmx.exp: Disable tests for eabispe.

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

16 years ago * lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already
rsandifo [Fri, 30 Jul 2004 10:34:12 +0000 (10:34 +0000)]
* lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already
contains $ld_library_path.
* lib/gfortran.exp (gfortran_link_flags): Likewise.

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

16 years agoDaily bump.
gccadmin [Fri, 30 Jul 2004 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * tree-ssa-ccp.c (visit_assignment): Move code to prevent
dnovillo [Fri, 30 Jul 2004 00:16:17 +0000 (00:16 +0000)]
* tree-ssa-ccp.c (visit_assignment): Move code to prevent
setting a non-register to UNDEFINED right before the call to
set_lattice_value.

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

16 years ago * config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.
kkojima [Thu, 29 Jul 2004 22:27:43 +0000 (22:27 +0000)]
* config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.

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

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

PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.

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

16 years ago * tree-ssa.c (verify_flow_sensitive_alias_info): When
dnovillo [Thu, 29 Jul 2004 20:16:26 +0000 (20:16 +0000)]
* tree-ssa.c (verify_flow_sensitive_alias_info): When
comparing points-to sets of different pointers, make sure the
second pointer is actually referenced in the code.

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

16 years ago * g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
rth [Thu, 29 Jul 2004 18:35:54 +0000 (18:35 +0000)]
    * g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
        (alt2, which): New.
        (Check): Accept either alternative.

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

16 years ago * g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
rth [Thu, 29 Jul 2004 18:32:08 +0000 (18:32 +0000)]
* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.

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

16 years ago * config/ia64/ia64.c (setjmp_operand): Delete, unused.
zack [Thu, 29 Jul 2004 18:30:27 +0000 (18:30 +0000)]
* config/ia64/ia64.c (setjmp_operand): Delete, unused.
(got_symbolic_operand): Remove unreachable code.
* config/ia64/ia64.h (PREDICATE_CODES): Remove entry for
setjmp_operand; add entry for tls_symbolic_operand.
* config/ia64/ia64-protos.h: Remove all prototypes of
predicate functions.

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

16 years ago2004-07-29 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 29 Jul 2004 18:04:42 +0000 (18:04 +0000)]
2004-07-29  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.

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

16 years ago * c-common.h (lang_post_pch_load): New variable.
mmitchel [Thu, 29 Jul 2004 17:59:31 +0000 (17:59 +0000)]
* c-common.h (lang_post_pch_load): New variable.
* c-pch.c (lang_post_pch_load): Define it.
(c_common_read_pch): Use it.
* cgraphunit.c (record_call_1): Give the front end a chance to
record additional needed entities when a variable is marked as
needed.
* tlink.c (recompile_files): Robustify.
(scan_linker_output): If a symbol is assigned to a file,
but after recompilation is not present there, issue an error
message.

* cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define.
(lang_decl_flags): Narrow the width of "languages".  Add
repo_available_p.
(DECL_NEEDED_P): Remove.
(FOR_EACH_CLONE): New macro.
(DECL_REPO_AVAILABLE_P): Likewise.
(DECL_TINFO_P): Likewise.
(set_linkage_according_to_type): Declare.
(import_export_vtable): Remove.
(import_export_tinfo): Likewise.
(mark_needed): New function.
(decl_needed_p): Likewise.
(note_vauge_linkage_fn): Likewise.
(init_repo): Change prototype.
(repo_template_used): Remove.
(repo_template_instantiated): Likewise.
(repo_emit_p): New function.
(repo_export_class_p): Likewise.
(no_linkage_check): Change prototype.
* class.c (set_linkage_according_to_type): New function.
(build_vtable): Use it.  Do not call import_export_vtable.  Set
DECL_IGNORED_P if appropriate.
* decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P.
(make_rtL_for_nonlocal_decls): Check for template instantiations
explicitly.
(grokfndecl): Adjust call to no_linkage_check.
(set_linkage_for_static_data_member): New function.
(grokvardecl): Use it.  Adjust call to no_linkage_check.
(grokdeclarator): Use set_linkage_for_static_data_member.
* decl2.c (note_vague_linkage_fn): New function.
(note_vague_linkage_var): Likewise.
(finish_static_data_member_decl): Use it.
(import_export_vtable): Remove.
(import_export_class): Use repo_export_class_p.
(var_finalized_p): Simplify.
(maybe_emit_vtables): Simplify.
(mark_needed): New function.
(decl_needed_p): Likewise.
(import_export_decl): Add documentation and consistency checks.
Use repo_emit_p.  Handle virtual tables and RTTI information
here.
(import_export_tinfo): Remove.
(write_out_vars): Call import_export_decl.
(cxx_callgraph_analyze_expr): Ensure that all vtables are emitted
whenever one is.
(finish_file): Use decl_needed_p.  Do not call import_export_decl
for undefined static data members.  Do not warn about undefined
inlines when using a repository.
(mark_used): Use note_vague_linkage_fn.  Always defer template
instantiations.
* lex.c (cxx_init): Adjust call to init_repo.  Always set
flag_unit_at_a-time.
* method.c (synthesize_method): Remove unncessary
import_export_decl call.
(implicitly_declare_fn): Use set_linkage_according_to_type.
* optimize.c (maybe_clone_body): Use FOR_EACH_CLONE.
* pt.c (instantiate_class_template): Don't redundantly add classes
to keyed_classes.  Don't call repo_template_used.
(tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of
templates with internal linkage.
(check_instantiated_args): Adjust call to no_linkage_check.
(instantiate_template): Use FOR_EACH_CLONE.
(mark_definable): New function.
(mark_decl_instantiated): Use it.
(do_decl_instantiation): Adjust tests for explicit instantiation
after "extern template".
(instantiate_class_member): Do not use repo_template_instantiated.
(do_type_instantiation): Simplify.
(instantiate_decl): Use mark_definable.  Check repo_emit_p.
Simplify.
* repo.c (repo_get_id): Remove.
(original_repo): Remove.
(IDENTIFIER_REPO_USED): Remove.
(IDENTIFIER_REPO_CHOSEN): Remove.
Remove all #if 0'd code.
(repo_template_used): Remove.
(repo_template_instantiated): Remove.
(temporary_obstack_initialized_p): New variable.
(init_repo): Register with lang_post_pch_load.  Avoid creating
identifiers unnecessarily.  Don't use original_repo.  Close the
file here.
(reopen_repo_file_for_write): Not here.
(finish_repo): Always write out a new repository file.
(repo_emit_p): New function.
(repo_export_class_p): Likewise.
* rtti.c (get_tinfo_decl): Use set_linkage_according_to_type.
(involves_incomplete_p): New function.
(tinfo_base_init): Use it.
(ptr_initializer): Remove non_public_ptr parameter.
(ptm_initializer): Likewise.
(get_pseudo_ti_init): Likewise.
(unemitted_tinfo_decl_p): Remove.
(emit_tinfo_decl): Use import_export_decl.
* semantics.c (expand_body): Move updates of static_ctors and
static_dtors to ...
(expand_or_defer_fn): ... here.
* tree.c (no_linkage_check): Add relaxed_p parameter.

* g++.dg/abi/inline1.C: New test.
* g++.dg/abi/local1-a.cc: Likewise.
* g++.dg/abi/local1.C: Likewise.
* g++.dg/abi/mangle11.C: Tweak location of warnings.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
* g++.dg/opt/interface1.C: Likewise.
* g++.dg/opt/interface1.h: Likewise.
* g++.dg/opt/interface1-a.cc: New test.
* g++.dg/parse/repo1.C: New test.
* g++.dg/template/repo1.C: Likewise.
* g++.dg/warn/Winline-1.C: Likewise.
* lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling.

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

16 years ago * tree-ssa-loop-im.c (force_move_till_expr, force_move_till):
rakdver [Thu, 29 Jul 2004 17:49:31 +0000 (17:49 +0000)]
* tree-ssa-loop-im.c (force_move_till_expr, force_move_till):
Take orig_loop argument and pass it to set_level.
(schedule_sm): Pass the correct orig_loop to force_move_till.

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