1. 26 Nov, 2014 29 commits
  2. 25 Nov, 2014 11 commits
    • error.c (gfc_internal_error): Convert to common diagnostics. · 17d5d49f
      2014-11-25  Tobias Burnus  <burnus@net-b.de>
      
              * error.c (gfc_internal_error): Convert to common diagnostics.
              * interface.c (gfc_find_sym_in_symtree): Use %qs.
              * intrinsic.c (make_generic, gfc_check_intrinsic_standard,
              gfc_convert_type_warn): Ditto.
              * module.c (write_symbol): Ditto.
              * symbol.c (gfc_get_default_type): Ditto; use fatal instead
              of internal error.
              * trans-array.c (gfc_walk_subexpr): Replace internal_error by
              gfc_internal_error.
              * trans-decl.c (gfc_get_symbol_decl,
              (gfc_create_module_variable): Ditto. Use %qs.
              * trans-intrinsic.c (gfc_conv_intrinsic_lib_function): Ditto.
              * trans-io.c (transfer_expr): Ditto.
              * trans-openmp.c (gfc_trans_omp_workshare): Ditto.
              * trans.c (trans_code): Ditto.
      
      From-SVN: r218068
      Tobias Burnus committed
    • gfortran.h (gfc_option_t): Remove flags moved as Var to .opt. · 4daa149b
      2014-11-25  Tobias Burnus  <burnus@net-b.de>
      
      gcc/fortran/
              * gfortran.h (gfc_option_t): Remove flags moved as Var to .opt.
              (gfc_error_now_1): Renamed from gfc_error_now.
              (gfc_error_now): Renamed from gfc_error_now_2.
              (gfc_warning_now_1): Renamed from gfc_warning_now.
              (gfc_warning_now): Renamed from gfc_warning_now_2.
              * error.c (gfc_error_now_1): Renamed from gfc_error_now.
              (gfc_error_now): Renamed from gfc_error_now_2.
              (gfc_warning_now_1): Renamed from gfc_warning_now.
              (gfc_warning_now): Renamed from gfc_warning_now_2.
              (gfc_get_errors): Include common diagnostic in count.
              * lang.opt (Wc-binding-type, Wconversion, Wconversion-extra,
              Wintrinsics-std): Create a Var for those warnings.
              * check.c (gfc_check_cmplx): Pass warning flag to
              diagnostic function.
              * decl.c (get_proc_name, gfc_verify_c_interop_param, build_sym
              gfc_set_constant_character_len, verify_bind_c_sym): Ditto; use
              _1 for old diagnostic, remove _2 for new diagnostic.
              * expr.c (gfc_check_assign, gfc_check_vardef_context): Ditto.
              * frontend-passes.c (doloop_code, do_function): Ditto.
              * intrinsic.c (gfc_is_intrinsic, gfc_convert_type_warn): Ditto.
              * match.c (gfc_match_common): Ditto.
              * module.c (use_iso_fortran_env_module, gfc_use_module): Ditto.
              * parse.c (decode_statement, decode_gcc_attribute, next_free,
              next_fixed, gfc_check_do_variable): Ditto.
              * resolve.c (resolve_common_vars, resolve_ordinary_assign):
              Ditto.
              * scanner.c (add_path_to_list, skip_free_comments,
              gfc_next_char_literal, gfc_gobble_whitespace, load_line,
              preprocessor_line, load_file): Ditto.
              * symbol.c (gfc_set_default_type, verify_bind_c_derived_type):
              Ditto.
              * options.c (gfc_post_options): Ditto.
              (gfc_init_options, set_Wall, gfc_handle_option): Ditto; remove
              flags which now have a Var.
              * invoke.texi (Wconversion-extra): Make clear that the flag
              does not imply -Wconversion.
      
      gcc/testsuite/
              * gfortran.dg/empty_label.f: Change test to continue testing
              for -fmax-errors=1.
              * gfortran.dg/empty_label.f90: Ditto.
              * gfortran.dg/warnings_are_errors_1.f90: Update dg-*.
      
      From-SVN: r218067
      Tobias Burnus committed
    • enum6.C: Use arm_eabi for dg-options. · b1edcad1
      2014-11-26  Andreas Tobler  <andreast@gcc.gnu.org>
      
              * g++.old-deja/g++.jason/enum6.C: Use arm_eabi for dg-options.
      	Update comment.
      	* g++.old-deja/g++.law/enum9.C: Likewise.
      	* g++.old-deja/g++.other/enum4.C: Likewise.
      
      From-SVN: r218065
      Andreas Tobler committed
    • ira-lives.c (process_bb_node_lives): Make code with conditional REAL_PIC_OFFSET_TABLE_REGNUM. · 61001a35
      2014-11-25  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* ira-lives.c (process_bb_node_lives): Make code with conditional
      	REAL_PIC_OFFSET_TABLE_REGNUM.
      
      From-SVN: r218063
      Vladimir Makarov committed
    • Add a testcase for PR target/63534 · a56e69da
      	PR target/63534
      	* gcc.target/i386/pr63534.c: New test.
      
      From-SVN: r218062
      H.J. Lu committed
    • Add a test for PR target/63527 · 55026b4c
      	PR target/63527
      	* gcc.target/i386/pr63527.c: New test.
      
      From-SVN: r218061
      H.J. Lu committed
    • Ensure single 'UNSUPPORTED: prettyprinters.exp' message · 6a848e9d
      2014-11-25  Tom de Vries  <tom@codesourcery.com>
      
      	* testsuite/libstdc++-prettyprinters/prettyprinters.exp: Add missing
      	dg-finish.  Only print unsupported message once.
      
      From-SVN: r218060
      Tom de Vries committed
    • re PR target/63527 (-fPIC uses 2 registers for GOT) · 21c6c24f
      2014-11-25  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/63527
      	* ira-lives.c (process_bb_node_lives): Check and remove conflict
      	of pic pseudo with pic hard reg.
      
      From-SVN: r218059
      Vladimir Makarov committed
    • re PR bootstrap/63703 (Bootstrap broken on powerpc-apple-darwin, cc1: internal… · 70edbbae
      re PR bootstrap/63703 (Bootstrap broken on powerpc-apple-darwin, cc1: internal compiler error: in init_reg_sets)
      
      	PR bootstrap/63703
      	* config/rs6000/darwin.h (REGISTER_NAMES): Update based on 32 newly
      	added GCC hard register numbers for SPE high registers.
      
      From-SVN: r218058
      Rohit Arul Raj committed
    • env.c (getenv): Remove unused variable res_len. · cbe5b960
      	* intrinsics/env.c (getenv): Remove unused variable res_len.
      
      From-SVN: r218057
      Uros Bizjak committed
    • bt-load.c (migrate_btr_defs): Get the key of a heap entry before removing it, not after. · 37513299
      	* bt-load.c (migrate_btr_defs): Get the key of a heap entry
      	before removing it, not after.
      
      From-SVN: r218056
      Segher Boessenkool committed