- 27 Nov, 2012 12 commits
-
-
2012-11-27 Dehao Chen <dehao@google.com> * cfgrtl.c (rtl_merge_blocks): Check with UNKNOWN_LOCATION correctly. (cfg_layout_merge_blocks): Likewise. From-SVN: r193852
Dehao Chen committed -
* passes.c (init_optimization_passes): Add pass_asan and pass_tsan to -Og optimization passes. From-SVN: r193850
Jakub Jelinek committed -
From-SVN: r193849
Kostya Serebryany committed -
PR lto/54795 * lto-opts.c (lto_write_options): Also handle OPT_SPECIAL_unknown, OPT_SPECIAL_ignore and OPT_SPECIAL_program_name. PR lto/55474 * lto-wrapper.c (merge_and_complain): Handle OPT_SPECIAL_unknown, OPT_SPECIAL_ignore, OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. Co-Authored-By: Markus Trippelsdorf <markus@trippelsdorf.de> From-SVN: r193848
H.J. Lu committed -
PR middle-end/52650 * function.c (instantiate_virtual_regs_in_insn): Don't delete invalid asm gotos, instead just clear their template and inputs. From-SVN: r193846
Jakub Jelinek committed -
re PR tree-optimization/55110 (Internal compiler error in vectorizable_reduction, at tree-vect-loop.c:4633) PR tree-optimization/55110 * tree-vect-loop.c (vectorizable_reduction): Don't assert that STMT_VINFO_RELATED_STMT of orig_stmt is stmt. * gcc.dg/pr55110.c: New test. From-SVN: r193845
Jakub Jelinek committed -
2012-11-27 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_stmt_1): Remove unnecessary code. From-SVN: r193844
Richard Biener committed -
* configure.ac: Disable libsanitizer if we're not building C++. * configure: Regenerate. From-SVN: r193842
Siddhesh Poyarekar committed -
* config/arm/arm.c (thumb1_reorg): New function. (arm_reorg): Call thumb1_reorg. (thumb1_final_prescan_insn): Record src operand in thumb1_cc_op0. * config/arm/arm.md : Remove peephole2 patterns which rewrite move into subtract of ZERO. From-SVN: r193841
Bin Cheng committed -
2012-11-27 Richard Biener <rguenther@suse.de> PR middle-end/55331 * gimple-fold.c (gimplify_and_update_call_from_tree): Replace stmt with a NOP instead of removing it. * g++.dg/opt/pr55331.C: New testcase. From-SVN: r193839
Richard Biener committed -
From-SVN: r193836
GCC Administrator committed -
* loop-invariant.c (check_invariant_table_size): Take sizeof of the right type. * reorg.c (resource_conflicts_p): Use hard_reg_set_intersect_p. (rare_destination): Remove. (mostly_true_jump): Simplify. Base result on REG_BR_PROP notes if available, otherwise assume branches are not taken. (fill_eager_delay_slots): Update mostly_true_jump call. (relax_delay_slots): Likewise. From-SVN: r193834
Steven Bosscher committed
-
- 26 Nov, 2012 22 commits
-
-
* include/std/functional (__is_socketlike): Change from class template to alias template. From-SVN: r193832
Jonathan Wakely committed -
PR libstdc++/55463 * include/std/functional (_Mem_fn): Handle rvalue objects. Add noexcept-specifications. * testsuite/20_util/function_objects/mem_fn/55463.cc: New. * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. From-SVN: r193831
Jonathan Wakely committed -
From-SVN: r193830
Steven Bosscher committed -
From-SVN: r193829
Eric Botcazou committed -
* gcc.dg/54455.c: Require scheduling. * gcc.dg/c1x-align-4.c: Skip avr. * gcc.dg/pr44024.c: Skip avr in final scan. From-SVN: r193827
Georg-Johann Lay committed -
PR testsuite/52641 * gcc.c-torture/execute/20120919-1.x: New file (int32plus). * gcc.dg/pr54676.c: Make work for 16-bit int. From-SVN: r193826
Georg-Johann Lay committed -
2012-11-26 Vladimir Makarov <vmakarov@redhat.com> PR target/55277 * gcc.target/i386/pr55227.c: New test. 2012-11-26 Vladimir Makarov <vmakarov@redhat.com> PR target/55277 * lra-constraints.c (in_class_p): Check reg class contents too. From-SVN: r193824
Vladimir Makarov committed -
gcc/ * config/aarch64/aarch64-builtins.c (aarch64_builtin_decls): New. (aarch64_init_simd_builtins): Store declaration after builtin initialisation. (aarch64_builtin_decl): New. * config/aarch64/aarch64-protos.h (aarch64_builtin_decl): New. * config/aarch64/aarch64.c (TARGET_BUILTIN_DECL): Define. From-SVN: r193823
James Greenhalgh committed -
gcc/ * doc/invoke.texi: Remove -dv documentation. Fix up graph dump related documentation. Document the '-graph' dump option. Complete the '-slim' dump option documentation. * common.opt (Variable graph_dump_format): Remove. * flag-types.h (enum graph_dump_types): Remove. * flags.h (dump_for_graph): Remove. * opts.c (decode_d_option): Remove -dv handling. * sched-int.h (print_insn, print_pattern, print_value): Move prototypes from here ... * rtl.h: ...to here. Add note that these functions ought to be in another file. * sched-vis.c (print_insn): Add detailed dump for insn notes. * print-rtl.c (dump_for_graph): Remove. (print_rtx): Remove dump_for_graph related code. * graph.c: Almost complete re-write to dump DOT (GraphViz) dumps instead of VCG dumps. * graph.h (print_rtl_graph_with_bb): Update prototype. * passes.c (finish_optimization_passes): Fix profile dump finishing. Unconditionally loop over graph dumps to finalize. (execute_function_dump): Split code to dump graphs to separate block. (execute_one_pass): Don't set TDF_GRAPH here, let the dump option decoders do their job. * ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION. * toplev.c: Don't include graph.h. * tree-optimize.c: Don't include graph.h. testsuite/ * testsuite/gcc.dg/20050811-1.c: Change -dv option to -graph option to -fdump-rtl-all. * testsuite/gcc.dg/pr37858.c: Remove -dv option. From-SVN: r193821
Steven Bosscher committed -
From-SVN: r193820
Marek Polacek committed -
* tree.h (DECL_RESTRICTED_P): Delete. (DECL_READ_P): Add comment. (DECL_NONSHAREABLE): Likewise. (TYPE_NO_FORCE_BLK): Fix comment. (struct tree_decl_common): Remove decl_restricted_flag, add decl_flag_3. * tree-emutls.c (new_emutls_decl): Do not deal with DECL_RESTRICTED_P. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. fortran/ * trans-decl.c (gfc_finish_var_decl): Do not set DECL_RESTRICTED_P. * alias.c (nonoverlapping_component_refs_p): Fix thinko. From-SVN: r193815
Eric Botcazou committed -
gcc/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * doc/sourcebuild.texi: Document arm_v8_vfp_ok. gcc/testsuite/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * lib/target-supports.exp (check_effective_target_arm_v8_vfp_ok): New procedure. (add_options_for_arm_v8_vfp): New procedure. * gcc.target/arm/vrintaf32.c: New test. * gcc.target/arm/vrintaf64.c: Likewise. * gcc.target/arm/vrintmf32.c: Likewise. * gcc.target/arm/vrintmf64.c: Likewise. * gcc.target/arm/vrintpf32.c: Likewise. * gcc.target/arm/vrintpf64.c: Likewise. * gcc.target/arm/vrintrf32.c: Likewise. * gcc.target/arm/vrintrf64.c: Likewise. * gcc.target/arm/vrintxf32.c: Likewise. * gcc.target/arm/vrintxf64.c: Likewise. * gcc.target/arm/vrintzf32.c: Likewise. * gcc.target/arm/vrintzf64.c: Likewise. From-SVN: r193814
Kyrylo Tkachov committed -
gcc/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.h (TARGET_FPU_ARMV8): New macro. * config/arm/arm.md (UNSPEC_VRINTZ, UNSPEC_VRINTP, UNSPEC_VRINTM) (UNSPEC_VRINTR, UNSPEC_VRINTX, UNSPEC_VRINTA): New unspecs. (f_rints, f_rintd): New types. * config/arm/iterators.md (VRINT): New int iterator. (F_fma_type): Remove. (vfp_type): New mode attribute. (vfp_double_cond): Likewise. (vrint_pattern, vrint_variant, vrint_predicable): New int attribute. * config/arm/vfp.md (fma<SDF:mode>4): Use vfp_type iterator instead of F_fma_type. (*fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4): Likewise. (<vrint_pattern><SDF:mode>2): New pattern. From-SVN: r193813
Kyrylo Tkachov committed -
* fold-const.c (const_binop): Adjust comment. (extract_muldiv_1): Likewise. (fold_comparison): Likewise. * stor-layout.c (place_field): Fix typo. * tree.c (double_int_fits_to_tree_p): Remove obsolete comment. (force_fit_type_double): Likewise. Fix long line. From-SVN: r193812
Eric Botcazou committed -
2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54997 * decl.c (match_procedure_decl): Don't set 'referenced' attribute for PROCEDURE declarations. * parse.c (gfc_fixup_sibling_symbols,parse_contained): Don't set 'referenced' attribute for all contained procedures. * trans-decl.c (gfc_get_symbol_decl): Allow for unreferenced procedures. (build_function_decl): Set TREE_USED for referenced procedures. 2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54997 * gfortran.dg/warn_unused_function_2.f90: New. From-SVN: r193811
Janus Weil committed -
2012-11-26 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets. From-SVN: r193810
Greta Yorsh committed -
2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54881 * match.c (select_derived_set_tmp,select_class_set_tmp): Removed and unified into ... (select_type_set_tmp): ... this one. Set POINTER argument according to selector. * trans-intrinsic.c (gfc_conv_associated): Use 'gfc_class_data_get' instead of 'gfc_add_data_component'. 2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54881 * gfortran.dg/associated_6.f90: New. * gfortran.dg/select_type_30.f03: New. From-SVN: r193809
Janus Weil committed -
2012-11-26 Matthias Klose <doko@ubuntu.com> * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced parentheses. From-SVN: r193807
Matthias Klose committed -
PR tree-optimization/54471 * tree-vrp.c (extract_range_from_binary_expr_1): For MULT_EXPR, don't canonicalize range if min2 is zero. * gcc.dg/tree-ssa/vrp86.c: New test. * gcc.c-torture/execute/pr54471.c: New test. From-SVN: r193806
Jakub Jelinek committed -
PR middle-end/55030 * gcc.dg/guality/pr36728-1.c, gcc.dg/guality/pr36728-2.c (foo): Don't use volatile asms, use plain asms. Where the output value for the asm is unused, write a global variable. From-SVN: r193803
Hans-Peter Nilsson committed -
PR middle-end/55030 * builtins.c (expand_builtin_setjmp_receiver): Update comment regarding purpose of blockage. * emit-rtl.c [!HAVE_blockage] (gen_blockage): Similarly for the head comment. * rtlanal.c (volatile_insn_p): Ditto. * doc/md.texi (blockage): Update similarly. Change wording to require one of two forms, rather than implying a wider choice. * cse.c (cse_insn): Where checking for blocking insns, use volatile_insn_p instead of manual check for volatile ASM. * dse.c (scan_insn): Ditto. * cselib.c (cselib_process_insn): Ditto. From-SVN: r193802
Hans-Peter Nilsson committed -
From-SVN: r193801
GCC Administrator committed
-
- 25 Nov, 2012 6 commits
-
-
* gcc.target/i386/sw-1.c (dg-options): Add -mtune=generic. From-SVN: r193798
Uros Bizjak committed -
* config/i386/sse.md (<sse>_loadu<ssemodesuffix><avxsizesuffix>): Do not depend on TARGET_SSE_TYPELESS_STORES. (<sse2>_loaddqu<avxsizesuffix>): Ditto. (<sse>_storeu<ssemodesuffix><avxsizesuffix>): Fix handling of TARGET_SSE_TYPELESS_STORES. (<sse2>_storedqu<avxsizesuffix>): Ditto. From-SVN: r193797
Uros Bizjak committed -
2012-11-25 Tobias Burnus <burnus@net-b.de> PR libquadmath/55462 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H instead of nonexisting HAVE_GET_ROUNDING_MODE. From-SVN: r193796
Tobias Burnus committed -
2012-11-25 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/30146 * frontend-passes.c (doloop_warn): New function. (doloop_list): New static variable. (doloop_size): New static variable. (doloop_level): New static variable. (gfc_run_passes): Call doloop_warn. (doloop_code): New function. (doloop_function): New function. (gfc_code_walker): Keep track of DO level. 2012-11-25 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/30146 * gfortran.dg/do_check_6.f90: New test. From-SVN: r193793
Thomas Koenig committed -
From-SVN: r193791
Ian Lance Taylor committed -
From-SVN: r193790
GCC Administrator committed
-