aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2013-02-06re PR rtl-optimization/56131 (gcc.dg/pr56035.c ICEs gcc on sparc-linux)Tom de Vries1-0/+7
2013-02-06 Tom de Vries <tom@codesourcery.com> PR rtl-optimization/56131 * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb of the label is NULL. Add comment. From-SVN: r195784
2013-02-05* tree.h (struct tree_decl_with_vis): Remove thread_local field.Jakub Jelinek1-0/+2
From-SVN: r195762
2013-02-05re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)Jakub Jelinek1-0/+9
PR sanitizer/55374 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. (STATIC_LIBTSAN_LIBS): Likewise. * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC is defined, don't add anything else beyond that. (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. (LINK_COMMAND_SPEC): Use them. From-SVN: r195761
2013-02-05re PR tree-optimization/56205 (stdarg pass confused by jump threading)Jakub Jelinek1-0/+7
PR tree-optimization/56205 * tree-stdarg.c (check_all_va_list_escapes): Return true if there are any PHI nodes that set non-va_list_escape_vars SSA_NAME and some va_list_escape_vars SSA_NAME appears in some PHI argument. * gcc.dg/tree-ssa/stdarg-6.c: New test. * gcc.c-torture/execute/pr56205.c: New test. From-SVN: r195760
2013-02-05re PR tree-optimization/53342 (rnflow.f90 is ~5% slower after revision 187340)Richard Biener1-0/+12
2013-02-05 Richard Biener <rguenther@suse.de> PR tree-optimization/53342 PR tree-optimization/53185 * tree-vectorizer.h (vect_check_strided_load): Remove. * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not disallow peeling for vectorized strided loads. (vect_check_strided_load): Make static and simplify. (vect_analyze_data_refs): Adjust. * tree-vect-stmts.c (vectorizable_load): Handle peeled loops correctly when vectorizing strided loads. * gcc.dg/vect/pr53185-2.c: New testcase. From-SVN: r195759
2013-02-05install.texi: Refer to ISL, not PPL.Richard Biener1-0/+4
2013-02-05 Richard Biener <rguenther@suse.de> * doc/install.texi: Refer to ISL, not PPL. From-SVN: r195752
2013-02-05re PR middle-end/55797 (ICE: verify_cgraph_node failed: edge has no ↵Jan Hubicka1-1/+6
corresponding call_stmt) PR tree-optimization/55789 * g++.dg/tree-ssa/inline-1.C: Update max-inliner-iterations. * g++.dg/tree-ssa/inline-2.C: Update max-inliner-iterations. * g++.dg/tree-ssa/inline-3.C: Update max-inliner-iterations. * g++.dg/ipa/inline-1.C: New testcase. * g++.dg/ipa/inline-2.C: New testcase. * g++.dg/ipa/inline-3.C: New testcase. * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. From-SVN: r195751
2013-02-05PR tree-optimization/r55789Jan Hubicka1-0/+6
* cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove the dead call anyway. * g++.dg/torture/pr55789.C: New testcase. From-SVN: r195750
2013-02-05re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)Eric Botcazou1-2/+7
PR sanitizer/55374 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. From-SVN: r195749
2013-02-04re PR sanitizer/55617 (static constructors are not being instrumented ↵Alexander Potapenko1-0/+11
correctly on darwin) 2013-02-04 Alexander Potapenko <glider@google.com> Jack Howarth <howarth@bromo.med.uc.edu> Jakub Jelinek <jakub@redhat.com> PR sanitizer/55617 * config/darwin.c (sort_ctor_records): Stabilized qsort on constructor priority by using original position. (finalize_ctors): New routine to sort constructors by priority before use in assemble_integer. (machopic_asm_out_constructor): Use finalize_ctors if needed. Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r195735
2013-02-04re PR libstdc++/54314 (undefined references to 'construction vtable for ↵Jakub Jelinek1-2/+8
std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >') PR libstdc++/54314 * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn about visibility on artificial decls. * config/sol2.c (solaris_assemble_visibility): Likewise. From-SVN: r195723
2013-02-04re PR target/56186 (function return ABI change for 128-bit types on Win64)Kai Tietz1-0/+12
PR target/56186 * config/i386/i386.c (function_value_ms_64): Add additional valtype argument and improve checking of return-argument types for 16-byte modes. (ix86_function_value_1): Add additional valtype argument on call of function_value_64. (return_in_memory_ms_64): Sync 16-byte sized mode handling with handling infunction_value_64 function. From-SVN: r195721
2013-02-04* gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.Matthew Gretton-Dann1-0/+4
From-SVN: r195719
2013-02-04re PR middle-end/56188 (FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta ↵Richard Biener1-0/+7
"ESCAPED = { (ESCAPED )?(NONLOCAL )?}") 2013-02-04 Richard Biener <rguenther@suse.de> PR tree-optimization/56188 * tree-ssa-structalias.c (label_visit): Consider case with initially non-empty points-to set. (perform_var_substitution): Dump node mapping and clean up. From-SVN: r195713
2013-02-04re PR lto/56168 (GCC seems to disregard -fno-builtin when compiling with LTO)Richard Guenther1-0/+9
2013-02-04 Richard Guenther <rguenther@suse.de> PR lto/56168 * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin node prevail as last resort. (lto_symtab_merge_decls): Remove guard on LTRANS here. (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. lto/ * lto.c (read_cgraph_and_symbols): Do not call lto_symtab_merge_decls or lto_fixup_decls at LTRANS time. * gcc.dg/lto/pr56168_0.c: New testcase. * gcc.dg/lto/pr56168_1.c: Likewise. From-SVN: r195709
2013-02-04re PR c/56113 (out of memory when compiling a function with many goto labels ↵Richard Biener1-0/+9
(50k > )) 2013-02-04 Richard Biener <rguenther@suse.de> PR tree-optimization/56113 * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): Merge into ... (equiv_class_lookup_or_add): ... this. (label_visit): Adjust and fix error in previous patch. (perform_var_substitution): Adjust. From-SVN: r195707
2013-02-03divtab.c: Fix formatting and comments throughout the file.Oleg Endo1-0/+18
* config/sh/divtab.c: Fix formatting and comments throughout the file. * config/sh/sh4-300.md: Likewise. * config/sh/sh4a.md: Likewise. * config/sh/constraints.md: Likewise. * config/sh/sh.md: Likewise. * config/sh/netbsd-elf.h: Likewise. * config/sh/predicates.md: Likewise. * config/sh/sh-protos.h: Likewise. * config/sh/ushmedia.h: Likewise. * config/sh/linux.h: Likewise. * config/sh/sh.c: Likewise. * config/sh/superh.h: Likewise. * config/sh/elf.h: Likewise. * config/sh/sh4.md: Likewise. * config/sh/sh.h: Likewise. From-SVN: r195703
2013-02-03constraints.md: Adjust unused letters.John David Anglin1-0/+45
* config/pa/constraints.md: Adjust unused letters. Change "T" constraint to match_test floating_point_store_memory_operand(). * config/pa/predicates.md (reg_plus_base_memory_operand): New. (base14_operand): New. (floating_point_store_memory_operand): New. (integer_store_memory_operand): Revise to use base14_operand and reg_plus_base_memory_operand. (move_dest_operand): Allow symbolic_memory_operands. (symbolic_memory_operand): Check for LO_SOM. (symbolic_operand): Change default case to break. * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force CONST_DOUBLE values to be reloaded by putting them into memory when the destination is a floating point register. (movdf): Remove code to handle CONST_DOUBLE. (movsf): Likewise. (reload_indf_r1): New. (reload_insf_r1): New. Consistently use "Q" and "T" constraints with integer and floating point move instructions, respectively. (movdi): Remove FAIL. Change predicate for source operand unamed DImode move from general_operand to move_src_operand. (umulsidi3): Change predicate for destination operand to register_operand. Likewise for similar unamed patterns. * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. (hppa_legitimize_address): Simplify mask calculation. (pa_emit_move_sequence): Revised handling of secondary reloads from REG+D addresses for floating point loads and stores. Directly handle loading CONST0_RTX (mode) to a floating point register. (pa_secondary_reload): Handle reloading DF and SFmode constant values to floating point registers. Don't restrict secondary reloads to floating point registers to integer modes. Revise some comments and cleanup some code. (TARGET_LEGITIMATE_ADDRESS_P): Define. (pa_legitimate_address_p): New. (pa_legitimize_reload_address): New. * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. (STRICT_REG_OK_FOR_BASE_P): New. (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. From-SVN: r195702
2013-02-03collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY flag set.David Edelsohn1-0/+6
2013-02-03 David Edelsohn <dje.gcc@gmail.com> Andrew Dixie <andrewd@gentrack.com> * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY flag set. Co-Authored-By: Andrew Dixie <andrewd@gentrack.com> From-SVN: r195696
2013-02-03expmed.c (extract_bit_field_1): Pass the full width of the structure to ↵Richard Sandiford1-0/+5
get_best_reg_extraction_insn. gcc/ * expmed.c (extract_bit_field_1): Pass the full width of the structure to get_best_reg_extraction_insn. From-SVN: r195692
2013-02-01re PR c++/54601 (AIX uses atexit which causes unloading of shared modules to ↵David Edelsohn1-0/+8
break) PR target/54601 libgcc/ * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file. Add crtcxa to extra_parts. * config/rs6000/exit.h: New file. * config/rs6000/cxa_atexit.c: New file. * config/rs6000/cxa_finalize.c: New file. * config/rs6000/crtcxa.c: New file. * config/rs6000/t-aix-cxa: New file. * config/rs6000/libgcc-aix-cxa.ver: New file. gcc/ * configure.ac (cxa_atexit): Add AIX. * configure: Regenerate. * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. From-SVN: r195675
2013-02-01re PR debug/54793 (the location of a formal_parameter is not started from a ↵Jakub Jelinek1-1/+15
function entry with -mfentry) PR debug/54793 * final.c (need_profile_function): New variable. (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED notes, targetm.asm_out.function_prologue doesn't emit anything, HAVE_prologue and profiler should be emitted before prologue, set need_profile_function instead of emitting it. (final_scan_insn): If need_profile_function, emit profile_function on the first NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG note. From-SVN: r195669
2013-02-01alpha: widening multiply patternRichard Henderson1-0/+2
* config/alpha/alpha.md (umulditi3): New. From-SVN: r195668
2013-02-01ppc64: widening multiply patternsRichard Henderson1-0/+5
* config/rs6000/rs6000.md (smulditi3): New. (umulditi3): New. From-SVN: r195667
2013-02-01xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.David Edelsohn1-0/+5
* config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. (ASM_OUTPUT_ALIGNED_LOCAL): New. From-SVN: r195660
2013-02-01re PR c/56113 (out of memory when compiling a function with many goto labels ↵Richard Biener1-0/+6
(50k > )) 2013-02-01 Richard Biener <rguenther@suse.de> PR tree-optimization/56113 * tree-ssa-structalias.c (label_visit): Reduce work for single-predecessor nodes. From-SVN: r195646
2013-02-01fold-const.c (make_range_step): Bail out if the range isn't testing for zero.Eric Botcazou1-0/+5
* fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the range isn't testing for zero. From-SVN: r195642
2013-01-31re PR c/56113 (out of memory when compiling a function with many goto labels ↵Steven Bosscher1-0/+5
(50k > )) PR middle-end/56113 * fwprop.c (fwprop_init): Set up loops without CFG modifications. From-SVN: r195632
2013-01-31lib1funcs.S: Add support for e3v5 architecture variant.Nick Clifton1-0/+55
* config/v850/lib1funcs.S: Add support for e3v5 architecture variant. * config/v850/constraints.md (Q): Define as a memory constraint. * config/v850/predicates.md (label_ref_operand): New predicate. (e3v5_shift_operand): New predicate. (ior_operator): New predicate. * config/v850/t-v850: Add e3v5 multilib. * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. (v850_gen_movdi): Prototype. * config/v850/v850.c: Add support for e3v5 architecture. Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to TARGET_V850E_UP. (construct_save_jarl): Add e3v5 long JARL support. (v850_adjust_insn_length): New function. Adjust length of call insns when using e3v5 instructions. (v850_gen_movdi): New function: Generate instructions to move a DImode value. * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. (CPP_SPEC): Define __v850e3v5__ as appropriate. (TARGET_USE_FPU): Enable for e3v5. (CONST_OK_FOR_W): New macro. (ADJUST_INSN_LENGTH): Define. * config/v850/v850.md (UNSPEC_LOOP): Define. (attr cpu): Add v850e3v5. Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. (movdi): New pattern. (movdi_internal): New pattern. (cbranchsf4): Conditionalize on TARGET_USE_FPU. (cbranchdf4): Conditionalize on TARGET_USE_FPU. (cstoresf4): Likewise. (cstoredf4): Likewise. (insv): New pattern. (rotlso3_a): New pattern. (rotlsi3_b): New pattern (rotlsi3_v850e3v5): New pattern. (doloop_begin): New pattern. (fix_loop_counter): New pattern. (doloop_end): New pattern. (branch_normal): Add e3v5 long branch support. (branch_invert): Likewise. (branch_z_normal): Likewise. (branch_z_invert): Likewise. (branch_nz_normal): Likewise. (branch_nz_invert): Likewise. (call_internal_short): Add e3v5 register-indirect JARL support. (call_internal_long): Likewise. (call_value_internal_short): Likewise. (call_value_internal_long): Likewise. * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. (mloop): New option. * config.gcc: Add support for configuring v840e3v5 target. * doc/invoke.texi: Document new v850 specific command line options. From-SVN: r195623
2013-01-31re PR debug/55059 (DWARF missing concrete class definition)Paul Koning1-0/+8
PR debug/55059 PR debug/54508 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's children if parent is a class. (prune_unused_types_prune): Don't add DW_AT_declaration. From-SVN: r195622
2013-01-31fix pr tagJason Merrill1-1/+1
From-SVN: r195621
2013-01-31re PR tree-optimization/56157 (ICE with -ftree-vectorize in in ↵Richard Biener1-0/+6
compute_live_loop_exits) 2013-01-31 Richard Biener <rguenther@suse.de> PR tree-optimization/56157 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to match up operand with SLP child. * gcc.dg/torture/pr56157.c: New testcase. From-SVN: r195616
2013-01-31re PR debug/54410 (doubled DW_TAG_template_type_param)Jason Merrill1-0/+7
PR c++/54410 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template parameters the first time. (gen_scheduled_generic_parms_dies): Check completeness here. From-SVN: r195613
2013-01-31re PR middle-end/53073 (464.h264ref in SPEC CPU 2006 miscompiled)Richard Biener1-0/+9
2013-01-31 Richard Biener <rguenther@suse.de> PR middle-end/53073 * common.opt (faggressive-loop-optimizations): New flag, enabled by default. * doc/invoke.texi (faggressive-loop-optimizations): Document. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard infer_loop_bounds_from_undefined by it. From-SVN: r195610
2013-01-31re PR tree-optimization/56150 (ICE segfault in do_pre / tail_merge_optimize)Richard Biener1-1/+8
2013-01-31 Richard Biener <rguenther@suse.de> PR tree-optimization/56150 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not visit virtual operands. (find_uses_to_rename_bb): Likewise. From-SVN: r195609
2013-01-31re PR tree-optimization/56150 (ICE segfault in do_pre / tail_merge_optimize)Richard Biener1-0/+6
2013-01-31 Richard Biener <rguenther@suse.de> PR tree-optimization/56150 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle mixed store non-store stmts. * gcc.dg/torture/pr56150.c: New testcase. From-SVN: r195608
2013-01-30re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)Jakub Jelinek1-0/+8
PR sanitizer/55374 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if LIBASAN_EARLY_SPEC is defined. (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, before %o. * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. * g++.dg/asan/large-func-test-1.C: Allow both _Zna[jm] in addition to _Znw[jm] in the backtrace. Allow _Zna[jm] to be the first frame printed in backtrace. * g++.dg/asan/deep-stack-uaf-1.C: Use malloc instead of operator new to avoid errors about mismatched allocation vs. deallocation. From-SVN: r195585
2013-01-30re PR c++/55742 (__attribute__ in class function declaration cause ↵Jakub Jelinek1-0/+35
"prototype does not match" errors.) PR c++/55742 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose invalid args instead of ICEing on it. (ix86_valid_target_attribute_tree): Return error_mark_node if ix86_valid_target_attribute_inner_p failed. (ix86_valid_target_attribute_p): Return false only if ix86_valid_target_attribute_tree returned error_mark_node. Allow target("default") attribute. (sorted_attr_string): Change argument from const char * to tree, merge in all target attribute arguments rather than just one. Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC instead of free. Avoid using strcat. (ix86_mangle_function_version_assembler_name): Mangle target("default") as if no target attribute is present. Adjust sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC instead of xmalloc and XDELETEVEC instead of free. (ix86_function_versions): Don't return true if one of the decls doesn't have target attribute. If they don't and one of the decls is DECL_FUNCTION_VERSIONED, report an error. Adjust sorted_attr_string caller. Use XDELETEVEC instead of free. (ix86_supports_function_versions): Remove. (make_name): Fix up formatting. (make_dispatcher_decl): Remove resolver_name and its initialization. Avoid leaking memory. (is_function_default_version): Return true if there is target("default") attribute rather than no target attribute at all. (make_resolver_func): Avoid leaking memory. (ix86_generate_version_dispatcher_body): Likewise. (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. * target.def (supports_function_versions): Remove. * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. * doc/tm.texi: Regenerated. * c-common.c (handle_target_attribute): Revert 2012-12-26 change. * g++.dg/mv1.C: Moved to... * g++.dg/ext/mv1.C: ... here. Adjust test. * g++.dg/mv2.C: Moved to... * g++.dg/ext/mv2.C: ... here. Adjust test. * g++.dg/mv3.C: Moved to... * g++.dg/ext/mv3.C: ... here. * g++.dg/mv4.C: Moved to... * g++.dg/ext/mv4.C: ... here. * g++.dg/mv5.C: Moved to... * g++.dg/ext/mv5.C: ... here. Adjust test. * g++.dg/mv6.C: Moved to... * g++.dg/ext/mv6.C: ... here. Adjust test. * g++.dg/ext/mv7.C: New test. * g++.dg/ext/mv8.C: New test. * g++.dg/ext/mv9.C: New test. * g++.dg/ext/mv10.C: New test. * g++.dg/ext/mv11.C: New test. From-SVN: r195584
2013-01-30re PR rtl-optimization/56144 (ICE in get_reload_reg, at lra-constraints.c:421)Vladimir Makarov1-0/+6
2013-01-30 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/56144 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo for values with side effects. 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/56144 * gcc.dg/pr56144.c: New. From-SVN: r195582
2013-01-30sparseset.h (sparseset_bit_p): Use gcc_checking_assert.Richard Biener1-0/+7
2013-01-30 Richard Biener <rguenther@suse.de> * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. (sparseset_pop): Likewise. * cfganal.c (compute_idf): Likewise. Increase work-stack size to be able to use quick_push in the worker loop. From-SVN: r195577
2013-01-30Small cleanup in cleanup_cfg.Marek Polacek1-0/+4
From-SVN: r195576
2013-01-30re PR lto/56147 (ICE on invalid code in lto_symtab_merge_decls_1)Richard Biener1-0/+6
2013-01-30 Richard Biener <rguenther@suse.de> PR lto/56147 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. From-SVN: r195575
2013-01-30re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST)Georg-Johann Lay1-0/+15
gcc/ PR tree-optimization/56064 * fixed-value.c (fixed_from_double_int): New function. * fixed-value.h (fixed_from_double_int): New prototype. (const_fixed_from_double_int): New static inline function. * fold-const.c (native_interpret_fixed): New static function. (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. (native_encode_fixed): New static function. (native_encode_expr) <FIXED_CST>: Use it. (native_interpret_int): Move double_int worker code to... * double-int.c (double_int::from_buffer): ...this new static method. * double-int.h (double_int::from_buffer): Prototype it. gcc/testsuite/ PR tree-optimization/56064 * gcc.dg/fixed-point/view-convert.c: New test. From-SVN: r195574
2013-01-30tree-ssa-structalias.c (final_solutions, [...]): New pointer-map and obstack.Richard Biener1-0/+12
2013-01-30 Richard Biener <rguenther@suse.de> * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): New pointer-map and obstack. (init_alias_vars): Allocate pointer-map and obstack. (delete_points_to_sets): Free them. (find_what_var_points_to): Cache result. (find_what_p_points_to): Adjust for changed interface of find_what_var_points_to. (compute_points_to_sets): Likewise. (ipa_pta_execute): Likewise. From-SVN: r195573
2013-01-30Properly set progbits/nobits for Solaris/SPARC asRainer Orth1-0/+8
* configure.ac (HAVE_AS_SPARC_NOBITS): New test. * configure: Regenerate. * config.in: Regenerate. * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit #nobits/#progbits if supported. From-SVN: r195572
2013-01-29Fix formatting in gcc/ChangeLog.Oleg Endo1-34/+34
From-SVN: r195559
2013-01-29re PR target/56121 ([SH] ICE in libgcc/unwind-dw2.c)Oleg Endo1-0/+7
PR target/56121 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. From-SVN: r195558
2013-01-29cortex-a7.md (cortex_a7_neon, [...]): Remove.Greta Yorsh1-0/+5
2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. From-SVN: r195555
2013-01-29arm.c (cortexa7_younger): Return true for TYPE_CALL.Greta Yorsh1-0/+5
2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. * config/arm/cortex-a7.md (cortex_a7_call): Update required units. From-SVN: r195554
2013-01-29arm-protos.h (arm_mac_accumulator_is_result): New declaration.Greta Yorsh1-0/+8
2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New declaration. * config/arm/arm.c (arm_mac_accumulator_is_result): New function. * config/arm/cortex-a7.md: New bypasses using arm_mac_accumulator_is_result. From-SVN: r195553