GCC Administrator
6a6d417ebd
Daily bump.
...
From-SVN: r63262
2003-02-22 00:17:07 +00:00
James E Wilson
ff00c8a2df
Update my email address.
...
From-SVN: r63254
2003-02-21 16:04:11 -08:00
Zack Weinberg
abb2db7ad1
* MAINTAINERS: Add self to blanket write privs. section.
...
From-SVN: r63253
2003-02-21 23:50:38 +00:00
Mark Mitchell
2fff6d712a
re PR c++/9749 (ICE in write_expression on invalid function prototype)
...
PR c++/9749
* decl.c (grokdeclarator): Do not allow parameters with variably
modified types.
PR c++/9749
* g++.dg/parse/varmod1.C: New test.
From-SVN: r63250
2003-02-21 22:56:06 +00:00
Jan Hubicka
9809a3624d
cfgrtl.c (commit_edge_insertions): Call find_many_sub_basic_block only when some code has been emitted.
...
* cfgrtl.c (commit_edge_insertions): Call
find_many_sub_basic_block only when some code has been emitted.
(commit_edge_insertions_watch_calls): Bring into sync with
commit_edge_insertions
From-SVN: r63248
2003-02-21 22:14:23 +00:00
Mark Mitchell
19df1edfbe
re PR c++/9727 (ICE in pushclass() with template and conversion operator)
...
PR c++/9727
* g++.dg/template/op1.C: New test.
From-SVN: r63245
2003-02-21 21:48:09 +00:00
J"orn Rennecke
a93d1ba239
sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
...
* sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
* sh.md (binary_sf_op): Use extra constant operand instead of
negating constant operand 4.
* sh.c (sh_expand_binop_v2sf): Supply it.
From-SVN: r63243
2003-02-21 20:51:33 +00:00
Rainer Orth
4a06f7f2ec
physmem.c (physmem_total): Use getsysinfo on Tru64 UNIX.
...
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
Tru64 UNIX.
(physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
Tru64 UNIX.
* configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
machine/hal_sysinfo.h, sys/table.h.
(checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
* configure, config.in: Regenerate.
From-SVN: r63241
2003-02-21 20:33:50 +00:00
Mark Mitchell
5dc3a78ce0
re PR c++/8906 (segmentation fault when parsing nested-class definition)
...
PR c++/8906
* g++.dg/template/nested2.C: New test.
From-SVN: r63240
2003-02-21 20:22:47 +00:00
Kaveh R. Ghazi
64c7e556ab
configure.in: Check for sys/sysmp.h and sysmp.
...
* configure.in: Check for sys/sysmp.h and sysmp.
* physmem.c: Pull upstream copy, add support for irix6.
* config.in, configure: Regenerated.
From-SVN: r63237
2003-02-21 20:15:39 +00:00
Mark Mitchell
934b8c40fe
Fix typo
...
From-SVN: r63236
2003-02-21 19:15:47 +00:00
Mark Mitchell
692bb58aae
re PR c++/8724 (explicit destructor call for incomplete class allowed)
...
PR c++/8724
* g++.dg/expr/dtor1.C: New test.
From-SVN: r63232
2003-02-21 18:08:14 +00:00
Zack Weinberg
a8d0ddaf4c
cpphash.h (struct lexer_state): Add directive_wants_padding.
...
* cpphash.h (struct lexer_state): Add directive_wants_padding.
* cpplib.c (_cpp_handle_directive): Set directive_wants_padding
for directives of type INCL.
(glue_header_name, parse_include): Use get_token_no_padding.
* cppmacro.c (replace_args): If directive_wants_padding,
provide padding tokens.
* testsuite/gcc.dg/cpp/include3.c: New test.
* testsuite/gcc.dg/cpp/inc/foo.h: New file.
From-SVN: r63231
2003-02-21 18:06:30 +00:00
Mark Wielaard
3a3f137e0d
ZipEntry.java (setComment): Don't check length when argument is null.
...
* java/util/zip/ZipEntry.java (setComment): Don't check length when
argument is null.
From-SVN: r63227
2003-02-21 16:56:58 +00:00
Nathan Sidwell
7fb1c86d07
search.c (bfs_walk_grow): Remove.
...
* search.c (bfs_walk_grow): Remove. Fold into ...
(bfs_walk): ... here, fix fencepost error. Fix merge lossage
in previous patch.
From-SVN: r63226
2003-02-21 16:36:41 +00:00
Kazu Hirata
902ac71956
* config/h8300/h8300.md (a peephole2): New.
...
From-SVN: r63224
2003-02-21 14:46:11 +00:00
Mark Wielaard
7b54048202
ZipEntry.java (ZipEntry(String)): When name is bigger then 65535 chars throw IllegalArgumentException.
...
* java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
then 65535 chars throw IllegalArgumentException.
From-SVN: r63222
2003-02-21 14:08:40 +00:00
Mark Wielaard
fefabda543
* java/util/zip/ZipFile.java (finalize): New method.
...
From-SVN: r63218
2003-02-21 12:35:49 +00:00
Jan Hubicka
9dca2ad510
cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
...
* cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
(commit_edge_insertions): Call find_many_sub_basic_blocks
* reg-stack.c (convert_regs): Cleax aux for blocks.
From-SVN: r63216
2003-02-21 10:06:44 +00:00
Jan Hubicka
64465d2735
* toplev.c (parse_options_and_default_flags): Undo accidental commit.
...
From-SVN: r63215
2003-02-21 09:40:25 +00:00
Jerry Quinn
d77478a5e5
locale_facets.tcc (_M_convert_float): Replace numpunct facet accesses with data from __locale_cache.
...
2003-02-21 Jerry Quinn <jlquinn@optonline.net>
* include/bits/locale_facets.tcc (_M_convert_float): Replace
numpunct facet accesses with data from __locale_cache.
From-SVN: r63213
2003-02-21 08:34:18 +00:00
Michael Koch
2d4fad8e02
natSocketChannelImpl.cc: Reverse logic for DISABLE_JAVA_NET.
...
2003-02-21 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natSocketChannelImpl.cc:
Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
<cato@df.lth.se> for pointing to it.
From-SVN: r63212
2003-02-21 08:19:34 +00:00
Glen Nakamura
9e7d0b92a9
re PR rtl-optimization/8613 (-O2 optimization generates wrong code)
...
PR optimization/8613
* builtins.c (expand_builtin): Emit postincrements before expanding
builtin functions.
From-SVN: r63207
2003-02-21 08:07:25 +00:00
Kaveh R. Ghazi
e9019af616
physmem.c (physmem_total, [...]): De-ANSI-fy.
...
* physmem.c (physmem_total, physmem_available): De-ANSI-fy.
* configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
pstat_getdynamic.
From-SVN: r63203
2003-02-21 05:02:44 +00:00
Ben Elliston
a7582c8ca8
re PR other/5634 (../configure --prefix=~/... doesn't work)
...
2003-02-21 Ben Elliston <bje@redhat.com>
PR other/5634
* doc/install.texi (Configuration): Explain using $HOME instead of
the ~ metacharacter when referring to home directories.
From-SVN: r63201
2003-02-21 14:12:17 +11:00
Sean McNeil
e9f2dc3b46
Makefile.tpl: Add definition of CPPFLAGS to pass into configure-target-* as some target...
...
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.
From-SVN: r63200
2003-02-20 20:55:04 -05:00
Kaveh R. Ghazi
a354191ebf
libiberty.h (physmem_total, [...]): Prototype.
...
include:
* libiberty.h (physmem_total, physmem_available): Prototype.
libiberty:
* Makefile.in (CFILES): Add physmem.c.
(REQUIRED_OFILES): Add physmem.o.
* configure.in: Check for sys/pstat.h.
(checkfuncs): Add pstat_getstatic and pstat_getdynamic.
* physmem.c: New file, copied from textutils.
* config.in, configure: Regenerated.
From-SVN: r63198
2003-02-21 00:27:04 +00:00
GCC Administrator
763b929241
Daily bump.
...
From-SVN: r63196
2003-02-21 00:17:07 +00:00
Alexandre Oliva
91710e62e0
configure.in (TARGET_SYSTEM_ROOT): Set default to ${exec_prefix}/${target_alias}/sys-root.
...
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
From-SVN: r63189
2003-02-20 23:38:11 +00:00
Kazu Hirata
d64f6f86e5
h8300.md (addhi3_incdec): Change the name to *addhi3_incdec.
...
* config/h8300/h8300.md (addhi3_incdec): Change the name to
*addhi3_incdec.
(addsi3_incdec): Change the name to *addsi3_incdec.
From-SVN: r63188
2003-02-20 23:11:35 +00:00
Roger Sayle
fd7acc3008
* explow.c (force_reg): Avoid useless REG_EQUAL notes.
...
From-SVN: r63187
2003-02-20 22:29:06 +00:00
Daniel Jacobowitz
4876b2b427
Makefile.in (CFILES): Add lrealpath.c.
...
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
From-SVN: r63186
2003-02-20 22:11:13 +00:00
Daniel Jacobowitz
378ca31ee5
* libiberty.h (lrealpath): Add declaration.
...
From-SVN: r63185
2003-02-20 22:10:40 +00:00
Toon Moene
1c2de6423e
re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
...
2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/9038
* c-opts.c (sanitize_cpp_opts): Add Fortran front end
options to be ignored.
(c_common_decode_option): Ignore them when preprocessing.
From-SVN: r63184
2003-02-20 22:08:45 +00:00
Jan Hubicka
b9422b69c4
toplev.c (flag_sched2_use_superblocks, [...]): New global variables.
...
* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New global variables.
(lang_independent_options): Add -fsched2-use-superblocks -fsced2-use-traces.
(rest_of_compilation): Deal with it.
* invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
* flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): Declare.
* rtl.h (reg_to_stack): Update prototype.
* reg-stack.c (reg_to_stack): Return when something has changed;
update liveness when executing after superblock scheduling.
* combine.c (simplify_shift_const): Simplify few special cases
into constants.
From-SVN: r63183
2003-02-20 20:56:53 +00:00
jmc
e182f0a397
* cplus_dem.c: Fix typo: intializes -> initializes.
...
From-SVN: r63182
2003-02-20 15:31:18 -05:00
Mark Mitchell
63a3cd3ec3
re PR c++/9729 (ICE in mangle_conv_op_name_for_type, at cp/mangle.c:2612)
...
PR c++/9729
* g++.dg/abi/conv1.C: New test.
PR c++/9729
* mangle.c (mangle_conv_op_name_for_type): Issue an error message
when the G++ 3.2 ABI prevents correct compilation.
From-SVN: r63176
2003-02-20 19:31:38 +00:00
David Edelsohn
a62bfff255
rs6000.md: (attr "type"): Add fast_compare.
...
* config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
(add.,subf.,neg.): Change attribute to fast_compare.
All DFA descriptions updated.
From-SVN: r63175
2003-02-20 14:31:30 -05:00
Phil Edwards
0385e9506b
index.html (3.9): New note, wchar_t on FreeBSD.
...
2003-02-20 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r63173
2003-02-20 17:57:05 +00:00
Nathan Sidwell
dbbf88d1b8
Change base class access representation.
...
* tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
TREE_VIA_PRIVATE): Remove.
(BINFO_BASEACCESSES): New binfo elt.
(BINFO_BASEACCESS): New accessor.
(BINFO_ELTS): Increase.
(TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
(access_public_node, access_protected_node,
access_private_node): New global nodes.
* tree.c (build_common_tree_nodes_2): Initialize access nodes.
* dbxout.c (dbxout_type): Adjust.
* dwarf2out.c (gen_inheritance_die): Add access parameter.
(gen_member_die): Adjust.
* dwarfout.c (output_inheritance_die): ARG is array of two trees.
(output_type): Adjust.
* tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
Change base class access representation. Share virtual base
binfos.
* cp/call.c (build_special_member_call): Remove binfo_for_vbase
call.
* cp/class.c (build_base_path): Likewise.
(build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
(build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
(make_new_vtable): Adjust.
(force_canonical_binfo_r): Delete.
(force_canonical_binfo): Delete.
(mark_primary_virtual_base): Delete.
(dfs_unshared_virtual_bases): Delete.
(mark_primary_bases): Adjust.
(maybe_warn_about_overly_private_class): Adjust.
(dfs_base_derived_from): Delete.
(base_derived_from): Follow the inheritance chain.
(struct find_final_overrider_data): Add vpath member.
(dfs_find_final_overrider): Adjust.
(dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
(find_final_overrider): Adjust.
(update_vtable_entry_for_fn): Adjust.
(modify_all_vtables): Adjust.
(walk_subobject_offsets): Adjust.
(layout_nonempty_base_or_field): Adjust.
(layout_empty_base): Remove last parameter. Adjust.
(build_base_field): Adjust.
(build_base_fields): Adjust.
(propagate_binfo_offsets): Remove last parameter. Adjust.
(dfs_set_offset_for_unshared_vbases): Delete.
(layout_virtual_bases): Adjust.
(finish_struct_1): Adjust.
(init_class_processing): Don't init access nodes.
(dfs_get_primary_binfo): Delete.
(get_primary_binfo): Adjust.
(dump_class_hierarchy_r): Remove most derived arg, add IGO
parameter. Adjust.
(dump_class_hierarchy): Adjust.
(finish_vtbls): Adjust.
(get_original_base): Delete.
(build_vtt_inits): Adjust.
(dfs_build_secondary_vptr_vtt_inits): Adjust.
(dfs_ctor_vtable_bases_queue_p): Adjust.
(build_ctor_vtbl_group): Adjust.
(dfs_accumulate_vtbl_inits): Adjust.
(build_vtbl_initializer): Adjust.
(build_vbase_offset_vtbl_entries): Adjust.
(add_vcall_offset_vtbl_entries_1): Adjust.
* cp/cp-tree.h (CPTI_ACCESS_*): Remove.
(access_*_node): Remove.
(CANONICAL_BINFO): Delete.
(BINFO_UNSHARED_MARKED): Remove.
(BINFO_MARKED): Set LANG_FLAG_0 directly.
(SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
(BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
(SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
Delete.
(BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
(SET_BINFO_NEW_VTABLE_MARKED): Adjust.
(SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
Delete.
(BINFO_DEPENDENT_BASE_P): New.
(dfs_walk, dfs_walk_real): Queue function takes derived binfo and
index.
(markedp, unmarkedp): Adjust.
(dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
find_vbase_instance, binfo_for_vbase): Delete.
(copied_binfo, original_binfo): Declare.
(finish_base_specifier): Add virtual_p arg.
(unshare_base_binfos): Delete.
(copy_base_binfos): Declare.
(reverse_path): Delete.
* cp/decl.c (xref_basetypes): Access and virtuality passed
differently. Don't copy direct base binfos here. Call
copy_base_binfos.
* cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
(initialize_vtbl_ptrs): Adjust.
(expand_member_init): Adjust.
* cp/parser.c (cp_parser_base_specifier): Adjust.
* cp/pt.c (instantiate_class_template): Adjust.
(get_template_base_recursive): Adjust.
* cp/rtti.c (get_pseudo_ti_init): Adjust.
(get_pseudo_ti_desc): Adjust.
* cp/tree.c (unshare_base_binfos): Rename to ...
(copy_base_binfos): ... here, reimplement.
(make_binfo): Set BINFO_DEPENDENT_BASE_P.
(reverse_path): Remove.
* cp/typeck.c (get_delta_difference): Adjust error messages.
* cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
* cp/search.c (lookup_base_r): Adjust.
(dynamic_cast_base_recurse): Adjust.
(canonical_binfo): Remove.
(dfs_canonical_queue): Remove.
(dfs_assert_unmarked_p): Remove.
(assert_canonical_unmarked): Remove.
(shared_marked_p, shared_unmarked_p): Remove.
(BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
(dfs_access_in_type): Adjust.
(access_in_type): Adjust.
(dfs_accessible_queue_p): Adjust.
(dfs_accessible_p): Adjust.
(is_subobject_of_p_1, is_subobject_of_p): Remove.
(struct lookup_field_info): Remove from_dep_base_p field.
(lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
(lookup_field_r): Remove dependent base code.
(lookup_member): Likewise.
(dfs_walk, dfs_walk_real): Add access arg to queue fn.
(dfs_unmarked_real_bases_queue_p): Remove.
(dfs_marked_real_bases_queue_p): Remove.
(dfs_skip_vbases): Remove.
(dfs_get_pure_virtuals): Adjust.
(markedp, unmarkedp): Adjust.
(marked_vtable_pathp, unmarked_vtable_pathp): Remove.
(marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
(dfs_unmark): Adjust.
(dfs_get_vbase_types):Remove.
(dfs_build_inheritance_graph_order): Remove.
(get_vbase_types): Remove
(dfs_find_vbase_instance): Remove.
(find_vbase_instance): Remove.
(dfs_debug_unmarkedp): Adjust.
(dependent_base_p): Remove.
(dfs_push_type_decls): Adjust.
(dfs_push_decls): Adjust.
(dfs_no_overlap_yet): Adjust.
(copied_binfo): New function.
(original_binfo): New function.
(binfo_for_vbase): Remove.
Change base class access representation.
* java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
(add_interface_do): Likewise.
From-SVN: r63172
2003-02-20 17:51:46 +00:00
Raif S. Naffah
4c24ac2716
BigInteger.java (euclidInv): Take result array as an argument.
...
2003-02-20 Raif S. Naffah <raif@fl.net.au>
* java/math/BigInteger.java (euclidInv): Take result array as an
argument. Updated all callers.
(modInverse): Removed unused variables.
From-SVN: r63170
2003-02-20 16:55:15 +00:00
Phil Edwards
3a24c5134f
linker-map.gnu: Also export locking symbols needed for the generic atomicity.h case.
...
2003-02-20 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Also export locking symbols needed for the
generic atomicity.h case.
From-SVN: r63169
2003-02-20 16:47:39 +00:00
David Edelsohn
6d6ab19063
sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
...
* config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
* config/rs6000/power4.md (power4-store,power4-vecstore): New
insn reservations.
(power4-fpstore): Compact.
From-SVN: r63167
2003-02-20 11:24:37 -05:00
Jan Hubicka
5b5142fbf9
20020720-1.x: XFAIL for x86-64.
...
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86-64.
[[Split portion of a mixed commit.]]
From-SVN: r63163.2
2003-02-20 13:41:09 +00:00
Jan Hubicka
0bcecf9520
20020720-1.x: XFAIL for x86-64.
...
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86-64.
[[Split portion of a mixed commit.]]
From-SVN: r63162.2
2003-02-20 13:39:00 +00:00
Kazu Hirata
2dd5df7cb1
* config/h8300/h8300.md (*iorsi3_w): New.
...
From-SVN: r63161
2003-02-20 12:52:14 +00:00
Alexandre Oliva
3343fdd21c
configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.
...
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
From-SVN: r63159
2003-02-20 09:08:45 +00:00
Josef Zlomek
8fa0831669
combine.c (distribute_notes): Kill REG_EXEC_COUNT.
...
* combine.c (distribute_notes): Kill REG_EXEC_COUNT.
* rtl.c (reg_note_name): Likewise.
* rtl.h (enum reg_note): Likewise.
* doc/invoke.texi: Likewise.
* doc/rtl.texi: Likewise.
From-SVN: r63157
2003-02-20 08:54:48 +00:00
Josef Zlomek
c8717368a7
* bb-reorder.c (find_traces_1_round): Fix comment typo.
...
From-SVN: r63156
2003-02-20 08:44:08 +00:00
Michael Koch
bb7dd383f0
natSocketChannelImpl.cc: Added support for platforms without network support.
...
2003-02-19 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natSocketChannelImpl.cc:
Added support for platforms without network support.
From-SVN: r63155
2003-02-20 07:24:37 +00:00