aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-23i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF.Jakub Jelinek9-15/+137
* config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF. * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31 mode, as it requires pic register loaded. * varasm.c (resolve_unique_section): Remove prototype. No longer static. * tree.h (resolve_unique_section): New prototype. cp/ * method.c (thunk_labelno): New variable. (make_alias_for_thunk): New function. (use_thunk): Use it if defined ASM_OUTPUT_DEF. Put the thunk into the same section as the function it is calling. Include gt-cp-method.h. * Make-lang.in (gt-cp-method.h): Depend on s-gtype. (cp/method.o): Depend on gt-cp-method.h. * config-lang.in (gtfiles): Add $(srcdir)/cp/method.c. From-SVN: r68389
2003-06-23Makefile.def: Introduce flags_to_pass.Nathanael Nerode4-102/+117
* Makefile.def: Introduce flags_to_pass. * Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it. * Makefile.in: Regenerate. From-SVN: r68384
2003-06-23libstdc++-assign.txt: Update address.Benjamin Kosnik3-9/+25
2003-06-23 Benjamin Kosnik <bkoz@redhat.com> * docs/html/17_intro/libstdc++-assign.txt: Update address. * testsuite/performance/ifstream_getline.cc: Fix. From-SVN: r68382
2003-06-23re PR debug/9905 (Unhandled STMT_EXPR in loc_descriptor_from_tree)Andreas Schwab2-0/+7
PR debug/9905 * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by recursing through first argument. From-SVN: r68379
2003-06-23decl.c (register_dtor_fn): Mark cleanup as used.Jan Hubicka4-4/+25
* decl.c (register_dtor_fn): Mark cleanup as used. * decl2.c (mark_vtable_entries): Skip nops. * rtti.c (get_tinfo_ptr): Mark tinfo as used. (build_dynamic_cast_1): Likewise. (tinfo_base_init): Likewise. (emit_tinfo_decl): Likewise. From-SVN: r68377
2003-06-23Types _D -> _Diff, _R -> _RefDoug Gregor2-8/+13
From-SVN: r68375
2003-06-23ChangeLog.1: Fix a typo.Kazu Hirata10-14/+26
* ChangeLog.1: Fix a typo. * cfgrtl.c: Fix comment typos. * dwarf2out.c: Likewise. * expmed.c: Likewise. * genrecog.c: Likewise. * jump.c: Likewise. * rtlanal.c: Likewise. * ssa-dce.c: Likewise. * toplev.c: Likewise. From-SVN: r68374
2003-06-23extend.texi: Fix typos.Kazu Hirata4-4/+10
* doc/extend.texi: Fix typos. * doc/md.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r68371
2003-06-23basic-block.h: Fix comment formatting.Kazu Hirata23-67/+92
* basic-block.h: Fix comment formatting. * bt-load.c: Likewise. * builtins.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-format.c: Likewise. * coverage.c: Likewise. * cpplib.h: Likewise. * cpppch.c: Likewise. * dbxout.c: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * gcov-io.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * profile.c: Likewise. * real.h: Likewise. * sched-deps.c: Likewise. From-SVN: r68369
2003-06-23contrib.texi (Contributors): Add a note on testing and remove duplicates ↵Gerald Pfeifer2-64/+10
from testers list. * doc/contrib.texi (Contributors): Add a note on testing and remove duplicates from testers list. From-SVN: r68367
2003-06-23mangle.c (hash_type): val is the TREE_LIST itself, not a pointer to it.Jakub Jelinek4-1/+20
* mangle.c (hash_type): val is the TREE_LIST itself, not a pointer to it. * g++.dg/opt/operator1.C: New test. From-SVN: r68364
2003-06-23(read_braced_string): Check for EOF. If encountered issue an error message.Nick Clifton2-0/+11
From-SVN: r68363
2003-06-23* doc/invoke.texi: Document dump options, dT and dW.Kazu Hirata2-0/+11
From-SVN: r68361
2003-06-23genrecog.c (pred_table): Remove the entry for mode_independent_operand.Kazu Hirata4-56/+9
* genrecog.c (pred_table): Remove the entry for mode_independent_operand. * recog.c (next_insns_test_no_inequality): Remove. (mode_independent_operand): Likewise. * recog.h: Remove the prototype for mode_independent_operand. From-SVN: r68360
2003-06-23h8300.c (output_simode_bld): Use rotxl.l to store into bit 0.Kazu Hirata3-3/+11
* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to store into bit 0. * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the second alternative to set_znv. (*extzv_1_r_inv_h8300hs): Likewise. From-SVN: r68358
2003-06-23configure.in (in_tree_gas): Find out here whether GAS is ELF, set ↵Hans-Peter Nilsson3-86/+101
in_tree_gas_is_elf accordingly. * configure.in (in_tree_gas): Find out here whether GAS is ELF, set in_tree_gas_is_elf accordingly. (in_tree_ld): Find out whether LD emulation is ELF, set in_tree_ld_is_elf accordingly. (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128) (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge) (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag) (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of grepping gas/Makefile. (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use $in_tree_ld_is_elf instead of grepping ld/Makefile. * configure: Regenerate. From-SVN: r68356
2003-06-23builtins.c (expand_builtin_mathfn_2): Use tree_cons to build up the ↵Roger Sayle4-10/+226
stabilized argument list, not build_tree_list. * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build up the stabilized argument list, not build_tree_list. (expand_builtin_strcpy): Construct new argument list manually instead of using chainon to modify the original argument list. (expand_builtin_stpcpy): Construct new argument list manually instead of using copy_list and chainon. (expand_builtin_sprintf): New function. Optimize calls to sprintf when the format is "%s" or doesn't contain a '%'. (expand_builtin): Expand BUILT_IN_SPRINTF using the new function expand_builtin_sprintf. * gcc.c-torture/execute/string-opt-16.c: New test case. From-SVN: r68355
2003-06-23configure.in (noconfigdirs): Disable target-newlib and target-libgloss.Hans-Peter Nilsson3-69/+70
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib and target-libgloss. <d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb. <h8300*-*-*>: Disable libf2c and ${libgcj}. * configure: Regenerate. From-SVN: r68354
2003-06-23Daily bump.GCC Administrator2-2/+2
From-SVN: r68352
2003-06-22* function.c (set_insn_locators): Mark as unused.Andreas Schwab2-1/+5
From-SVN: r68350
2003-06-22common.opt: Add -finline-limit.Neil Booth5-58/+31
* common.opt: Add -finline-limit. * opts.c (common_handle_options): Handle it. * opts.sh: Temporary kludge for -finline-limit. * toplev.c (decode_f_option, independent_decode_option): Die. (parse_options_and_default_flags): No independent_decode_option. From-SVN: r68348
2003-06-22Nathan C.Paolo Carlini4-82/+146
2003-06-22 Paolo Carlini <pcarlini@unitus.it> Nathan C. Myers <ncm-nospam@cantrip.org> * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim is now used only for filebuf, when _M_buf_unified is true. epgtr() plays the role of _M_out_lim but it's only updated upon overflow, underflow, uflow, seekoff/pos. * include/bits/sstream.tcc (_M_underflow): New, implements stringbuf::underflow and uflow. (seekoff, seekpos): Tweak, use _M_update_egptr. * include/std/std_sstream.h (str): Rewrote, deal correctly with the new logic, in particular, when pptr() > egptr(). (_M_sync): When __testout && !__testin set all the get area pointers to the current string end. (_M_update_egptr): New, internal function updating egptr() to the actual string end. (_M_underflow): New, declare. (underflow): Dispatch to _M_underflow(false). (uflow): Dispatch to _M_underflow(true). * include/bits/sstream.tcc (pbackfail, overflow, seekoff, seekpos): Use only the documented derivation interface to basic_streambuf (gptr(), setg(), etc.) to work right with user specializations. * include/std/std_sstream.h (str, _M_sync): Likewise. From-SVN: r68347
2003-06-22* calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.Andreas Jaeger2-1/+5
From-SVN: r68346
2003-06-22* doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.Kazu Hirata2-2/+11
From-SVN: r68345
2003-06-22* doc/invoke.texi: Remove leading `-' from options in index.Andreas Schwab2-6/+10
From-SVN: r68343
2003-06-22* bt-load.c: Follow spelling conventions.Kazu Hirata2-1/+5
From-SVN: r68342
2003-06-22* expr.c (emit_move_insn_1): Fix a comment typo.Kazu Hirata2-2/+6
From-SVN: r68341
2003-06-22* doc/invoke.texi: Alphabetize dump options.Kazu Hirata2-6/+10
From-SVN: r68339
2003-06-22* doc/invoke.texi: Remove a duplicate -dk.Kazu Hirata2-3/+4
From-SVN: r68338
2003-06-22* doc/invoke.texi: Update dump file names.Kazu Hirata2-4/+8
From-SVN: r68336
2003-06-22safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN...Zack Weinberg10-31/+233
include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC respectively. libiberty: * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. Add documentation in form expected by gather-docs. * hex.c: Use HOST_CHARSET, not hand-coded check of character set. * Makefile.in, functions.texi: Regenerate. gcc: * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. From-SVN: r68335
2003-06-22* doc/rtl.texi: Fix the @findex for pre_modify.Kazu Hirata2-1/+5
From-SVN: r68333
2003-06-22Convert to ISO C90.Andreas Jaeger1-6/+6
From-SVN: r68332
2003-06-22caller-save.c: Convert to ISO C90.Andreas Jaeger16-1175/+656
* caller-save.c: Convert to ISO C90. * calls.c: Likewise. * cfg.c: Likewise. * cfganal.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * cfghooks.c: Likewise. * cfglayout.c: Likewise. * cfglayout.h: Likewise. * cfgloop.c: Likewise. * cfgloop.h: Likewise. * cfgloopanal.c: Likewise. * cfgloopmainip.c: Likewise. * cfgrtl.c: Likewise. From-SVN: r68331
2003-06-22arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting 64-bit ↵Richard Earnshaw2-1/+6
alignment. * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting 64-bit alignment. From-SVN: r68330
2003-06-22arm.md (all call_value patterns): Remove register constraints on value operand.Richard Earnshaw2-10/+15
* arm.md (all call_value patterns): Remove register constraints on value operand. From-SVN: r68329
2003-06-22common.opt: More -f switches.Neil Booth5-85/+525
* common.opt: More -f switches. * opts.c (common_handle_options): Handle them. * toplev.c (time_report): Make extern. (f_options): USe flag_dummy. (decode_f_option): No need to use f_options now. * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp, flag_ssa_dce, time_report, flag_new_regalloc): Make extern. From-SVN: r68328
2003-06-22c-lex.c: Convert to ISO C90.Andreas Jaeger11-940/+612
* c-lex.c: Convert to ISO C90. * c-objc-common.c: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.h: Likewise. * c-pretty-print.c: Likewise. * c-pretty-print.h: Likewise. * c-semantics.c: Likewise. * c-tree.h: Likewise. * c-typeck.c: Likewise. From-SVN: r68327
2003-06-22* c-lang.c: Convert to ISO C90.Andreas Jaeger2-19/+16
From-SVN: r68326
2003-06-22opts.c (find_opt): Fix to always guarantee a find of a switch with joined ↵Neil Booth4-68/+92
parameter. * opts.c (find_opt): Fix to always guarantee a find of a switch with joined parameter. * opts.h (struct cl_option): New member back_chain. * opts.sh: Update to calculate and add back_chain member. From-SVN: r68324
2003-06-22diagnostic.h (output_host_wide_integer): Declare.Gabriel Dos Reis3-0/+36
* diagnostic.h (output_host_wide_integer): Declare. * diagnostic.c (output_long_long_decicaml): New function. (output_host_wide_integer): Likewise. (output_format): Use them. Handle "%ll" and "%w". From-SVN: r68323
2003-06-22* config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.Jason Thorpe2-1/+5
From-SVN: r68322
2003-06-22Daily bump.GCC Administrator2-2/+2
From-SVN: r68320
2003-06-21safe-ctype.h (HC_UNKNOWN, [...]): New #defines.Zack Weinberg11-383/+338
include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): New #defines. libiberty: * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET for charset determination. gcc: * aclocal.m4 (gcc_AC_C_CHARSET): Delete. * configure.in: Don't use gcc_AC_C_CHARSET. * configure, config.in: Regenerate. * config/i370/i370.c, config/i370/i370.h: Use (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. From-SVN: r68317
2003-06-21Makefile.in: Update.Neil Booth9-88/+520
* Makefile.in: Update. * common.opt: New switches. * opts.c: Include diagnostic.h. (common_handle_option): Handle new switches. * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion, flag_if_conversion2, flag_delete_null_pointer_checks, flag_rerun_cse_after_loop): Make extern. (flag_dummy): New. (f_options): Update to use flag_dummy for moved options. (decode_f_option): Some switches moved to opts.c. * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion, flag_if_conversion2, flag_delete_null_pointer_checks, flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops, flag_tracer, flag_thread_jumps, flag_unroll_loops, flag_unroll_all_loops, flag_unswitch_loops): New. f: * lang.opt: Add -fpreprocessed. * top.c (ffe_handle_option): Handle it. From-SVN: r68315
2003-06-21re PR c++/10784 (Warning about choosing custom operator over copy ↵Gabriel Dos Reis7-2/+19
constructor cannot be turned off (and it's useless in the first place)) cp/ PR c++/10784 * call.c (joust): Warn about choosing conversion sequence only if -Wconversion. testsuite/ * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option. * g++.old-deja/g++.other/conv7.C: Likewise * g++.old-deja/g++.other/overcnv2.C: Likewise. * g++.old-deja/g++.other/overload14.C: Likewise. From-SVN: r68312
2003-06-212003-06-21 Michael Koch <konqueror@gmx.de>Michael Koch2-20/+38
* java/io/File.java (static): Load javaio lib if existing (only in classpath). (File): Revised documentation to show the correct argument name. (createTempFile): Partly merged with classpath. (compareTo): Simplified. (lastModified): Throw exception if time < 0. (deleteOnExit): Revised documentation. From-SVN: r68310
2003-06-21PC c++/10864Gabriel Dos Reis2-8/+19
PC c++/10864 * call.c (op_error): Tidy. * error.c (dump_expr): Properly format 'T()' when T is an aggregate type. From-SVN: r68309
2003-06-21Makefile.in: Update.Neil Booth6-115/+143
* Makefile.in: Update. * c-opts.c (c_common_handle_option): Don't return -1. * common.opt: New switches. * opts.c: Include rtl.h, ggc.h and output.h. (find_opt): Only stop searching when input switch compares less than the stored switch. Continue searching if greater. (handle_option): No need to handle negative return values. (common_handle_option): Handle new switches. (set_fast_math_flags, fast_math_flags_set_p): New. * toplev.c (set_fast_math_flags, fast_math_flags_set_p): Move to opts.c. (decode_f_option): Some switches moved to opts.c. (parse_options_and_default_flags): No need to cater for negative return values. f: * top.c (ffe_handle_option): No need to return -1 any more. From-SVN: r68307
2003-06-21PlainSocketImpl.java: Reformatted.Michael Koch2-35/+187
2003-06-21 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Reformatted. (PlainSocketImpl): Merged class documentaion with classpath. (in): Moved. (out): Moved. (PlainSocketImpl): New empty constructor. (finalize): Moved. (setOption): Merged documentation from classpath. (getOption): Likewise. (create): Likewise. (connect): Likewise. (bind): Likewise. (listen): Likewise. (accept): Likewise. (available): Likewise. (close): Likewise. (read): Likewise. (write): Likewise. (getInputStream): Made synchronozed to get sure that only one stream object can be created for this socket, merged documentation from classpath. (getOutputStream): Likewise. From-SVN: r68305