aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-06-25Makefile.in (SHELL): Set to @SHELL@.Kaveh R. Ghazi5-3/+10
gcc: * Makefile.in (SHELL): Set to @SHELL@. * fixinc/Makefile.in (SHELL): Likewise. gcc/ada: * Makefile.in (SHELL): Set to @SHELL@. From-SVN: r54976
2002-06-25mips.md (fixuns_truncdfsi2, [...]): Avoid automatic aggregate initialization.Kaveh R. Ghazi2-4/+18
* mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate initialization. From-SVN: r54975
2002-06-25demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.Alan Modra7-12/+21
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. * fibheap.h: Likewise. * hashtab.h: Likewise. * partition.h: Likewise. * sort.h: Likewise. * splay-tree.h: Likewise. From-SVN: r54974
2002-06-24verify.cc (branch_prepass): Updated for change to exception handler type.Tom Tromey6-678/+1487
* verify.cc (branch_prepass): Updated for change to exception handler type. (verify_instructions_0): Likewise. * defineclass.cc (handleCodeAttribute): Initialize `prepared'. (handleExceptionTableEntry): Updated for change to exception handler type. * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation. * include/java-interp.h (_Jv_InterpMethodInvocation): Removed. (union _Jv_InterpPC): New. (class _Jv_InterpException): Changed types to _Jv_InterpPC. (class _Jv_InterpMethod): Added new `prepared' field. (class _Jv_InterpMethod): Added `compile' method. Removed `continue1' and `find_exception'. Changed arguments to `run'. * interpret.cc (union insn_slot): New. (find_exception): Removed. (run_normal): Removed most logic. (run_synch_object): Likewise; also, use JvSynchronize. (run_synch_class): Likewise. (run): Removed. (continue1): Renamed as `run'. Compile bytecode if required. Add new code to allow refinement of direct-threaded code at runtime. Handle exceptions. (SAVE_PC): Removed. (compile): New method. (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines. (NULLARRAYCHECK): Don't use SAVE_PC. (pc_t): New typedef. (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP, SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros. From-SVN: r54968
2002-06-24Update Copyright.Joern Rennecke1-1/+1
From-SVN: r54967
2002-06-24flow.c (propagate_one_insn): When removing an insn with a REG_LIBCALL note ↵Jeff Law2-8/+30
but not the entire libcall... * flow.c (propagate_one_insn): When removing an insn with a REG_LIBCALL note but not the entire libcall sequence, delete the associated REG_RETVAL note. From-SVN: r54966
2002-06-24lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.J"orn Rennecke4-56/+560
* lib1funcs.asm (sdivsi3): Add optimized SH64 implementations. (udivsi3): Likewise. Rewrite SH1 implementation. (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions. * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants. (udivsi3_i1_media, divsi3_i1_media): Fix clobber list. * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add. (_moddi3): Likewise. * lib1funcs.asm (ic_invalidate): Add data cache line writeback. From-SVN: r54965
2002-06-24Makefile.in (GTFILES): Add basic-block.hDavid S. Miller3-1/+7
2002-06-24 David S. Miller <davem@redhat.com> * Makefile.in (GTFILES): Add basic-block.h * basic-block.h (label_value_list, tail_recursion_label_list): Mark with GTY. From-SVN: r54964
2002-06-24cp-tree.h (SCALAR_TYPE_P): New macro.Mark Mitchell8-60/+122
* cp-tree.h (SCALAR_TYPE_P): New macro. (check_for_out_of_scope_variable): New function. (at_class_scope_p): Likewise. (finish_fname): Likewise. * class.c (finish_struct): Use at_function_scope_p. * decl.c (check_for_out_of_scope_variable): New function, split out from do_identifier. (finish_enum): Use at_function_scope_p. * lex.c (do_identifier): Use check_for_out_of_scope_variable. * parse.y (VAR_FUNC_NAME): Give it <ttype>. Use finish_fname. (primary): Use at_function_scope_p. * search.c (at_class_scope_p): New function. * semantics.c (finish_fname): Likewise. (check_multiple_declarators): Use at_function_scope_p. From-SVN: r54962
2002-06-24sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK arguments into ↵J"orn Rennecke2-3/+12
account for stack_regs. * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK arguments into account for stack_regs. From-SVN: r54961
2002-06-24extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' in examples.Matt Kraai2-22/+27
* doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' in examples. From-SVN: r54960
2002-06-24extend.texi (Other Builtins): Change `...' to `@dots{}'.Art Haas3-3/+8
2002-06-24 Art Haas <ahaas@neosoft.com> * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'. * doc/tm.texi (Frame Layout): Likewise. From-SVN: r54957
2002-06-24changelog entry for generic simd patchAldy Hernandez1-0/+39
From-SVN: r54956
2002-06-24config.gcc (ia64*-*-hpux*): Set use_collect2 to no.Steve Ellcey2-1/+6
* gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no. Set float_format to i128. From-SVN: r54953
2002-06-24sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.David S. Miller2-467/+305
2002-06-24 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL. From-SVN: r54952
2002-06-24sparc.md: Use define_insn_and_split.David S. Miller2-398/+181
2002-06-24 David S. Miller <davem@redhat.com> * config/sparc/sparc.md: Use define_insn_and_split. From-SVN: r54951
2002-06-24sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.David S. Miller3-2/+24
2002-06-24 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL. * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift optabs if op1 is const0_rtx. From-SVN: r54950
2002-06-24stl_alloc.h: Reformat as per C++STYLE.Phil Edwards2-476/+488
2002-06-24 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_alloc.h: Reformat as per C++STYLE. From-SVN: r54949
2002-06-24Daily bump.GCC Administrator7-7/+7
From-SVN: r54948
2002-06-24*: Move header files up a level.Phil Edwards99-1233/+1240
2002-06-24 Phil Edwards <pme@gcc.gnu.org> * config/cpu/*/bits/*: Move header files up a level. Remove bits. * config/os/*/bits/*: Likewise. * configure.in: Update. * configure: Regenerate. * configure.target: Update. * docs/html/17_intro/porting.texi: Update. From-SVN: r54943
2002-06-24cpptrad.c (scan_out_logical_line): Check recursing only when we know we have ↵Neil Booth11-13/+183
a macro invocation in the... * cpptrad.c (scan_out_logical_line): Check recursing only when we know we have a macro invocation in the function-like case. Only call _cpp_handle_directive if we know we have a good directive, or we want to reject a bad directive. testsuite: * gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c, gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c, gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c: New tests. * gcc.dg/cpp/trad/directive.c: Update. From-SVN: r54942
2002-06-24libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.Alan Modra3-8/+14
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME. * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT. From-SVN: r54941
2002-06-24configure: Rebuilt.Tom Tromey6-326/+341
* configure: Rebuilt. * configure.in (INTERPRETER): New subst. (AM_RUNTESTFLAGS): Don't subst. From-SVN: r54940
2002-06-24Makefile.in: Rebuilt.Tom Tromey4-125/+125
* Makefile.in: Rebuilt. * Makefile.am (RUNTEST): Added AM_RUNTESTFLAGS. (AM_RUNTESTFLAGS): New variable. (RUNTESTFLAGS): Don't define. * lib/libjava.exp (libjava_invoke): New proc. (test_libjava_from_source): Use it. (test_libjava_from_javac): Likewise. (libjava_find_gij): New proc. From-SVN: r54939
2002-06-24doloop.c (doloop_valid_p): Correct comment.Alan Modra2-45/+30
* doloop.c (doloop_valid_p): Correct comment. (doloop_modify_runtime <abs_inc != 1>): Simplify. (doloop_modify_runtime <do-while>): Don't emit code when NE. From-SVN: r54938
2002-06-24Makefile.in: Rebuilt.Tom Tromey3-2/+8
* Makefile.in: Rebuilt. * Makefile.am ($(srcdir)/java/lang/Object.h, $(srcdir)/java/lang/Class.h): Added dummy targets. From-SVN: r54936
2002-06-23- Follow up to 2002-06-05 patch.David Edelsohn1-12/+13
From-SVN: r54934
2002-06-23parse.y (parse_scoped_id): New function.Mark Mitchell6-25/+40
* parse.y (parse_scoped_id): New function. (primary): Use it. * cp-tree.h (do_scoped_id): Adjust declaration. * lex.c (do_scoped_id): Remove call to yylex. * decl2.c (build_expr_from_tree): Adjust use of do_scoped_id. * typeck2.c (add_exception_specifier): Use tree_cons, rather than expanding it inline. From-SVN: r54930
2002-06-23decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".Matt Thomas2-1/+6
* decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET". From-SVN: r54929
2002-06-23* configure.in: Add support for ip2k.Denis Chertykov2-0/+7
From-SVN: r54926
2002-06-23* config.gcc: Add support for ip2k.Denis Chertykov2-0/+6
From-SVN: r54925
2002-06-23function.h (struct emit_status): Clarify potential contents of regno_reg_rtx ↵Jan Hubicka3-2/+21
array. * function.h (struct emit_status): Clarify potential contents of regno_reg_rtx array. * integrate.c (copy_rtx_and_substitute): Update comments. Make sure entry in regno_reg_rtx is a REG before checking REG_POINTER. Co-Authored-By: Jeff Law <law@redhat.com> From-SVN: r54924
2002-06-23Daily bump.GCC Administrator7-7/+7
From-SVN: r54923
2002-06-23complex-6.c: New.Andreas Jaeger4-12/+80
* gcc.c-torture/execute/complex-6.c: New. * reg-stack.c (convert_regs_exit): Push the registers to stack in proper order. From-SVN: r54915
2002-06-22re PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)Ulrich Weigand2-13/+17
PR middle-end/6963 * function.c (assign_stack_temp_for_type): Do not return the same MEM rtx for multiple uses of a stack slot. From-SVN: r54912
2002-06-22PR target/6841 target/6770 target/6719David S. Miller2-0/+9
2002-06-22 David S. Miller <davem@redhat.com> PR target/6841 target/6770 target/6719 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or GENERAL_OR_EXTRA_FP_REGS. From-SVN: r54910
2002-06-22cpptrad.c (struct fun_macro): Add line number.Neil Booth11-3/+157
* cpptrad.c (struct fun_macro): Add line number. (scan_out_logical_line): Set it, and use it to report unterminated macro invocations. testsuite: * gcc.dg/cpp/trad/comment-2.c. gcc.dg/cpp/trad/funlike-2.c, gcc.dg/cpp/trad/funlike.c, gcc.dg/cpp/trad/funlike-3.c, gcc.dg/cpp/trad/literals-1.c, gcc.dg/cpp/trad/literals-2.c, gcc.dg/cpp/trad/macroargs.c, gcc.dg/cpp/trad/quote.c: New tests. From-SVN: r54907
2002-06-22Makefile.in (install_to_libdir): Add $(DESTDIR).Peter Breitenlohner2-8/+13
* Makefile.in (install_to_libdir): Add $(DESTDIR). (install_to_tooldir): Likewise. From-SVN: r54906
2002-06-22Daily bump.GCC Administrator7-7/+7
From-SVN: r54905
2002-06-22genautomata.c (copy_node, [...]): Const-ify.Kaveh R. Ghazi2-28/+36
* genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD, DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF, check_name): Const-ify. From-SVN: r54898
2002-06-22stl_map.h, [...]: Reformat and complete doxygenation.Phil Edwards6-489/+904
2002-06-21 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_map.h, include/bits/stl_multimap.h, include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and complete doxygenation. * include/bits/boost_concept_check.h: Minor comment. From-SVN: r54897
2002-06-21vax.c (vax_output_function_prologue): Use REGISTER_PREFIX.Matt Thomas3-18/+36
2002-06-21 Matt Thomas <matt@3am-software.com> * config/vax/vax.c (vax_output_function_prologue): Use REGISTER_PREFIX. Fix some indentation. * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[]. (VAX_ISTREAM_SYNC): Define. (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the i-stream sync to the end. (REGISTER_PREFIX): Define as "". (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX. From-SVN: r54894
2002-06-21config.gcc (ns32k-*-netbsd*): Remove from list of obsolete configurations.Jason Thorpe2-1/+5
* config.gcc (ns32k-*-netbsd*): Remove from list of obsolete configurations. From-SVN: r54893
2002-06-21* configure.in: Fix AIX configury bug.Nathanael Nerode2-2/+4
From-SVN: r54892
2002-06-21c_compatibility: New.Benjamin Kosnik55-67/+1190
2002-06-21 Benjamin Kosnik <bkoz@redhat.com> * include/c_compatibility: New. * include/c_compatibility/assert.h: New. * include/c_compatibility/ctype.h: New. * include/c_compatibility/errno.h: New. * include/c_compatibility/float.h: New. * include/c_compatibility/iso646.h: New. * include/c_compatibility/limits.h: New. * include/c_compatibility/locale.h: New. * include/c_compatibility/math.h: New. * include/c_compatibility/setjmp.h: New. * include/c_compatibility/signal.h: New. * include/c_compatibility/stdarg.h: New. * include/c_compatibility/stddef.h: New. * include/c_compatibility/stdio.h: New. * include/c_compatibility/stdlib.h: New. * include/c_compatibility/string.h: New. * include/c_compatibility/time.h: New. * include/c_compatibility/wchar.h: New. * include/c_compatibility/wctype.h: New. * include/c/std_cerrno.h: Get out of the way... define errno. * include/c/std_cmath.h: Add abs, modf overloads. Undefine C99 isms. Still not sure how to deal with this sanely. * include/c/std_csetjmp.h: Tweak. * include/c/std_cwchar.h: Include cstddef for size_t. * include/c_std/std_cmath.h: Remove extra function. Pendantic std usage in testsuites. * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t with std. * testsuite/17_intro/header_cwchar.cc: Tweak. * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use std::setlocale. * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same. * testsuite/22_locale/ctype_to_char.cc (test05): Same. * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same. * testsuite/22_locale/ctype_is_char.cc (test05): Same. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same. * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same. * testsuite/22_locale/time_get_members_char.cc (test08): Same. * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same. * testsuite/22_locale/time_put_members_char.cc (test04): Same. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same. * testsuite/22_locale/num_put_members_char.cc (test04): Same. * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same. * testsuite/22_locale/numpunct_members_char.cc (test03): Same. * testsuite/22_locale/num_get_members_wchar_t.cc: Same. * testsuite/22_locale/num_get_members_char.cc: Same. * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same. * testsuite/22_locale/money_put_members_char.cc (test07): Same. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same. * testsuite/22_locale/moneypunct_members_char.cc (test03): Same. * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same. * testsuite/22_locale/money_get_members_char.cc (test08): Same. * testsuite/22_locale/messages_members_char.cc (test03): Same. * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same. * testsuite/22_locale/collate_members_char.cc (test04): Same. * testsuite/26_numerics/fabs_inline.cc: Use std::printf. * testsuite/27_io/istream_seeks.cc (test02): Qualify abort. * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. From-SVN: r54891
2002-06-21mangle.c (integer_type_codes): Const-ify.Kaveh R. Ghazi4-2/+10
cp: * mangle.c (integer_type_codes): Const-ify. java: * decl.c (clear_binding_level): Const-ify. From-SVN: r54890
2002-06-21tree.c (tree_node_kind, [...]): Wrap in GATHER_STATISTICS macro.Kaveh R. Ghazi2-0/+7
* tree.c (tree_node_kind, tree_node_counts, tree_node_sizes, tree_node_kind_names): Wrap in GATHER_STATISTICS macro. From-SVN: r54888
2002-06-21netbsd.h: Adjust a comment.Matt Thomas2-1/+10
2002-06-21 Matt Thomas <matt@3am-software.com> * config/vax/netbsd.h: Adjust a comment. (TARGET_DEFAULT): Redefine as 0. From-SVN: r54887
2002-06-21bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi ↵Richard Henderson4-19/+35
fallthru edge. 2002-06-21 Richard Henderson <rth@redhat.com> * bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge. * cfglayout.c (cleanup_unconditional_jumps): Use redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead. * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection block after ADDR_VEC. From-SVN: r54885
2002-06-21Object.m (forward, [...]): Fix unused parameter warnings.Kaveh R. Ghazi5-18/+23
* Object.m (forward, read, write): Fix unused parameter warnings. * encoding.c: Include <stdlib.h>. (target_flags): Mark with attribute unused. (atoi): Delete. * runtime.h (__objc_selector_max_index): Change to unsigned int. (__objc_generate_gc_type_description): Prototype. * selector.c (__objc_selector_max_index): Change to unsigned int. From-SVN: r54884