1. 31 Jan, 2018 9 commits
    • [ARC] Add 'aux' variable attribute. · b6fb257b
      The 'aux' variable attribute is used to directly access the auxiliary
      register space from C.
      
      gcc/
      2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>
      
              * config/arc/arc.c (arc_handle_aux_attribute): New function.
              (arc_attribute_table): Add 'aux' attribute.
              (arc_in_small_data_p): Consider aux like variables.
              (arc_is_aux_reg_p): New function.
              (arc_asm_output_aligned_decl_local): Ignore 'aux' like variables.
              (arc_get_aux_arg): New function.
              (prepare_move_operands): Handle aux-register access.
              (arc_handle_aux_attribute): New function.
              * doc/extend.texi (ARC Variable attributes): Add subsection.
      
      testsuite/
      2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>
      
              * gcc.target/arc/taux-1.c: New test.
              * gcc.target/arc/taux-2.c: Likewise.
      
      From-SVN: r257223
      Claudiu Zissulescu committed
    • [ARC] Add 'uncached' attribute. · 8180c03f
      The _Uncached type qualifier can be used to bypass the cache without
      resorting to declaring variables as volatile.
      
      gcc/
      2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc-protos.h (arc_is_uncached_mem_p): Function proto.
      	* config/arc/arc.c (arc_handle_uncached_attribute): New function.
      	(arc_attribute_table): Add 'uncached' attribute.
      	(arc_print_operand): Print '.di' flag for uncached memory
      	accesses.
      	(arc_in_small_data_p): Do not consider for small data the uncached
      	types.
      	(arc_is_uncached_mem_p): New function.
      	* config/arc/predicates.md (compact_store_memory_operand): Check
      	for uncached memory accesses.
      	(nonvol_nonimm_operand): Likewise.
      	* gcc/doc/extend.texi (ARC Type Attribute): New subsection.
      
      gcc/testsuite
      2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* gcc.target/arc/uncached.c: New test.
      
      From-SVN: r257222
      Claudiu Zissulescu committed
    • Fix gnat.dg/lto20.adb XPASS · 2f857e1b
      	PR lto/83954
      	* gnat.dg/lto20.adb: Remove dg-excess-errors.
      
      From-SVN: r257221
      Rainer Orth committed
    • re PR preprocessor/69869 (internal compiler error: Segmentation fault in call to… · 1306a81d
      re PR preprocessor/69869 (internal compiler error: Segmentation fault in call to skip_macro_block_comment when using '-traditional-cpp')
      
      	PR preprocessor/69869
      	* traditional.c (skip_macro_block_comment): Return bool, true if
      	the macro block comment is unterminated.
      	(copy_comment): Use return value from skip_macro_block_comment instead
      	of always false.
      
      	* gcc.dg/cpp/trad/pr69869.c: New test.
      
      From-SVN: r257220
      Jakub Jelinek committed
    • re PR c/84100 (Function __attribute__((optimize(align-loops=32))) gives spurious… · 7b56ebc3
      re PR c/84100 (Function __attribute__((optimize(align-loops=32))) gives spurious warning and is ignored)
      
      	PR c/84100
      	* common.opt (falign-functions=, falign-jumps=, falign-labels=,
      	falign-loops=): Add Optimization flag.
      
      	* gcc.dg/pr84100.c: New test.
      
      From-SVN: r257219
      Jakub Jelinek committed
    • go-gcc.cc (Gcc_backend::convert_tree): New private method. · ebc2f401
      	* go-gcc.cc (Gcc_backend::convert_tree): New private method.
      	(Gcc_backend::constructor_expression): Call it.
      	(Gcc_backend::assignment_statement): Likewise.
      	(Gcc_backend::temporary_variable): Likewise.
      
      Fixes https://golang.org/issue/#23606
      
      From-SVN: r257218
      Ian Lance Taylor committed
    • re PR target/84064 (ICE in ix86_expand_prologue related to… · 58375711
      re PR target/84064 (ICE in ix86_expand_prologue related to -fstack-clash-protection and memcpy on i686)
      
      	PR target/84064
      	* i386.c (ix86_adjust_stack_and_probe_stack_clash): New argument
      	INT_REGISTERS_SAVED.  Check it prior to calling
      	get_scratch_register_on_entry.
      	(ix86_adjust_stack_and_probe): Similarly.
      	(ix86_emit_probe_stack_range): Similarly.
      	(ix86_expand_prologue): Corresponding changes.
      
      	PR target/84064
      	* gcc.target/i386/pr84064: New test.
      
      From-SVN: r257217
      Jeff Law committed
    • compiler: Function_type and Backend_function_type should not be identical · 61ddc5ea
          
          Function_type and Backend_function_type have different backend
          representations, so they should not be identical. Otherwise it
          confuses Type::type_btypes map.
          
          Reviewed-on: https://go-review.googlesource.com/90975
      
      From-SVN: r257216
      Ian Lance Taylor committed
    • Daily bump. · f0ab0c3a
      From-SVN: r257215
      GCC Administrator committed
  2. 30 Jan, 2018 30 commits
  3. 29 Jan, 2018 1 commit