aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-06-15c-pch.c (asm_file_name): Remove.Neil Booth9-174/+178
* c-pch.c (asm_file_name): Remove. * common.opt: Add more switches. * flags.h (g_switch_set): Boolify. * opts.c (g_switch_value, g_switch_set, exit_after_options, version_flag): Move from toplev.c. (common_handle_option): Handle more switches from toplev.c. * toplev.c (display_help, display_target_options, decode_d_option, print_version): Make non-static, remove prototypes. (aux_base_name, asm_file_name, aux_info_file_name): Constify. (version_flag, g_switch_value, g_switch_set, exit_after_options): Remove. (independent_decode_option): Move some handlers to opts.c. * toplev.h (aux_info_file_name, aux_base_name, asm_file_name, exit_after_options, version_flag, display_help, display_target_options, print_version, decode_d_option): New. java: * lang.c (version_flag): Rename to v_flag to avoid clash w/ toplev.h. From-SVN: r67971
2003-06-15alpha.md: Follow spelling conventions.Kazu Hirata9-9/+20
* config/alpha/alpha.md: Follow spelling conventions. * config/arm/arm.c: Likewise. * config/arm/arm.h: Likewise. * config/arm/arm.md: Likewise. * config/arm/crtn.asm: Likewise. * config/m32r/m32r.c: Likewise. * config/m32r/m32r.md: Likewise. * config/rs6000/rs6000.c: Likewise. From-SVN: r67970
2003-06-15alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.Richard Henderson6-2/+16
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Do it later. From-SVN: r67969
2003-06-15builtins.c (expand_builtin_expect_jump): Remove redundant tests that are ↵Kazu Hirata2-7/+7
also in any_condjump_p(). * builtins.c (expand_builtin_expect_jump): Remove redundant tests that are also in any_condjump_p(). From-SVN: r67966
2003-06-15libgcc2.c: Delete sysV68 L_trampoline section.Kaveh R. Ghazi4-285/+6
* libgcc2.c: Delete sysV68 L_trampoline section. * config/m68k/mot3300-crt0.S: Delete file. * config/m68k/mot3300Mcrt0.S: Likewise. From-SVN: r67965
2003-06-15aoutos.h: Remove.Nathanael Nerode4-43/+7
* config/aoutos.h: Remove. * config.gcc: Remove reference to aoutos.h. * config/m68k/m68k-aout.h: Remove reference to aoutos.h. From-SVN: r67964
2003-06-15install.texi: Follow spelling conventions.Kazu Hirata8-10/+20
* doc/install.texi: Follow spelling conventions. * doc/tm.texi: Likewise. * config/fp-bit.c: Likewise. * config/arm/arm.c: Likewise. * config/frv/frv.c: Likewise. * config/ns32k/NOTES: Likewise. * config/ns32k/STATUS: Likewise. From-SVN: r67962
2003-06-15Daily bump.GCC Administrator1-1/+1
From-SVN: r67960
2003-06-14lang-specs.h: Rewrite -MD and -MMD to append an underscore.Neil Booth4-5/+11
* lang-specs.h: Rewrite -MD and -MMD to append an underscore. * lang.c (java_handle_option): -MD and -MMD have an underscore. * lang.opt: -MD and -MMD have an underscore. From-SVN: r67958
2003-06-14rtl.h (STORE_FLAG_VALUE): Remove default definition from here.Roger Sayle24-92/+44
* rtl.h (STORE_FLAG_VALUE): Remove default definition from here. * defaults.h (STORE_FLAG_VALUE): Move default definition to here. * doc/tm.texi (STORE_FLAG_VALUE): Document the default value. * config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition. * config/arc/arc.h (STORE_FLAG_VALUE): Likewise. * config/arm/arm.h (STORE_FLAG_VALUE): Likewise. * config/cris/cris.h (STORE_FLAG_VALUE): Likewise. * config/i370/i370.h (STORE_FLAG_VALUE): Likewise. * config/i386/i386.h (STORE_FLAG_VALUE): Likewise. * config/i960/i960.h (STORE_FLAG_VALUE): Likewise. * config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise. * config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise. * config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise. * config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise. * config/mips/mips.h (STORE_FLAG_VALUE): Likewise. * config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise. * config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise. * config/pa/pa.h (STORE_FLAG_VALUE): Likewise. * config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise. * config/sh/sh.h (STORE_FLAG_VALUE): Likewise. * config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise. * config/v850/v850.h (STORE_FLAG_VALUE): Likewise. * config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r67957
2003-06-14* opts.sh (POSIXLY_CORRECT): Unset it.Nathan Sidwell2-0/+5
From-SVN: r67954
2003-06-14tree.h (init_function_start): Remove filename and line paramters.Nathan Sidwell20-27/+67
* tree.h (init_function_start): Remove filename and line paramters. * function.c (init_function_start): Remove filename and line parameters. Use DECL_SOURCE_LOCATION. * c-decl.c (store_parm_decls): Adjust init_function_start call. (c_expand_body_1): Likewise. * coverage.c (create_coverage): Likewise. * ada/utils.c (begin_subprog_body): Adjust init_function_start call. * cp/decl.c (start_function): Adjust init_function_start call. * cp/method.c (use_thunk): Likewise. * cp/semantics.c (genrtl_start_function): Likewise. * f/com.c (stor_parm_decls): Adjust init_function_start call. * java/class.c (emit_register_classes): Adjust init_function_start call. * java/decl.c (complete_start_java_method): Likewise. * java/resource.c (write_resource_constructor): Likewise. * objc/objc-act.c (build_tmp_function_decl): Set line number to zero. (hack_method_prototype): Adjust init_function_start call. * treelang/treetree.c (tree_code_create_function_initial): Adjust init_function_start call. From-SVN: r67953
2003-06-14re PR target/3724 ([ARM]Illegal instruction when profiling optimized code on ↵Richard Earnshaw2-0/+10
arm-linux) PR target/3724 * arm/linux-elf.h (PROFILE_HOOK): Define. From-SVN: r67950
2003-06-14re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno ↵Richard Earnshaw2-0/+11
(3.4)) PR target/11183 * arm.h (CANNOT_CHANGE_MODE_CLASS): Define. From-SVN: r67947
2003-06-14opts.sh: Work around a mysterious feature in cygwin's gawk where specifying ↵Roger Sayle2-2/+8
the input... * opts.sh: Work around a mysterious feature in cygwin's gawk where specifying the input files explicitly has a different behavior to piping them via stdin. From-SVN: r67946
2003-06-14sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.Neil Booth2-0/+12
* doc/sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h. From-SVN: r67945
2003-06-14re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno ↵Richard Earnshaw2-2/+7
(3.4)) PR target/11183 * arm.c (output_move_double): Pass SImode to adjust_address. From-SVN: r67943
2003-06-14Makefile.in: Update to use common.opt and lang_opt_files.Neil Booth28-123/+277
* Makefile.in: Update to use common.opt and lang_opt_files. (c-options.c, c-options.h): Remove. (options.c, options.h): Add. * c-opts.c: Include options.h not c-options.h. * common.opt: New file. * configure, configure.in: Add lang_opt_files. * opts.c: Include flags.h and diagnostic.h. (common_handle_option): New. (handle_option): Update to recognize common options and all language-dependent options. * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New. (struct cl_option): Make flags of type int. * opts.h: Flag option with front ends to which it applies. Handle duplicate options. * toplev.c (filename): Remove. (independent_decode_option): Don't handle filenames and -quiet. (process_options, do_compile): Update. ada: * Make-lang.in: Update to use options.c and options.h. * misc.c: Include options.h not aoptions.h. (gnat_handle_option): Abort on unrecognized switch. (gnat_init_options): Request Ada switches. cp: * Make-lang.in: Remove c-options.o. f: * Make-lang.in: Update to use options.c and options.h. * top.c: Include options.h not f-options.h. (gnat_handle_option): Abort on unrecognized switch. (ffe_init_options): From com.c. Request F77 options. (ffe_handle_options): Abort on unrecognized switch. * com.c (ffe_init_options): Move to top.c. * top.h (fee_init_options): New. java: * Make-lang.in: Update to use options.c and options.h. * lang.c: Include options.h not j-options.h. (java_handle_option): Abort on unrecognized option. (java_init_options): Request Java switches. treelang: * Make-lang.in: Update to use options.c and options.h. * tree1.c: Include options.h not t-options.h. (treelang_init_options): New. (treelang_handle_option): Abort on unrecognized switch. * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override. * treetree.h (treelang_init_options): New. From-SVN: r67941
2003-06-14install.texi (Specific): Add description of different ARM supported file ↵Nick Clifton2-4/+36
format targets. 2003-06-14 Nick Clifton <nickc@redhat.com> * doc/install.texi (Specific): Add description of different ARM supported file format targets. From-SVN: r67939
2003-06-14reorg.c (emit_delay_sequence, [...]): Clear insn locators inside delay slots.Jan Hubicka2-0/+23
* reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators inside delay slots. From-SVN: r67937
2003-06-14lang.opt: Add -Wall.Neil Booth3-0/+12
* lang.opt: Add -Wall. * misc.c (gnat_handle_option): Handle it. From-SVN: r67935
2003-06-14unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.Matt Kraai3-0/+11
* unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE. * unwind-pe.h (size_of_encoded_value): Do not define if NO_SIZE_OF_ENCODED_VALUE is defined. From-SVN: r67930
2003-06-14expr.c (expand_expr <COMPLEX_CST>): Handle the case of expanding a complex ↵Roger Sayle2-0/+28
constant into a CONCAT target. * expr.c (expand_expr <COMPLEX_CST>): Handle the case of expanding a complex constant into a CONCAT target. From-SVN: r67928
2003-06-14Daily bump.GCC Administrator1-1/+1
From-SVN: r67926
2003-06-14svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.Zack Weinberg5-42/+33
* config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1. (ASM_FILE_START_1): Delete. * config/i386/att.h, config/i386/sco5.h, config/i386/sysv3.h (ASM_FILE_START_1): Delete. From-SVN: r67924
2003-06-13bsd.h: Remove ASM_FILE_START.DJ Delorie1-1/+1
* config/i386/bsd.h: Remove ASM_FILE_START. * config/i386/djgpp.h: Likewise. * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax. * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ... * config.gcc (i[34567]86-pc-msdosdjgpp): ... here. From-SVN: r67922
2003-06-13Mark PR last change.Richard Henderson1-0/+1
From-SVN: r67921
2003-06-13com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL symbols in the ↵Richard Henderson2-2/+7
global binding level. * com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL symbols in the global binding level. From-SVN: r67920
2003-06-13bsd.h: Remove ASM_FILE_START.Kelley Cook4-23/+10
* config/i386/bsd.h: Remove ASM_FILE_START. * config/i386/djgpp.h: Likewise. * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax. * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ... * config.gcc (i[34567]86-pc-msdosdjgpp): ... here. From-SVN: r67919
2003-06-13re PR bootstrap/10835 (combinatory explosion in scheduler on HyperSPARC)Vladimir Makarov2-7/+56
2003-06-13 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/10835 * haifa-sched.c (max_lookahead_tries, cached_first_cycle_multipass_dfa_lookahead, cached_issue_rate): New variables. (max_issue): Check the number of tries. (choose_ready): Calculate max_lookahead_tries. (sched_init): Check cached_issue_rate. From-SVN: r67918
2003-06-13cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.Richard Henderson3-2/+8
* cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL. * cfgrtl.c (purge_dead_edges): Expect it too. From-SVN: r67917
2003-06-13re PR bootstrap/10983 ([SPARC64] ICE in verify_wide_reg, at flow.c:551, ↵James E Wilson2-22/+34
while compiling libjava) PR bootstrap/10983 * combine.c (make_extraction): Use gen_lowpart_for_combine when extracting from a REG and not in the destination of a SET. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r67916
2003-06-13tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for ↵Doug Evans2-0/+9
addvsi3, et.al. * tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al. From-SVN: r67915
2003-06-13c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.Aldy Hernandez4-8/+11
2003-06-13 Aldy Hernandez <aldyh@redhat.com> * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro. * simplify-rtx.c (simplify_subreg): Same. * emit-rtl.c (gen_lowpart_common): Same. From-SVN: r67911
2003-06-13builtins.c: Fix comment typos.Kazu Hirata3-3/+8
* builtins.c: Fix comment typos. * fold-const.c: Likewise. From-SVN: r67907
2003-06-13m32r-protos.h (m32r_pass_by_reference): Declare.Doug Evans4-4/+28
* config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare. * config/m32r/m32r.c (m32r_pass_by_reference): New fn. (m32r_va_arg): Use it. * config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto. (RETURN_IN_MEMORY): Ditto. Co-Authored-By: Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> From-SVN: r67906
2003-06-13* c-typeck.c: Remove #if 0 clauses.Nathanael Nerode2-128/+2
From-SVN: r67905
2003-06-13* lex.c: Convert to ISO C.Nathanael Nerode2-74/+47
From-SVN: r67904
2003-06-13init.c: removes use of PARAMS macro.Nathanael Nerode2-122/+59
2003-05-19 Jens-Michael Hoffmann <jensmh@gmx.de> * init.c: removes use of PARAMS macro. Use ISO style function declarations. (Not copyright-significant change.) From-SVN: r67902
2003-06-13re PR other/1494 (Residual EGCS references in comments)Nathanael Nerode5-8/+11
PR other/1494 * config/alpha/openbsd.h, config/i386/openbsd.h, config/m68k/openbsd.h, config/sparc/openbsd.h: Remove residual reference to EGCS. From-SVN: r67900
2003-06-13arm.c (output_call_mem): If the address references the link-register use an ↵Richard Earnshaw2-39/+15
instruction sequence that... * arm.c (output_call_mem): If the address references the link-register use an instruction sequence that avoids early-clobbering IP. (eliminate_lr2ip): Delete. From-SVN: r67899
2003-06-13* rtti.c: Remove PARAMS.Nathanael Nerode2-21/+23
From-SVN: r67898
2003-06-13c-format.c (format_types_orig): Disallow '*' width/precision in asm_fprintf ↵Kaveh R. Ghazi4-6/+13
format checks. gcc: * c-format.c (format_types_orig): Disallow '*' width/precision in asm_fprintf format checks. testsuite: * gcc.dg/format/asm_fprintf-1.c: Update width/precision checks. From-SVN: r67897
2003-06-13* typeck2.c: Convert to ISO C.Nathanael Nerode2-46/+24
From-SVN: r67895
2003-06-13s390.c (s390_va_arg): Fix alignment when retrieving non-integral types from ↵Ulrich Weigand2-7/+7
integer register save... * config/s390/s390.c (s390_va_arg): Fix alignment when retrieving non-integral types from integer register save area slots. From-SVN: r67894
2003-06-13ChangeLog.1: Fix spelling of "outputting".Matt Kraai8-8/+8
(gcc) * ChangeLog.1: Fix spelling of "outputting". * ChangeLog.3: Likewise. * diagnostic.h: Likewise. * genautomata.c: Likewise. * config/pa/pa.c: Likewise. (gcc/ada) * gnatls.adb: Fix spelling of "outputting". * gnatmem.adb: Likewise. * prj-pp.adb: Likewise. From-SVN: r67890
2003-06-13* config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.Nathanael Nerode2-5/+9
From-SVN: r67889
2003-06-13invoke.texi (SPARC Options): Document ``-mimpure-text''.Florian Weimer2-0/+20
2003-06-13 Florian Weimer <fw@deneb.enyo.de> * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''. From-SVN: r67888
2003-06-13linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END to ↵Kaz Kojima2-0/+7
file_end_indicate_exec_stack. * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END to file_end_indicate_exec_stack. From-SVN: r67887
2003-06-13back out previous patch, instead doDoug Evans2-18/+17
back out previous patch, instead do * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used. (__do_global_ctors,__do_global_dtors): Ditto. From-SVN: r67886