- 20 Oct, 2012 6 commits
-
-
2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/53063 PR c/40989 c-family/ * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit, Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess, Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point, Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused, Wvolatile-register-var): Add LangEnabledBy or EnabledBy. * c-opts.c (c_common_handle_option): Remove explicit handling from here. (c_common_post_options): Likewise. gcc/ * opts.c (finish_options): Remove explicit handling from here. From-SVN: r192635
Manuel López-Ibáñez committed -
* final.c (shorten_branches): When optimizing, start with small length and increase from there, and don't decrease lengths. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r192634
Joern Rennecke committed -
2012-10-20 Joern Rennecke <joern.rennecke@embecosm.com> Richard Sandiford <rdsandiford@googlemail.com> * emit-rtl.c (copy_delay_slot_insn): New function. * emit-rtl.h (copy_delay_slot_insn): Declare. * reorg.c: Include "emit-rtl.h". (steal_delay_list_from_target): Use copy_delay_slot_insn. (fill_slots_from_thread, fill_simple_delay_slots): Likewise. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r192633
Joern Rennecke committed -
* builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST. * builtin-attrs.def (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST): Define. From-SVN: r192632
Jan Hubicka committed -
From-SVN: r192629
Jonathan Wakely committed -
From-SVN: r192628
GCC Administrator committed
-
- 19 Oct, 2012 15 commits
-
-
[gcc] 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com> Dominique Dhumieres <dominiq@lps.ens.fr> * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined. (MASK_STRICT_ALIGN): If OPTION_MASK_STRICT_ALIGN is not defined, define this to 0 for the 3 ports that use it. * config/rs6000/rs6000.c (OPTION_MASK_STRICT_ALIGN): Don't do check for ports not having -mstrict-align here, move test to rs6000-cpus.def. (MASK_STRICT_ALIGN): Likewise. (rs6000_debug_reg_global): Print out correct target flag words if -mdebug=reg. [libobjc] 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com> * encoding.c (TARGET_VSX): Provide definitions based on the current compilation options, and not based off the target options structure. (TARGET_ALTIVEC): Likewise. (TARGET_64BIT): Likewise. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r192623
Michael Meissner committed -
2012-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/54224 * trans-expr.c (conv_function_val): Set TREE_USED. 2012-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/54224 * gfortran.dg/warn_unused_function.f90: New. From-SVN: r192620
Janus Weil committed -
PR54945 From-SVN: r192617
Marek Polacek committed -
From-SVN: r192616
Jonathan Wakely committed -
2012-10-19 Greta Yorsh <Greta.Yorsh@arm.com> gcc/testsuite/ * gcc.target/arm/target-supports.exp (check_effective_target_arm_prefer_ldrd_strd): New procedure. gcc/ * doc/sourcebuild.texi (Effective-Target Keywords): Document new effective target keyword arm_prefer_ldrd_strd. From-SVN: r192615
Greta Yorsh committed -
* include/std/scoped_allocator (__outermost_alloc_traits): Define. (scoped_allocator_adaptor::destroy): Use it. (scoped_allocator_adaptor::construct): Likewise. Overload for piecewise construction of std::pair objects. * testsuite/20_util/scoped_allocator/2.cc: New. * doc/xml/manual/status_cxx2011.xml: Update. From-SVN: r192613
Jonathan Wakely committed -
2012-10-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/54981 * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): Do not consider debug stmts as uses. * gcc.dg/pr54981.c: New testcase. From-SVN: r192612
Richard Guenther committed -
2012-10-19 Richard Biener <rguenther@suse.de> PR tree-optimization/54976 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Robustify against odd inner_mode inputs. From-SVN: r192611
Richard Biener committed -
gcc/ChangeLog PR target/54892 * config/arm/arm.c (arm_expand_compare_and_swap): Use SImode to make sure the mode is correct when falling through from above cases. gcc/testsuite/ChangeLog PR target/54892 * gcc.target/arm/pr54892.c: New. From-SVN: r192609
Zhenqiang Chen committed -
* gcc.dg/tree-ssa/cunroll-1.c: New testcase. * gcc.dg/tree-ssa/cunroll-2.c: New testcase. * gcc.dg/tree-ssa/cunroll-3.c: New testcase. * gcc.dg/tree-ssa/cunroll-4.c: New testcase. * gcc.dg/tree-ssa/cunroll-5.c: New testcase. From-SVN: r192608
Jan Hubicka committed -
gcc/ChangeLog * common.opt (flag_ira_hoist_pressure): New. * doc/invoke.texi (-fira-hoist-pressure): Describe. * ira-costs.c (ira_set_pseudo_classes): New parameter. * ira.h: Update copyright dates. (ira_set_pseudo_classes): Update prototype. * haifa-sched.c (sched_init): Update call. * ira.c (ira): Update call. * regmove.c: Update copyright dates. (regmove_optimize): Update call. * loop-invariant.c: Update copyright dates. (move_loop_invariants): Update call. * gcse.c: (struct bb_data): New structure. (BB_DATA): New macro. (curr_bb, curr_reg_pressure): New static variables. (should_hoist_expr_to_dom): Rename from hoist_expr_reaches_here_p. Change parameter expr_index to expr. New parameters pressure_class, nregs and hoisted_bbs. Use reg pressure to determine the distance expr can be hoisted. (hoist_code): Use reg pressure to direct the hoist process. (get_regno_pressure_class, get_pressure_class_and_nregs) (change_pressure, calculate_bb_reg_pressure): New. (one_code_hoisting_pass): Calculate register pressure. Allocate and free data. gcc/testsuite/ChangeLog * testsuite/gcc.dg/hoist-register-pressure.c: New test. From-SVN: r192604
Bin Cheng committed -
* gcse.c: Update copyright dates. (hoist_expr_reaches_here_p): Change parameter type from char * to sbitmap. From-SVN: r192603
Bin Cheng committed -
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". From-SVN: r192600
Sebastian Huber committed -
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". From-SVN: r192599
Sebastian Huber committed -
From-SVN: r192598
GCC Administrator committed
-
- 18 Oct, 2012 19 commits
-
-
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold. (HAVE_LD_LARGE_TOC): Likewise. * configure: Regenerate. From-SVN: r192593
Alan Modra committed -
/cp 2012-10-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54501 * decl.c (reshape_init_array_1): Avoid infinite loops. /testsuite 2012-10-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54501 * g++.dg/init/array30.C: New. * g++.dg/init/array31.C: Likewise. From-SVN: r192592
Paolo Carlini committed -
* config/rs6000/predicates.md (splat_input_operand): Don't call input_operand for MEMs. Instead check for volatile and call memory_address_addr_space_p with modified mode. From-SVN: r192590
Alan Modra committed -
* config/i386/i386.md (rdpmc): Remove expander. (rdtsc): Ditto. (rdtscp): Ditto. (rdpmc): Rename from *rdpmc. (rdpmc_rex64): Rename from *rdpmc_rex64. (rdtsc): Rename from *rdtsc. (rdtsc_rex64): Rename from *rdtsc_rex64. (rdtscp): Rename from *rdtscp. (rdtscp_rex64): Rename from *rdtscp_rex64. * config/i386/i386.c (struct builtin_description bdesc_special_args) <IX86_BUILTIN_RDTSC>: Use CODE_FOR_NOTHING. <IX86_BUILTIN_RDTSCP>: Ditto. (struct builtin_description bdesc__args) <IX86_BUILTIN_RDPMC>: Ditto. (ix86_expand_builtin) <IX86_BUILTIN_{RDPMC,RDTSC,RDTSCP}>: Handle here. From-SVN: r192589
Uros Bizjak committed -
* include/bits/forward_list.h: Add C++11 allocator support. * include/bits/forward_list.tcc: Likewise. * doc/xml/manual/status_cxx2011.xml: Update. * testsuite/23_containers/forward_list/allocator/copy.cc: New. * testsuite/23_containers/forward_list/allocator/copy_assign.cc: New. * testsuite/23_containers/forward_list/allocator/minimal.cc: New. * testsuite/23_containers/forward_list/allocator/move_assign.cc: New. * testsuite/23_containers/forward_list/allocator/noexcept.cc: New. * testsuite/23_containers/forward_list/allocator/swap.cc: New. From-SVN: r192588
Jonathan Wakely committed -
2012-10-18 François Dumont <fdumont@gcc.gnu.org> * include/debug/formatter.h (_Debug_msg_id): Add __msg_valid_load_factor. * include/debug/macros.h (__glibcxx_check_max_load_factor): New. * include/debug/unordered_set (unordered_set<>::max_load_factor(float)): Check max load factor is positive. (unordered_multiset<>::max_load_factor(float)): Likewise. * include/debug/unordered_map (unordered_map<>::max_load_factor(float)): Likewise. (unordered_multimap<>::max_load_factor(float)): Likewise. * testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_multimap/debug/ max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_multiset/debug/ max_load_factor_neg.cc: New. From-SVN: r192575
François Dumont committed -
* c-ada-spec.c (LOCATION_COL): Delete. (compare_location): New function. (compare_node): Use it. (compare_comment): Likewise. From-SVN: r192574
Eric Botcazou committed -
2012-10-18 Jan-Benedict Glaw <jbglaw@lug-owl.de> gcc/ * Changelog: Fix whitespace. From-SVN: r192573
Jan-Benedict Glaw committed -
2012-10-18 Jan-Benedict Glaw <jbglaw@lug-owl.de> gcc/ * config/sh/sh.c: Fix comment to silence warning. From-SVN: r192572
Jan-Benedict Glaw committed -
2012-10-18 Tobias Burnus <burnus@net-b.de> PR fortran/54884 * resolve.c (specification_expr): Change to bool. (resolve_formal_arglist, resolve_symbol): Set specification_expr to true before resolving the array spec. (resolve_variable, resolve_charlen, resolve_fl_variable): Properly reset specification_expr. (resolve_function): Set public_use when used in a specification expr. 2012-10-18 Tobias Burnus <burnus@net-b.de> PR fortran/54884 * gfortran.dg/public_private_module_7.f90: New. From-SVN: r192571
Tobias Burnus committed -
2012-10-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/29633 * g++.dg/template/pr29633.C: New. From-SVN: r192570
Paolo Carlini committed -
2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Sameera Deshpande <sameera.deshpande@arm.com> * config/arm/cortex-a15-neon.md: New file. * config/arm/cortex-a15.md (cortex_a15_call): Adjust reservation. (cortex_a15_load1): Likewise. (cortex_a15_load3): Likewise. (cortex_a15_store1): Likewise. (cortex_a15_store3): Likewise. (cortex-a15-neon.md): Include. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Co-Authored-By: Sameera Deshpande <sameera.deshpande@arm.com> From-SVN: r192569
Matthew Gretton-Dann committed -
gcc/ * config/rs6000/altivec.md (altivec_lvsl, altivec_lvsr): Add mode. (altivec_vsumsws_nomode): Delete. (reduc_splus_<mode>, reduc_uplus_<mode>): Call gen_altivec_vsumsws instead of gen_altivec_vsumsws_nomode. (altivec_lvlx, altivec_lvlxl, altivec_lvrx, altivec_lvrxl): Add mode. * config/rs6000/rs6000.md (probe_stack): Rename to... (probe_stack_<mode>): ... this. Add mode. Change pattern to use std instead of stw when appropriate. (probe_stack): New expander. (move_from_CR_ov_bit): Add mode. (splitter for compare_plus_ne0_<mode>, splitter for compare_plus_ne0_<mode>_1): Remove constraints. * config/rs6000/sync.md (loadsync): Rename to... (loadsync_<mode>): ... this. Add mode. (atomic_load<mode>): Adjust. From-SVN: r192568
Segher Boessenkool committed -
* loop-invariant.c: Include target.h. (check_dependency): Return false for an uninitialized argument register that is likely to be spilled. * Makefile.in (loop-invariant.o): Add $(TARGET_H). From-SVN: r192566
Eric Botcazou committed -
From-SVN: r192565
Eric Botcazou committed -
Correct dates in changelog from earlier commit. 2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.c (neon_builtin_data): Add vfma and vfms builtins. * config/arm/neon-docgen.ml (intrinsic_groups): Add fused-multiply-* groups. * config/neon-gen.ml (print_feature_test_start): New function. (print_feature_test_end): Likewise. (print_variant): Print feature test macros. * config/arm/neon-testgen.ml (emit_prologue): Allow different tests to require different effective targets. (effective_target): New function. (test_intrinsic): Specify correct effective targets. * gcc/config/arm/neon.md (fma<VCVTF:mode>4_intrinsic): New pattern. (fmsub<VCVTF:mode>4_intrinsic): Likewise. (neon_vfma<VCVFT:mode>): New expand. (neon_vfms<VCVFT:mode>): Likewise. * config/neon.ml (opcode): Add Vfma and Vfms. (features): Add Requires_feature. (ops): Add VFMA and VFMS intrinsics. * config/arm/arm_neon.h: Regenerate. * doc/arm-neon-intrinsics.texi: Likewise. 2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gcc.target/arm/neon/vfmaQf32.c: New testcase. * gcc.target/arm/neon/vfmaf32.c: Likewise. * gcc.target/arm/neon/vfmsQf32.c: Likewise. * gcc.target/arm/neon/vfmsf32.c: Likewise. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> From-SVN: r192560
Matthew Gretton-Dann committed -
2012-10-18 Richard Guenther <rguenther@suse.de> * lto-streamer.h (enum LTO_tags): Add LTO_integer_cst. * lto-streamer-in.c (lto_input_tree): Use it. * lto-streamer-out.c (lto_output_tree): Likewise, for !TREE_OVERFLOW integer constants only. * tree-streamer-in.c (unpack_ts_int_cst_value_fields): New function. (unpack_value_fields): Call it. (streamer_read_integer_cst): Simplify. * tree-streamer-out.c (pack_ts_int_cst_value_fields): New function. (streamer_pack_tree_bitfields): Call it. (streamer_write_integer_cst): Adjust. From-SVN: r192559
Richard Guenther committed -
2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A. 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gcc.target/arm/ftest-armv8a-arm.c: New testcase. * gcc.target/arm/ftest-armv8a-thumb.c: Likewise. * gcc.target/arm/ftest-support-arm.h (feature_matrix): Add ARMv8-A row. * gcc.target/arm/ftest-support-thumb.h (feature_matrix): Likewise. * gcc.target/arm/ftest-support.h (architecture): Add ARMv8-A. * lib/target-supports.exp: Add ARMv8-A architecture expectation. 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config.gcc: Add support for ARMv8 for arm*-*-* targets. * config/arm/arm-arches.def: Add armv8-a * config/arm/arm-fpus.def: Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8. Add crypto field. * config/arm/arm-tables.opt: Regenerate. * config/arm/arm.c (FL_FOR_ARCH8A): Likewise. (arm_arch8): New global variable. (ARM_FPU): Add crypto parameter. (arm_option_override): Set arm_arch8, update comments. * config/arm/arm.h (TARGET_CRYPTO): New macro. (arm_fpu_desc): Add crypto field. (base_architecture): Add ARMv8 entry. (arm_arch8): New variable declaration. * config/arm/bpabi.h: ARMv8 supports BE8. * doc/invoke.texi: Document ARMv8 options. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> From-SVN: r192558
Matthew Gretton-Dann committed -
2012-10-17 Benjamin Kosnik <bkoz@redhat.com> * include/bits/move.h (move_if_noexcept): Mark constexpr. * include/std/array (front, back): Same. * include/std/chrono: Add comment. * include/std/tuple (__tuple_compare): Mark __eq, __less constexpr. (operator ==, <, >, !=, <=, >=): Same. * testsuite/20_util/forward/c_neg.cc: Adjust line numbers. * testsuite/20_util/forward/f_neg.cc: Same. * testsuite/20_util/move_if_noexcept/constexpr.cc: New. * testsuite/20_util/tuple/comparison_operators/constexpr.cc: New. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Add. * testsuite/23_containers/array/element_access/ constexpr_element_access.cc: Same. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust line numbers. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Same. * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Temporarily add dg-excess-errors. From-SVN: r192556
Benjamin Kosnik committed
-