1. 05 Jun, 2013 15 commits
  2. 04 Jun, 2013 18 commits
    • lto-cgraph.c (get_alias_symbol): Remove weakref sanity check. · b9bd2075
      
      	* lto-cgraph.c (get_alias_symbol): Remove weakref sanity check.
      	(input_node, input_varpool_node): Handle correctly external same
      	body aliases.
      	* ipa.c (symtab_remove_unreachable_nodes): Do not remove external
      	nodes at ltrans stage.
      
      From-SVN: r199675
      Jan Hubicka committed
    • attr-alias.c: New testcase. · aaae719d
      	* gcc.dg/tree-ssa/attr-alias.c: New testcase.
      
      	* ipa-inline.c (update_caller_keys): Fix availability test.
      	(update_callee_keys): Likewise.
      	* symtab.c (symtab_alias_ultimate_target): Make availaiblity logic
      	to follow ELF standard.
      
      From-SVN: r199670
      Jan Hubicka committed
    • gcc/ · 107eea2c
      2013-06-03  Jürgen Urban  <JuergenUrban@gmx.de>
      
      	* config.gcc (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
      	(mips64r5900el-*-elf*): New configurations.
      	* config/mips/mips-cpus.def (r5900): New processor.
      	* config/mips/mips-tables.opt: Regenerate.
      	* config/mips/mips.c (mips_rtx_cost_data): Add an R5900 entry.
      	(mips_issue_rate): Handle PROCESSOR_R5900.
      	(mips_reorg_process_insns): Force reorder mode for the R5900.
      	* config/mips/mips.h (TARGET_MIPS5900): Define.
      	(ISA_HAS_CONDMOVE, ISA_HAS_PREFETCH, ISA_HAS_HILO_INTERLOCKS): Include
      	TARGET_MIPS5900.
      	(ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY): Exclude
      	TARGET_MIPS5900.
      	* config/mips/mips.md (processor): Add r5900.
      	(MOVECC): Disallow CCmode conditions for TARGET_MIPS5900.
      
      libgcc/
      2013-06-03  Jürgen Urban  <JuergenUrban@gmx.de>
      
      	* config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
      	(mips64r5900el-*-elf*): New configurations.
      
      From-SVN: r199666
      Jürgen Urban committed
    • Fix Cilk Plus tests for simulators. · ce6a6ae1
      2013-06-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      
              * c-c++-common/cilk-plus/AN/array_test1.c (main): Replaced argc, argv
              parameters with void.
              (main2): Removed argc parameter.
              * c-c++-common/cilk-plus/AN/array_test2.c (main2): Likewise.
              (main): Replaced argc, argv parameters with void.
              * c-c++-common/cilk-plus/AN/array_test_ND.c (main): Likewise.
              (main2): Removed argc parameter.
              * c-c++-common/cilk-plus/AN/builtin_fn_custom.c (main): Replaced argc
              argv parameters with void.  Added __asm volatile to avoid optimization
              on argc, if necessary.
              * c-c++-common/cilk-plus/AN/builtin_fn_mutating (main): Likewise.
              * c-c++-common/cilk-plus/AN/builtin_func_double.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/builtin_func_double2.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/conditional.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/exec-once.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/exec-once2.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/fn_ptr.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/gather-scatter-errors.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/gather_scatter.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/misc.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/parser_errors.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/parser_errors2.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/parser_errors3.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/parser_errors4.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/rank_mismatch2.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/sec_implicit_ex.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/sec_reduce_return.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/test_builtin_return.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/vla.c (main): Likewise.
              * c-c++-common/cilk-plus/AN/comma-exp.c (main): Replaced argc, argv
              parameters with void.
              (main2): Removed argc parameter.
              * c-c++-common/cilk-plus/AN/if_test.c (main2): Likewise.
              (main): Replaced argc, argv parameters with void.
              * c-c++-common/cilk-plus/AN/fp_triplet_values (main2): Replace argc,
              argv parameters with void.  Also renamed this function as main, and
              delete the existing main.
              * c-c++-common/cilk-plus/AN/sec_implicit.c (main2): Likewise.
              * c-c++-common/cilk-plus/AN/sec_implicit2.c (main2): Likewise.
              * c-c++-common/cilk-plus/AN/sec_reduce_max_min_ind.c (main2): Likewise.
      
      From-SVN: r199661
      Balaji V. Iyer committed
    • AArch64 - Improve MOVI handling (5/5) · b7342d25
      From-SVN: r199658
      Ian Bolton committed
    • AArch64 - Improve MOVI handling (4/5) · 81c2dfb9
      From-SVN: r199657
      Ian Bolton committed
    • AArch64 - Improve MOVI handling (3/5) · 48063b9d
      From-SVN: r199656
      Ian Bolton committed
    • AArch64 - Improve MOVI handling (2/5) · 3ea63f60
      From-SVN: r199653
      Ian Bolton committed
    • AArch64 - Improve MOVI handling (1/5) · d8edd899
      From-SVN: r199652
      Ian Bolton committed
    • ibm-ldouble.c: Enable for little-endian. · 5cc19c62
      	* config/rs6000/ibm-ldouble.c: Enable for little-endian.
      
      From-SVN: r199650
      Alan Modra committed
    • mips.opt (meva): New. · 44b20bb8
      2013-06-04  Catherine Moore  <clm@codesourcery.com>
      
              * config/mips/mips.opt (meva): New.
              * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS):
              Define __mips_eva.
              (ASM_SPEC): Handle -meva.
              * doc/invoke.texi (meva):  Document.
      
      From-SVN: r199649
      Catherine Moore committed
    • rs6000.c (output_toc): Correct little-endian float constant output. · 52befbd8
      	* config/rs6000/rs6000.c (output_toc): Correct little-endian float
      	constant output.
      
      From-SVN: r199646
      Alan Modra committed
    • re PR fortran/37336 ([F03] Finish derived-type finalization) · ef292537
      2013-06-03  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37336
              * trans.h (gfc_build_final_call): Remove prototype.
              (gfc_add_finalizer_call): Add prototype.
              * trans-array.c (gfc_trans_dealloc_allocated): Support
              * finalization.
              (structure_alloc_comps): Update caller.
              (gfc_trans_deferred_array): Call finalizer.
              * trans-array.h (gfc_trans_dealloc_allocated): Update prototype.
              * trans-decl.c (gfc_trans_deferred_vars): Don't
              * deallocate/finalize
              variables of the main program.
              * trans-expr.c (gfc_conv_procedure_call): Support finalization.
              * trans-openmp.c (gfc_omp_clause_dtor,
              gfc_trans_omp_array_reduction): Update calls.
              * trans-stmt.c (gfc_trans_deallocate): Avoid double deallocation
              of alloc components.
              * trans.c (gfc_add_finalizer_call): New function.
              (gfc_deallocate_with_status,
              gfc_deallocate_scalar_with_status): Call it
              (gfc_build_final_call): Fix handling of scalar coarrays,
              move up in the file and make static.
      
      2013-06-03  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37336
              * gfortran.dg/finalize_12.f90: New.
              * gfortran.dg/alloc_comp_basics_1.f90: Add BLOCK for
              end of scope finalization.
              * gfortran.dg/alloc_comp_constructor_1.f90: Ditto.
              * gfortran.dg/allocatable_scalar_9.f90: Ditto.
              * gfortran.dg/auto_dealloc_2.f90: Ditto.
              * gfortran.dg/class_19.f03: Ditto.
              * gfortran.dg/coarray_lib_alloc_1.f90: Ditto.
              * gfortran.dg/coarray_lib_alloc_2.f90: Ditto.
              * gfortran.dg/extends_14.f03: Ditto.
              * gfortran.dg/move_alloc_4.f90: Ditto.
              * gfortran.dg/typebound_proc_27.f03: Ditto.
      
      From-SVN: r199643
      Tobias Burnus committed
    • rtl.def: Add extra fourth optional field to define_cond_exec. · aadaf24e
      2013-06-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* rtl.def: Add extra fourth optional field to define_cond_exec.
      	* gensupport.c (process_one_cond_exec): Process attributes from
      	define_cond_exec.
      	* doc/md.texi: Document fourth field in define_cond_exec.
      
      From-SVN: r199640
      Kyrylo Tkachov committed
    • expmed.c (extract_bit_field_1): In the larger-than-a-word case... · 0cd9e9ee
      	* expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor
      	out the processing order as in store_bit_field_1.
      
      From-SVN: r199637
      Eric Botcazou committed
    • bounds_check_7.f90: Remove "! · 94b74637
      2013-06-03  Manfred Schwarb  <manfred99@gmx.ch>
      
              * gfortran.dg/bounds_check_7.f90: Remove "! {".
              * gfortran.dg/coarray_poly_3.f90: Remove inactive, broken dg-*.
              * gfortran.dg/default_initialization_5.f90: Update dg-do.
              * gfortran.dg/g77/f77-edit-s-out.f: Fix broken dg-output.
              * gfortran.dg/g77/f77-edit-t-out.f: Fix broken dg-output.
              * gfortran.dg/g77/f77-edit-x-out.f: Fix broken dg-output.
              * gfortran.dg/init_flag_11.f90: Fix broken dg-options.
              * gfortran.dg/io_real_boz_3.f90: Add comment regarding dg-do run.
              * gfortran.dg/io_real_boz_4.f90: Ditto.
              * gfortran.dg/io_real_boz_5.f90: Ditto.
              * gfortran.dg/namelist_print_1.f: Fix broken dg-output.
              * gfortran.dg/read_x_eor.f90: Fix broken dg-output.
              * gfortran.dg/repeat_1.f90: Improve dg-output pattern.
              * gfortran.dg/spread_bounds_1.f90: Fix broken dg-output.
              * gfortran.dg/transpose_2.f90: Fix dg-output.
      
      From-SVN: r199636
      Manfred Schwarb committed
    • re PR middle-end/57500 (Segfault in ipa_record_reference) · cb0f665d
      2013-06-04  Jan Hubicka  <jh@suse.cz>
      
              PR middle-end/57500
              * cgraphunit.c (cgraph_process_same_body_aliases): Create
              non-VAR_DECL node if it does not exist yet.
      
      From-SVN: r199634
      Jan Hubicka committed
    • Daily bump. · 3d5d3d43
      From-SVN: r199633
      GCC Administrator committed
  3. 03 Jun, 2013 7 commits
    • correct changelog date · 3800c010
      From-SVN: r199630
      Jason Merrill committed
    • class.c (mark_type_abi_tags): New. · 3aaaa103
      	* class.c (mark_type_abi_tags): New.
      	(check_abi_tags): Use it.
      
      From-SVN: r199629
      Jason Merrill committed
    • Fixed a bug in expansion of array notations in if-statement conditions. · 25c22937
      2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      
             * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
             condition of the if-statement matches the rank of else-block and then-
             block when array notations are used.
             * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
             expression after the entire function body is parsed.
             (c_parser_expr_no_commas): Delayed creating array notation expressions
             to the end of function parsing.
             * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
             whole if-statement instead of just the condition.
             (expand_array_notation_exprs): Added MODIFY_EXPR case.
      
      
      2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      
             * c-c++-common/cilk-plus/AN/if_test_errors.c (main): New testcase.
             * c-c++-common/cilk-plus/AN/rank_mismatch.c: Added a '-w' option to
             dg-option and an header comment.
      
      From-SVN: r199628
      Balaji V. Iyer committed
    • re PR c/57474 (FAIL: c-c++-common/cilk-plus/AN/sec_implicit2?.c -fcilkplus… · edd25645
      re PR c/57474 (FAIL: c-c++-common/cilk-plus/AN/sec_implicit2?.c  -fcilkplus (internal compiler error) on x86_64-apple-darwin10)
      
      2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      
             PR c/57474
             * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
             array to NULL_TREE if they are unused.  Also added a check for the
             field to be NULL before its fields are used in future.
      
      From-SVN: r199627
      Balaji V. Iyer committed
    • re PR c++/57419 (Access control doesn't stop referring to a deleted function) · 2e649151
      /gcc/cp
      2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/57419
      	* decl2.c (mark_used): Add overload taking a tsubst_flags_t too.
      	* semantics.c (finish_qualified_id_expr): Use it.
      	* cp-tree.h: Update.
      
      /gcc/testsuite
      2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/57419
      	* g++.dg/cpp0x/sfinae46.C: New.
      	* g++.dg/cpp0x/defaulted13.C: Adjust.
      	* g++.dg/cpp0x/defaulted2.C: Likewise.
      	* g++.dg/cpp0x/defaulted26.C: Likewise.
      	* g++.dg/cpp0x/defaulted3.C: Likewise.
      	* g++.dg/cpp0x/error1.C: Likewise.
      	* g++.dg/cpp0x/implicit1.C: Likewise.
      	* g++.dg/cpp0x/implicit11.C: Likewise.
      	* g++.dg/cpp0x/inh-ctor13.C: Likewise.
      	* g++.dg/cpp0x/initlist47.C: Likewise.
      	* g++.dg/cpp0x/initlist9.C: Likewise.
      	* g++.dg/cpp0x/lambda/lambda-errloc.C: Likewise.
      	* g++.dg/cpp0x/lambda/lambda-errloc2.C: Likewise.
      	* g++.dg/cpp0x/nsdmi-local.C: Likewise.
      	* g++.dg/cpp0x/union4.C: Likewise.
      	* g++.dg/template/crash108.C: Likewise.
      	* g++.dg/template/crash41.C: Likewise.
      	* g++.old-deja/g++.jason/local.C: Likewise.
      	* g++.old-deja/g++.law/visibility3.C: Likewise.
      
      /libstdc++-v3
      2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/57419
      	* testsuite/20_util/default_delete/48631_neg.cc: Adjust.
      
      From-SVN: r199626
      Paolo Carlini committed
    • gcc/ · 53984b9b
      	* config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*)
      	(mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*)
      	(mips64orion-*-elf*, mips64orionel-*-elf*): Remove
      	target_cpu_default setting.
      
      From-SVN: r199624
      Richard Sandiford committed
    • dumpfile.c (opt_info_switch_p): Change -fopt-info default to -fopt-info=optimized instead of all. · 5d318fd4
      2013-06-03  Teresa Johnson  <tejohnson@google.com>
      
      	* dumpfile.c (opt_info_switch_p): Change -fopt-info
              default to -fopt-info=optimized instead of all.
      	* doc/invoke.texi: Ditto.
      	* tree-vectorizer.c (vectorize_loops): Emit loop vectorization
              success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc.
      	(execute_vect_slp): Emit BB vectorization success under
              MSG_OPTIMIZED_LOCATIONS.
      	* tree-vect-slp.c (vect_slp_transform_bb): Change
              MSG_OPTIMIZED_LOCATIONS to MSG_NOTE.
      	* tree-vect-loop.c (vect_transform_loop): Ditto.
      
      	* testsuite/gcc.dg/vect/bb-slp-31.c: Update vect dump message.
      	* testsuite/gcc.dg/vect/bb-slp-14.c: Ditto.
      	* testsuite/gcc.dg/vect/fast-math-bb-slp-call-1.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-23.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-15.c: Ditto.
      	* testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-24.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-16.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-25.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-pattern-2.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-17.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-1.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-26.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-18.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-2.c: Ditto.
      	* testsuite/gcc.dg/vect/no-tree-reassoc-bb-slp-12.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-27.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-19.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-3.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-28.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-4.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-29.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-5.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-6.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-8a.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-7.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-8b.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-8.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-9.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-10.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-11.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-20.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-cond-1.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-21.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-30.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-13.c: Ditto.
      	* testsuite/gcc.dg/vect/bb-slp-22.c: Ditto.
      	* testsuite/g++.dg/vect/slp-pr50413.cc: Ditto.
      	* testsuite/g++.dg/vect/slp-pr56812.cc: Ditto.
      	* testsuite/g++.dg/vect/slp-pr50819.cc: Ditto.
      
      From-SVN: r199620
      Teresa Johnson committed