aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-07-07h8300.md (pushqi1_h8300hs): Optimize by pushing 2 bytes and then subtract 2 ↵Kazu Hirata2-2/+8
from the stack pointer. * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing 2 bytes and then subtract 2 from the stack pointer. (pushhi1_h8300hs): Likewise. From-SVN: r69042
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 Administrator1-1/+1
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-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-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-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-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-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-06Daily bump.GCC Administrator1-1/+1
From-SVN: r68985
2003-07-05* combine.c (nonzero_bits1): Fix a warning.Kazu Hirata2-2/+7
From-SVN: r68983
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-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
2003-07-05Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>Zdenek Dvorak2-12/+15
Blame to Jan Hubicka <jh@suse.cz> * cfglayout.c (record_effective_endpoints): Split insns before first basic block correctly. From-SVN: r68973
2003-07-05re PR fortran/11301 (ICE with -fno-globals)Toon Moene2-1/+8
2003-07-05 Toon Moene <toon@moene.indiv.nluug.nl> PR Fortran/11301 * com.c (ffecom_sym_transform_): Only install FFEINFO_whereGLOBAL symbols in the global binding level if not -fno-globals. From-SVN: r68972
2003-07-05tree.h (contains_placeholder_p): Now returns bool.Richard Kenner1-1/+1
* tree.h (contains_placeholder_p): Now returns bool. (CONTAINS_PLACEHOLDER_P): New macro. (type_contains_placeholder_p): New function. * tree.c (save_expr): Remove code avoiding folding COMPONENT_REF. (contains_placeholder_p): Now returns bool. Rework to use CONTAINS_PLACEHOLDER_P macro. (type_contains_placeholder_p): New function. * fold-const.c (fold, case COMPONENT_REF): Don't fold if type_contains_placeholder_p. (fold_range_test, fold_mathfn_compare, fold_inf_compare, fold): Use CONTAINS_PLACEHOLDER_P macro. * builtins.c (fold_builtin): Likewise. * calls.c (initialize_argument_information): Likewise. * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. * explow.c (expr_size): Likewise. * expr.c (store_constructor, get_inner_reference): Likewise. * function.c (assign_parms): Likewise. * stor-layout.c (variable_size): Likewise. From-SVN: r68969
2003-07-05expr.c (expand_expr, [...]): When seeing if should use bitfield operations...Richard Kenner2-1/+10
* expr.c (expand_expr, case COMPONENT_REF): When seeing if should use bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. From-SVN: r68968
2003-07-05genattrtab.c (write_attr_get): Revert part of last patch to always write out ↵Andreas Jaeger3-3/+26
a prototype. * genattrtab.c (write_attr_get): Revert part of last patch to always write out a prototype. * genemit.c (gen_split): Readd lost unused attributes in last patch. From-SVN: r68967
2003-07-05cfgloopmanip.c (force_single_succ_latches): Force latch to be different from ↵Zdenek Dvorak2-1/+7
header. * cfgloopmanip.c (force_single_succ_latches): Force latch to be different from header. From-SVN: r68965
2003-07-05Missed one in last change.Andreas Schwab1-1/+1
From-SVN: r68963
2003-07-05m68k.c: Remove code protected by CRDS.Andreas Schwab3-203/+23
* config/m68k/m68k.c: Remove code protected by CRDS. * config/m68k/m68k.md: Likewise. From-SVN: r68962
2003-07-05re PR driver/11417 (fortran options warned about in cc1 when *.F or -x ↵Neil Booth2-2/+28
f77-cpp-input) PR driver/11417 * c-opts.c (permit_fortran_options): New. (c_common_init_options): Accept fortran front end options if it looks like we might be preprocessing Fortran. (c_common_handle_option): Don't reject switch if permit_fotran_options. From-SVN: r68961
2003-07-05genattr.c (internal_dfa_insn_code): Output prototype.Kaveh R. Ghazi13-204/+99
* genattr.c (internal_dfa_insn_code): Output prototype. * genattrtab.c: Don't output unnecessary decls, output in ISO C. * genautomata.c: Likewise. * genconditions.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * gengenrtl.c: Likewise. * gengtype.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. From-SVN: r68959
2003-07-05call.c: Fix comment typos.Kazu Hirata15-65/+82
* call.c: Fix comment typos. * class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * decl2.c: Likewise. * decl.c: Likewise. * init.c: Likewise. * mangle.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise From-SVN: r68956