1. 13 May, 2015 36 commits
  2. 12 May, 2015 4 commits
    • mips.c (mips_print_operand): Remove 'y' operand code. · 70a6fed8
      	* config/mips/mips.c (mips_print_operand): Remove 'y' operand code.
      	* config/mips/mips.md (<GPR:d>lsa): Rewrite with shift operator.
      	* config/mips/predicates.md (const_immlsa_operand): Remove log call.
      
      From-SVN: r223101
      Steve Ellcey committed
    • compiler: If unary & does not escape, the var does not escape. · 38109dbe
      If we have a unary & that takes the address of a variable, do
      not force the variable to escape if the unary & does not
      escape.
      
      From-SVN: r223100
      Ian Lance Taylor committed
    • re PR fortran/66111 (ICE with matmul and vector subscripts) · 7e269fe8
      2015-05-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/66111
      	* frontend-passes.c (has_dimen_vector_ref):  New function.
      	(inline_matmul_assign):  Use it to return early in case
      	of unhandled vector subscripts.
      
      2015-05-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/66111
      	* gfortran.dg/inline_matmul_10.f90:  New test.
      
      From-SVN: r223099
      Thomas Koenig committed
    • Implement -Wmisleading-indentation · c3388e62
      gcc/ChangeLog:
      	* doc/invoke.texi (Warning Options): Add -Wmisleading-indentation.
      	(-Wmisleading-indentation): New option.
      	* Makefile.in (C_COMMON_OBJS): Add c-family/c-indentation.o.
      
      gcc/c-family/ChangeLog:
      	* c-common.h (warn_for_misleading_indentation): New prototype.
      	* c-indentation.c: New file.
      	* c.opt (Wmisleading-indentation): New option.
      
      gcc/c/ChangeLog:
      	* c-parser.c (c_parser_if_body): Add param "if_loc", use it
      	to add a call to warn_for_misleading_indentation.
      	(c_parser_else_body): Likewise, adding param "else_loc".
      	(c_parser_if_statement): Check for misleading indentation.
      	(c_parser_while_statement): Likewise.
      	(c_parser_for_statement): Likewise.
      
      gcc/cp/ChangeLog:
      	* parser.c (cp_parser_selection_statement): Add location and
      	guard_kind arguments to calls to
      	cp_parser_implicitly_scoped_statement.
      	(cp_parser_iteration_statement): Likewise for calls to
      	cp_parser_already_scoped_statement.
      	(cp_parser_implicitly_scoped_statement): Add "guard_loc" and
      	"guard_kind" params; use them to warn for misleading
      	indentation.
      	(cp_parser_already_scoped_statement): Likewise.
      
      gcc/testsuite/ChangeLog:
      	* c-c++-common/Wmisleading-indentation.c: New testcase.
      	* c-c++-common/Wmisleading-indentation-2.c: New testcase.
      	* c-c++-common/Wmisleading-indentation-2.md: New file.
      
      libcpp/ChangeLog:
      	* directives.c (do_line): Set seen_line_directive on line_table.
      	(do_linemarker): Likewise.
      	* include/line-map.h (struct line_maps): Add new field
      	"seen_line_directive".
      
      From-SVN: r223098
      David Malcolm committed