1. 24 Mar, 2015 1 commit
    • extend.texi (Function Attributes): Add @cindex entries for all attributes and… · 0c0f9f31
      extend.texi (Function Attributes): Add @cindex entries for all attributes and regularize their format.
      
      2015-03-23  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Function Attributes): Add @cindex entries
      	for all attributes and regularize their format.  Delete text
      	about long-obsolete 68HC11 and 68HC12 targets.  Move misplaced
      	information about "eightbit_data", "tiny_data", and "model"
      	variable attributes to the Variable Attributes section.  Fix
      	some obvious typos and copy-editing issues.
      	(Variable Attributes, Type Attributes): Likewise add/fix
      	@cindex entries for all attributes.
      
      From-SVN: r221614
      Sandra Loosemore committed
  2. 23 Mar, 2015 1 commit
    • cpp.texi (Search Path): Hyphenate "command-line" when used as an adjective. · 4460b2dc
      2015-03-22  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/cpp.texi (Search Path): Hyphenate "command-line" when used
      	as an adjective.
      	(System Headers): Likewise.
      	(Ifdef): Likewise.
      	(Traditional macros): Likewise.
      	(Invocation): Likewise.
      	(Option Index): Likewise.
      	* doc/cppopts.texi (-M): Likewise.
      	(-finput-charset): Likewise.
      	(--help): Likewise.
      	* doc.invoke.texi (AVR Options): Likewise.
      	(V850 Options): Likewise.
      
      From-SVN: r221583
      Sandra Loosemore committed
  3. 22 Mar, 2015 1 commit
  4. 21 Mar, 2015 3 commits
    • invoke.texi (-fno-diagnostics-show-caret): Fix usage of "the @option{...}". · 6d5c05f0
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fno-diagnostics-show-caret): Fix
      	usage of "the @option{...}".
      	(-Wopenmp-simd): Likewise.
      	(-fsanitize-recover): Likewise.
      	(-fsanitize-undefined-trap-on-error): Likewise.
      	(-flto): Likewise.
      	(tracer-dynamic-coverage-feedback): Likewise.
      	(reorder-block-duplicate-feedback): Likewise.
      	(loop-unroll-jam-size): Likewise.
      	(-B): Likewise.
      	(-I-): Likewise.
      	(-mabs=legacy): Likewise.
      	(-mupper-regs-df): Likewise.
      	(-mupper-regs-sf): Likewise.
      	(-mpointers-to-nested-functions): Likewise.
      
      From-SVN: r221564
      Sandra Loosemore committed
    • extend.texi (Cilk Plus Builtins): Add markup. · ce805a8d
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Cilk Plus Builtins): Add markup.
      
      From-SVN: r221559
      Sandra Loosemore committed
    • invoke.texi (-fcheck-pointer-bounds): Copy-edit, add additional index entries and cross-references. · 7651042e
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fcheck-pointer-bounds): Copy-edit, add
      	additional index entries and cross-references.
      	(-fchkp-check-incomplete-type): Likewise.
      	(-fchkp-first-field-has-own-bounds): Likewise.
      	(-fchkp-narrow-to-innermost-array): Likewise.
      	(-fchkp-use-fast-string-functions): Likewise.
      	(-fchkp-use-nochk-string-functions): Likewise.
      	(-fchkp-use-static-const-bounds): Likewise.
      	(-fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
      	(-fchkp-instrument-marked-only): Likewise.
      	(-fchkp-use-wrappers): Likewise.
      	(-static-libmpx): Likewise.
      	(-static-libmpxwrappers): Likewise.
      	* doc/extend.texi (bnd_legacy): Likewise.
      	(bnd_instrument): Likewise.
      	(bnd_variable_size): Likewise.
      	(Pointer Bounds Checker builtins): Likewise.
      
      From-SVN: r221558
      Sandra Loosemore committed
  5. 19 Mar, 2015 1 commit
    • re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) · 7cb73573
      	PR c++/65046
      	Automatically propagate ABI tags to variables and functions
      	from their (return) type.
      	* class.c (check_tag): Handle variables and functions.
      	(mark_or_check_attr_tags): Split out from find_abi_tags_r.
      	(mark_or_check_tags): Likewise.
      	(mark_abi_tags): Use it.  Rename from mark_type_abi_tags.
      	(check_abi_tags): Add single argument overload for decls.
      	Handle inheriting tags for decls.
      	* mangle.c (write_mangled_name): Call it.
      	(mangle_return_type_p): Split out from write_encoding.
      	(unmangled_name_p): Split out from write_mangled_name.
      	(write_mangled_name): Ignore abi_tag on namespace.
      	* cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG.
      	* parser.c (cp_parser_namespace_definition): Set it.
      	* name-lookup.c (handle_namespace_attrs): Use arguments. Warn
      	about abi_tag attribute on non-inline namespace.
      	* tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute.
      	(handle_abi_tag_attribute): Allow tags on variables.
      
      From-SVN: r221521
      Jason Merrill committed
  6. 18 Mar, 2015 1 commit
  7. 17 Mar, 2015 1 commit
    • re PR target/65296 ([avr] fix various issues with specs file generation) · 076d86f3
      	PR target/65296
      	* config/avr/avr.opt (-nodevicelib): New option.
      	* doc/invoke.texi (AVR Options): Document it.
      	* config/avr/avrlibc.h (LIB_SPEC, LIBGCC_SPEC) [avr1]: Don't link
      	libgcc.a, libc.a, libm.a.
      	* config/avr/specs.h: Same.
      	* config/avr/gen-avr-mmcu-specs.c (print_mcu): Don't print specs
      	which don't (directly) depend on the device.  Print more help.
      	(*avrlibc_devicelib) [-nodevicelib]: Don't link libdev.a.
      	(*cpp): Don't define __AVR_DEV_LIB_NAME__.
      	* config/avr/driver-avr.c: Remove -nodevicelib from option list in
      	case of an error.
      	(avr_devicespecs_file): Use suffix "%s" instead of absolute path
      	for specs file name.
      	* config/avr/avr-arch.h (avr_mcu_t) [.library_name]: Remove.
      	* config/avr/avr-mcus.def: Adjust initializers and comments.
      
      From-SVN: r221475
      Georg-Johann Lay committed
  8. 12 Mar, 2015 1 commit
    • S/390: Hotpatching fixes. · f8af0e30
      2015-03-02  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	    * config/s390/s390.c (s390_reorg): Move code to output nops after label
      	    to s390_reorg ().
      	    (s390_asm_output_function_label): Likewise.
      	    * config/s390/s390.c (s390_asm_output_function_label):
      	    Fix function label alignment with -mhtopatch.
      	    * config/s390/s390.md ("unspecv"): New values UNSPECV_NOP_2_BYTE,
      	    UNSPECV_NOP_4_BYTE and UNSPECV_NOP_6_BYTE
      	    ("nop_2_byte"): New define_insn.
      	    ("nop_4_byte"): Likewise.
      	    ("nop_6_byte"): Likewise.
      	    * doc/extend.texi (hotpatch): hotpatch attribute doc fixes.
      	    * doc/invoke.texi (-mhotpatch): -mhotpatch doc fixes.
      
      2015-03-02  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	    * gcc.target/s390/hotpatch-21.c: New test for hotpatch alignment.
      	    * gcc.target/s390/hotpatch-22.c: Likewise.
      	    * gcc.target/s390/hotpatch-23.c: Likewise.
      	    * gcc.target/s390/hotpatch-24.c: Likewise.
      	    * gcc.target/s390/hotpatch-2.c: Also check hotpatch alignment.
      	    * gcc.target/s390/hotpatch-1.c: Update expected output.
      	    * gcc.target/s390/hotpatch-2.c: Likewise.
      	    * gcc.target/s390/hotpatch-3.c: Likewise.
      	    * gcc.target/s390/hotpatch-4.c: Likewise.
      	    * gcc.target/s390/hotpatch-5.c: Likewise.
      	    * gcc.target/s390/hotpatch-6.c: Likewise.
      	    * gcc.target/s390/hotpatch-7.c: Likewise.
      	    * gcc.target/s390/hotpatch-8.c: Likewise.
      	    * gcc.target/s390/hotpatch-9.c: Likewise.
      	    * gcc.target/s390/hotpatch-10.c: Likewise.
      	    * gcc.target/s390/hotpatch-11.c: Likewise.
      	    * gcc.target/s390/hotpatch-12.c: Likewise.
      	    * gcc.target/s390/hotpatch-13.c: Likewise.
      	    * gcc.target/s390/hotpatch-14.c: Likewise.
      	    * gcc.target/s390/hotpatch-15.c: Likewise.
      	    * gcc.target/s390/hotpatch-16.c: Likewise.
      	    * gcc.target/s390/hotpatch-17.c: Likewise.
      	    * gcc.target/s390/hotpatch-18.c: Likewise.
      	    * gcc.target/s390/hotpatch-19.c: Likewise.
      
      From-SVN: r221381
      Dominik Vogt committed
  9. 11 Mar, 2015 3 commits
    • invoke.texi (-fgnu89-inline): Remove discussion about old GCC versions. · 8648c55f
      2015-03-11  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fgnu89-inline): Remove discussion about 
      	old GCC versions.
      	(-fabi-compat-version): Likewise.
      	(-ffriend-injection): Likewise.
      	(-Wdeclaration-after-statement): Likewise.
      	(-fomit-frame-pointer): Likewise.
      	(-ftree-coalesce-inlined-vars): Likewise.
      	(-fvisibility=): Likewise.
      	* doc/extend.texi (Typeof): Likewise.
      	(Zero Length): Likewise.
      	(Escaped Newlines): Likewise.
      	(Compound Literals): Likewise.
      	(Function Attributes): Likewise.
      	(Label Attributes): Likewise.
      	(Type Attributes): Likewise.
      	(Function Names): Likewise.
      	(Other Builtins): Likewise.
      	(Function Specific Option Pragmas): Likewise.
      	(C++ Interface): Likewise.
      
      From-SVN: r221364
      Sandra Loosemore committed
    • re PR target/65296 ([avr] fix various issues with specs file generation) · 0c9dc4ae
      gcc/
      	PR target/65296
      	* configure.ac [avr]: Check as for options -mrmw, --mlink-relax.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* doc/invoke.texi (AVR Options) [-mrmw]: Document it.
      	[-mn-flash]: Document it.
      	[__AVR_ARCH__]: Document avrtiny.
      	* config/avr/gen-avr-mmcu-specs.c (config.h): Include it.
      	(*asm_relax): Only define spec if HAVE_AS_AVR_MLINK_RELAX_OPTION.
      	(*asm_rmw): Only define spec if HAVE_AS_AVR_MRMW_OPTION.
      gcc/testsuite/
      	PR target/65296
      	* gcc.target/avr/tiny-memx: Use -mmcu instead of -march.
      	* gcc.target/avr/tiny-caller-save.c: Same.
      
      From-SVN: r221355
      Georg-Johann Lay committed
    • S/390: Doc: Add missing cpu values z196, zEC12. · 91d4a5ea
      	* doc/invoke.texi: Add missing cpu values (z196, zEC12).
      
      From-SVN: r221353
      Andreas Krebbel committed
  10. 10 Mar, 2015 1 commit
    • c.opt (fchkp-use-wrappers): New. · 226d62d2
      	* c-family/c.opt (fchkp-use-wrappers): New.
      	* ipa-chkp.c (CHKP_WRAPPER_SYMBOL_PREFIX): New.
      	(chkp_wrap_function): New.
      	(chkp_build_instrumented_fndecl): Support wrapped
      	functions.
      	* doc/invoke.texi (-fcheck-pointer-bounds): New.
      	(-fchkp-check-incomplete-type): New.
      	(-fchkp-first-field-has-own-bounds): New.
      	(-fchkp-narrow-bounds): New.
      	(-fchkp-narrow-to-innermost-array): New.
      	(-fchkp-optimize): New.
      	(-fchkp-use-fast-string-functions): New.
      	(-fchkp-use-nochk-string-functions): New.
      	(-fchkp-use-static-bounds): New.
      	(-fchkp-use-static-const-bounds): New.
      	(-fchkp-treat-zero-dynamic-size-as-infinite): New.
      	(-fchkp-check-read): New.
      	(-fchkp-check-write): New.
      	(-fchkp-store-bounds): New.
      	(-fchkp-instrument-calls): New.
      	(-fchkp-instrument-marked-only): New.
      	(-fchkp-use-wrappers): New.
      	(-static-libmpx): New.
      	(-static-libmpxwrappers): New.
      
      From-SVN: r221314
      Ilya Enkovich committed
  11. 06 Mar, 2015 1 commit
    • re PR sanitizer/65280 (-fsanitize=bounds does not detect out-of-bounds access) · 04fd785e
      	PR sanitizer/65280
      	* doc/invoke.texi: Update description of -fsanitize=bounds.
      
      	* c-ubsan.c (ubsan_instrument_bounds): Check for COMPONENT_REF
      	before trying to figure out whether we have a flexible array member.
      
      	* c-c++-common/ubsan/bounds-1.c: Add testing of flexible array
      	member-like arrays.
      	* c-c++-common/ubsan/bounds-8.c: New test.
      	* c-c++-common/ubsan/bounds-9.c: New test.
      	* gcc.dg/ubsan/bounds-2.c: New test.
      
      Co-Authored-By: Martin Uecker <uecker@eecs.berkeley.edu>
      
      From-SVN: r221250
      Marek Polacek committed
  12. 03 Mar, 2015 4 commits
    • [PATCH][DOC]Fix an obvious type in md.texi · 0ab9eed6
      2015-03-03  Renlin Li  <renlin.li@arm.com>
      
      gcc/
      
      	* doc/md.texi (@item ^): ChangeLog ? into ^.
      
      From-SVN: r221152
      Renlin Li committed
    • Regenerate doc/tm.texi · a55bbe13
      	* doc/tm.texi: Regenerated.
      
      From-SVN: r221151
      H.J. Lu committed
    • Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression · 2e612c47
      This allows a target to support both windowed and non-windowed ABI.
      
      2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
      
      gcc/
      	* builtins.c (expand_builtin_return_addr): Add
      	RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition, remove
      	surrounding #ifdef.
      	* config/sparc/sparc.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Change
      	definition to 1.
      	* config/xtensa/xtensa.h (RETURN_ADDR_IN_PREVIOUS_FRAME):
      	Likewise.
      	* defaults.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Define to 0 if
      	undefined.
      	* doc/tm.texi.in (RETURN_ADDR_IN_PREVIOUS_FRAME): Update
      	paragraph.
      
      From-SVN: r221150
      Max Filippov committed
    • PR 65138/target · 0eef284e
      2015-03-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR 65138/target
      	* config/rs6000/rs6000-cpus.def (powerpc64le): Add new generic
      	processor type for 64-bit little endian PowerPC.
      
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): If
      	-mdebug=reg, print TARGET_DEFAULT.  Fix logic to use
      	TARGET_DEFAULT if there is no default cpu.  Fix -mdebug=reg
      	printing built-in mask so it does not pass NULL pointers.
      
      	* doc/invoke.texi (IBM RS/6000 and PowerPC options): Document
      	-mcpu=powerpc64le.
      
      From-SVN: r221132
      Michael Meissner committed
  13. 02 Mar, 2015 1 commit
  14. 27 Feb, 2015 3 commits
  15. 26 Feb, 2015 1 commit
    • extend.texi (Function Attributes): Fix spelling and typos. · 6fb04b89
      2015-02-26  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Function Attributes): Fix spelling and typos.
      	(Label Attributes): Likewise.
      	(Cilk Plus Builtins): Likewise.
      	(ARC SIMD Built-in Functions): Likewise.
      	(ARM C Language Extensions (ACLE)): Likewise.
      	(PowerPC Built-in Functions): Likewise.
      	(PowerPC Hardware Transactional Memory Built-in Functions):
      	Likewise.
      
      From-SVN: r221035
      Sandra Loosemore committed
  16. 25 Feb, 2015 2 commits
    • Revert: · 76fabbf4
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
      	* configure: Regenerate.
      
      /config
      
      	Revert:
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* mh-alpha-linux: New file.
      
      /gcc
      
      	PR target/47230
      	* doc/install.texi (Specific, alpha*-*-*): Document that binutils 2.25
      	or newer are required.
      
      From-SVN: r220990
      Uros Bizjak committed
    • re PR lto/64374 (LTO ICE in extract_insn, at recog.c:2327) · 59913123
      	PR lto/64374
      	* target.def (target_option_stream_in): New target hook.
      	* tree-streamer-in.c (streamer_read_tree_bitfields): Invoke
      	targetm.target_option.post_stream_in if non-NULL.
      	* doc/tm.texi.in: Add @hook TARGET_OPTION_POST_STREAM_IN.
      	* doc/tm.texi: Updated.
      	* config/i386/i386.c (ix86_function_specific_post_stream_in): New
      	function.
      	(TARGET_OPTION_POST_STREAM_IN): Redefine.
      
      From-SVN: r220958
      Jakub Jelinek committed
  17. 21 Feb, 2015 2 commits
  18. 19 Feb, 2015 1 commit
  19. 18 Feb, 2015 2 commits
  20. 17 Feb, 2015 2 commits
    • sh.opt (mcbranch-force-delay-slot): New option. · f05911fb
      gcc/
      	* config/sh/sh.opt (mcbranch-force-delay-slot): New option.
      	* doc/invoke.texi (SH options): Document it.
      	* config/sh/sh.c (sh_insn_length_adjustment): Check
      	TARGET_CBRANCH_FORCE_DELAY_SLOT instead of sh_cpu_attr == CPU_SH2E.
      
      gcc/testsuite/
      	* gcc.target/sh/sh.exp (check_effective_target_sh1): New.
      	* gcc.target/sh/force-cbranch-delay-slot.c: New.
      
      From-SVN: r220774
      Oleg Endo committed
    • Add -fipa-cp-alignment · 3c99176a
      This patch adds -fipa-cp-alignment to provide a way to enable/disable
      alignment discovery and propagation in IPA-CP.
      
      gcc/
      
      	* common.opt (fipa-cp-alignment): New.
      	* ipa-cp.c (ipcp_store_alignment_results): Check
      	flag_ipa_cp_alignment.
      	* opts.c (default_options_table): Enable -fipa-cp-alignment for
      	-O2.
      	(enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
      	* doc/invoke.texi: Document -fipa-cp-alignment.
      
      gcc/testsuite/
      
      	* gcc.dg/ipa/propalign-3.c: New test.
      
      From-SVN: r220773
      H.J. Lu committed
  21. 16 Feb, 2015 2 commits
  22. 12 Feb, 2015 1 commit
  23. 11 Feb, 2015 4 commits