- 20 Feb, 2013 13 commits
-
-
PR go/56320 runtime: Support Solaris AMD64 in lfstack. The address space layout is similar on SPARC64 and AMD64 when running Solaris. From-SVN: r196179
Ian Lance Taylor committed -
PR tree-optimization/56265 * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is referenced for firs ttime. * testsuite/g++.dg/ipa/devirt-11.C: New testcase. From-SVN: r196177
Jan Hubicka committed -
2013-02-20 Richard Biener <rguenther@suse.de> * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do not return anything. (rename_ssa_copies): Do not remove unused locals. * tree-ssa-ccp.c (do_ssa_ccp): Likewise. * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. * passes.c (execute_function_todo): Do not schedule unused locals removal if cleanup_tree_cfg did something. * tree-ssa-live.c (remove_unused_locals): Dump statistics about the number of removed locals. * gcc.dg/tree-ssa/forwprop-8.c: Adjust. From-SVN: r196174
Richard Biener committed -
2013-02-20 Richard Biener <rguenther@suse.de> PR tree-optimization/56398 * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. From-SVN: r196172
Richard Biener committed -
2013-02-20 Martin Jambor <mjambor@suse.cz> PR tree-optimization/55334 * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to restricted pointers to arrays. From-SVN: r196171
Martin Jambor committed -
2013-02-20 Richard Biener <rguenther@suse.de> Jakub Jelinek <jakub@redhat.com> PR tree-optimization/56396 * tree-ssa-ccp.c (n_const_val): New static variable. (get_value): Return NULL for SSA names we don't have a lattice entry for. (ccp_initialize): Initialize n_const_val. * tree-ssa-copy.c (n_copy_of): New static variable. (init_copy_prop): Initialize n_copy_of. (get_value): Return NULL_TREE for SSA names we don't have a lattice entry for. * gcc.dg/pr56396.c: New testcase. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r196170
Richard Biener committed -
2013-02-20 Martin Jambor <mjambor@suse.cz> * ipa-cp.c (initialize_node_lattices): Fix dumping condition. From-SVN: r196169
Martin Jambor committed -
2013-02-20 Richard Biener <rguenther@suse.de> * genpreds.c (write_lookup_constraint): Do not compare first letter of the constraint again. From-SVN: r196167
Richard Biener committed -
2013-02-20 Richard Biener <rguenther@suse.de> * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits and ceil_log2. (get_use_iv_cost): Terminate hashtable walk when coming across an empty entry. From-SVN: r196166
Richard Biener committed -
/cp 2013-02-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56373 * tree.c (maybe_warn_zero_as_null_pointer_constant): Add. * cvt.c (ocp_convert): Use the latter. (cp_convert_to_pointer): Likewise. * decl.c (check_default_argument): Likewise. * typeck.c (cp_build_binary_op): Likewise. * cp-tree.h (maybe_warn_zero_as_null_pointer_constant): Declare. /testsuite 2013-02-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56373 * g++.dg/cpp0x/Wzero-as-null-pointer-constant-2.C: New. From-SVN: r196165
Paolo Carlini committed -
* config/i386/i386.c (initial_ix86_tune_features): Turn on fp reassociation for avx2 targets. From-SVN: r196164
Igor Zamyatin committed -
2013-02-19 Benjamin Kosnik <bkoz@redhat.com> * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT, AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1. * include/bits/stl_pair.h: Add to utilities group. * include/std/tuple: Same. * include/std/typeindex: Same. * include/bits/stringfwd.h: Fix markup. * include/std/limits: Same. * include/std/type_traits: Same. * include/tr1/memory: Same. * include/tr1/regex: Same. * scripts/run_doxygen: Comment. * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers. From-SVN: r196162
Benjamin Kosnik committed -
From-SVN: r196161
GCC Administrator committed
-
- 19 Feb, 2013 12 commits
-
-
Add support for the CLZ insn * config/microblaze/microblaze.c: microblaze_has_clz = 0 Add version check for v8.10.a to enable microblaze_has_clz * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined version and TARGET_PATTERN_COMPARE check * config/microblaze/microblaze.md: New clzsi2 instruction From-SVN: r196158
Edgar E. Iglesias committed -
* config/microblaze/microblaze.md (call_value_intern): Check symbol is function before branching. From-SVN: r196157
Edgar E. Iglesias committed -
* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 as dividend. From-SVN: r196156
Edgar E. Iglesias committed -
PR libquadmath/56379 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like macro. From-SVN: r196155
Jakub Jelinek committed -
PR target/56347 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for broken powf. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise. * intrinsics/c99_functions.c: Likewise. * configure: Rebuilt. * config.h.in: Rebuilt. From-SVN: r196139
John David Anglin committed -
* sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set DUMP_INSN_RTX_UID. (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. From-SVN: r196138
Andrey Belevantsev committed -
re PR middle-end/55889 (ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling) 2012-02-19 Andrey Belevantsev <abel@ispras.ru> PR middle-end/55889 * sel-sched.c: Include ira.h. (implicit_clobber_conflict_p): New function. (moveup_expr): Use it. * Makefile.in (sel-sched.o): Depend on ira.h. From-SVN: r196137
Andrey Belevantsev committed -
2013-02-19 Richard Biener <rguenther@suse.de> PR tree-optimization/56384 * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. (vn_hash_type): Split out from ... (vn_hash_constant_with_type): ... here. * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. (vn_phi_eq): Compare types from vn_phi_s structure. (vn_phi_lookup): Populate vn_phi_s type. (vn_phi_insert): Likewise. * gcc.dg/torture/pr56384.c: New testcase. From-SVN: r196136
Richard Biener committed -
PR tree-optimization/56350 * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false if haven't found reduction or nested cycle operand, rather than asserting we must find it. * gcc.dg/pr56350.c: New test. From-SVN: r196134
Jakub Jelinek committed -
PR tree-optimization/56381 * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument to fold_build3. * g++.dg/opt/pr56381.C: New test. From-SVN: r196133
Jakub Jelinek committed -
From-SVN: r196132
GCC Administrator committed -
PR target/52555 * genopinit.c (raw_optab_handler): Use this_fn_optabs. (swap_optab_enable): Same. (init_all_optabs): Use argument instead of global. * tree.h (struct tree_optimization_option): New field target_optabs. * expr.h (init_all_optabs): Add argument to prototype. (TREE_OPTIMIZATION_OPTABS): New. (save_optabs_if_changed): Protoize. * optabs.h: Declare this_fn_optabs. * optabs.c (save_optabs_if_changed): New. Declare this_fn_optabs. (init_optabs): Add argument to init_all_optabs() call. * function.c (invoke_set_current_function_hook): Handle per function optabs. * function.h (struct function): New field optabs. * config/mips/mips.c (mips_set_mips16_mode): Handle when optimization_current_node has changed. * target-globals.h (save_target_globals_default_opts): Protoize. * target-globals.c (save_target_globals_default_opts): New. c-family/ * c-common.c (handle_optimize_attribute): Call save_optabs_if_changed. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r196129
Aldy Hernandez committed
-
- 18 Feb, 2013 8 commits
-
-
PR pch/54117 * c-opts.c (c_common_post_options): If debug info is enabled and non-dwarf*, refuse to load PCH files and when writing PCH file warn. * lib/dg-pch.exp (pch-init, pch-finish, check_effective_target_pch_supported_debug): New procs. (dg-flags-pch): If $pch_unsupported, make tests UNSUPPORTED. Likewise if $pch_unsupported_debug and $flags include -g. Skip FAILs about missing *.gch file if $pch_unsupported_debug and dg-require-effective-target pch_unsupported_debug. * g++.dg/pch/pch.exp: Call pch-init and pch-finish. * objc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/valid-1.c: Add dg-require-effective-target pch_unsupported_debug. * gcc.dg/pch/valid-1.hs: Likewise. * gcc.dg/pch/valid-1b.c: Likewise. * gcc.dg/pch/valid-1b.hs: Likewise. Co-Authored-By: Steven Bosscher <steven@gcc.gnu.org> From-SVN: r196124
Jakub Jelinek committed -
PR target/56347 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark registers %fr12 and %fr12R as call used. From-SVN: r196123
John David Anglin committed -
PR target/56214 * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode and HImode, require all displacements to be an integer multiple of the mode size. * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, only allow QImode and HImode when reload is in progress and strict is true. Likewise for symbolic addresses. Use base14_operand to check displacements in REG+BASE addresses. From-SVN: r196122
John David Anglin committed -
2013-02-18 Richard Biener <rguenther@suse.de> PR tree-optimization/56366 * tree-vect-loop.c (get_initial_def_for_induction): Properly handle sign-conversion of outer-loop initial induction value. * gcc.dg/torture/pr56366.c: New testcase. From-SVN: r196121
Richard Biener committed -
2013-02-18 Richard Biener <rguenther@suse.de> PR middle-end/56349 * gcc.dg/torture/pr56350.c: Move ... * gcc.dg/torture/pr56349.c: ... here. From-SVN: r196119
Richard Biener committed -
2013-02-18 Richard Biener <rguenther@suse.de> PR middle-end/56350 * cfghooks.c (merge_blocks): If we merge a latch into another block adjust references to it. * cfgloop.c (flow_loops_find): Reset latch before recomputing it. (verify_loop_structure): Verify that a recorded latch is in fact a latch. * gcc.dg/torture/pr56350.c: New testcase. From-SVN: r196118
Richard Biener committed -
2013-02-18 Richard Biener <rguenther@suse.de> PR tree-optimization/56321 * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly order SSA name release and virtual operand unlinking. * gcc.dg/torture/pr56321.c: New testcase. From-SVN: r196117
Richard Biener committed -
From-SVN: r196115
GCC Administrator committed
-
- 17 Feb, 2013 3 commits
-
-
* config/microblaze/microblaze.md (save_stack_block): Define. (restore_stack_block): Likewise. From-SVN: r196110
Edgar E. Iglesias committed -
2013-02-17 Tobias Burnus <burnus@net-b.de> * math/cacoshq.c (cacoshq): Call signbitq instead of signbit. From-SVN: r196109
Tobias Burnus committed -
From-SVN: r196107
GCC Administrator committed
-
- 16 Feb, 2013 4 commits
-
-
* config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. * config/microblaze/microblaze.c (microblaze_option_override): Bail out early for PIC modes when target does not support PIC. * gcc.dg/20020312-2.c: Define MicroBlaze PIC register From-SVN: r196104
Edgar E. Iglesias committed -
* config/microblaze/microblaze.c (microblaze_asm_trampoline_template): Replace with a microblaze version. (microblaze_trampoline_init): Adapt for microblaze. * gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for microblaze. From-SVN: r196103
Edgar E. Iglesias committed -
gcc/ * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. (instrument_mem_region_access): Do not forget to always put instrumentation of the of 'base' and 'base + len' in a "if (len != 0) statement, even for cases where either 'base' or 'base + len' are not instrumented -- because they have been previously instrumented. Simplify the logic by putting all the statements instrument 'base + len' inside a sequence, and then insert that sequence right before the current insertion point. Then, to instrument 'base + len', just get an iterator on that statement. And do not forget to update the pointer to iterator the function received as argument. gcc/testsuite/ * c-c++-common/asan/no-redundant-instrumentation-4.c: New test file. * c-c++-common/asan/no-redundant-instrumentation-5.c: Likewise. * c-c++-common/asan/no-redundant-instrumentation-6.c: Likewise. * c-c++-common/asan/no-redundant-instrumentation-7.c: Likewise. * c-c++-common/asan/no-redundant-instrumentation-8.c: Likewise. * c-c++-common/asan/pr56330.c: Likewise. * c-c++-common/asan/no-redundant-instrumentation-1.c (test1): Ensure the size argument of __builtin_memcpy is a constant. Co-Authored-By: Dodji Seketeli <dodji@redhat.com> From-SVN: r196102
Jakub Jelinek committed -
/cp 2013-02-15 Jonathan Wakely <jwakely.gcc@gmail.com> Paolo Carlini <paolo.carlini@oracle.com> PR c++/51242 * decl2.c (grokbitfield): Allow scoped enumeration types. /testsuite 2013-02-15 Jonathan Wakely <jwakely.gcc@gmail.com> Paolo Carlini <paolo.carlini@oracle.com> PR c++/51242 * g++.dg/cpp0x/enum23.C: New. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r196100
Jonathan Wakely committed
-