GCC Administrator
15cf1452c0
Daily bump.
...
From-SVN: r77061
2004-02-01 00:16:12 +00:00
Paolo Carlini
8f7ca398ca
stl_algo.h: Minor additional reformat, add copyright year.
...
2004-01-31 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algo.h: Minor additional reformat, add
copyright year.
* include/bits/stl_algobase.h: Add copyright year.
From-SVN: r77058
2004-01-31 23:51:44 +00:00
Kazu Hirata
d37eb70511
c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).
...
* config/c4x/c4x.md: Use GEN_INT instead of
gen_rtx (CONST_INT, ...).
From-SVN: r77057
2004-01-31 23:21:25 +00:00
Richard Henderson
fadeed3b06
* varasm.c (output_constant_pool): Don't zap the pool.
...
From-SVN: r77056
2004-01-31 15:13:23 -08:00
Kazu Hirata
ccdc170325
genrecog.c (decision_type): Add DT_const_int.
...
* genrecog.c (decision_type): Add DT_const_int.
(write_cond) [DT_const_int]: Print a comparison against small
constant.
(write_node): Simplify comparisons against small constants
before printing tests.
From-SVN: r77055
2004-01-31 23:08:52 +00:00
Kazu Hirata
aeba8f806e
m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.
...
* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
instead of gen_rtx_CONST_INT.
From-SVN: r77054
2004-01-31 22:58:46 +00:00
Kazu Hirata
400ce94ca1
xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT.
...
* config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT
instead of gen_rtx_CONST_INT.
From-SVN: r77053
2004-01-31 22:38:00 +00:00
Kazu Hirata
8dfa8fcd42
target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as hook_bool_CUMULATIVE_ARGS_false.
...
* target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as
hook_bool_CUMULATIVE_ARGS_false.
* targhooks.c (default_strict_argument_naming): Rename to
hook_bool_CUMULATIVE_ARGS_false.
* targhooks.h: Update the prototype for
default_strict_argument_naming.
From-SVN: r77052
2004-01-31 22:12:55 +00:00
Kazu Hirata
c0d4e710f7
sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
...
* config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.
From-SVN: r77051
2004-01-31 22:09:22 +00:00
Paolo Carlini
ffa67767d0
stl_algo.h: Wrap overlong lines...
...
2004-01-31 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algo.h: Wrap overlong lines, constify
a few variables, reformat according to the coding standards.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_heap.h: Likewise.
From-SVN: r77050
2004-01-31 21:37:11 +00:00
Eric Botcazou
fdf064f28d
* doc/invoke.texi (SPARC options): Restructure and update.
...
From-SVN: r77048
2004-01-31 20:09:22 +00:00
Kazu Hirata
b602b7b6b7
system.h (PROMOTE_FUNCTION_ARGS, [...]): Poison.
...
* system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and
STRICT_ARGUMENT_NAMING): Poison.
* target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as
hook_bool_tree_false.
* targhooks.c (default_promote_function_args): Remove.
(default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING.
Don't check incoming.
(default_strict_argument_naming): Don't use
STRICT_ARGUMENT_NAMING.
* targhooks.h: Remove the prototype for
default_promote_function_args.
From-SVN: r77047
2004-01-31 18:46:11 +00:00
Kazu Hirata
a0524eb3f5
i386-protos.h: Remove the prototype for ix86_setup_incoming_varargs.
...
* config/i386/i386-protos.h: Remove the prototype for
ix86_setup_incoming_varargs.
* config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New.
(ix86_setup_incoming_varargs): Make it static.
* config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove.
From-SVN: r77046
2004-01-31 18:42:55 +00:00
Kazu Hirata
852dcbdd78
class.c: Fix comment typos.
...
* class.c: Fix comment typos.
* decl.c: Likewise.
* error.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* search.c: Likewise.
* typeck.c: Likewise.
From-SVN: r77045
2004-01-31 17:58:53 +00:00
Paolo Carlini
8de63ee0d7
basic_string.h (_Rep::operator[]): Remove, unused.
...
2004-01-31 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
* include/bits/basic_string.h: Fix two comments.
From-SVN: r77044
2004-01-31 17:50:46 +00:00
Kazu Hirata
a457ee07af
alloc-pool.c: Fix comment typos.
...
* alloc-pool.c: Fix comment typos.
* builtin-types.def: Likewise.
* builtins.def: Likewise.
* c-pretty-print.c: Likewise.
* df.h: Likewise.
* reload1.c: Likewise.
From-SVN: r77043
2004-01-31 17:47:43 +00:00
Per Bothner
af3fb3d6dc
2004-01-31 Per Bothner <per@bothner.com>
...
* include/ext/mt_allocator.h
(__mt_alloc::_S_thread_freelist_mutex): Guard with
__GTHREAD_MUTEX_INIT.
From-SVN: r77042
2004-01-31 17:38:45 +00:00
Kazu Hirata
a451b0bd9d
invoke.texi: Follow spelling conventions.
...
* doc/invoke.texi: Follow spelling conventions.
* doc/tm.texi: Likewise.
From-SVN: r77040
2004-01-31 17:31:40 +00:00
Kazu Hirata
e53e0c5679
install.texi: Fix typos.
...
* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.
From-SVN: r77037
2004-01-31 17:04:51 +00:00
Ulrich Weigand
025b17a479
s390.c (s390_decompose_address): Do not treat virtual registers as pointers.
...
* config/s390/s390.c (s390_decompose_address): Do not treat virtual
registers as pointers.
* config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode.
From-SVN: r77036
2004-01-31 17:01:24 +00:00
Paolo Carlini
24f330691d
basic_string.tcc (_Rep::_S_create): Minor tweak.
...
2004-01-31 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
From-SVN: r77035
2004-01-31 15:39:52 +00:00
Andrew Pinski
4500e76d5e
call-super-2.m: Update line numbers for the including of stddef.h.
...
2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>
* objc.dg/call-super-2.m: Update line numbers
for the including of stddef.h.
From-SVN: r77027
2004-01-31 01:49:14 -08:00
Paolo Bonzini
4de249d909
combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine and restore it to...
...
2004-01-31 Paolo Bonzini <bonzini@gnu.org>
* combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine
and restore it to gen_lowpart_general on exit.
(gen_lowpart_for_combine): Adjust all callers to go through
gen_lowpart.
* cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible
and restore it to gen_lowpart_general on exit.
(gen_lowpart_if_possible): Adjust all callers to go through
gen_lowpart.
* emit-rtl.c (gen_lowpart_general): New name of gen_lowpart.
(gen_lowpart): Declare as pointer to function, initialized to
gen_lowpart_general.
* rtl.h (gen_lowpart): Declare as pointer to function.
From-SVN: r77026
2004-01-31 09:21:18 +00:00
Kazu Hirata
f84d109fc4
bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
...
* bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
* calls.c: Likewise.
* emit-rtl.c: Likewise.
* function.c: Likewise.
* reload1.c: Likewise.
* config/i386/cygming.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/winnt.c: Likewise.
From-SVN: r77025
2004-01-31 08:02:55 +00:00
Dara Hazeghi
354b7da5e3
re PR bootstrap/9249 (bootstrap fails with --enable-__cxa-atexit on Solaris)
...
2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com>
PR bootstrap/9249
* doc/install.texi: document --enable-__cxa_atexit option.
* configure.ac: Disable __cxa_atexit if not supported.
* configure: Regenerate.
From-SVN: r77023
2004-01-30 20:18:15 -08:00
Daniel Berlin
9781b6dabd
ggc-zone.c (ggc_free): New function.
...
2003-01-30 Daniel Berlin <dberlin@dberlin.org>
* ggc-zone.c (ggc_free): New function.
From-SVN: r77019
2004-01-31 02:18:25 +00:00
Kazu Hirata
283334f011
alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,
...
cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h,
flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h,
ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def,
tree-optimize.c, vmsdbgout.c, config/fp-bit.c,
config/alpha/alpha.c, config/alpha/alpha.h,
config/alpha/alpha.md, config/alpha/unicosmk.h,
config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c,
config/c4x/c4x-protos.h, config/c4x/c4x.md,
config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c,
config/frv/frvend.c, config/i386/cygming.h,
config/i386/djgpp.h, config/i386/emmintrin.h,
config/i386/gthr-win32.c, config/i386/i386-interix.h,
config/i386/i386-protos.h, config/i386/openbsd.h,
config/i386/winnt.c, config/i386/xm-mingw32.h,
config/i386/xmmintrin.h, config/ia64/ia64.md,
config/iq2000/iq2000.md, config/m32r/m32r.md,
config/m68k/m68k.md, config/mcore/mcore-elf.h,
config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
config/mips/iris5gas.h, config/mips/iris6.h,
config/mips/iris6gas.h, config/mips/linux.h,
config/mips/mips.md, config/mips/netbsd.h,
config/mips/openbsd.h, config/mips/windiss.h,
config/pa/fptr.c, config/rs6000/aix.h,
config/rs6000/altivec.h, config/rs6000/darwin.h,
config/rs6000/xcoff.h, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h,
config/sparc/sol2.h: Update copyright.
From-SVN: r77018
2004-01-31 02:07:12 +00:00
Kelley Cook
71cbe2c16d
Makefile.in (abs_docdir, abs_srcdir): Define.
...
gcc/
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (abs_docdir, abs_srcdir): Define.
(doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir).
gcc/ada/
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
(doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
(doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
gcc/f/
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (doc/g77.dvi): Use $(abs_docdir).
gcc/java/
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (doc/gcj.dvi): Use $(abs_docdir).
gcc/treelang/
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
From-SVN: r77017
2004-01-31 00:50:03 +00:00
GCC Administrator
7e434ad47d
Daily bump.
...
From-SVN: r77012
2004-01-31 00:16:21 +00:00
Kazu Hirata
bfb2d6613c
genconfig.c (main): Have CC0_P check its operand even on a target without cc0.
...
* genconfig.c (main): Have CC0_P check its operand even on a
target without cc0.
From-SVN: r77009
2004-01-30 23:39:01 +00:00
Richard Henderson
59445d7427
re PR c++/13693 ([tree-ssa] build failure in mipsisa64-elf)
...
PR c++/13693
* method.c (use_thunk): Don't force_target_expr for void thunks.
* tree.c (build_target_expr_with_type): Assert non-void type.
(force_target_expr): Likewise.
From-SVN: r77008
2004-01-30 15:37:39 -08:00
Paolo Carlini
7c960b3dff
6.cc: New.
...
2004-01-30 Paolo Carlini <pcarlini@suse.de>
* testsuite/21_strings/basic_string/cons/char/6.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
* testsuite/performance/21_strings/string_cons_input_iterator.cc:
New.
From-SVN: r77006
2004-01-30 23:26:13 +00:00
Kazu Hirata
bd5bd7ac81
alpha.c: Remove mentions of deprecates macros in comments...
...
* config/alpha/alpha.c: Remove mentions of deprecates macros
in comments, remove some target-independent comments about target
macros, and/or add minimal function comments for target hook
implementations.
* config/avr/avr.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.c: Likewise.
* config/iq2000/iq2000.c: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10300/mn10300.c: Likewise.
* config/pa/pa.c: Likewise.
* config/pdp11/pdp11.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/xtensa/xtensa.c: Likewise.
From-SVN: r77005
2004-01-30 23:16:23 +00:00
Ulrich Weigand
808ededc6f
re PR rtl-optimization/12147 (Wrong code with -O2 in context of reload)
...
PR optimization/12147
* reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with
RELOAD_FOR_OPADDR_ADDR.
(reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register
might be reused as RELOAD_FOR_OPADDR_ADDR register.
From-SVN: r77003
2004-01-30 23:10:36 +00:00
Michael Koch
a1ddb3556b
configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
...
2004-01-30 Michael Koch <konqueror@gmx.de>
* configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
* configure: Regenerated.
* glib-2.0.m4: Removed.
* gtk-2.0.m4: Removed.
* libart.m4: Removed.
* pkg.m4: New file.
From-SVN: r76993
2004-01-30 22:01:11 +00:00
David Edelsohn
630d42a0ae
Fix whitespace.
...
From-SVN: r76990
2004-01-30 15:47:32 -05:00
Jan Hubicka
98e5e08701
reload.c (get_secondary_mem): Fix updating of secondary_memlocs_elim_used.
...
* reload.c (get_secondary_mem): Fix updating of
secondary_memlocs_elim_used.
From-SVN: r76989
2004-01-30 20:42:24 +00:00
Richard Henderson
3234b52d0b
varasm.c (struct rtx_const, [...]): Remove.
...
* varasm.c (struct rtx_const, struct pool_constant): Remove.
(MAX_RTX_HASH_TABLE): Remove.
(const_rtx_hash_table, const_rtx_sym_hash_table): Remove.
(first_pool, last_pool, pool_offset): Remove.
(struct rtx_constant_pool): Split out from ...
(struct varasm_status): ... here. Reference one via pointer.
(struct constant_descriptor_rtx): Merge struct pool_constant.
(SYMHASH): Remove.
(decode_rtx_const): Remove.
(const_hash_rtx, compare_constant_rtx): Remove.
(record_constant_rtx): Remove.
(const_desc_rtx_hash, const_desc_rtx_eq): New.
(const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New.
(const_rtx_hash_1, const_rtx_hash): New.
(init_varasm_status): Allocate a rtx_constant_pool, and its hashes.
(simplify_subtraction): Use simplify_rtx.
(force_const_mem): Rewrite to use new data structures.
(find_pool_constant): Likewise.
(get_pool_constant, get_pool_constant_mark,
get_pool_constant_for_function, get_pool_mode,
get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise.
(output_constant_pool_2): Split out from output_constant_pool.
(output_constant_pool_1): Likewise. Use new pool datastructures.
(output_constant_pool): Zap entire pool datastructure.
(mark_constant): Use new pool datastructures.
(mark_constants): Use for_each_rtx.
(mark_constant_pool): Use new pool datastructures.
From-SVN: r76985
2004-01-30 11:16:39 -08:00
Fariborz Jahanian
be77d9e73e
Remove #if 0. Copy operands[1] to pseudo for simplify_gen_subreg.
...
OKed by David Edehlson.
From-SVN: r76984
2004-01-30 18:51:35 +00:00
Kazu Hirata
f0cad2d5f8
gcse.c (bypass_block): Fix a typo in the previous check-in to the file.
...
* gcse.c (bypass_block): Fix a typo in the previous check-in
to the file.
From-SVN: r76981
2004-01-30 18:22:16 +00:00
Felix Yen
7b1d1edf99
allocator_thread.cc (do_loop): Don't use clear, but instead assign.
...
2004-01-30 Felix Yen <fwy@alumni.brown.edu>
* testsuite/performance/20_util/allocator_thread.cc (do_loop):
Don't use clear, but instead assign. Use insert.
From-SVN: r76979
2004-01-30 18:14:42 +00:00
Benjamin Kosnik
c9732ce7d5
demangle.cc: Add instantiations.
...
2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
* src/demangle.cc: Add instantiations.
* src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
* src/Makefile.in: Regenerate.
From-SVN: r76978
2004-01-30 17:54:10 +00:00
David Edelsohn
25d244475b
allocator.cc: Protect _S_get_thread_id() and _S_thread_key_destr() with #ifdef __GTHREADS.
...
* src/allocator.cc: Protect _S_get_thread_id() and
_S_thread_key_destr() with #ifdef __GTHREADS.
From-SVN: r76977
2004-01-30 12:45:01 -05:00
Andrew Pinski
40ca90bfe4
toplev.c: Include alloc-pool.h.
...
2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>
* toplev.c: Include alloc-pool.h.
* Makefile.in (toplev.c): Update dependencies.
From-SVN: r76976
2004-01-30 09:43:24 -08:00
Paolo Carlini
33e95e9d04
Reshuffle performance testsuite.
...
2004-01-30 Paolo Carlini <pcarlini@suse.de>
Reshuffle performance testsuite.
* testsuite/performance/allocator.cc, allocator_map_thread.cc,
allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
fstream_seek_write.cc, ifstream_extract_float.cc,
ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
list_create_fill_sort.cc, map_create_fill.cc,
narrow_widen_char.cc, narrow_widen_wchar_t.cc,
ofstream_insert_float.cc, ofstream_insert_int.cc,
string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
wchar_t_out.cc: Split into...
* testsuite/performance/20_util/allocator.cc: New.
* testsuite/performance/20_util/allocator_map_thread.cc: New.
* testsuite/performance/20_util/allocator_thread.cc: New.
* testsuite/performance/21_strings/string_append: New.
* testsuite/performance/22_locale/is_wchar_t.cc: New.
* testsuite/performance/22_locale/narrow_widen_char.cc: New.
* testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
* testsuite/performance/22_locale/wchar_t_in.cc: New.
* testsuite/performance/22_locale/wchar_t_length.cc: New.
* testsuite/performance/22_locale/wchar_t_out.cc: New.
* testsuite/performance/23_containers/container_benchmark.cc: New.
* testsuite/performance/23_containers/list_create_fill_sort.cc: New.
* testsuite/performance/23_containers/map_create_fill.cc: New.
* testsuite/performance/26_numerics/complex_norm.cc: New.
* testsuite/performance/27_io/cout_insert_int.cc: New.
* testsuite/performance/27_io/filebuf_copy.cc: New.
* testsuite/performance/27_io/filebuf_sputc.cc: New.
* testsuite/performance/27_io/fstream_seek_write.cc: New.
* testsuite/performance/27_io/ifstream_extract_float.cc: New.
* testsuite/performance/27_io/ifstream_extract_int.cc: New.
* testsuite/performance/27_io/ifstream_getline.cc: New.
* testsuite/performance/27_io/ofstream_insert_float.cc: New.
* testsuite/performance/27_io/ofstream_insert_int.cc: New.
From-SVN: r76974
2004-01-30 17:06:42 +00:00
Michael Matz
48ef529f41
case-range1.C, [...]: New tests.
...
* g++.dg/ext/case-range1.C, g++.dg/ext/case-range2.C,
g++.dg/ext/case-range3.C: New tests.
From-SVN: r76973
2004-01-30 17:05:09 +00:00
Michael Matz
98ce043bed
* parser.c (cp_parser_labeled_statement): Accept case ranges.
...
From-SVN: r76972
2004-01-30 17:01:29 +00:00
Giovanni Bajo
d0acf599c8
re PR c++/13813 ([DR206] Incomplete member variables in a template.)
...
DR206
PR c++/13813
* g++.dg/template/member4.C: New test.
From-SVN: r76971
2004-01-30 16:40:43 +00:00
Giovanni Bajo
a9f46cbbe4
re PR c++/13813 ([DR206] Incomplete member variables in a template.)
...
DR206
PR c++/13813
* decl.c (grokdeclarator): Check immediatly type completeness for
non-dependent types.
From-SVN: r76970
2004-01-30 16:35:03 +00:00
Richard Kenner
39a44a4e39
combine.c (simplify_shift_const, case XOR): Be careful when commuting XOR with ASHIFTRT.
...
* combine.c (simplify_shift_const, case XOR): Be careful when
commuting XOR with ASHIFTRT.
From-SVN: r76965
2004-01-30 10:36:11 -05:00