aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
AgeCommit message (Collapse)AuthorFilesLines
2003-06-15c-opts.c (lang_flags): Update for new spelling of flags.Neil Booth1-6/+2
* c-opts.c (lang_flags): Update for new spelling of flags. (write_langs): Similarly. * c.opt: Specify languages. * opts.h: Remove languages. * opts.sh: Recognise front-end defined languages. ada: * lang.opt: Declare Ada. * misc.c (gnat_init_options): Update. doc: * sourcebuild.texi: Update. f: * lang.opt: Declare F77. java: * lang.opt: Declare Java. * lang.c (java_init_options): Update. treelang: * lang.opt: Declare Treelang. Update. * tree1.c (treelang_init_options): Update. From-SVN: r67976
2003-06-15install.texi: Follow spelling conventions.Kazu Hirata2-3/+3
* 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-14rtl.h (STORE_FLAG_VALUE): Remove default definition from here.Roger Sayle1-2/+3
* 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-14sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.Neil Booth1-0/+8
* doc/sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h. From-SVN: r67945
2003-06-14install.texi (Specific): Add description of different ARM supported file ↵Nick Clifton1-4/+31
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-13invoke.texi (SPARC Options): Document ``-mimpure-text''.Florian Weimer1-0/+16
2003-06-13 Florian Weimer <fw@deneb.enyo.de> * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''. From-SVN: r67888
2003-06-12* doc/install.texi (m32r-*-elf): Change company to Renesas.Janis Johnson1-1/+1
From-SVN: r67848
2003-06-10md.texi (Machine Constraints): Document stormy's Z constraint.DJ Delorie1-0/+3
* doc/md.texi (Machine Constraints): Document stormy's Z constraint. From-SVN: r67729
2003-06-07mklibgcc.in (lib2funcs): Remove _exit.Andreas Jaeger1-24/+0
* mklibgcc.in (lib2funcs): Remove _exit. * libgcc2.c: Remove L_exit. * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT. * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY. * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY. From-SVN: r67599
2003-06-07config.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9.Zack Weinberg1-13/+14
* config.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9. * config/alpha/alpha.c (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition. (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK. * target.h: New hook asm_out.file_end. * target.h: Update to match. New hook macro TARGET_ASM_FILE_END. * toplev.c (compile_file: Use targetm.asm_out.file_end. * system.h: Poison ASM_FILE_END. * varasm.c (file_end_indicate_exec_stack): New. * output.h: Prototype it. * doc/tm.texi: Document TARGET_ASM_FILE_END and file_end_indicate_exec_stack. Delete references to attasm.h. * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end. (ASM_FILE_END): Delete; move code... * config/darwin.c (darwin_file_end): Here; new function. * config/darwin-protos.h: Prototype it. * config/alpha/alpha.c (unicosmk_asm_file_end): Make static, rename unicosmk_file_end. * config/arm/aof.h (ASM_FILE_END): Delete; move code... * config/arm/arm.c (aof_file_end): ... here; new static function. Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER. Make aof_dump_imports and aof_dump_pic_table static. * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static. Set TARGET_ASM_FILE_END to avr_file_end. * config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments. Set TARGET_ASM_FILE_END to c4x_file_end. * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end, make static. Take no arguments. Set TARGET_ASM_FILE_END to h8300_file_end. * config/i370/i370.h (ASM_FILE_END): Delete; move code... * config/i370/i370.c (i370_file_end): ... here; new static function. Set TARGET_ASM_FILE_END to i370_file_end. * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end. Take no arguments. Call file_end_indicate_exec_stack if NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END. * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. Define NEED_INDICATE_EXEC_STACK to 0. * config/i386/linux.h, config/i386/linux64.h: Redefine NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END. * config/i386/winnt.c (i386_pe_asm_file_end): Rename to i386_pe_file_end. Take no arguments. Use ix86_file_end. * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to ia64_hpux_file_end, make static. Take no arguments. * config/ip2k/ip2k.c (asm_file_start, asm_file_end, commands_in_prologues, commands_in_epilogues): Delete. (function_epilogue): Update to match. * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end, make static. Take no arguments. (iris6_asm_file_end): Rename iris6_file_end, make static, use mips_file_end, take no arguments. Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as appropriate. * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end, make static, take no arguments. Set TARGET_ASM_FILE_END to mmix_file_end. * config/pa/pa.c (output_deferred_plabels): Make static, take no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels. * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it. (ASM_FILE_END): Delete; move code... * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here; new static function. * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h: Don't set ASM_FILE_END. * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to file_end_indicate_exec_stack; don't set ASM_FILE_END. * config/alpha/unicosmk.h, config/i386/cygming.h * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. * config/arm/arm-protos.h, config/alpha/alpha-protos.h * config/avr/avr-protos.h, config/c4x/c4x-protos.h * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update. From-SVN: r67591
2003-06-07tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.Andreas Jaeger1-6/+0
* doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation. * config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR. * config/dsp16xx/dsp16xx.h: Likewise. * config/i386/i386.h: Likewise. * config/ip2k/ip2k.h: Likewise. From-SVN: r67585
2003-06-06install.texi (Prerequisites): New section documenting tools and packages ↵Kaveh R. Ghazi2-2/+179
necessary prior to building and/or... * doc/install.texi (Prerequisites): New section documenting tools and packages necessary prior to building and/or modifying GCC. * doc/install.texi2html: Also generate prerequisites.html. From-SVN: r67562
2003-06-06* sourcebuild.texi (Front End Directory): Document new hooks.Jan Hubicka1-0/+2
From-SVN: r67539
2003-06-05re PR rtl-optimization/4490 (ICE with -m128bit-long-double)Kelley Cook1-10/+21
PR optimization/4490 * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE. * doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword documentation to accurately reflect what these options do. From-SVN: r67528
2003-06-05install.tex: Document profiledbootstrap.Jan Hubicka1-0/+18
* install.tex: Document profiledbootstrap. * Makefile.tpl (profiledbootstrap): New target. * Makefile.in (profiledbootstrap): New target. * Makefile.in (clean, distclean): Kill new stages (POSTSTAGE1_FLAGS_TO_PASS): Break from ... (STAGE2_FLAGS_TO_PASS): ... this one. (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New. (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS. (stageprofile_build, stageprofile_copy, stagefeedback_build, stagefeedback_copy): New. (restageprofile, restagefeedback, stageprofile-start, stageprofile, stagefeedback-start): Likewise. * Make-lang.in: Add support for stageprofile and stagefeedback From-SVN: r67498
2003-06-05md.texi (Machine Constraints): Correct the meaning of constraints related to ↵Eric Botcazou1-8/+9
floating-point registers on SPARC. * doc/md.texi (Machine Constraints): Correct the meaning of constraints related to floating-point registers on SPARC. From-SVN: r67481
2003-06-05cygwin caveatChristopher Faylor1-1/+4
From-SVN: r67476
2003-06-04i386.c (struct ix86_address): Add seg.Richard Henderson1-1/+12
* config/i386/i386.c (struct ix86_address): Add seg. (no_seg_address_operand): New. (ix86_decompose_address): Restructure PLUS loop. Accept one UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS. Adjust ESP swap test to test for a regnum, not stack_pointer_rtx. (ix86_address_cost): Reduce cost if non-default segment. (legitimate_address_p): Remove UNSPEC_TP check. (get_thread_pointer): Add to_reg argument. Don't represent the thread pointer as a memory load. (legitimize_tls_address): Split out of ... (legitimize_address): ... here. (print_operand_address): Handle parts.seg. (ix86_expand_move): Use legitimize_tls_address. (ix86_rtx_costs): Handle UNSPEC_TP. * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New. (TARGET_TLS_DIRECT_SEG_REFS): New. (TARGET_SWITCHES): Add tls-direct-seg-refs. (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default. (PREDICATE_CODES): Add no_seg_address_operand. * config/i386/i386.md (lea_1): Use it. (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise. (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New. * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New. * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New. * doc/invoke.texi: Add -mtls-direct-seg-refs. From-SVN: r67475
2003-06-04* doc/invoke.texi (max-cse-path-length): Document.Zdenek Dvorak1-0/+4
From-SVN: r67462
2003-06-04config.gcc: Reorganize --with-cpu logic.Daniel Jacobowitz2-6/+34
* config.gcc: Reorganize --with-cpu logic. Set configure_default_options according to the default CPU, --with-cpu, --with-arch, --with-tune, --with-schedule, --with-abi, and --with-float. Check for legal values of various options. * configure.in: Define configure_default_options in configargs.h. * configure: Regenerated. * config/mips/mips.h (TARGET_DEFAULT_ARCH_P) (TARGET_DEFAULT_FLOAT_P): New macros. * gcc.c (do_option_spec): New function. (struct default_spec, option_default_specs): New. (main): Call do_option_spec. * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h, config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h, config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define. * doc/install.texi: Update --with-cpu documentation. Mention --with-arch, --with-schedule, --with-tune, --with-abi, and --with-float. * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS. From-SVN: r67457
2003-06-04install.texi (*-ibm-aix*): Native as and ld required to bootstrap on AIX 5L.David Edelsohn1-5/+6
* doc/install.texi (*-ibm-aix*): Native as and ld required to bootstrap on AIX 5L. From-SVN: r67450
2003-06-04c-common.c (handle_cleanup_attribute): New.Richard Henderson1-0/+16
* c-common.c (handle_cleanup_attribute): New. (c_common_attributes): Add it. * c-decl.c (finish_decl): Honor the cleanup attribute. * doc/extend.texi (Variable Attributes): Document it. * unwind-c.c: New file. * Makefile.in (LIB2ADDEH): Add it. * config/t-darwin, config/t-linux, config/t-linux-gnulibc1, config/ia64/t-ia64: Likewise. * gcc.dg/cleanup-1.c: New. * gcc.dg/cleanup-2.c: New. * gcc.dg/cleanup-3.c: New. * gcc.dg/cleanup-4.c: New. * gcc.dg/cleanup-5.c: New. * gcc.dg/cleanup-6.c: New. * gcc.dg/cleanup-7.c: New. From-SVN: r67449
2003-06-04re PR rtl-optimization/10876 (Segfault when compiling KDE 3.1.2)Eric Botcazou1-0/+3
PR optimization/10876 * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add new 'O' constraint for constant 4096. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern. Do not transform into MINUS insn for constant 4096. (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative for constant 4096 as third operand. (addsi3 expander): Remove. (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add new alternative for constant 4096 as third operand. (subdi3 expander): Do not transform into PLUS insn for constant 4096. (*subdi3_sp64 insn): Add new alternative for constant 4096 as third operand. (subsi3 expander): Remove. (*subsi3 insn): Rename into 'subsi3'. Add new alternative for constant 4096 as third operand. * doc/md.texi (Machine Constraints): Document new 'O' constraint for the SPARC port. From-SVN: r67426
2003-06-04uwin.h: Remove SUBTARGET_PROLOGUE.Andreas Jaeger1-61/+4
* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE. * config/i386/i386.c (ix86_expand_prologue): Do not use SUBTARGET_PROLOGUE. * system.h: Poision SUBTARGET_PROLOGUE. * config/arm/arm-protos.h: Remove unused rdate_section prototype. * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP dependend code. * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP. * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed. (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM. (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL. (dbxout_block): Remove usage of DBX_OUTPUT_CATCH. (dbxout_block): Remove usage of DBX_LBRAC_FIRST. (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME. (dbxout_init): Remove test for DBX_WORKING_DIRECTORY. * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST, DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and DBX_WORKING_DIRECTORY. * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM, DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY. * config/frv/frv-protos.h: Remove unused const_section declaration. * config/vax/vax-protos.h: Likewise. * output.h: Remove CONST_SECTION_ASM_OP usage. * system.h: Poison CONST_SECTION_ASM_OP. * crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT (frame_dummy): Likewise. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. * system.h: Poison CRT_GET_RFIB_TEXT. From-SVN: r67423
2003-06-03*** empty log message ***Douglas B Rupp2-227/+0
From-SVN: r67399
2003-06-03builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's ↵Roger Sayle1-2/+8
cabs, cabsf and cabsl. * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL): New builtins representing ISO C99's cabs, cabsf and cabsl. * builtins.c (expand_builtin_fabs): New function. (expand_builtin_cabs): New function. (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L} using expand_builtin_fabs and expand_builtin_cabs respectively. * doc/extend.texi: Document new cabs, cabsf and cabsl builtins. * gcc.dg/builtins-16.c: New test case. From-SVN: r67368
2003-06-03function.c (assign_parms): Split complex arguments.Aldy Hernandez1-0/+11
2003-06-03 Aldy Hernandez <aldyh@redhat.com> * function.c (assign_parms): Split complex arguments. * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document. * expr.h (SPLIT_COMPLEX_ARGS): Define. (split_complex_types): Protoize. (split_complex_values): Protoize. * calls.c (expand_call): Split complex arguments on architectures that require it. (split_complex_values): New. (split_complex_types): New. * config/rs6000/rs6000.c (rs6000_libcall_value): New. (rs6000_function_value): Handle complex values on AIX. (rs6000_complex_function_value): New. * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize. * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function. (SPLIT_COMPLEX_ARGS): New. From-SVN: r67367
2003-06-03configure.in (HAVE_LD_PIE): Check for ld -pie.Jakub Jelinek1-2/+18
* configure.in (HAVE_LD_PIE): Check for ld -pie. * config.in: Rebuilt. * configure: Rebuilt. * toplev.c (flag_pie, flag_shlib): New variables. (f_options): Add -fpie and -fPIE. (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE. Set flag_shlib if flag_pic and not -fpie/-fPIE. * flags.h (flag_pic, flag_shlib): Add. * varasm.c (default_binds_local_p): Use flag_shlib instead of flag_pic. * gcc.c (LINK_PIE_SPEC): Define. (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC. (option_map): Add --pie -> -pie mapping. * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic and -fPIE the same way as -fPIC. * config/openbsd.h (ASM_SPEC): Likewise. * config/frv/frv.h (ASM_SPEC): Likewise. * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise. * config/arm/semi.h (ASM_SPEC): Likewise. * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise. * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise. * config/i386/beos-elf.h (CC1_SPEC): Likewise. * config/i386/freebsd-aout.h (ASM_SPEC): Likewise. * config/m68k/linux.h (CPP_SPEC): Likewise. * config/m68k/netbsd.h (ASM_SPEC): Likewise. * config/m68k/openbsd.h (ASM_SPEC): Likewise. * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise. * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise. * config/pa/pa-linux.h (CPP_SPEC): Likewise. * config/netbsd-aout.h (ASM_SPEC): Likewise. * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise. * config/rs6000/vxworks.h (CPP_SPEC): Likewise. * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/sparc.h (ASM_SPEC): Likewise. * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. * config/sparc/sysv4.h (ASM_SPEC): Likewise. * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise. * config/sparc/openbsd64.h (ASM_SPEC): Likewise. * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise. * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie. Simplify. * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * doc/invoke.texi: Document -pie, -fpie and -fPIE options. From-SVN: r67359
2003-06-03* doc/md.texi (Processor pipeline description): Improve wording.Ben Elliston1-16/+16
From-SVN: r67355
2003-06-01tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.Andreas Jaeger1-15/+0
* doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. * stor-layout.c (finalize_record_size): Remove usages of ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. (finalize_type_size): Likewise. (layout_type): Likewise. * system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. ada: * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. From-SVN: r67313
2003-05-31Remove some references to GNATS. Reference to gnats.html still to be purged.Wolfgang Bangerth1-2/+2
From-SVN: r67280
2003-05-31Makefile.in (c-opts.o, [...]): Update dependencies.Neil Booth1-0/+1
* Makefile.in (c-opts.o, c-options.h): Update dependencies. * c-opts.c: Include c-options.h and c-options.c. (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY): Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX. (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option, OPT, opt_comp): Remove. (missing_arg, c_common_init_options, c_common_decode_option, write_langs): Update for macro redefinitions and enumeration name changes. * c.opt, opts.sh: New files. * doc/passes.texi: Update. From-SVN: r67278
2003-05-31function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.Andreas Jaeger1-13/+1
* function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage. * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE. * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE. * system.h: Poison ALLOCATE_TRAMPOLINE. * doc/tm.texi (Misc): Remove HANDLE_PRAGMA. * system.h: Poison HANDLE_PRAGMA. In f/ * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code. (pragma_getc): Removed. (pragma_ungetc): Removed. From-SVN: r67274
2003-05-31* doc/invoke.texi: Update dump file names.Kazu Hirata1-20/+20
From-SVN: r67272
2003-05-31flags.h (flag_wrapv): New flag controlling overflow semantics.Roger Sayle2-1/+15
* flags.h (flag_wrapv): New flag controlling overflow semantics. * toplev.c (flag_wrapv): Declare the variable with default false. (lang_independent_options): New option "-fwrapv" to set the above. * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2 as x, when signed arithmetic overflow wraps around. (fold): Optimize "-A - B" as "-B - A" if overflow wraps around. * loop.c (basic_induction_var): Ignore BIVs that rely on undefined overflow when flag_wrapv is true. * java/lang.c (java_init_options): Prescribe wrap-around two's complement arithmetic overflow by setting flag_wrapv. * doc/invoke.texi: Document new -fwrapv command line option. * doc/c-tree.texi: Mention that the overflow semantics of NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent upon both flag_wrapv and flag_trapv. * gcc.dg/fwrapv-1.c: New test case. * gcc.dg/fwrapv-2.c: New test case. * libjava.lang/Overflow.java: New test. * libjava.lang/Overflow.out: New file. From-SVN: r67270
2003-05-31install.texi (mips-sgi-irix5): Add missing HTML <hr> marker.Eric Botcazou1-0/+3
* doc/install.texi (mips-sgi-irix5): Add missing HTML <hr> marker. From-SVN: r67265
2003-05-31md.texi (Machine Constraints): Document missing SPARC constraints.Eric Botcazou1-0/+16
* doc/md.texi (Machine Constraints): Document missing SPARC constraints. From-SVN: r67263
2003-05-31md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the ↵Eric Botcazou1-5/+5
attribute in the examples. * doc/md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the attribute in the examples. From-SVN: r67261
2003-05-30invoke.texi: Fix typos.Kazu Hirata2-3/+3
* doc/invoke.texi: Fix typos. * doc/rtl.texi: Likewise. From-SVN: r67251
2003-05-30install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later.Florian Weimer1-1/+1
2003-05-30 Florian Weimer <fw@deneb.enyo.de> * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later. From-SVN: r67244
2003-05-29Remove OBJC_PROLOGUE everywhere.Stan Shebs1-6/+0
* objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE. * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE. * config/d30v/d30v.h: Similarly. * config/ip2k/ip2k.h: Similarly. * doc/tm.texi: Remove doc of OBJC_PROLOGUE. From-SVN: r67229
2003-05-25* doc/contrib.texi (Contributors): Update Kean Johnston.Gerald Pfeifer1-1/+1
From-SVN: r67167
2003-05-23builtins.def: Defome atan...Roger Sayle1-4/+12
* builtins.def: Defome atan, atanf, atanl, tan, tanf and tanl builtin functions (and their __builtin_* variants). * builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}. (expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not optimizing. * doc/extend.texi: Document new tan and atan builtins, and their float and long double variants. * gcc.dg/builtins-1.c: Add tests for tan and atan. * gcc.dg/builtins-4.c: Add test for fmod. From-SVN: r67137
2003-05-23explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.Larin Hennessy1-12/+0
2003-05-23 Larin Hennessy <larin@science.oregonstate.edu> Zack Weinberg <zack@codesourcery.com> * explow.c (allocate_dynamic_stack_space): Remove call to gen_probe. * config/m68k/m68k.c (m68k_output_function_prologue): Remove code under #if NEED_PROBE. * config/m68k/m68k.h: Don't define NEED_PROBE. * config/m68k/m68k.md: Remove "probe" insn. * doc/md.texi: Remove documentation of "probe" pattern. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r67125
2003-05-23install.texi: Remove sparc64-*-*.Eric Botcazou1-14/+10
* doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*. Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*. From-SVN: r67113
2003-05-22Fix a loose end of a sentence in the way rth suggested.Wolfgang Bangerth1-1/+1
From-SVN: r67108
2003-05-22re PR bootstrap/10805 ([sun-solaris2.7] relocation error when creating ↵Eric Botcazou1-0/+10
sparcv9/libgcc_s.so.1) PR bootstrap/10805 * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun assembler 5.0 Alpha 03/27/98. From-SVN: r67085
2003-05-21xtensa.h (MASK_SERIALIZE_VOLATILE, [...]): Delete.Bob Wilson1-10/+0
* config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE, TARGET_SERIALIZE_VOLATILE): Delete. (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits. (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE. (TARGET_SWITCHES): Remove "-mserialize-volatile" and "-mno-serialize-volatile". * config/xtensa/xtensa.c (print_operand): Remove checks of TARGET_SERIALIZE_VOLATILE. * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. * doc/invoke.texi (Option Summary, Xtensa Options): Remove "-mserialize-volatile" and "-mno-serialize-volatile" options. From-SVN: r67067
2003-05-20invoke.texi (Option Summary, [...]): Document new options.Kevin B. Hendricks1-0/+11
* doc/invoke.texi (Option Summary, PowerPC Options): Document new options. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r67056
2003-05-20lib1funcs.asm: Avoid use of .Lfe* in .size directives.Bob Wilson1-5/+22
* config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives. (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros. (__mulsi3): Use do_addx* instead of ADDX* instructions. Formatting. (nsau): Rename to do_nsau. Provide alternate version for use when the NSAU instruction is available. (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro. (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction. * config/xtensa/xtensa-config.h: Update comments to match binutils. (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define. * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define. (TARGET_ABS, TARGET_ADDX): Define. (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX. (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx". * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4, *subx8): Set predicate condition to TARGET_ADDX. (abssi2): Set predicate condition to TARGET_ABS. * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs", "-maddx", and "-mno-addx" options. (Xtensa Options): Likewise. Also tag some opcode names with @code. From-SVN: r67044