aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-21re PR c++/9727 (ICE in pushclass() with template and conversion operator)Mark Mitchell2-0/+17
PR c++/9727 * g++.dg/template/op1.C: New test. From-SVN: r63245
2003-02-21sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.J"orn Rennecke4-13/+22
* 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-21physmem.c (physmem_total): Use getsysinfo on Tru64 UNIX.Rainer Orth5-82/+150
* 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-21re PR c++/8906 (segmentation fault when parsing nested-class definition)Mark Mitchell2-0/+14
PR c++/8906 * g++.dg/template/nested2.C: New test. From-SVN: r63240
2003-02-21configure.in: Check for sys/sysmp.h and sysmp.Kaveh R. Ghazi5-10/+76
* 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-21Fix typoMark Mitchell1-1/+1
From-SVN: r63236
2003-02-21re PR c++/8724 (explicit destructor call for incomplete class allowed)Mark Mitchell2-0/+12
PR c++/8724 * g++.dg/expr/dtor1.C: New test. From-SVN: r63232
2003-02-21cpphash.h (struct lexer_state): Add directive_wants_padding.Zack Weinberg7-55/+83
* 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-21ZipEntry.java (setComment): Don't check length when argument is null.Mark Wielaard2-1/+6
* java/util/zip/ZipEntry.java (setComment): Don't check length when argument is null. From-SVN: r63227
2003-02-21search.c (bfs_walk_grow): Remove.Nathan Sidwell2-76/+43
* 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* config/h8300/h8300.md (a peephole2): New.Kazu Hirata2-0/+36
From-SVN: r63224
2003-02-21ZipEntry.java (ZipEntry(String)): When name is bigger then 65535 chars throw ↵Mark Wielaard2-2/+11
IllegalArgumentException. * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger then 65535 chars throw IllegalArgumentException. From-SVN: r63222
2003-02-21* java/util/zip/ZipFile.java (finalize): New method.Mark Wielaard2-0/+13
From-SVN: r63218
2003-02-21cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.Jan Hubicka3-1/+26
* 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* toplev.c (parse_options_and_default_flags): Undo accidental commit.Jan Hubicka2-1/+4
From-SVN: r63215
2003-02-21locale_facets.tcc (_M_convert_float): Replace numpunct facet accesses with ↵Jerry Quinn2-6/+11
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-21natSocketChannelImpl.cc: Reverse logic for DISABLE_JAVA_NET.Michael Koch2-3/+9
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-21re PR rtl-optimization/8613 (-O2 optimization generates wrong code)Glen Nakamura4-0/+30
PR optimization/8613 * builtins.c (expand_builtin): Emit postincrements before expanding builtin functions. From-SVN: r63207
2003-02-21physmem.c (physmem_total, [...]): De-ANSI-fy.Kaveh R. Ghazi5-54/+122
* 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-21re PR other/5634 (../configure --prefix=~/... doesn't work)Ben Elliston2-1/+10
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-20Makefile.tpl: Add definition of CPPFLAGS to pass into configure-target-* as ↵Sean McNeil3-1/+25
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-21libiberty.h (physmem_total, [...]): Prototype.Kaveh R. Ghazi8-7/+120
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-21Daily bump.GCC Administrator2-2/+2
From-SVN: r63196
2003-02-20configure.in (TARGET_SYSTEM_ROOT): Set default to ↵Alexandre Oliva3-260/+270
${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-20h8300.md (addhi3_incdec): Change the name to *addhi3_incdec.Kazu Hirata2-2/+8
* 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* explow.c (force_reg): Avoid useless REG_EQUAL notes.Roger Sayle2-4/+12
From-SVN: r63187
2003-02-20Makefile.in (CFILES): Add lrealpath.c.Daniel Jacobowitz9-121/+426
* 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* libiberty.h (lrealpath): Add declaration.Daniel Jacobowitz2-0/+8
From-SVN: r63185
2003-02-20re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: ↵Toon Moene4-1/+23
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-20toplev.c (flag_sched2_use_superblocks, [...]): New global variables.Jan Hubicka7-10/+118
* 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* cplus_dem.c: Fix typo: intializes -> initializes.jmc2-1/+5
From-SVN: r63182
2003-02-20re PR c++/9729 (ICE in mangle_conv_op_name_for_type, at cp/mangle.c:2612)Mark Mitchell4-4/+35
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-20rs6000.md: (attr "type"): Add fast_compare.David Edelsohn12-24/+30
* 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-20index.html (3.9): New note, wchar_t on FreeBSD.Phil Edwards3-151/+190
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-20Change base class access representation.Nathan Sidwell21-1509/+1169
* 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-20BigInteger.java (euclidInv): Take result array as an argument.Raif S. Naffah2-16/+19
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-20linker-map.gnu: Also export locking symbols needed for the generic ↵Phil Edwards2-1/+11
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-20sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.David Edelsohn3-6/+32
* 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-2020020720-1.x: XFAIL for x86-64.Jan Hubicka1-1/+1
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86-64. [[Split portion of a mixed commit.]] From-SVN: r63163.2
2003-02-2020020720-1.x: XFAIL for x86-64.Jan Hubicka1-0/+4
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86-64. [[Split portion of a mixed commit.]] From-SVN: r63162.2
2003-02-20* config/h8300/h8300.md (*iorsi3_w): New.Kazu Hirata2-0/+14
From-SVN: r63161
2003-02-20configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.Alexandre Oliva24-1646/+1796
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. * configure: Rebuilt. From-SVN: r63159
2003-02-20combine.c (distribute_notes): Kill REG_EXEC_COUNT.Josef Zlomek6-15/+10
* 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* bb-reorder.c (find_traces_1_round): Fix comment typo.Josef Zlomek2-1/+5
From-SVN: r63156
2003-02-20natSocketChannelImpl.cc: Added support for platforms without network support.Michael Koch2-2/+65
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-20configure.in (multiosdir): Set to nothing if compiler is not GCC or if...Alexandre Oliva3-32/+62
* configure.in (multiosdir): Set to nothing if compiler is not GCC or if it doesn't support -print-multi-os-directory. * configure: Rebuilt. From-SVN: r63153
2003-02-20libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.Alexandre Oliva1-1/+1
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. * ltconfig: Handle it. * ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of auto-detecting it. From-SVN: r63150
2003-02-20libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.Alexandre Oliva4-10/+40
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. * ltconfig: Handle it. * ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of auto-detecting it. From-SVN: r63148
2003-02-20sstream.tcc (overflow): According to 27.7.1.3, p5, actual output is ↵Paolo Carlini2-3/+6
performed by sputc(c). 2003-02-19 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (overflow): According to 27.7.1.3, p5, actual output is performed by sputc(c). From-SVN: r63147
2003-02-20Daily bump.GCC Administrator2-2/+2
From-SVN: r63144