1. 11 Jul, 2017 7 commits
  2. 10 Jul, 2017 15 commits
    • re PR target/81375 (unrecognizable insn) · 03ed2915
      	PR target/81375
      	* config/i386/i386.md (divsf3): Add TARGET_SSE to TARGET_SSE_MATH.
      	(rcpps): Ditto.
      	(*rsqrtsf2_sse): Ditto.
      	(rsqrtsf2): Ditto.
      	(div<mode>3): Macroize insn from divdf3 and divsf3
      	using MODEF mode iterator.
      
      testsuite/ChangeLog:
      
      	PR target/81375
      	* gcc.target/i386/pr81375.c: New test.
      
      From-SVN: r250107
      Uros Bizjak committed
    • PR tree-optimization/80397 - missing -Wformat-overflow with arguments of enum types · 9c582dbb
      gcc/ChangeLog:
      
      	PR tree-optimization/80397
      	* gimple-ssa-sprintf.c (format_integer): Use INTEGRAL_TYPE_P()
      	instead of testing for equality to INTEGER_TYPE.
      
      gcc/testsuite/ChangeLog:
      
      	PR tree-optimization/80397
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-17.c: New test.
      
      From-SVN: r250106
      Martin Sebor committed
    • cp-tree.h (cp_operator_id, [...]): Document. · b2221d2b
      
      gcc/cp/ChangeLog:
      
      	* cp-tree.h (cp_operator_id, cp_assignment_operator_id): Document.
      
      From-SVN: r250105
      Martin Sebor committed
    • PR other/81345 - -Wall resets -Wstringop-overflow to 1 from the default 2 · 281ac396
      gcc/c-family/ChangeLog:
      
      	PR other/81345
      	* c.opt (-Wstringop-overflow): Set defaults in LangEnabledBy.
      
      gcc/testsuite/ChangeLog:
      
      	PR other/81345
      	* gcc.dg/pr81345.c: New test.
      
      From-SVN: r250104
      Martin Sebor committed
    • Include missing header for std::free · b0e90d2a
      	* testsuite/abi/pr42230.cc: Add header for std::free.
      
      From-SVN: r250102
      Jonathan Wakely committed
    • PR libstdc++/81381 support stateful allocators in basic_stringbuf · 387c17d3
      	PR libstdc++/81381
      	* include/bits/sstream.tcc (basic_stringbuf::overflow)
      	(basic_stringbuf::basic_stringbuf(const __string_type&, ios::mode))
      	(basic_stringbuf::str()): Construct new strings with an allocator.
      	* testsuite/27_io/basic_stringbuf/cons/81381.cc: New.
      
      From-SVN: r250101
      Jonathan Wakely committed
    • PR libstdc++/81338 correctly manage string capacity · 93ef155b
      	PR libstdc++/81338
      	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
      	Declare basic_stringbuf to be a friend.
      	* include/bits/sstream.tcc (basic_stringbuf::overflow)
      	[_GLIBCXX_USE_CXX11_ABI]: Use unused capacity before reallocating.
      	* include/std/sstream (basic_stringbuf::__xfer_bufptrs): Update string
      	length to buffer length.
      	* testsuite/27_io/basic_stringstream/assign/81338.cc: New.
      
      From-SVN: r250100
      Jonathan Wakely committed
    • [ARC] Configure script to allow non uclibc based triplets · b1938888
      gcc/
      2017-07-10  Vineet Gupta <vgupta@synopsys.com>
      
              * config.gcc: Remove uclibc from arc target spec.
      
      libgcc/
      2017-07-10  Vineet Gupta <vgupta@synopsys.com>
      
              * config.host: Remove uclibc from arc target spec.
      
      From-SVN: r250097
      Vineet Gupta committed
    • [ARC] Fix tests asm constraints. · a7784956
      LRA doesn't like the 'X' constraint as used in our tests, remove it.
      
      gcc/testsuite
      2017-07-10  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* gcc.target/arc/mulsi3_highpart-1.c: Remove 'X' constraint.
      	* gcc.target/arc/mulsi3_highpart-2.c: Likewise.
      
      From-SVN: r250096
      Claudiu Zissulescu committed
    • [ARC] Define ADDITIONAL_REGISTER_NAMES. · 0a98ae06
      This macro is needed to be used with -ffixed-<reg> option, and inline asm.
      
      gcc/
      2017-07-10  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define.
      
      From-SVN: r250095
      Claudiu Zissulescu committed
    • re PR bootstrap/80838 (PGO/LTO bootstrapped compiler 5% slower than pure PGO bootstrapped one) · 472a2536
      
      	PR lto/80838
      	* lto-wrapper.c (remove_option): New function.
      	(merge_and_complain): Merge PIC/PIE options more realistically.
      
      From-SVN: r250094
      Jan Hubicka committed
    • Better ISR prologues by supporting GASes __gcc_isr pseudo insn. · 63866e04
      gcc/
      	Better ISR prologues by supporting GASes __gcc_isr pseudo insn.
      	PR target/20296
      	PR target/81268
      	* configure.ac [target=avr]: Add GAS check for -mgcc-isr.
      	(HAVE_AS_AVR_MGCCISR_OPTION):  If so, AC_DEFINE it.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* doc/extend.texi (AVR Function Attributes) <no_gccisr>: Document it.
      	* doc/invoke.texi (AVR Options) <-mgas-isr-prologues>: Document it.
      	* config/avr/avr.opt (-mgas-isr-prologues): New option and...
      	(TARGET_GASISR_PROLOGUES): ...target mask.
      	* common/config/avr/avr-common.c
      	(avr_option_optimization_table) [OPT_LEVELS_1_PLUS_NOT_DEBUG]:
      	Set -mgas-isr-prologues.
      	* config/avr/avr-passes.def (avr_pass_pre_proep): Add
      	INSERT_PASS_BEFORE for it.
      	* config/avr/avr-protos.h (make_avr_pass_pre_proep): New proto.
      	* config/avr/avr.c (avr_option_override)
      	[!HAVE_AS_AVR_MGCCISR_OPTION]: Unset TARGET_GASISR_PROLOGUES.
      	(avr_no_gccisr_function_p, avr_hregs_split_reg): New static functions.
      	(avr_attribute_table) <no_gccisr>: Add new function attribute.
      	(avr_set_current_function) <is_no_gccisr>: Init machine field.
      	(avr_pass_data_pre_proep, avr_pass_pre_proep): New pass data
      	and rtl_opt_pass.
      	(make_avr_pass_pre_proep): New function.
      	(emit_push_sfr) <treg>: Add argument to function and use it
      	instead of TMP_REG.
      	(avr_expand_prologue) [machine->gasisr.maybe]: Emit gasisr insn
      	and set machine->gasisr.yes.
      	(avr_expand_epilogue) [machine->gasisr.yes]: Similar.
      	(avr_asm_function_end_prologue) [machine->gasisr.yes]: Add
      	__gcc_isr.n_pushed to .L__stack_usage.
      	(TARGET_ASM_FINAL_POSTSCAN_INSN): Define to...
      	(avr_asm_final_postscan_insn): ...this new static function.
      	* config/avr/avr.h (machine_function)
      	<is_no_gccisr, use_L__stack_usage>: New fields.
      	<gasisr, gasisr.yes, gasisr.maybe, gasisr.regno>: New fields.
      	* config/avr/avr.md (UNSPECV_GASISR): Add unspecv enum.
      	(GASISR_Prologue, GASISR_Epilogue, GASISR_Done): New define_constants.
      	(gasisr, *gasisr): New expander and insn.
      	* config/avr/gen-avr-mmcu-specs.c (print_mcu)
      	[HAVE_AS_AVR_MGCCISR_OPTION]: Print asm_gccisr spec.
      	* config/avr/specs.h (ASM_SPEC) <asm_gccisr>: Add sub spec.
      
      From-SVN: r250093
      Georg-Johann Lay committed
    • [arm] Fix warning in parsecpu.awk · 1ff62510
          
      In awk, single quotes within a quoted string do not need escaping.
      The existing code causes awk to grumble in the build logs.
          
      	* config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes
      	in quoted strings.
      
      (really commit it this time)...
      
      From-SVN: r250092
      Richard Earnshaw committed
    • Move jump-tables out of .text again. · 92383fee
      gcc/
      	Move jump-tables out of .text again.
      	PR target/81075
      	* config/avr/avr.c (ASM_OUTPUT_ADDR_VEC_ELT): Remove function.
      	(ASM_OUTPUT_ADDR_VEC): New function.
      	(avr_adjust_insn_length) [JUMP_TABLE_DATA_P]: Return 0.
      	(avr_final_prescan_insn) [avr_log.insn_addresses]: Dump
      	INSN_ADDRESSes as asm comment.
      	* config/avr/avr.h (JUMP_TABLES_IN_TEXT_SECTION): Adjust comment.
      	(ASM_OUTPUT_ADDR_VEC_ELT): Remove define.
      	(ASM_OUTPUT_ADDR_VEC): Define to avr_output_addr_vec.
      	* config/avr/avr.md (*tablejump): Adjust comment.
      	* config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
      	* config/avr/avr-log.c (avr_log_set_avr_log) <insn_addresses>:
      	New detail.
      	* config/avr/avr-protos.h (avr_output_addr_vec_elt): Remove proto.
      	(avr_output_addr_vec): New proto.
      	(avr_log_t) <insn_addresses>: New field.
      
      From-SVN: r250091
      Georg-Johann Lay committed
    • Daily bump. · 46430667
      From-SVN: r250090
      GCC Administrator committed
  3. 09 Jul, 2017 7 commits
  4. 08 Jul, 2017 3 commits
    • Fix coretypes.h-related dependencies · c3cbfd33
      The bug fix here is to build/min-insn-modes.o, the rest are related
      clean-ups.
      
      2017-07-08  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/
      	* Makefile.in (HOOKS_H, RTL_BASE_H, FUNCTION_H, EXPR_H, REGS_H)
      	(REAL_H): Remove $(MACHMODE_H).
      	(FIXED_VALUE_H, TREE_CORE_H, CFGLOOP_H): Remove $(MACHMODE_H) and
      	double-int.h.
      	(CORETYPES_H): Add signop.h, wide-int.h, wide-int-print.h,
      	$(MACHMODE_H) and double-int.h.
      	(build/min-insn-modes.o): Depend on $(CORETYPES_H) rather than
      	$(MACHMODE_H).
      	(gengtype-state.o, gengtype.o, build/gengtype.o): Don't depend on
      	double-int.h.
      
      From-SVN: r250075
      Richard Sandiford committed
    • Force a dependence distance of 1 in gnat.dg/vect17.adb · dcbf81c9
      2017-07-08  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/testsuite/
      	* gnat.dg/vect15.ads (Sarray): Increase range to 1 .. 5.
      	* gnat.dg/vect16.ads (Sarray): Likewise.
      	* gnat.dg/vect17.ads (Sarray): Likewise.
      	* gnat.dg/vect15.adb (Add): Create a dependence distance of 1.
      	* gnat.dg/vect16.adb (Add): Likewise.
      	* gnat.dg/vect17.adb (Add): Likewise.
      
      From-SVN: r250074
      Richard Sandiford committed
    • Daily bump. · 4eede15b
      From-SVN: r250072
      GCC Administrator committed
  5. 07 Jul, 2017 8 commits