summaryrefslogtreecommitdiff
path: root/gcc/doc
Commit message (Collapse)AuthorAgeFilesLines
* * invoke.texi (large-unit-insns): Document.hubicka2005-11-151-0/+11
| | | | | | | | | * ipa-inline.c (cgraph_decide_inlining): Use large-unit-insns param. * params.def (large-unit-insns): New param. * gcc.dg/winline-5.c: Add large-unit-insns limit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106948 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf,dje2005-11-151-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | -mpopcntb, -mfprnd. Add -mcpu=power5+. * configure.ac: Add test for FP rounding instructions. * configure: Regenerate. * config.in: Regenerate. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define _ARCH_PPCSQ, _ARCH_PPCGR, _ARCH_PWR4, _ARCH_PWR5, _ARCH_PWR5X if features enabled. * config/rs6000/rs6000.opt (mfprnd): New. * config/rs6000/rs6000.c (processor_target_table): Add power5+. (POWERPC_MASKS): Add MASK_POPCNTB and MASK_FPRND. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add -mpower5+. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mpower5+. (TARGET_FPRND): New. * config/rs6000/rs6000.md (UNSPEC_FRIM, UNSPEC_FRIN, UNSPEC_FRIP, UNSPEC_FRIZ): New. (btrunc<mode>2): New. (ceil<mode>2): New. (floor<mode>2): New. (round<mode>2): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106938 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (override_options): -masm=intel isn'tmrs2005-11-151-2/+3
| | | | | | | | supported on darwin. * doc/invoke.texi (i386 and x86-64 Options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106927 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 24644dje2005-11-112-1/+18
| | | | | | | | | | | | * common.opt (Wvolatile-register-var): New. * varasm.c (make_decl_rtl): Only emit warning when option specified. Clarify warning message. * doc/invoke.texi (Wvolatile-register-var): Document new option. * doc/md.texi (copysign): Document standard named pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106791 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/4372aoliva2005-11-091-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | * tree.h (IDENTIFIER_TRANSPARENT_ALIAS): New. (TREE_DEPRECATED): Adjust comment. Check for a DECL. * c-common.c (handle_weakref_attribute): New. (c_common_attribute_table): Add weakref. * configure.ac (HAVE_GAS_WEAKREF): Check for weakref support in the assembler. * configure, config.in: Rebuilt. * defaults.h (ASM_OUTPUT_WEAKREF): Define if HAVE_GAS_WEAKREF. * doc/extend.texi: Document weakref attribute. * varasm.c (ultimate_transparent_alias_target): New (assemble_name): Use it. (weak_finish_1): Split out of... (weak_finish): ... and deal with weakrefs in... (weakref_targets): ... new list. (globalize_decl): Clean up weakref_targets. (do_assemble_alias): Handle weakrefs. (finish_aliases_1): Do not reject weakrefs to external symbols. (assemble_alias): Handle weakrefs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106703 138bc75d-0d04-0410-961f-82ee72b054a4
* * expmed.c (extract_bit_field): Do not use insv/extv/extzv patternsebotcazou2005-11-071-2/+2
| | | | | | | | | | | | if the bitsize is zero. * doc/md.texi (Standard Pattern Names): Document it. * config/ia64/ia64.c (ia64_pass_by_reference): Delete. (TARGET_PASS_BY_REFERENCE): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106605 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c, config/i386/netware.h, config/m32c/cond.md,kazu2005-11-051-2/+2
| | | | | | | | | | | config/ms1/ms1.h, config/rs6000/predicates.md, config/s390/s390.c, params.def, postreload-gcse.c, tree-flow-inline.h, tree-ssa-operands.c, tree-vectorizer.c, tree-vrp.c, tree.c: Fix comment typos. * doc/invoke.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106532 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/23490hubicka2005-11-051-0/+14
| | | | | | | | | | | | | | | | | * doc/invoke.texi (max-predicted-iterations, max-cse-insns, max-flow-memory-location): Document. * flow.c: Include params.h (MAX_MEM_SET_LIST_LEN): Kill. (add_to_mem_set_list): Use new param. * cse.c (cse_basic_block): Replace 1000 by new param. * params.def (PARAM_MAX_PREDICTED_ITERATIONS, PARAM_MAX_CSE_INSNS, PARAM_MAX_FLOW_MEMORY_LOCATIONS): New. * predict.c (predict_loops): Use new param. * predict.def (MAX_PRED_LOOP_ITERATIONS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106520 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Document max-jump-thread-duplication-stmts PARAM.law2005-11-041-0/+3
| | | | | | | | | | | | | | * tree-ssa-dom.c: Include params.h. (thread_across_edge): If there are too many statements in the target block, then do not thread through it. * Makefile.in (tree-ssa-dom.o): Depend on $(PARAMS_H). * params.def (PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS): New PARAM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106503 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Add test for ARM TLS support.drow2005-11-041-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerated. * config/arm/arm-protos.h (legitimize_tls_address) (arm_tls_referenced_p, tls_mentioned_p) (arm_output_addr_const_extra): New prototypes. (thumb_legitimize_pic_address): Delete. * config/arm/arm.c: Include "gt-arm.h". (enum tls_reloc): New. (arm_cannot_copy_insn_p, arm_tls_symbol_p, load_tls_operand) (pcrel_constant_p, get_tls_get_addr, arm_load_tp) (arm_call_tls_get_addr, legitimize_tls_address) (arm_tls_referenced_p, arm_tls_operand_p_1, tls_mentioned_p) (arm_init_tls_builtins, arm_emit_tls_decoration) (arm_output_addr_const_extra): New functions. (TARGET_CANNOT_COPY_INSN_P, TARGET_CANNOT_FORCE_CONST_MEM) (TARGET_HAVE_TLS): Define. (target_thread_pointer): New. (arm_override_options): Handle -mtp=. (legitimize_pic_address): Ignore UNSPECs. (arm_legitimate_address_p, thumb_legitimate_address_p): Handle PC relative symbols. (arm_legitimize_address, thumb_legitimize_address): Handle TLS. (tls_get_addr_libfunc): New variable. (symbol_mentioned_p, label_mentioned_p): Ignore UNSPEC_TLS. (arm_init_builtins): Call arm_init_tls_builtins. (arm_expand_builtin): Handle ARM_BUILTIN_THREAD_POINTER. (arm_encode_section_info): Call default_encode_section_info. * config/arm/arm.h (TARGET_HARD_TP, TARGET_SOFT_TP): Define. (enum arm_tp_type): New. (target_thread_pointer): Add declaration. (LEGITIMATE_CONSTANT_P): Handle TLS. (LEGITIMATE_PIC_OPERAND_P): Handle TLS. (OUTPUT_ADDR_CONST_EXTRA): Call arm_output_addr_const_extra. (enum arm_builtins): Add ARM_BUILTIN_THREAD_POINTER. * config/arm/arm.md: Add UNSPEC_TLS. (movsi): Handle TLS. (pic_add_dot_plus_four, pic_add_dot_plus_eight): Allow for non-PIC. (tls_load_dot_plus_eight): New insn and a peephole to create it. (load_tp_hard, load_tp_soft): New insns. * arm.opt: Add -mtp=. * doc/invoke.texi (ARM Options): Document -mtp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106489 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/9350rth2005-11-031-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/24374 * dwarf2out.c (dwarf2out_reg_save_reg): New. (dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec. * function.c (assign_parms): Use calls.internal_arg_pointer. (expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN code. * target-def.h (TARGET_INTERNAL_ARG_POINTER): New. (TARGET_CALLS): Add it. * target.h (struct gcc_target): Add calls.internal_arg_pointer. * targhooks.c (default_internal_arg_pointer): New. * targhooks.h (default_internal_arg_pointer): Declare. * tree.h (dwarf2out_reg_save_reg): Declare. * doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove. * config/i386/i386.c (dbx_register_map): Add return column. (dbx64_register_map, svr4_dbx_register_map): Likewise. (TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New. (TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec): New. (ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer. (ix86_save_reg): Save force_align_arg_pointer. (ix86_emit_save_regs): Make regno unsigned. (ix86_emit_save_regs_using_mov): Likewise. (ix86_expand_prologue): Handle force_align_arg_pointer. (ix86_expand_epilogue): Likewise. * config/i386/i386.h: (dbx_register_map): Update. (dbx64_register_map, svr4_dbx_register_map): Update. (struct machine_function): Add force_align_arg_pointer. * config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New. (UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber. (TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106420 138bc75d-0d04-0410-961f-82ee72b054a4
* * contrib.texi: Add the names of the LLNL folks who donatedsteven2005-10-241-0/+4
| | | | | | | Cray pointer support for gfortran. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105867 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-19 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2005-10-191-2/+3
| | | | | | | | | * config/s390/s390.c (override_options): Added check for -mstack-size 64k limitation. * doc/invoke.texi: Mention that limit in the documenation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105609 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/23424hp2005-10-171-1/+4
| | | | | | | | * md.texi (Modifiers) <%>: Clarify that % doesn't work after register allocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105517 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing docs for f95-cpp-input.wilson2005-10-141-1/+1
| | | | | | | * doc/invoke.texi: For -x, add f95-cpp-input. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105388 138bc75d-0d04-0410-961f-82ee72b054a4
* The language name changed from f95 to fortran last month.wilson2005-10-141-1/+1
| | | | | | | * doc/install.texi: For --enable-languages doc, change f95 to fortran. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105387 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/24255rth2005-10-121-8/+0
| | | | | | | | | | | | | | | | * tree.h (DECL_TRANSPARENT_UNION): Remove. * function.c (assign_parm_find_data_types): Don't support it. * print-tree.c (print_node): Likewise. * c-common.c (handle_transparent_union_attribute): Likewise. Use build_duplicate_type. * tree-inline.c (remap_type_1): Split out of remap_type; properly remap aggregate fields. (build_duplicate_type): New. * doc/extend.texi (Variable Attributes): Remove documentation for transparent_union. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105338 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/21275dannysmith2005-10-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR middle-end/21766 * target.h (struct gcc_target): Add valid_dllimport_attribute_p target hook. (struct cxx): Add adjust_class_at_definition target hook. * target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define, defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to hook_void_tree. Add to TARGET_CXX. * tree.h (struct decl_with_vis): Rename non_addr_const_p field to dllimport_flag. (DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro. * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P instead of attribute. Check for dllexport override. Warn if inconsistent dll linkage. Don't lose old dllimport if decl has had address referenced. Tweak lookup of dllimport atribute. (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p for target specific rules. Don't add dllimport attribute if DECL_DECLARED_INLINE_P. Set DECL_DLLIMPORT_P when adding dllimport attribute. (staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P. * varasm.c (initializer_constant_valid_p): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P PR target/21801 PR target/23589 * config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to 'cxx_target_objs', winnt-stubs,o to 'extra_objs'. (i[34567]86-*-mingw32*): Likewise. * doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document. (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document. * config/i386/winnt.c (i386_pe_dllimport_p): Factor out C++-specific code. Change return value to bool. (i386_pe_dllimport_p): Likewise. (associated_type): Simplify and make language-independent (i386_pe_encode_section_info): Replace override of ambiguous dllimport symbol refs with a gcc_assert. (i386_pe_valid_dllimport_attribute_p): Define. * config/i386/winnt-cxx.c: New file. Define C++ versions of i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, i386_pe_adjust_class_at_definition. * config/i386/winnt-stubs.c: New file. Define stub versions of lang-specific functions. * config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, i386_pe_adjust_class_at_definition. (i386_pe_valid_dllimport_attribute_p): Declare. * config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define. (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define. * config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o. PR target/19704 * config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for dllimport attribute with test of DECL_DLLIMPORT_P. cp PR target/21801 PR target/23589 * class.c (finish_struct_1): Call targetm.cxx.adjust_class_at_definition. testsuite * gcc.dg/dll-2.c: Add tests for warnings. * gcc.dg/dll-3.c: Likewise. * gcc.dg/dll-4.c: Likewise. * g++.dg/ext/dllimport1.C: Adjust tests for warnings. * g++.dg/ext/dllimport2.C: Likewise. * g++.dg/ext/dllimport3.C: Likewise. * g++.dg/ext/dllimport7.C: Likewise. * g++.dg/ext/dllimport8.C: Likewise. * g++.dg/ext/dllimport9.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105332 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/12098sje2005-10-101-4/+3
| | | | | | | | | | * configure.ac: Move gas check from mips specific case to common case. Do check for GNU as for mips*-*-* and *-*-hpux* targets. * configure: Regenerate * doc/install.texi: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105200 138bc75d-0d04-0410-961f-82ee72b054a4
* /kazu2005-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi, target-qthreads, target-libjava, and targetlibobjc. * configure: Regenerate. gcc/ Merge from csl-arm-branch: 2005-09-07 Paul Brook <paul@codesourcery.com> * config/arm/linux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Prepend a space to string. 2005-04-30 Paul Brook <paul@codesourcery.com> * config/arm/bpabi.h (TARGET_DEFAULT): Define. * config/arm/linux-eabi.h (SUBTARGET_CPU_DEFAULT): Define. 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com> * config/arm/arm.c (arm_all_abis): Add aapcs-linux. (arm_override_options): Use TARGET_AAPCS_BASED. * config/arm/arm.h (enum arm_abi_type): Add ARM_ABI_AAPCS_LINUX. (PTRDIFF_TYPE): Use int for AAPCS. (DEFAULT_SHORT_ENUMS): Use false for aapcs-linux. * config/arm/linux-eabi.h (ARM_DEFAULT_ABI, WCHAR_TYPE): Define. (DEFAULT_SHORT_ENUMS): Delete. * doc/invoke.texi (ARM Options): Document -mabi=aapcs-linux. 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com> * config/arm/arm.h (DEFAULT_SHORT_ENUMS): Wrap in #ifndef. * config/arm/linux-eabi.h (DEFAULT_SHORT_ENUMS): Define to 0. * config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS): Set to -fPIC. 2004-12-03 Mark Mitchell <mark@codesourcery.com> * config/arm/linux-eabi.h (LIBGCC_SPEC): Do not define. 2004-11-22 Mark Mitchell <mark@codesourcery.com> * config.gcc (arm*-*-linux-gnueabi): Use __cxa_atexit. 2004-11-19 Mark Mitchell <mark@codesourcery.com> * config.gcc (arm*-*-linux-gnueabi): Add it. * config/arm/bpabi.h (FPUTYPE_DEFAULT): Undefine it before redefining it. (TARGET_OS_CPP_BUILTINS): Likeiwse. * config/arm/linux-eabi.h: New file. * config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): New macro. (LINUX_TARET_LINK_SPEC): Likewise. (LINK_SPEC): Use it. * config/arm/t-linux-eabi: New file. libcpp/ * configure.ac: Require 64-bit int for arm*-*-*eabi*. * configure: Regenerate. libstdc++/ Merge from csl-arm-branch: 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com> * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105121 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in docs.wilson2005-10-071-2/+2
| | | | | | | | | PR target/23644 * doc/invoke.texi (IA-64 Options, item -mtune): Renamed from -mtune-arch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-05 Eric Christopher <echristo@apple.com>echristo2005-10-061-13/+13
| | | | | | | * doc/md.texi (Standard Names): Fix name of pushm1 pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105023 138bc75d-0d04-0410-961f-82ee72b054a4
* * params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.dje2005-10-051-0/+5
| | | | | | | | * bb-reorder.c (copy_bb_p): Use it. * doc/invoke.texi (param table): Add max-grow-copy-bb-insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105011 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-05 Billy Biggs <billy.biggs@gmail.com>bonzini2005-10-052-7/+20
| | | | | | | | | | | | | Paolo Bonzini <bonzini@gnu.org> PR target/23809 * doc/extend.texi (x86 Built-ins): Document that -msse and friends enable the instructions and not just the built-ins. * doc/invoke.texi (x86 Options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104979 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (Option Summary): Correct spellinggeoffk2005-10-051-1/+1
| | | | | | | of -mmacosx-version-min. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104969 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-05 Steven Bosscher <stevenb@suse.de>steven2005-10-041-0/+4
| | | | | | | | | | | | | | | | | | gcc/ PR tree-optimization/23049 * tree-ssa-dom.c (thread_across_edge): Make sure that the condition of a COND_EXPR is folded before calling fold on the whole rhs of a conditional assignment. * doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to document that a COND_EXPR may appear there. testsuite/ * gcc.dg/pr23049.c: New test. * gcc.dg/ucnid-4.c: Fix test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104938 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-02 Matthias Klose <doko@debian.org>doko2005-10-021-2/+2
| | | | | | | * doc/invoke.texi: Fix typo and speling error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104868 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vect-transform.c, config/ms1/ms1.md,kazu2005-09-302-5/+5
| | | | | | | | | config/s390/s390.c, config/v850/v850.md: Fix comment typos. Follow spelling conventions. * doc/invoke.texi, doc/md.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104817 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Clarify documentation of -fno-enforce-eh-specs.jason2005-09-271-4/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104681 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi: Updated URL for Jacks.rmathew2005-09-232-2/+2
| | | | | | | * doc/sourcebuild.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104554 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mn10300/mn10300.c (TARGET_DEFAULT_TARGET_FLAGS): Adddj2005-09-221-0/+9
| | | | | | | | | | | | | | MASK_PTR_A0D0. (mn10300_return_in_memory): Support variable size types also. (mn10300_pass_by_reference): Likewise. (mn10300_function_value): New. * config/mn10300/mn10300.h (FUNCTION_VALUE): Call the above. (FUNCTION_OUTGOING_VALUE): Likewise. * config/mn10300/mn10300.opt: Add -mreturn-pointer-on-d0. * doc/invoke.texi: Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104508 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282005-09-202-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c.opt (fextended-identifiers): New. * c-opts.c (c_common_handle_option): Handle -fextended-identifiers. * doc/cpp.texi: Update documentation of extended identifiers. * doc/cppopts.texi (-fextended-identifiers): Document. gcc/testsuite: * g++.dg/cpp/ucnid-1.C, g++.dg/cpp/normalize-1.C, g++.dg/other/ucnid-1.C, gcc.dg/cpp/normalize-1.c, gcc.dg/cpp/normalize-2.c, gcc.dg/cpp/normalize-3.c, gcc.dg/cpp/normalize-4.c, gcc.dg/cpp/ucnid-1.c, gcc.dg/cpp/ucnid-2.c, gcc.dg/cpp/ucnid-3.c, gcc.dg/cpp/ucnid-4.c, gcc.dg/cpp/ucnid-5.c, gcc.dg/cpp/ucnid-7.c,gcc.dg/ucnid-1.c, gcc.dg/ucnid-2.c, gcc.dg/ucnid-3.c, gcc.dg/ucnid-4.c, gcc.dg/ucnid-5.c, gcc.dg/ucnid-6.c: Add -fextended-identifiers. * gcc.dg/cpp/ucnid-8.c: New test. libcpp: * include/cpplib.h (struct cpp_options): Add extended_identifiers. * init.c (struct lang_flags, lang_defaults): Add extended_identifiers. (cpp_set_lang): Use it. * lex.c (forms_identifier_p): Check extended_identifiers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104462 138bc75d-0d04-0410-961f-82ee72b054a4
* ./ian2005-09-121-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR g++/7874 * c.opt (ffriend-injection): New C++ option. * doc/invoke.texi (Option Summary): Mention -ffriend-injection. (C++ Dialect Options): Document -ffriend-injection. cp/ PR g++/7874 * cp-tree.h (struct lang_decl_flags): Add hidden_friend_p bitfield. Make dummy bitfield one bit smaller. (DECL_HIDDEN_FRIEND_P): Define. (pushdecl_maybe_friend): Declare. (pushdecl_top_level_maybe_friend): Declare. * decl.c (duplicate_decls): Add newdecl_is_friend parameter. Change prototype and all callers. Add assertion that a DECL_ARTIFICIAL FUNCTION_DECL is not DECL_HIDDEN_FRIEND_P. Set DECL_ANTICIPATED and DECL_HIDDEN_FRIEND_P in duplicated decl if appropriate. * name-lookup.c (supplement_binding): Don't ignore a DECL_HIDDEN_FRIEND_P. (pushdecl_maybe_friend): Break out contents of pushdecl. Add is_friend parameter. Set DECL_ANTICIPATED and DECL_HIDDEN_FRIEND_P for a friend function. (pushdecl): Just call pushdecl_maybe_friend. (pushdecl_with_scope): Add is_friend parameter. Change prototype and all callers. (pushdecl_namespace_level): Likewise. (push_overloaded_decl): Likewise. Check DECL_HIDDEN_FRIEND_P as well as DECL_ANTICIPATED when checking for a builtin. (do_nonmember_using_decl): Check DECL_HIDDEN_FRIEND_P as well as DECL_ANTICIPATED when checking for a builtin. (do_nonmember_using_decl): Likewise. (pushdecl_top_level_1): Add is_friend parameter. Change all callers. (pushdecl_top_level_maybe_friend): New function. (remove_hidden_names): New function. (struct arg_lookup): Add args field. (friend_of_associated_class_p): New static function. (arg_assoc_namespace): Ignore hidden functions which are not friends of an associated class of some argument. (lookup_arg_dependent): Remove hidden functions from list passed in. Initialize k.args. * name-lookup.h (remove_hidden_names): Declare. * friend.c (do_friend): Call pushdecl_maybe_friend instead of pushdecl. * call.c (add_function_candidate): Change DECL_ANTICIPATED test to an assertion, with a check for DECL_HIDDEN_FRIEND_P. (build_new_function_call): Add koenig_p parameter. Change prototype and callers. * pt.c (register_specialization): Add is_friend parameter. Change all callers. (push_template_decl_real): Change is_friend parameter to bool. Change prototype and all callers. (tsubst_friend_class): Call pushdecl_top_level_maybe_friend instead of pushdecl_top_level. testsuite/ PR g++/7874 * g++.dg/lookup/friend7.C: New test. * g++.dg/lookup/friend8.C: New test. * g++.dg/parse/defarg4.C: Add a parameter to the friend function, so that it will be found via argument dependent lookup. * g++.old-deja/g++.brendan/crash56.C: Don't expect errors for friend functions which will no longer be found. * g++.old-deja/g++.jason/friend.C: Add a parameter to the friend function g, so that it will be found via argument dependent lookup. * g++.old-deja/g++.jason/scoping15.C: Use -ffriend-injection. * g++.old-deja/g++.mike/net43.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104188 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (*-*-solaris2*): Clarify wording on the recommendedebotcazou2005-09-071-5/+6
| | | | | | | version of GNU binutils for 4.x and later. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103980 138bc75d-0d04-0410-961f-82ee72b054a4
* * common.opt: Add option ftree-vect-loop-version.irar2005-09-061-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * params.def: Add --param vect-max-version-checks. * doc/invoke.texi: Document ftree-vect-loop-version and --param vect-max-version-checks. * tree-vectorizer.h (_loop_vec_info): Add ptr_mask and may_misalign_stmts and defines for accessors. * tree-vectorizer.c : (new_loop_vec_info): VEC_alloc for LOOP_VINFO_MAY_MISALIGN_STMTS. (destroy_loop_vec_info): VEC_free for LOOP_VINFO_MAY_MISALIGN_STMTS. * tree-vect-analyze.c (vect_compute_data_ref_alignment): Update documentation. (vect_update_misalignment_for_peel): New. (vect_enhance_data_refs_alignment): Update to choose loop peeling or loop versioning if appropriate for the (potentially) unaligned data references in the loop. (vect_analyze_data_refs_alignment): Remove call to vect_enhance_data_refs_alignment so the checks can be done earlier. (vect_analyze_loop): Add call to vect_enhance_data_refs_alignment and move up call to vect_analyze_data_refs_alignment. * tree-vect-transform.c (vect_create_cond_for_align_checks): New. (vect_transform_loop): Add call to loop_version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103941 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c,kazu2005-09-061-1/+1
| | | | | | | | | | config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c, config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos. Follow spelling conventions. * doc/invoke.texi: Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103925 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-01 Richard Guenther <rguenther@suse.de>rguenth2005-09-011-1/+11
| | | | | | | | | | | | PR tree-optimization/15366 * common.opt: Add -finline-functions-called-once. Put -fearly-inlining in alphabetically ordered place. * doc/invoke.texi: Document new option. * ipa-inline.c (cgraph_decide_inlining): Honour flag_inline_functions_called_once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103722 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Specific): Update cctools version requiredgeoffk2005-08-311-1/+1
| | | | | | | | | for full functionality. * config/darwin.h (LINK_SPEC): Pass -mmacosx-version-min to the linkers as -macosx_version_min. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com>dje2005-08-241-0/+4
| | | | | | | | | | * params.def (PARAM_MIN_SPEC_PROB): New. * sched-rgn.c (MIN_PROBABILITY): Delete. (compute_trg_info): Convert to PARAM_VALUE. * doc/invoke.texi (param): Document min-spec-prob. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103450 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (Option Summary): Add ms1 options.aldyh2005-08-223-1/+81
| | | | | | | | | | | | | | | | | | | * doc/extend.texi: Document interrupt handler attribute for ms1. * doc/md.texi: Document ms1 constraints. * config.gcc: Add ms1-*-elf. * config/ms1/ms1.h: New. * config/ms1/ms1.c: New. * config/ms1/ms1.md: New. * config/ms1/ms1-protos.h: New. * config/ms1/ABI.txt: New. * config/ms1/crti.asm: New. * config/ms1/crtn.asm: New. * config/ms1/lib2extra-funcs.c: New. * config/ms1/t-ms1: New. * config/ms1/ms1.opt: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103342 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix uninitialized register read problem.wilson2005-08-191-8/+5
| | | | | | | | | | | | | | * builtins.c (expand_builtin_return_addr): Set current_function_accesses_prior_frames when count != 0. Use frame_pointer_rtx when count == 0. * function.h (struct function): Add accesses_prior_frames field. (current_function_accesses_prior_frames): Define. * reload1.c (init_elim_table): Check current_function_accesses_prior_frames. * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103294 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Fix documentation for -ftree-dominator-opts.dnovillo2005-08-191-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103289 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/tm.texi (Label Output): Correct typo.ian2005-08-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103182 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (Precompiled Headers): Document some more optionsgeoffk2005-08-161-2/+2
| | | | | | | which are known to be safe. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103166 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/21841sje2005-08-151-2/+4
| | | | | | | | * doc/invoke.texi (-mgnu-ld): Update description. (-mhp-ld): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103112 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/md.texi (Machine Constraints): Fix misplaced @end table.schwab2005-08-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103065 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing docs for feature added by Richard Henderson.wilson2005-08-132-4/+35
| | | | | | | | | | | * doc/cpp.texi (__SSP__, __SSP_ALL__): Document. * doc/invoke.texi (-Wstack-protector, -fstack-protector, -fstack-protector-all, --param ssp-buffer-size): Document. (-Wvariadic-macros): Alphabetize. (-fsched-stalled-insns-dep): Add missing 'f'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103057 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast togerald2005-08-121-3/+3
| | | | | | | description of -Wold-style-casts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103044 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/rtl.texi: Fix two typos.rsandifo2005-08-111-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102985 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus):dorit2005-08-101-0/+37
| | | | | | | | (vec_shl, vec_shr): Document new operations. * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102951 138bc75d-0d04-0410-961f-82ee72b054a4