summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2012-11-01 Sharad Singhai <singhai@google.com>singhai2012-11-01119-82/+458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/invoke.texi: Update -fopt-info documentation. * dumpfile.c: Move dump_flags here from passes.c. Rename opt_info_options to optinfo_verbosity_options. Add optgroup_options. (dump_files): Add field for optinfo_flags in the static initializer. (dump_register): Handle additional parameter for optgroup_flags. (opt_info_enable_passes): Renamed opt_info_enable_all. Handle optgroup_flags. Fix documentation. (opt_info_switch_p_1): Handle optgroup options. (opt_info_switch_p): Handle optgroup_flags. Warn on multiple files. * dumpfile.h (dump_register): Additional argument for optgroup_flags. All callers updated. (struct dump_file_info): Add field for optgroup_flags. Define OPTGROUP_* flags. * tree-pass.h (struct opt_pass): Add addtional field for optinfo_flags. All opt_pass static initializers updated. * opts-global.c (dump_remap_tree_vectorizer_verbose): Use 'all' instead of 'optall'. (handle_common_deferred_options): Fix typo in error message. * passes.c (register_one_dump_file): Add argument for optgroup_flags. Turn on OPTGROUP_IPA for IPA passes. Move dump_flags from here to dumpfile.c. * statistics.c (statistics_early_init): Use OPTGROUP_NONE in call to dump_register. testsuite/ChangeLog * testsuite/gcc.dg/plugin/selfassign.c: Add opgtroup_flags initializer. * testsuite/gcc.dg/plugin/one_time_plugin.c: Likewise. * testsuite/g++.dg/plugin/selfassign.c: Likewise. * testsuite/g++.dg/plugin/dumb_plugin.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193061 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/55160amylaar2012-11-012-1/+6
| | | | | | | * config/sh/sh.md (doloop_end): Use emit_jump_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193060 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: More steps toward separating int and intgo.ian2012-11-016-51/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Jakub Jelinek <jakub@redhat.com>bergner2012-11-012-0/+13
| | | | | | | | | PR tree-optimization/53708 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Preserve user-supplied alignment when used with an explicit section name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193058 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-11-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193056 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:dehao2012-11-015-29/+65
| | | | | | | | | | | | | | | | | | | | | | | 2012-10-31 Dehao Chen <dehao@google.com> * tree-eh.c (do_return_redirection): Set location for jump statement. (do_goto_redirection): Likewise. (frob_into_branch_around): Likewise. (lower_try_finally_nofallthru): Likewise. (lower_try_finally_copy): Likewise. (lower_try_finally_switch): Likewise. * expr.c (store_expr): Use current insn location instead of expr location. (expand_expr_real): Likewise. (expand_expr_real_1): Likewise. gcc/testsuite: 2012-10-31 Dehao Chen <dehao@google.com> * g++.dg/debug/dwarf2/block.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193053 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Easwaran Raman <eraman@google.com>eraman2012-10-313-9/+23
| | | | | | | | | | | | | | | | PR target/54938 PR middle-end/54957 * optabs.c (emit_cmp_and_jump_insn_1): Add REG_BR_PROB note only if it doesn't already exist. * stmt.c (get_outgoing_edge_probs): Return 0 if BB is NULL. (emit_case_dispatch_table): Handle the case where STMT_BB is NULL. (expand_sjlj_dispatch_table): Pass BB containing before_case to emit_case_dispatch_table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193052 138bc75d-0d04-0410-961f-82ee72b054a4
* This patch implements generic type query and conversion functions,crowl2012-10-3124-239/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and applies them to the use of cgraph_node, varpool_node, and symtab_node. The functions are: bool is_a <TYPE> (pointer) Tests whether the pointer actually points to a more derived TYPE. TYPE *as_a <TYPE> (pointer) Converts pointer to a TYPE*. TYPE *dyn_cast <TYPE> (pointer) Converts pointer to TYPE* if and only if "is_a <TYPE> pointer". Otherwise, returns NULL. This function is essentially a checked down cast. These functions reduce compile time and increase type safety when treating a generic item as a more specific item. In essence, the code change is from if (symtab_function_p (node)) { struct cgraph_node *cnode = cgraph (node); .... } to if (cgraph_node *cnode = dyn_cast <cgraph_node> (node)) { .... } The necessary conditional test defines a variable that holds a known good pointer to the specific item and avoids subsequent conversion calls and the assertion checks that may come with them. When, the property test is embedded within a larger condition, the variable declaration gets pulled out of the condition. (This leaves some room for using the variable inappropriately.) if (symtab_variable_p (node) && varpool (node)->finalized) varpool_analyze_node (varpool (node)); becomes varpool_node *vnode = dyn_cast <varpool_node> (node); if (vnode && vnode->finalized) varpool_analyze_node (vnode); Note that we have converted two sets of assertions in the calls to varpool into safe and efficient use of a variable. There are remaining calls to symtab_function_p and symtab_variable_p that do not involve a pointer to a more specific type. These have been converted to calls to a functions is_a <cgraph_node> and is_a <varpool_node>. The original predicate functions have been removed. The cgraph.h header defined both a struct and a function with the name varpool_node. This name overloading can cause some unintuitive error messages when, as is common in C++, one omits the struct keyword when using the type. I have renamed the function to varpool_node_for_decl. Tested on x86_64. Index: gcc/ChangeLog 2012-10-31 Lawrence Crowl <crowl@google.com> * is-a.h: New. (is_a <T> (U*)): New. Test for is-a relationship. (as_a <T> (U*)): New. Treat as a derived type. (dyn_cast <T> (U*)): New. Conditionally cast based on is_a. * cgraph.h (varpool_node): Rename to varpool_node_for_decl. Adjust callers to match. (is_a_helper <cgraph_node>::test (symtab_node_def *)): New. (is_a_helper <varpool_node>::test (symtab_node_def *)): New. (symtab_node_def::try_function): New. Change most calls to symtab_function_p with calls to dyn_cast <cgraph_node> (p). (symtab_node_def::try_variable): New. Change most calls to symtab_variable_p with calls to dyn_cast <varpool_node> (p). (symtab_function_p): Remove. Change callers to use is_a <cgraph_node> (p) instead. (symtab_variable_p): Remove. Change callers to use is_a <varpool_node> (p) instead. * cgraph.c (cgraph_node_for_asm): Remove redundant call to symtab_node_for_asm. * cgraphunit.c (symbol_finalized_and_needed): New. (symbol_finalized): New. (cgraph_analyze_functions): Split complicated conditionals out into above new functions. * Makefile.in (CGRAPH_H): Add is-a.h as used by cgraph.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193051 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr44974.c: Add noinline.hubicka2012-10-312-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193050 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR number typo in ChangeLog.olegendo2012-10-312-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193049 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Janus Weil <janus@gcc.gnu.org>janus2012-10-315-11/+38
| | | | | | | | | | | | | | | | PR fortran/53718 * trans.h (GFC_DECL_PUSH_TOPLEVEL): Removed. * trans-decl.c (gfc_get_symbol_decl,gfc_generate_function_code): Remove GFC_DECL_PUSH_TOPLEVEL. (build_function_decl): Do not push __copy procedure to toplevel. 2012-10-31 Janus Weil <janus@gcc.gnu.org> PR fortran/53718 * gfortran.dg/class_54.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193048 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/steven2012-10-316-12/+57
| | | | | | | | | | | | | | | | | | | PR tree-optimization/55018 * basic-block.h (dfs_find_deadend): New prototype. * cfganal.c (dfs_find_deadend): No longer static. Use bitmap instead of sbitmap for visited. (flow_dfs_compute_reverse_execute): Use dfs_find_deadend here, too. * dominance.c (calc_dfs_tree): If saw_unconnected, traverse from dfs_find_deadend of unconnected b instead of b directly. testsuite/ PR tree-optimization/55018 * gcc.dg/torture/pr55018.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193047 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (ix86_expand_prologue): Emit frame info for theebotcazou2012-10-312-8/+25
| | | | | | | special register pushes before frame probing and allocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193044 138bc75d-0d04-0410-961f-82ee72b054a4
* /cppaolo2012-10-314-0/+23
| | | | | | | | | | | | | | | | | 2012-10-31 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54583 * tree.c (build_cplus_array_type): Set TREE_NO_WARNING on the TYPE_SIZE of VLAs. /testsuite 2012-10-31 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54583 * g++.dg/ext/vla13.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193043 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Vladimir Makarov <vmakarov@redhat.com>vmakarov2012-10-314-1/+87
| | | | | | | | | | | | | | | | PR middle-end/55150 * lra-constraints.c (lra_constraints): Update debug insn info after equivalence change. 2012-10-31 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/55150 * gcc.dg/pr55150.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193042 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Tobias Burnus <burnus@net-b.de>burnus2012-10-314-0/+37
| | | | | | | | | | | | | | | | PR fortran/55134 * trans-array.c (gfc_conv_array_parameter): Regard AS_DEFERRED * as array with descriptor. 2012-10-31 Tobias Burnus <burnus@net-b.de> PR fortran/55134 * gfortran.dg/associate_11.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193041 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-inline.c (ipa_inline): Avoid infinite loop on inlininghubicka2012-10-312-22/+39
| | | | | | | empty virtual functions calling themselves. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193038 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/50899tromey2012-10-312-1/+7
| | | | | | * doc/gcc.texi: Add @direntry for gcov. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193036 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (can_move_by_pieces): Apply ATTRIBUTE_UNUSED to len.amylaar2012-10-312-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193035 138bc75d-0d04-0410-961f-82ee72b054a4
* Uppercase in ChangeLog.glisse2012-10-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193034 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/54955 - Fail to parse alignas expr at the beginning of a declarationdodji2012-10-314-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In this PR, g++ embarrassingly fails to parse the simple alignas expression below: alignas(double) int f; even though the simple-declaration production in Clause 7 suggests otherwise. Fixed thus and tested on x86_64-unknown-linux-gnu against trunk. gcc/cp PR c++/54955 * parser.c (cp_nth_tokens_can_be_std_attribute_p): Recognize the 'Alignas' keyword as the beginning of a c++11 attribute specifier. Update the comment of the function. (cp_next_tokens_can_be_gnu_attribute_p): Update the comment of the function. gcc/testsuite/ PR c++/54955 * g++.dg/cpp0x/gen-attrs-48-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193029 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/19105jakub2012-10-317-30/+942
| | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/21643 PR tree-optimization/46309 * tree-ssa-reassoc.c (init_range_entry): Add STMT argument and use it if EXP is NULL. (update_range_test): Handle OPCODE equal to ERROR_MARK and oe->op NULL. (optimize_range_tests): Likewise. (final_range_test_p, suitable_cond_bb, no_side_effect_bb, get_ops, maybe_optimize_range_tests): New functions. (reassociate_bb): Call maybe_optimize_range_tests if last stmt of bb is GIMPLE_COND that hasn't been visited yet. * gcc.dg/pr19105.c: New test. * gcc.dg/pr21643.c: New test. * gcc.dg/pr46309-2.c: New test. * gcc.c-torture/execute/pr46309.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193028 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-8/+19
| | | | | | | | | | * config/rs6000/rs6000.md (insvsi, insvdi, extvsi, extvdi): Rename to... (insvsi_internal, insvdi_internal, extvsi_internal) (extvdi_internal): ...this. (insv, extv): Update accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193027 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-11/+6
| | | | | | | | * combine.c (simplify_comparison): If BITS_BIG_ENDIAN, always assume that zero_extracts of const_ints are doing word-sized extractions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193026 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-15/+5
| | | | | | | | * combine.c (make_extraction): Remove dead wanted_inner_mode- and pos_rtx-related code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193025 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-15/+31
| | | | | | | | | * expmed.c (store_bit_field_1): Move generation of MEM insvs to the MEM_P block. (extract_bit_field_1): Likewise extvs and extzvs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193024 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-182/+216
| | | | | | | | | | | * expmed.c (store_bit_field_using_insv): New function, split out from... (store_bit_field_1): ...here. (extract_bit_field_using_extv): New function, split out from... (extract_bit_field_1): ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193023 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-12/+14
| | | | | | | | | | | * expmed.c (store_bit_field_1): Use OP_MODE to check whether an insv pattern is available. Remove redundant checks for OP_MODE being MAX_MACHINE_MODE. (extract_bit_field_1): Remove redundant checks for EXT_MODE being MAX_MACHINE_MODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193022 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-312-1/+4
| | | | | | | * expmed.c (store_bit_field_1): Remove test for BLKmode values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193021 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-31 Ralf Corsépius <ralf.corsepius@rtems.org>,corsepiu2012-10-314-2/+54
| | | | | | | | | | | | | Joel Sherrill <joel.sherrill@oarcorp.com> * config/sparc/t-rtems: New (Custom multilibs). * config/sparc/t-rtems-64: New (Custom multilibs). * config.gcc (sparc64-*-rtems*): Add sparc/t-rtems-64. (sparc-*-rtems*): Add sparc/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193018 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/amodra2012-10-3111-36/+228
| | | | | | | | | | | | | | | | | | * config/rs6000/rs6000.c (legitimize_reload_address): Remove code handling non-aligned ld/std. * config/rs6000/paired.md (movv2sf_paired): Use 'Y' instead of 'o'. * config/rs6000/vsx.md (vsx_mov, vsx_movti): Likewise. * config/rs6000/altivec.md (altivec_mov, altivec_movti): Likewise. * config/rs6000/dfp.md (movtd_internal): Use 'm' instead of 'o'. gcc/testsuite/ * gcc.target/powerpc/dimode_off.c: New. * gcc.target/powerpc/timode_off.c: New. * gcc.target/powerpc/dfmode_off.c: New. * gcc.target/powerpc/tfmode_off.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193016 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX.amodra2012-10-312-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193014 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/52498amylaar2012-10-312-1/+5
| | | | | | | | * vmsdbgout.c (vmsdbgout_write_source_line): Comment out names of last two parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193013 138bc75d-0d04-0410-961f-82ee72b054a4
* * lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED toamylaar2012-10-312-1/+7
| | | | | | | hard_reg_class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193012 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Add -fgo-relative-import-path.ian2012-10-3110-10/+78
| | | | | | | | | | | | | | * lang.opt (-fgo-relative-import-path): New option. * go-lang.c (go_relative_import_path): New static variable. (go_langhook_init): Pass go_relative_import_path to go_create_gogo. (go_langhook_handle_option): Handle -fgo-relative-import-path. * go-c.h (go_create_gogo): Update declaration. * gccgo.texi (Invoking gccgo): Document -fgo-relative-import-path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193008 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-10-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193006 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/54551aoliva2012-10-302-3/+13
| | | | | | | | | PR debug/54693 * valtrack.c (dead_debug_promote_uses): Assert-check that global used bit was clear and initialize entry unconditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193003 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P inebotcazou2012-10-302-2/+8
| | | | | | | | head comment. (hash_rtx): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193001 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove lra_in_progress check for ARG_POINTER_REGNUMhjl2012-10-304-4/+92
| | | | | | | | | | | | | | | | gcc/ PR rtl-optimization/55093 * rtlanal.c (simplify_subreg_regno): Remove lra_in_progress check for ARG_POINTER_REGNUM. gcc/testsuite/ PR rtl-optimization/55093 * gcc.target/i386/pr55093.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193000 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/Make-lang.in: Fix and clean up rules for C files.ebotcazou2012-10-302-24/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192998 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename pr55116.c to pr55116-1.chjl2012-10-302-0/+5
| | | | | | | | * gcc.target/i386/pr55116.c: Renamed to ... * gcc.target/i386/pr55116-1.c: This. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192997 138bc75d-0d04-0410-961f-82ee72b054a4
* Add another testcase for PR middle-end/55116hjl2012-10-302-0/+90
| | | | | | | * gcc.target/i386/pr55116-2.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192996 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-30 Steve Ellcey <sellcey@mips.com>sje2012-10-303-3/+25
| | | | | | | | | | | | * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Change order and add mabi=64. (DRIVER_SELF_SPECS): Make -n32 the default on mips64* archs. * config/mips/t-mti-linux (MULTILIB_OPTIONS): Change order. (MULTILIB_DIRNAMES): Ditto. (MULTILIB_EXCEPTIONS): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192995 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog typo.amylaar2012-10-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192994 138bc75d-0d04-0410-961f-82ee72b054a4
* * lra-constrraints.c (check_secondary_memory_needed_p):amylaar2012-10-302-1/+7
| | | | | | | Add ATTRIBUTE_UNUSED to parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192993 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-305-17/+13
| | | | | | | | | | | * defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition. * expmed.c (SLOW_UNALIGNED_ACCESS): Remove default definition. * expr.c (SLOW_UNALIGNED_ACCESS): Likewise. * lra-constraints.c (SLOW_UNALIGNED_ACCESS): Likewise. (simplify_operand_subreg): Don't check STRICT_ALIGNMENT here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192992 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-inline-analysis.c (eliminated_by_inlining_prob): Cleanup.hubicka2012-10-302-10/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192991 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-loop-niter.c (number_of_iterations_exit): New parameterhubicka2012-10-301-1/+2
| | | | | | | | | | | | | | | | EVERY_ITERATION with implicit value of true. (record_estimate): Check dominance relationship of the basic block we are estimating on instead of relying on UPPER to be false. (struct ilb_data): Drop RELIABLE. (idx_infer_loop_bounds): Update. (infer_loop_bounds_from_ref): Drop parameter RELIABLE. (infer_loop_bounds_from_array): Drop parameter RELIABLE. (infer_loop_bounds_from_undefined): Update comments and handling of RELIABLE. (estimate_numbers_of_iterations_loop): Record all bounds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192990 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-loop-niter.c (number_of_iterations_exit): New parameterhubicka2012-10-302-16/+37
| | | | | | | | | | | | | | | | EVERY_ITERATION with implicit value of true. (record_estimate): Check dominance relationship of the basic block we are estimating on instead of relying on UPPER to be false. (struct ilb_data): Drop RELIABLE. (idx_infer_loop_bounds): Update. (infer_loop_bounds_from_ref): Drop parameter RELIABLE. (infer_loop_bounds_from_array): Drop parameter RELIABLE. (infer_loop_bounds_from_undefined): Update comments and handling of RELIABLE. (estimate_numbers_of_iterations_loop): Record all bounds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192989 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-10-302-1/+7
| | | | | | | | * lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg rather than gen_rtx_SUBREG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192988 138bc75d-0d04-0410-961f-82ee72b054a4