aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
AgeCommit message (Collapse)Author
2013-06-102013-06-03 Christophe Lyon <christophe.lyon@linaro.org>Christophe Lyon
Backport from trunk r198890,199254,199259,199260,199293,199294,199407,199408,199454,199544,199545. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@199915 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-14Merge from branches/gcc-4_8-branch r198615.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@198871 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-02Backport from trunk r198298.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@198538 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-02Backport from trunk r198090,198136-198137,198142,198176.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@198537 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-02Backport from trunk r197513.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@198517 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-08Backport from trunk r197153.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@197605 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-08Backport from trunk r196876.Matthew Gretton-Dann
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_8-branch@197601 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-05 * doc/standards.texi (Standards): The Go frontend supports the GoIan Lance Taylor
1 language standard. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197508 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-292013-03-29 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
PR lto/56777 * doc/invoke.texi ([-fwhole-program]): Fix typo. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197238 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-28 * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.Gerald Pfeifer
* doc/extend.texi (Named Address Spaces): Ditto. (Variable Attributes): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197197 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-26 * doc/invoke.texi (SPARC options): Remove -mlittle-endian.Eric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197121 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-15Document HLE / RTM intrinsicsAndi Kleen
The TSX HLE/RTM intrinsics were missing documentation. Add this to the manual. gcc/: 2013-03-14 Andi Kleen <ak@linux.intel.com> PR target/56619 * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. Document _x* TSX intrinsics. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196671 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-14 PR tree-optimization/53265Jakub Jelinek
* common.opt (Waggressive-loop-optimizations): New option. * tree-ssa-loop-niter.c: Include tree-pass.h. (do_warn_aggressive_loop_optimizations): New function. (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds if number_of_latch_executions returned constant. (estimate_numbers_of_iterations_loop): Call number_of_latch_executions early. If number_of_latch_executions returned constant, set nb_iterations_upper_bound back to it. * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations field. * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. * gcc.dg/pr53265.c: New test. * gcc.dg/torture/pr49518.c: Add -Wno-aggressive-loop-optimizations to dg-options. * g++.dg/opt/longbranch2.C (EBCOTLut): Double sizes of a2 and a3 arrays. * gcc.dg/tree-ssa/cunroll-10.c (main): Rename to foo. Add argument n, use it as high bound instead of 4. * unwind-dw2.c (execute_cfa_program): Avoid -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save on targets with DWARF_FRAME_REGISTERS < 32. * testsuite/libmudflap.c/fail37-frag.c: Add optimization barrier. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196650 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-12 * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier.Jakub Jelinek
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196614 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-12 PR target/56263Georg-Johann Lay
* config/avr/avr.c (TARGET_CONVERT_TO_TYPE): Define to... (avr_convert_to_type): ...this new static function. * config/avr/avr.opt (-Waddr-space-convert): New C option. * doc/invoke.texi (AVR Options): Document it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196611 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-072013-03-07 Richard Biener <rguenther@suse.de>Richard Biener
* doc/invoke.texi (fwhole-program): Discourage use in combination with -flto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196518 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-06 PR target/56529Oleg Endo
* config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy to SH_DIV_CALL_TABLE for TARGET_SH2. * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib list. * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, call-table options. PR target/56529 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to inclusion list. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196484 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-05* doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian,David Holsgrove
-mxl-reorder. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196470 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-032013-03-03 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore
gcc/ * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; the attribute is now called "target" instead of "option". (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. * doc/tm.texi.in (Target Attributes): Likewise document the correct attribute/pragma name for TARGET_OPTION_VALID_P and TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. * doc/tm.texi: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196418 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-01gcc/Tobias Burnus
2013-03-01 Tobias Burnus <burnus@net-b.de> * doc/extended.texi (C Extensions): Change order in @menu to match @node. (Other MIPS Built-in Functions): Move last MIPS entry before "picoChip Built-in Functions". (SH Built-in Functions): Move after RX Built-in Functions. * doc/gcc.texi (Introduction): Change order in @menu to match @node. * doc/md.texi (Constraints): Ditto. * gty.texi (Type Information): Ditto. (User-provided marking routines for template types): Make subsection. * doc/invoke.texi (AArch64 Options): Move before "Adapteva Epiphany Options". libiberty/ 2013-03-01 Andreas Schwab <schwab@linux-m68k.org> * obstacks.texi (Obstacks): Trim @node to only contain the node name. * libiberty.texi (Obstacks): Lower section. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196388 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-28 PR sanitizer/56454Konstantin Serebryany
* asan.c (gate_asan): Lookup no_sanitize_address instead of no_address_safety_analysis attribute. * doc/extend.texi (no_address_safety_attribute): Rename to no_sanitize_address attribute, mention no_address_safety_analysis attribute as deprecated alias. * c-common.c (handle_no_sanitize_address_attribute): New function. (c_common_attribute_table): Add no_sanitize_address attribute. (handle_no_address_safety_analysis_attribute): Add no_sanitize_address attribute, not no_address_safety_analysis attribute. * g++.dg/asan/default-options-1.C (__asan_default_options): Use no_sanitize_address attribute rather than no_address_safety_analysis. * g++.dg/asan/sanitizer_test_utils.h (ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS): Likewise. * c-c++-common/asan/attrib-1.c: Test no_sanitize_address attribute in addition to no_address_safety_analysis. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196361 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-282013-02-28 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
PR c++/55813 * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196334 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-28 * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285)Georg-Johann Lay
(ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. (avrxmega6): Increase max flash segments from 5 to 6. * config/avr/t-multilib: Regenerate. * config/avr/avr-tables.opt: Regenerate. * doc/avr-mmcu.texi: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196331 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-25gcc/Matt Turner
2013-02-25 Matt Turner <mattst88@gmail.com> * doc/invoke.texi: Document r4700. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196270 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-252012-02-25 Catherine Moore <clm@codesourcery.com>Catherine Moore
Revert microMIPS patch. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196259 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-252013-02-25 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* doc/invoke.texi (-fsanitize=): Move from optimization to debugging options. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196254 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-24libgcc/Catherine Moore
2013-02-24 Catherine Moore <clm@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Chao-ying Fu <fu@mips.com> * config/mips/mips16.S: Don't build for microMIPS. * config/mips/linux-unwind.h: Handle microMIPS frame. * config/mips/crtn.S (fini, init): New labels. gcc/ 2013-02-24 Catherine Moore <clm@codesourcery.com> Maciej W. Rozycki <macro@codesourcery.com> Tom de Vries <tom@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Iain Sandoe <iain@codesourcery.com> Nathan Froyd <froydnj@codesourcery.com> Chao-ying Fu <fu@mips.com> * doc/extend.texi: (micromips, nomicromips, nocompression): Document new function attributes. * doc/invoke.texi (minterlink-compressed, mmicromips, m14k, m14ke, m14kec): Document new options. (minterlink-mips16): Update documentation. * doc/md.texi (ZC, ZD): Document new constraints. * configure.ac (gcc_cv_as_micromips): Check if linker supports the .set micromips directive. * configure: Regenerate. * config.in: Regenerate. * config/mips/mips-tables.opt: Regenerate. * config/mips/micromips.md: New file. * constraints.md (ZC, AD): New constraints. * config/mips/predicates.md (movep_src_register): New predicate. (movep_src_operand): New predicate. (non_volatile_mem_operand): New predicate. * config/mips/mips.md (multimem): New type. (length): Differentiate between 17-bit and 18-bit branch offsets. (MOVEP1, MOVEP2): New mode iterator. (mov_<load>l): Use ZC constraint. (mov_<load>r): Likewise. (mov_<store>l): Likewise. (mov_<store>r): Likewise. (*branch_equality<mode>_inverted): Add microMIPS support. (*branch_equality<mode>): Likewise. (*jump_absolute): Likewise. (indirect_jump_<mode>): Likewise. (tablejump_<mode>): Likewise. (<optab>_internal): Likewise. (sibcall_internal): Likewise. (sibcall_value_internal): Likewise. (prefetch): Use constraint ZD. * config/mips/mips.opt (minterlink-compressed): New option. (minterlink-mips16): Now an alias for minterlink-compressed. (mmicromips): New option. * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. (compare_and_swap_12): Likewise. (sync_add<mode>): Likewise. (sync_<optab>_12): Likewise. (sync_old_<optab>_12): Likewise. (sync_new_<optab>_12): Likewise. (sync_nand_12): Likewise. (sync_old_nand_12): Likewise. (sync_new_nand_12): Likewise. (sync_sub<mode>): Likewise. (sync_old_add<mode>): Likewise. (sync_old_sub<mode>): Likewise. (sync_new_add<mode>): Likewise. (sync_new_sub<mode>): Likewise. (sync_<optab><mode>): Likewise. (sync_old_<optab><mode>): Likewise. (sync_new_<optab><mode>): Likewise. (sync_nand<mode>): Likewise. (sync_old_nand<mode>): Likewise. (sync_new_nand<mode>): Likewise. (sync_lock_test_and_set<mode>): Likewise. (test_and_set_12): Likewise. (atomic_compare_and_swap<mode>): Likewise. (atomic_exchange<mode>_llsc): Likewise. (atomic_fetch_add<mode>_llsc): Likewise. * config/mips/mips-cpus.def (m14kc, m14k): New processors. * config/mips/mips-protos.h (umips_output_save_restore): New prototype. (umips_save_restore_pattern_p): Likewise. (umips_load_store_pair_p): Likewise. (umips_output_load_store_pair): Likewise. (umips_movep_target_p): Likewise. (umips_12bit_offset_address_p): Likewise. * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. (mips_base_mips16): Rename this... (mips_base_compression_flags): ...to this. Update all uses. (mips_attribute_table): Add micromips, nomicromips and nocompression. (mips_mips16_decl_p): Delete. (mips_nomips16_decl_p): Delete. (mips_get_compress_on_flags): New function. (mips_get_compress_off_flags): New function. (mips_get_compress_mode): New function. (mips_get_compress_on_name): New function. (mips_get_compress_off_name): New function. (mips_insert_attributes): Support multiple compression types. (mips_merge_decl_attributes): Likewise. (umips_12bit_offset_address_p): New function. (mips_start_function_definition): Emit .set micromips directive. (mips_call_may_need_jalx_p): New function. (mips_function_ok_for_sibcall): Add microMIPS support. (mips_print_operand_punctuation): Support short delay slots and compact jumps. (umips_swm_mask, umips_swm_encoding): New. (umips_build_save_restore): New function. (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. (was_mips16_p): Remove. (old_compression_mode): New. (mips_set_compression_mode): New function. (mips_set_current_function): Add microMIPS support. (mips_option_override): Likewise. (umips_save_restore_pattern_p): New function. (umips_output_save_restore): New function. (umips_load_store_pair_p_1): New function. (umips_load_store_pair_p): New function. (umips_output_load_store_pair_1): New function. (umips_output_load_store_pair): New function. (umips_movep_target_p) New function. (mips_prepare_pch_save): Add microMIPS support. * config/mips/mips.h (TARGET_COMPRESSION): New. (TARGET_CPU_CPP_BUILTINS): Update macro to use new compression flags and to support microMIPS. (MIPS_ISA_LEVEL_SPEC): Add m14k processors. (MIPS_ARCH_FLOAT_SPEC): Likewise. (ISA_HAS_LWXS): Include TARGET_MICROMIPS. (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. (ASM_SPEC): Support mmicromips and mno-micromips. (M16STORE_REG_P): New macro. (MIPS_CALL): Support TARGET_MICROMIPS. (MICROMIPS_J): New macro. (mips_base_mips16): Rename this... (mips_base_compression_flags): ...to this. (UMIPS_12BIT_OFFSET_P): New macro. * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. (MULTILIB_DIRNAMES): Likewise. gcc/testsuite/ 2013-02-24 Catherine Moore <clm@codesourcery.com> Richard Sandiford <rdsandiford@googlemail.com> * gcc.target/mips/mips.exp: Add microMIPS support. * gcc.target/mips/umips-movep-2.c: New test. * gcc.target/mips/umips-lwp-2.c: New test. * gcc.target/mips/umips-swp-5.c: New test. * gcc.target/mips/umips-constraints-1.c: New test. * gcc.target/mips/umips-lwp-3.c: New test. * gcc.target/mips/umips-swp-6.c: New test. * gcc.target/mips/umips-constraints-2.c: New test. * gcc.target/mips/umips-save-restore-1.c: New test. * gcc.target/mips/umips-lwp-4.c: New test. * gcc.target/mips/umips-swp-7.c: New test. * gcc.target/mips/umips-save-restore-2.c: New test. * gcc.target/mips/umips-lwp-swp-volatile.c: New test. * gcc.target/mips/umips-lwp-5.c: New test. * gcc.target/mips/umips-save-restore-3.c: New test. * gcc.target/mips/umips-lwp-6.c: New test. * gcc.target/mips/umips-swp-1.c: New test. * gcc.target/mips/umips-lwp-7.c: New test. * gcc.target/mips/umips-swp-2.c: New test. * gcc.target/mips/umips-lwp-8.c: New test. * gcc.target/mips/umips-swp-3.c: New test. * gcc.target/mips/umips-movep-1.c: New test. * gcc.target/mips/umips-lwp-1.c: New test. * gcc.target/mips/umips-swp-4.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196246 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-21 * doc/rtl.texi (vec_concat, vec_duplicate): Mention thatHans-Peter Nilsson
scalars are valid operands. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196208 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-21 * doc/invoke.texi (MIPS Options): Update documentation of theMaciej W. Rozycki
floating-point multiply-accumulate instruction restrictions. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196204 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-21 PR bootstrap/56258Jakub Jelinek
* doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item instead of @itemx. * gnat-style.texi (@title): Remove @hfill. * projects.texi: Avoid line wrapping inside of @pxref or @xref. * doc/cp-tools.texinfo (Virtual Machine Options): Use just one @gccoptlist instead of 3 separate ones. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196196 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-12 * doc/extend.texi: Document Function Multiversioning and "default"Sriraman Tallam
parameter string to target attribute. * g++.dg/ext/mv12.C: New test. * g++.dg/ext/mv12.h: New file. * g++.dg/ext/mv12-aux.C: New file. * g++.dg/ext/mv13.C: New test. * config/i386/i386.c (get_builtin_code_for_version): Return 0 if target attribute parameter is "default". (ix86_compare_version_priority): Remove checks for target attribute. (ix86_mangle_function_version_assembler_name): Change error to sorry. Remove check for target attribute equal to NULL. Add assert. (ix86_generate_version_dispatcher_body): Change error to sorry. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195967 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-052013-02-05 Richard Biener <rguenther@suse.de>Richard Biener
* doc/install.texi: Refer to ISL, not PPL. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195752 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-31 * config/v850/lib1funcs.S: Add support for e3v5 architectureNick Clifton
variant. * config/v850/constraints.md (Q): Define as a memory constraint. * config/v850/predicates.md (label_ref_operand): New predicate. (e3v5_shift_operand): New predicate. (ior_operator): New predicate. * config/v850/t-v850: Add e3v5 multilib. * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. (v850_gen_movdi): Prototype. * config/v850/v850.c: Add support for e3v5 architecture. Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to TARGET_V850E_UP. (construct_save_jarl): Add e3v5 long JARL support. (v850_adjust_insn_length): New function. Adjust length of call insns when using e3v5 instructions. (v850_gen_movdi): New function: Generate instructions to move a DImode value. * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. (CPP_SPEC): Define __v850e3v5__ as appropriate. (TARGET_USE_FPU): Enable for e3v5. (CONST_OK_FOR_W): New macro. (ADJUST_INSN_LENGTH): Define. * config/v850/v850.md (UNSPEC_LOOP): Define. (attr cpu): Add v850e3v5. Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. (movdi): New pattern. (movdi_internal): New pattern. (cbranchsf4): Conditionalize on TARGET_USE_FPU. (cbranchdf4): Conditionalize on TARGET_USE_FPU. (cstoresf4): Likewise. (cstoredf4): Likewise. (insv): New pattern. (rotlso3_a): New pattern. (rotlsi3_b): New pattern (rotlsi3_v850e3v5): New pattern. (doloop_begin): New pattern. (fix_loop_counter): New pattern. (doloop_end): New pattern. (branch_normal): Add e3v5 long branch support. (branch_invert): Likewise. (branch_z_normal): Likewise. (branch_z_invert): Likewise. (branch_nz_normal): Likewise. (branch_nz_invert): Likewise. (call_internal_short): Add e3v5 register-indirect JARL support. (call_internal_long): Likewise. (call_value_internal_short): Likewise. (call_value_internal_long): Likewise. * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. (mloop): New option. * config.gcc: Add support for configuring v840e3v5 target. * doc/invoke.texi: Document new v850 specific command line options. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195623 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-312013-01-31 Richard Biener <rguenther@suse.de>Richard Biener
PR middle-end/53073 * common.opt (faggressive-loop-optimizations): New flag, enabled by default. * doc/invoke.texi (faggressive-loop-optimizations): Document. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard infer_loop_bounds_from_undefined by it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195610 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-30 PR c++/55742Jakub Jelinek
* config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose invalid args instead of ICEing on it. (ix86_valid_target_attribute_tree): Return error_mark_node if ix86_valid_target_attribute_inner_p failed. (ix86_valid_target_attribute_p): Return false only if ix86_valid_target_attribute_tree returned error_mark_node. Allow target("default") attribute. (sorted_attr_string): Change argument from const char * to tree, merge in all target attribute arguments rather than just one. Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC instead of free. Avoid using strcat. (ix86_mangle_function_version_assembler_name): Mangle target("default") as if no target attribute is present. Adjust sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC instead of xmalloc and XDELETEVEC instead of free. (ix86_function_versions): Don't return true if one of the decls doesn't have target attribute. If they don't and one of the decls is DECL_FUNCTION_VERSIONED, report an error. Adjust sorted_attr_string caller. Use XDELETEVEC instead of free. (ix86_supports_function_versions): Remove. (make_name): Fix up formatting. (make_dispatcher_decl): Remove resolver_name and its initialization. Avoid leaking memory. (is_function_default_version): Return true if there is target("default") attribute rather than no target attribute at all. (make_resolver_func): Avoid leaking memory. (ix86_generate_version_dispatcher_body): Likewise. (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. * target.def (supports_function_versions): Remove. * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. * doc/tm.texi: Regenerated. * c-common.c (handle_target_attribute): Revert 2012-12-26 change. * g++.dg/mv1.C: Moved to... * g++.dg/ext/mv1.C: ... here. Adjust test. * g++.dg/mv2.C: Moved to... * g++.dg/ext/mv2.C: ... here. Adjust test. * g++.dg/mv3.C: Moved to... * g++.dg/ext/mv3.C: ... here. * g++.dg/mv4.C: Moved to... * g++.dg/ext/mv4.C: ... here. * g++.dg/mv5.C: Moved to... * g++.dg/ext/mv5.C: ... here. Adjust test. * g++.dg/mv6.C: Moved to... * g++.dg/ext/mv6.C: ... here. Adjust test. * g++.dg/ext/mv7.C: New test. * g++.dg/ext/mv8.C: New test. * g++.dg/ext/mv9.C: New test. * g++.dg/ext/mv10.C: New test. * g++.dg/ext/mv11.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195584 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-25 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.Georg-Johann Lay
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195473 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-25 * doc/extend.texi (Example of asm with clobbered asm reg): FixGeorg-Johann Lay
missing ':' in asm example. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195471 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-24 * doc/invoke.texi: fix typo.Shenghou Ma
* doc/objc.texi: fix typo. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195437 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-24Remove zone allocator.Diego Novillo
This patch removes the GC zone allocator. It is not used and it produces several regressions in the testsuite. Furthermore, it complicates things for the plan to implement manual GC markers (http://gcc.gnu.org/wiki/cxx-conversion/gc-alternatives#Do_GC_marking_manually). Tested on x86_64 with standard checking, --enable-checking=gc and --enable-checking=release. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195426 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-22 * doc/install.texi (Downloading the Source): Update references toJonathan Wakely
downloading separate components. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195388 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-22 * doc/extend.texi (__int128): Improve grammar.Jonathan Wakely
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195387 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-222013-01-22 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
PR c++/56067 * doc/invoke.texi: Remove left over -Wsynth example. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195375 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-19 PR target/54908Jason Merrill
c-family/ * c.opt (-fextern-tls-init): New. * c-opts.c (c_common_post_options): Handle it. cp/ * decl2.c (get_local_tls_init_fn): New. (get_tls_init_fn): Handle flag_extern_tls_init. Don't bother with aliases for internal variables. Don't use weakrefs if the variable needs destruction. (generate_tls_wrapper): Mark the wrapper as const if no initialization is needed. (handle_tls_init): Don't require aliases. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195310 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-18Add support for Marvell's PJ4 CPUYi-Hsiu Hsu
2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/marvell-pj4.md: New file. * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. * config/arm/arm.md (generic_sched): Add marvell_pj4. (generic_vfp): Likewise. * config/arm/arm-cores.def: Add marvell-pj4. * config/arm/arm-tune.md: Regenerate. * config/arm/arm-tables.opt: Regenerate. * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. * doc/invoke.texi: Document marvell-pj4. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195295 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-162013-01-16 Richard Biener <rguenther@suse.de>Richard Biener
* doc/install.texi: Update CLooG and ISL requirements to 0.18.0 and 0.11.1. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195233 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-132013-01-13 Terry Guo <terry.guo@arm.com>Terry Guo
* gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE. * gcc/doc/fragments.texi: Document MULTILIB_REUSE. * gcc/gcc.c (multilib_reuse): New internal spec. (set_multilib_dir): Also search multilib from multilib_reuse. * gcc/genmultilib (tmpmultilib3): Refactor code. (tmpmultilib4): Ditto. (multilib_reuse): New multilib argument. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195134 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-11Fix typo in __builtin_ia32_packssdw256Michael Meissner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195113 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-11Fix typo in __builtin_ia32_paddb256, __builtin_ia32_pavgb256Michael Meissner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195110 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-10Update copyright years in gcc/Richard Sandiford
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195098 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-07 PR target/55897Georg-Johann Lay
* doc/extend.texi (AVR Named Address Spaces): __memx goes into .progmemx.data now. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194992 138bc75d-0d04-0410-961f-82ee72b054a4