Mark Mitchell
3fc1f660b2
gthr-gnat.c: Add visibility #pragmas.
...
* 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.
From-SVN: r85489
2004-08-03 16:57:40 +00:00
David Edelsohn
066cd96767
rs6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately.
...
* 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.
Co-Authored-By: Dale Johannesen <dalej@apple.com>
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r85488
2004-08-03 11:31:38 -04:00
Richard Earnshaw
315cd6b5a6
* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.
...
From-SVN: r85487
2004-08-03 15:22:03 +00:00
Pat Haugen
8589ae1578
ra-build.c (conflicts_between_webs): For webs that cross a call add conflicts to regs_invalidated_by_call.
...
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.
From-SVN: r85482
2004-08-03 11:00:49 -04:00
Paul Brook
8ee6eb4e8c
* config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.
...
From-SVN: r85480
2004-08-03 14:30:46 +00:00
Joseph Myers
7a1f75f1b7
* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.
...
From-SVN: r85479
2004-08-03 15:19:39 +01:00
Dale Johannesen
029277b7c7
mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
...
2004-08-03 Dale Johannesen <dalej@apple.com>
* mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
From-SVN: r85478
2004-08-03 14:19:26 +00:00
Jan Hubicka
d836edf84f
coverage.c (tree_coverage_counter_ref): Fix computation of the new ARRAY_REF argument.
...
* coverage.c (tree_coverage_counter_ref): Fix computation of the new
ARRAY_REF argument.
From-SVN: r85477
2004-08-03 14:05:15 +00:00
Richard Earnshaw
f9e8581ad4
arm-cores.def: Sort by architecture.
...
* arm-cores.def: Sort by architecture. Add arm946es, arm966es,
arm968es, arm10e, arm1020e, arm1022e.
* invoke.texi: Update list of ARM cores.
* arm-tune.md: Regenerate.
From-SVN: r85476
2004-08-03 13:52:49 +00:00
Frank Ch. Eigler
73c3d5687f
mf-runtime.c (compare_uintptr_t): Remove function.
...
2004-08-03 Frank Ch. Eigler <fche@redhat.com>
* mf-runtime.c (compare_uintptr_t): Remove function. Inline
simplified contents in all former callers.
From-SVN: r85475
2004-08-03 13:40:21 +00:00
Richard Earnshaw
1e45521fdb
* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.
...
From-SVN: r85474
2004-08-03 13:35:47 +00:00
Roger Sayle
453310d80b
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
...
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.
From-SVN: r85473
2004-08-03 13:28:26 +00:00
Richard Earnshaw
2f71a20a3e
gentune.sh: New file.
...
* 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.
From-SVN: r85472
2004-08-03 13:27:02 +00:00
Paolo Carlini
6e0a7f2bdb
list.tcc: Trivial formatting fixes.
...
2004-08-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/list.tcc: Trivial formatting fixes.
From-SVN: r85470
2004-08-03 10:11:31 +00:00
Paolo Bonzini
1a5d37a123
gcc.c (add_prefix, [...]): Remove penultimate parameter.
...
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.
From-SVN: r85469
2004-08-03 09:38:08 +00:00
Paolo Bonzini
d32ab9922e
Makefile.def (host-modules): Add gcc.
...
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.
From-SVN: r85468
2004-08-03 09:35:46 +00:00
Yossi Markovich
097538f13d
altivec.md (altivec_vnmsubfp): Fix wrong pattern.
...
* config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.
[[Split portion of a mixed commit.]]
Co-Authored-By: Mostafa Hagog <mustafa@il.ibm.com>
From-SVN: r85466.2
2004-08-03 09:31:47 +00:00
Joseph Myers
ee712eab15
20001023-1.c, [...]: Declare built-in functions used.
...
* 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.
From-SVN: r85465
2004-08-03 09:22:26 +01:00
Mark Mitchell
610b0ddd0e
new_op.cc: Update comments.
...
* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.
From-SVN: r85464
2004-08-03 07:11:16 +00:00
Mark Mitchell
723acbd5fa
cxxabi.h: Make all declarations have default visibility.
...
* 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>.
From-SVN: r85463
2004-08-03 06:45:54 +00:00
Geoffrey Keating
aeb732c12e
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.
From-SVN: r85461
2004-08-03 00:52:18 +00:00
Bryce McKinlay
474f541727
Timestamp.java (valueOf): Synchronize access to dateFormat.
...
2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
* java/sql/Timestamp.java (valueOf): Synchronize access to
dateFormat.
From-SVN: r85460
2004-08-03 01:21:26 +01:00
GCC Administrator
faebe6c239
Daily bump.
...
From-SVN: r85458
2004-08-03 00:16:11 +00:00
Bryce McKinlay
899deeca6c
re PR java/16701 (Error when constant initializer depends on another constant with restricted access)
...
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.
From-SVN: r85453
2004-08-02 22:20:46 +01:00
Mark Mitchell
4c24b21a47
Makefile.am (hosted_source): Add libmath and testsuite.
...
* 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.
From-SVN: r85452
2004-08-02 20:28:22 +00:00
Gabriel Dos Reis
e0d9dfa245
* gdbinit.in: Reflect previous changes to rtunion_def.
...
From-SVN: r85449
2004-08-02 19:36:57 +00:00
Mark Mitchell
7756db0375
re PR c++/16707 (ICE with using)
...
PR c++/16707
* name-lookup.c (validate_nonmember_using_decl): Robustify.
PR c++/16707
* g++.dg/lookup/using12.C: New test.
From-SVN: r85446
2004-08-02 18:49:07 +00:00
Mark Mitchell
6ed7c4d857
null1.C: Fix PR number.
...
* g++.dg/init/null1.C: Fix PR number.
* g++.dg/parse/namespace10.C: Likewise.
From-SVN: r85444
2004-08-02 18:35:28 +00:00
Roger Sayle
3159762032
fold-const.c (fold): The transformation "X % -Y" -> "X % Y" is only valid for TRUNC_MOD_EXPR.
...
* fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
-> "X % Y" is only valid for TRUNC_MOD_EXPR.
From-SVN: r85443
2004-08-02 17:11:42 +00:00
Paolo Bonzini
25b656e733
Sync from src.
...
From-SVN: r85442
2004-08-02 16:58:38 +00:00
Gabriel Dos Reis
b1e8c0fdac
libiberty.h (XDELETE, [...]): Remove any const-qualification before disposal.
...
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".
From-SVN: r85441
2004-08-02 16:45:52 +00:00
Paul Brook
8965ece104
re PR rtl-optimization/15068 (ICE in elim_reg_cond)
...
PR rtl-optimization/15068
* flow.c (init_propagate_block_info): Check condition is reversible.
From-SVN: r85439
2004-08-02 13:19:39 +00:00
Gabriel Dos Reis
9e2878cff2
gengtype.h (options::info): Change type to const char *.
...
* 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.
From-SVN: r85436
2004-08-02 12:48:49 +00:00
J"orn Rennecke
6041dc3ce3
* genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.
...
From-SVN: r85435
2004-08-02 13:07:51 +01:00
Gabriel Dos Reis
9ce88f5e94
rtl.h (union rtunion_def): Have all members start with the prefix "rt_".
...
* 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.
From-SVN: r85434
2004-08-02 10:29:26 +00:00
Mark Mitchell
b1cc95ce4c
re PR c++/16224 (internal compiler error: in write_unscoped_name (template/namespace))
...
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.
From-SVN: r85431
2004-08-02 06:25:36 +00:00
Richard Sandiford
e9475fa369
config.gcc (mips*-*-elf*, [...]): Add elfos.h to tm_file.
...
* 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.
From-SVN: r85430
2004-08-02 06:13:40 +00:00
David Billinghurst
db059566fa
2004-08-02 David Billinghurst
...
PR fortran/16292
* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*
From-SVN: r85429
2004-08-02 06:00:55 +00:00
Matt Austern
f1197ae160
re PR libstdc++/16844 (Explicit instantiation failing)
...
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.
From-SVN: r85428
2004-08-02 04:40:19 +00:00
Zack Weinberg
1f09d3eb5c
ia64.c (got_symbolic_operand): Do require a symbol+offset operand to have its offset be zero mod 0x3fff when...
...
* 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.
From-SVN: r85426
2004-08-02 03:23:01 +00:00
Mark Mitchell
72fba2df33
Fix typos in ChangeLog.
...
From-SVN: r85425
2004-08-02 02:04:46 +00:00
Mark Mitchell
6a94b85731
Fix typo in ChangeLog
...
From-SVN: r85422
2004-08-02 02:00:18 +00:00
Mark Mitchell
c30b4add62
re PR c++/16338 (ICE when throwing a compound literal)
...
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.
From-SVN: r85421
2004-08-02 01:58:52 +00:00
Geoffrey Keating
112ccb83bb
rs6000.c (rs6000_split_multireg_move): Just abort if trying to *store* to a non-offsettable address.
...
* 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.
From-SVN: r85419
2004-08-02 01:46:40 +00:00
Ben Elliston
a4e41fdeec
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.
From-SVN: r85418
2004-08-02 11:05:47 +10:00
GCC Administrator
6a3bc5b1d0
Daily bump.
...
From-SVN: r85416
2004-08-02 00:16:13 +00:00
Roger Sayle
fc2d8429a9
options.c (gfc_init_options): Don't warn about the use GNU extensions by default.
...
* 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.
From-SVN: r85413
2004-08-01 21:37:21 +00:00
Richard Henderson
dbe4d0704f
expr.c (expand_expr_real_1): Fix crash with variable sized types.
...
* expr.c (expand_expr_real_1) <normal_inner_ref>: Fix crash with
variable sized types.
From-SVN: r85412
2004-08-01 14:12:20 -07:00
Gabriel Dos Reis
ea0ad32920
call.c (z_candidate::template_decl): Rename from template.
...
* call.c (z_candidate::template_decl): Rename from template.
(add_template_candidate_real): Adjust member reference.
(joust): Likewise.
From-SVN: r85411
2004-08-01 18:07:32 +00:00
Roger Sayle
dc6d70957c
decl.c (update_aliases, [...]): Replace calls to build with calls to buildN.
...
* 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.
From-SVN: r85410
2004-08-01 18:04:42 +00:00