aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-07-07std_complex.h: Partially revert last changes: cmath functions must not be ↵Paolo Carlini2-19/+24
qualified. 2003-07-07 Paolo Carlini <pcarlini@unitus.it> * include/std/std_complex.h: Partially revert last changes: cmath functions must not be qualified. From-SVN: r69040
2003-07-07configure.in (enable_coverage): Remove -DSELF_COVERAGE, add -frandom-seed.Nathan Sidwell6-340/+352
* configure.in (enable_coverage): Remove -DSELF_COVERAGE, add -frandom-seed. * configure: Regenerated. * Makefile.in: Remove extraneous comment. * toplev.c (randomize): Protect against potential multiple calls. * doc/invoke.texi (-frandom-seed): Document use for in coverage files. From-SVN: r69039
2003-07-07re PR rtl-optimization/11198 (-O2 -frename-registers generates wrong code)Richard Kenner4-8/+157
PR optimization/11198 * alias.c (objects_must_conflict_p): Return 1 if the types have the same alias set, not if the alias sets only conflict. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r69034
2003-07-07* search.c (lookup_base_r): Remove unused variable.Andreas Jaeger2-2/+4
From-SVN: r69033
2003-07-07re PR debug/10055 (g++ emits "<internal>" as source filename with -gstabs+)Michael Chastain2-2/+15
PR debug/10055 * lex.c (cxx_init): Call push_srcloc and pop_srcloc rather than assigning to input_filename directly. From-SVN: r69032
2003-07-07invoke.texi (-falign-functions): Document that when n is zero then a ↵Andreas Jaeger1-0/+8
machine-dependent default is used. * doc/invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. (-falign-labels): Document that when n is zero then a machine-dependent default is used and that -falign-labels =1 is equivalent to -fno-align-labels. (-falign-loops): Likewise. (-falign-jumps): Likewise. From-SVN: r69031
2003-07-07invoke.texi (-falign-functions): Document that when n is zero then a ↵Andrew Pinski1-5/+14
machine-dependent default is used. 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> * doc/invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. (-falign-labels): Document that when n is zero then a machine-dependent default is used and that -falign-labels =1 is equivalent to -fno-align-labels. (-falign-loops): Likewise. (-falign-jumps): Likewise. From-SVN: r69030
2003-07-07cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.Andrew Pinski3-3/+11
2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV. (convert_cset): Change inbuf to type ICONV_CONST char. * Makefile.in (LIBS): Add LIBICONV. From-SVN: r69029
2003-07-06Patch from Art HaasArt Haas2-8/+13
* f/global.c (ffeglobal_type_string_): Fix obsolete GCC array initializer syntax. From-SVN: r69028
2003-07-06re PR rtl-optimization/9812 ([m68k] ICE in extract_insn, at recog.c:2148)James E Wilson10-99/+38
PR optimization/9812 * rtl.h (mem_for_const_double): Delete prototype. * varasm.c (mem_for_const_double): Delete function. * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m68k/netbsd-elf.h (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions. * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode. (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests. * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add comment about confused support for XFmode constants. From-SVN: r69027
2003-07-07Daily bump.GCC Administrator2-2/+2
From-SVN: r69025
2003-07-07* cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.Jan Hubicka2-0/+5
From-SVN: r69023
2003-07-06call.c: Fix comment formatting.Kazu Hirata14-55/+71
* call.c: Fix comment formatting. * class.c: Likewise. * cp-tree.h: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * error.c: Likewise. * method.c: Likewise. * name-lookup.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * typeck.c: Likewise. From-SVN: r69022
2003-07-06h8300.c: Fix comment typos.Kazu Hirata17-25/+44
* config/h8300/h8300.c: Fix comment typos. * config/h8300/h8300.md: Likewise. * config/i386/athlon.md: Likewise. * config/i386/i386.c: Likewise. * config/i386/pentium.md: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/itanium1.md: Likewise. * config/ia64/itanium2.md: Likewise. * config/m32r/m32r.md: Likewise. * config/m68hc11/m68hc11.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mips/sr71k.md: Likewise. * config/mips/t-iris5-as: Likewise. * config/mmix/mmix.h: Likewise. * config/ns32k/ns32k.h: Likewise. * config/ns32k/NOTES: Fix a typo. From-SVN: r69021
2003-07-06re PR c++/11345 (ICE in build_base_path)Mark Mitchell3-54/+25
PR c++/11345 * search.c (lookup_base_r): Remove is_non_public and within_current_scope parameters. Remove other dead code. (lookup_base): Adjust call to lookup_base_r. (adjust_result_of_qualified_name_lookup): Improve comment. * semantics.c (finish_call_expr): Use maybe_dummy_object. From-SVN: r69020
2003-07-06demangle.h: Support C++.H.J. Lu2-0/+12
2003-07-06 H.J. Lu <hongjiu.lu@intel.com> * demangle.h: Support C++. From-SVN: r69016
2003-07-06stmt.c: Convert remaining prototypes to ISO C90.Andreas Jaeger6-13/+18
* stmt.c: Convert remaining prototypes to ISO C90. * cfglayout.c: Likewise. * dbxout.c: Likewise. * gcc.c: Likewise. * genemit.c: Likewise. From-SVN: r69015
2003-07-06bad.c: Convert () to (void) in function definitions.Andreas Jaeger30-374/+386
* bad.c: Convert () to (void) in function definitions. * bld.c: Likewise. * data.c: Likewise. * equiv.c: Likewise. * expr.c: Likewise. * global.c: Likewise. * implic.c: Likewise. * info.c: Likewise. * intdoc.c: Likewise. * intrin.c: Likewise. * lab.c: Likewise. * lex.c: Likewise. * malloc.c: Likewise. * src.c: Likewise. * st.c: Likewise. * sta.c: Likewise. * stb.c: Likewise. * stc.c: Likewise. * std.c: Likewise. * ste.c: Likewise. * storag.c: Likewise. * stt.c: Likewise. * stw.c: Likewise. * symbol.c: Likewise. * top.c: Likewise. * where.c: Likewise. * com.c: Convert prototypes to ISO C90. * com.h: Likewise. * g77spec.c: Likewise. From-SVN: r69014
2003-07-06acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with ↵Phil Edwards4-89/+43
globbing backport fix. 2003-07-06 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with globbing backport fix. * aclocal.m4, configure: Regenerated. From-SVN: r69013
2003-07-06Add entries for last round of ISO C90 conversions.Andreas Jaeger1-0/+16
From-SVN: r69012
2003-07-06c-common.h (c_comon_handle_filename, [...]): New.Neil Booth18-145/+196
* c-common.h (c_comon_handle_filename, c_common_missing_arguement): New. * c-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. * c-opts.c (missing_arg): Rename c_common_missing_argument, update to be an appropriate langhook. (c_common_handle_option): Don't handle filenames. (c_common_handle_filename): New. * hooks.c (hook_void_constcharptr, hook_bool_constcharptr_size_t_false): New. * hooks.h (hook_void_constcharptr, hook_bool_constcharptr_size_t_false): New. * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): Add handle_filename and missing_argument. * opts.c (handle_option): Don't handle filenames here, but ... (handle_options): ... here. (common_handle_option): Don't handle missing arguments here. * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. ada: * misc.c (gnat_handle_option): Don't handle filenames. cp: * cp-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): Override. f: * top.c (ffe_handle_option): Don't handle filenames. java: * lang.c (java_handle_option): Don't handle filenames. From-SVN: r69011
2003-07-06basic-block.h: Convert prototypes to ISO C90.Andreas Jaeger13-525/+462
* basic-block.h: Convert prototypes to ISO C90. * c-parse.in: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * cfghooks.h: Likewise. * cfgloopanal.c: Likewise. * dbxout.h: Likewise. * debug.h: Likewise. * dwarf2asm.h: Likewise. * gcov.c: Likewise. * gengtype-lex.l: Likewise. * sched-int.h: Likewise. * timevar.c: Likewise. From-SVN: r69010
2003-07-06Makfile.in: Remove traces of mbchar.Neil Booth13-435/+16
* Makfile.in: Remove traces of mbchar. * c-parse.in (MULTIBYTE_CHARS): Remove. * config.in (MULTIBYTE_CHARS): Remove. * configure: Remove --enable-mbchar. * configure.in: Remove --enable-mbchar. * mbchar.c, mbchar.h: Remove. * system.h: Poison MULTIBYTE_CHARS. * config/linux-aout.h (MULTIBYTE_CHARS): Remove. * config/linux.h (MULTIBYTE_CHARS): Remove. * config/svr4.h (MULTIBYTE_CHARS): Remove. * config/sparc/linux.h (MULTIBYTE_CHARS): Remove. From-SVN: r69009
2003-07-06* varray.c (varray_check_failed): Fix typo.Andreas Jaeger2-2/+4
From-SVN: r69008
2003-07-06unroll.c: Convert prototypes to ISO C90.Andreas Jaeger8-728/+397
* unroll.c: Convert prototypes to ISO C90. * varasm.c: Likewise. * varray.c: Likewise. * varray.h: Likewise. * vmsdbgout.c: Likewise. * xcoffout.c: Likewise. * xcoffout.h: Likewise. From-SVN: r69007
2003-07-06gcov-io.h: Add a local time stamp.Nathan Sidwell6-14/+80
* gcov-io.h: Add a local time stamp. (struct gcov_info): Add stamp field. (gcov_truncate): New. * coverage.c (read_counts_file): Skip the stamp. (coverage_begin_output): Write the stamp. (build_gcov_info): Declare and init the stamp. (coverage_finish): Only unlink data file, if stamp is zero. * gcov-dump.c (dump_file): Dump the stamp. * gcov.c (bbg_stamp): New. (release_structures): Clear bbg_stamp. (read_graph_file): Read stamp. (read_count_file): Check stamp. * libgcov.c (gcov_exit): Check stamp and truncate if needed. From-SVN: r69006
2003-07-06tree.h (default_flag_random_seed): Remove.Nathan Sidwell5-39/+65
* tree.h (default_flag_random_seed): Remove. * toplev.h (local_tick): Declare. * tree.c (flag_random_seed, default_flag_random_seed): Move to toplev.c. (append_random_chars): Don't call default_flag_random_seed. * toplev.c (flag_random_seed): Define here. Set local_tick. (local_tick): Define. (randomize): New, moved from tree.c. (print_switch_values): Adjust. (toplev_main): Call randomize. From-SVN: r69005
2003-07-06tree.h (crc32_string): Declare.Nathan Sidwell3-45/+36
* tree.h (crc32_string): Declare. * tree.c (append_random_chars): Remove. (crc32_string): New. (get_file_function_name_long): Use crc32_string here. From-SVN: r69004
2003-07-06sbitmap.c: Convert prototypes to ISO C90.Andreas Jaeger31-2616/+1668
* sbitmap.c: Convert prototypes to ISO C90. * sbitmap.h: Likewise. * scan-decls.c: Likewise. * scan.c: Likewise. * sched-deps.c: Likewise. * sched-ebb.c: Likewise. * sched-int.h: Likewise. * sched-rgn.c: Likewise. * sched-vis.c: Likewise. * sibcall.c: Likewise. * simplify-rtx.c: Likewise. * sreal.c: Likewise. * sreal.h: Likewise. * ssa-ccp.c: Likewise. * ssa-dce.c: Likewise. * ssa.c: Likewise. * ssa.h: Likewise. * stack.h: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * stringpool.c: Likewise. * target.h: Likewise. * timevar.c: Likewise. * timevar.h: Likewise. * tlink.c: Likewise. * tracer.c: Likewise. * tree-inline.c: Likewise. * tree-inline.h: Likewise. * tree.c: Likewise. * tree.h: Likewise. From-SVN: r69002
2003-07-06std_fstream.h (xsputn): Don't call _M_destroy_pback...Paolo Carlini2-20/+36
2003-07-06 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback: if output is at all possible (!_M_reading), cannot be active. * include/std/std_fstream.h: Tweak comments to doxygen style. From-SVN: r69001
2003-07-06* genattrtab.h: Convert prototypes to ISO C90.Andreas Jaeger1-20/+20
From-SVN: r69000
2003-07-06Adjust last entry.Andreas Jaeger1-1/+1
From-SVN: r68999
2003-07-06jump.c: Convert prototypes to ISO C90.Andreas Jaeger48-4948/+3095
* jump.c: Convert prototypes to ISO C90. * langhooks-def.h: Likewise. Add extern to prototypes. * langhooks.c: Likewise. * langhooks.h: Likewise. * lcm.c: Likewise. * local-alloc.c: Likewise. * loop-init.c: Likewise. * loop-unroll.c: Likewise. * loop-unswitch.c: Likewise. * loop.c: Likewise. * loop.h: Likewise. Add extern to prototypes. * machmode.h: Likewise. * main.c: Likewise. * mbchar.c: Likewise. * mbchar.h: Likewise. * mkdeps.c: Likewise. * mkdeps.h: Likewise. * optabs.c: Likewise. * optabs.h: Likewise. * output.h: Likewise. * gccspec.c: Likwise. * postreload.c: Likewise. * prefix.c: Likewise. * prefix.h: Likewise. * print-rtl.c: Likewise. * print-tree.c: Likewise. * profile.c: Likewise. * read-rtl.c: Likewise. * real.c: Likewise. * real.h: Likewise. * recog.c: Likewise. * recog.h: Likewise. * reg-stack.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regrename.c: Likewise. * regs.h: Likewise. * reload.c: Likewise. * reload.h: Likewise. * reload1.c: Likewise. * reorg.c: Likewise. * resource.c: Likewise. * resource.h: Likewise. * rtl-error.c: Likewise. * rtl.c: Likewise. * rtl.h: Likewise. * rtlanal.c: Likewise. From-SVN: r68998
2003-07-06locale_classes.h: Fully qualify standard functions with std::, thus avoiding ↵Paolo Carlini5-71/+79
Koenig lookup. 2003-07-06 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_classes.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/locale_facets.tcc: Likewise. * src/locale.cc: Likewise. * src/localename.cc: Likewise. From-SVN: r68997
2003-07-06gcc.c: Convert prototypes to ISO C90.Andreas Jaeger20-1648/+1044
* gcc.c: Convert prototypes to ISO C90. * gcc.h: Likewise. * gcov-dump.c: Likewise. * gcov-iov.c: Likewise. * gcse.c: Likewise. * genattrtab.h: Likewise. * ggc.h: Likewise. * global.c: Likewise. * graph.c: Likewise. * graph.h: Likewise. * hosthooks.h: Likewise. * hooks.h: Likewise. * hooks.c: Likewise. * hashtable.h: Likewise. * hashtable.c: Likewise. * haifa-sched.c: Likewise. * integrate.h: Likewise. * integrate.c: Likewise. * input.h: Likewise. * ifcvt.c: Likewise. From-SVN: r68995
2003-07-06allocator_traits.h: Fix doxygen markup.Phil Edwards3-5/+10
2003-07-06 Phil Edwards <pme@gcc.gnu.org> * include/bits/allocator_traits.h: Fix doxygen markup. * include/ext/mt_allocator.h: Likewise. From-SVN: r68994
2003-07-06testsuite_hooks.h: Guard against a missing unlink().Phil Edwards2-0/+9
2003-07-06 Phil Edwards <pme@gcc.gnu.org> * testsuite/testsuite_hooks.h: Guard against a missing unlink(). From-SVN: r68993
2003-07-06acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version requirement.Phil Edwards10-185/+161
2003-07-05 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version requirement. Add port_specific_symbol_file variable. * configure.host: Add docs for port_specific_symbol_file. Clean up try_cpu block for x86. * config/linker-map.gnu: No more "last symbol can't have a semicolon" kaka. Add hook for port-specific symbols. * src/Makefile.am: Remove trailing whitespace. (libstdc++-symbol.ver): Detect the presence of port-specific symbols, and add them accordingly. * docs/html/17_intro/porting.texi: Bring up to date. * src/Makefile.in, aclocal.m4, configure, docs/html/17_intro/porting.html: Regenerated. From-SVN: r68992
2003-07-06re PR c++/11431 (static_cast behavior with subclasses when default ↵Mark Mitchell12-70/+164
constructor available) PR c++/11431 * typeck.c (build_static_cast): Check for reference conversions earlier. * cp-tree.h (perform_integral_promotions): Declare. * call.c (build_addr_func): Use decay_conversion. (convert_arg_to_ellipsis): Likewise. Remove misleading comment. (convert_for_arg_passing): Use perform_integral_promotions. * cvt.c (build_expr_type_conversion): Use decay_conversion. (type_promotes_to): Do not return a cv-qualified type. * decl.c (grok_reference_init): Fix formatting. (get_atexit_node): Use decay_conversion. (build_enumerator): Use perform_integral_promotions. * init.c (build_vec_init): Use decay_conversion. * semantics.c (finish_expr_stmt): Likewise. (finish_switch_cond): Use perform_integral_promotions. * typeck.c (default_conversion): Likewise. (perform_integral_promotions): New function. (build_indirect_ref): Use decay_conversion. (build_array_ref): Use perform_integral_promotions. (convert_arguments): Use decay_conversion. (build_unary_op): Use perform_integral_promotions. (build_c_cast): Use decay_conversion. (build_modify_expr): Likewise. (convert_for_initialization): Likewise. * typeck2.c (build_x_arrow): Likewise. * g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a run test. PR c++/11431 * g++.dg/expr/static_cast3.C: New test. From-SVN: r68989
2003-07-06create_testsuite_files: New file.Phil Edwards10-136/+116
2003-07-05 Phil Edwards <pme@gcc.gnu.org> * scripts/create_testsuite_files: New file. * testsuite/Makefile.am (all-local, check-performance): Use it. * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove. * testsuite/Makefile.in: Regenerated. * testsuite/performance/filebuf_sputc.cc: Remove the temporary files at the end. * testsuite/performance/fstream_seek_write.cc: Likewise. * testsuite/performance/ofstream_insert_float.cc: Likewise. * testsuite/performance/ofstream_insert_int.cc: Likewise. * testsuite/abi_check.cc (main): Nicer spacing in usage output. From-SVN: r68988
2003-07-06stl_list.h: Performance and memory usage improvements.Gawain Bolton3-26/+62
2003-07-05 Gawain Bolton <gp.bolton@computer.org> * include/bits/stl_list.h: Performance and memory usage improvements. * include/bits/list.tcc: Likewise. From-SVN: r68987
2003-07-06Daily bump.GCC Administrator2-2/+2
From-SVN: r68985
2003-07-05* combine.c (nonzero_bits1): Fix a warning.Kazu Hirata2-2/+7
From-SVN: r68983
2003-07-05std_complex.h: Fully qualify standard functions with std::, thus avoiding ↵Paolo Carlini4-65/+72
Koenig lookup. 2003-07-05 Paolo Carlini <pcarlini@unitus.it> * include/std/std_complex.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/std/std_memory.h: Likewise. * include/std/std_valarray.h: Likewise. From-SVN: r68982
2003-07-05h8300.c (compute_mov_length): Correct the length of loading CONST0_RTX (SFmode).Kazu Hirata2-0/+9
* config/h8300/h8300.c (compute_mov_length): Correct the length of loading CONST0_RTX (SFmode). From-SVN: r68981
2003-07-05toplev.c (output_clean_symbol_name): Remove.Nathan Sidwell4-29/+16
* toplev.c (output_clean_symbol_name): Remove. * toplev.h (output_clean_symbol_name): Remove. * config/alpha/alpha.c (unicosmk_output_module_name): Use lbasename & clean_symbol_name. From-SVN: r68978
2003-07-05stl_tree.h: _Rb_tree_rebalance(): Add local variable for grandparent and use ↵Gawain Bolton2-19/+26
const 2003-07-05 Gawain Bolton <gp.bolton@computer.org> * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local variable for grandparent and use const From-SVN: r68977
2003-07-05ggc.h: Follow spelling conventions.Kazu Hirata5-4/+11
* ggc.h: Follow spelling conventions. * config/i386/i386.c: Likewise. * config/i386/winnt.c: Likewise. * config/rs6000/rs6000.c: Likewise. From-SVN: r68976
2003-07-05bt-load.c: Fix comment typos.Kazu Hirata32-36/+70
* bt-load.c: Fix comment typos. * c-incpath.c: Likewise. * cfg.c: Likewise. * cfgcleanup.c: Likewise. * cfgloop.h: Likewise. * cfgloopmanip.c: Likewise. * cfgrtl.c: Likewise. * diagnostic.h: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * et-forest.c: Likewise. * et-forest.h: Likewise. * expr.c: Likewise. * gcse.c: Likewise. * genattr.c: Likewise. * jump.c: Likewise. * langhooks.h: Likewise. * local-alloc.c: Likewise. * loop-unroll.c: Likewise. * loop-unswitch.c: Likewise. * ra-build.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * rtl.def: Likewise. * rtlanal.c: Likewise. * sched-ebb.c: Likewise. * sched-rgn.c: Likewise. * simplify-rtx.c: Likewise. * ssa.c: Likewise. * tracer.c: Likewise. * tree.c: Likewise. From-SVN: r68975
2003-07-05cppcharset.c: Use the correct return type for the fallback iconv macro.Zack Weinberg2-2/+7
2003-07-05 Zack Weinberg <zack@codesourcery.com> * cppcharset.c: Use the correct return type for the fallback iconv macro. From-SVN: r68974