- 21 Dec, 2010 35 commits
-
-
* value-prof.c (value_prof_hooks): Remove. (struct value_prof_hooks): Remove. (gimple_value_prof_hooks): Remove. (gimple_register_value_prof_hooks): Remove. (find_values_to_profile): Remove. (value_profile_transformations): Remove. (gimple_value_profile_transformations): No longer static. (gimple_find_values_to_profile): Likewise. * value-prof.h (gimple_register_value_prof_hooks): Remove prototype. (find_values_to_profile): Likewise. (value_profile_transformations): Likewise. (tree_register_profile_hooks): Likewise. (struct profile_hooks): Remove. (tree_profile_hooks): Remove. (gimple_find_values_to_profile): New protoype. (gimple_value_profile_transformations): Likewise. (gimple_init_edge_profiler): Likewise. (gimple_gen_edge_profiler): Likewise. (gimple_gen_interval_profiler): Likewise. (gimple_gen_pow2_profiler): Likewise. (gimple_gen_one_value_profiler): Likewise. (gimple_gen_ic_profiler): Likewise. (gimple_gen_ic_func_profiler): Likewise. (gimple_gen_const_delta_profiler): Likewise. (gimple_gen_average_profiler): Likewise. (gimple_gen_ior_profiler): Likewise. * profile.c (profile_hooks): Remove. (instrument_edges): Call profiling functions directly instead of through removed profile_hooks. (instrument_values): Likewise. (branch_prob): Call gimple_find_values_to_profile instead of removed find_values_to_profile. Call gimple_init_edge_profiler instead of removed hook. (tree_register_profile_hooks): Remove. * tree-profile.c (tree_init_ic_make_global_vars): Rename to init_ic_make_global_vars. (tree_init_edge_profiler): Rename to gimple_init_edge_profiler and no longer static. (tree_gen_edge_profiler, tree_gen_interval_profiler, tree_gen_pow2_profiler, tree_gen_one_value_profiler, tree_gen_ic_profiler, tree_gen_ic_func_profiler, tree_gen_const_delta_profiler, tree_gen_average_profiler, tree_gen_ior_profiler): Similarly renamed and no longer static. (tree_profiling): Do not initialize tree profiling hooks. (tree_profile_hooks): Remove. From-SVN: r168141
Steven Bosscher committed -
From-SVN: r168140
Ian Lance Taylor committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/18764 * class.c (__objc_add_class_to_hash): Return YES if the class was added, and NO if it already existed. * init.c (__objc_init_class): If __objc_add_class_to_hash returns NO, then abort the program with an error message. * objc-private/runtime.h (__objc_add_class_to_hash): Updated declaration. From-SVN: r168139
Nicola Pero committed -
* Make-lang.in (check-go): Remove. (lang_checks_parallelized): Add check-go. (check_go_parallelize): Set. From-SVN: r168137
Ian Lance Taylor committed -
* go.test/go-test.exp: Clear runtests around invocation of go-dg-runtest from errchk and go-execute-xfail. From-SVN: r168136
Ian Lance Taylor committed -
PR target/46880 * config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source operand. * gcc.target/i386/pr46880.c: New test. From-SVN: r168135
Jakub Jelinek committed -
From-SVN: r168134
Ian Lance Taylor committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * init.c (_objc_load_callback): Initialize with 0. (__objc_call_callback): Renamed to __objc_call_load_callback. Check _objc_load_callback only once, and if it is not set, return immediately. (objc_send_load): Updated call to __objc_call_callback. From-SVN: r168133
Nicola Pero committed -
From-SVN: r168132
Ian Lance Taylor committed -
From-SVN: r168131
Ian Lance Taylor committed -
From-SVN: r168130
Ian Lance Taylor committed -
From-SVN: r168129
Ian Lance Taylor committed -
From-SVN: r168128
Ian Lance Taylor committed -
From-SVN: r168127
Joseph Myers committed -
From-SVN: r168126
Ian Lance Taylor committed -
From-SVN: r168125
Ian Lance Taylor committed -
PR tree-optimization/47001 * tree-vect-slp.c (vect_supported_load_permutation_p): Check that the loads in reduction are different and there are no gaps between them. From-SVN: r168123
Ira Rosen committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/16110 * init.c (__objc_send_message_in_list): Renamed to __objc_send_load_using_method_list. Do not take an 'op' argument. Register the 'load' selector if needed. (__objc_send_load): Do not register the 'load' selector. Updated call to __objc_send_message_in_list. (__objc_create_classes_tree): Add the class of any claimed category that was loaded in the module to the list of classes for which we try to execute +load. In gcc/testsuite/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/16110 * objc.dg/special/special.exp: Added new test. * objc.dg/special/load-category-1.m: New. * objc.dg/special/load-category-1a.m: New. * objc.dg/special/load-category-1.h: New. From-SVN: r168122
Nicola Pero committed -
gcc/ PR middle-end/45310 * tree-ssa-phiprop.c (propagate_with_phi): Remove statement completely from the function, including EH traces. testsuite/ PR middle-end/45310 * g++.dg/pr45310.C: New test. From-SVN: r168121
Steven Bosscher committed -
re PR middle-end/45310 (ICE: verify_stmts failed: Dead STMT in EH table with -O1 -fnon-call-exceptions) gcc/ PR middle-end/45310 * tree-ssa-phiprop.c (propagate_with_phi): Remove statement completely from the function, including EH traces. testsuite/ PR middle-end/45310 * g++.dg/pr45310.C: New test. From-SVN: r168120
Steven Bosscher committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/common.h: When DEBUG is defined, include <stdio.h>. Updated comments. * init.c (__objc_tree_insert_class): Use %p, not %x, when printing a pointer using DEBUG_PRINTF. From-SVN: r168119
Nicola Pero committed -
gcc/ PR rtl-optimization/46755 * ira.c (ira): If some dead edges were removed, find and delete any blocks that might have become unreachable. testsuite/ PR rtl-optimization/46755 * gfortran.dg/pr46755.f: New test From-SVN: r168118
Steven Bosscher committed -
PR rtl-optimization/47008 * postreload.c (reload_combine_note_store): Also handle PRE_MODIFY and POST_MODIFY. * gfortran.dg/pr47008.f03: New test. From-SVN: r168117
Jakub Jelinek committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/45953 * selector.c (__sel_register_typed_name): When registering a new selector with the same name as an existing one, reuse the existing name string. Also updated types, casts and comments in the whole function. In gcc/testsuite/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/45953 * objc.dg/libobjc-selector-1.m: New test. From-SVN: r168115
Nicola Pero committed -
arm.c (require_pic_register): Set INSN_LOCATOR for all instructions injected into the prologue to... * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all instructions injected into the prologue to prologue_locator. From-SVN: r168114
Ulrich Weigand committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs' to be 'struct objc_selector *' and not 'SEL'. * init.c (__objc_exec_class): Call __objc_register_selectors_from_module instead of iterating over each selector and calling __sel_register_typed_name for each. * objc-private/selector.h: Declare __objc_register_selectors_from_module instead of __sel_register_typed_name. * selector.c (__objc_register_selectors_from_module): New. (__sel_register_typed_name): Made static. From-SVN: r168113
Nicola Pero committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * linking.m: Do not include objc/NXConstStr.h. From-SVN: r168112
Nicola Pero committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ... * objc-private/common.h (DEBUG_PRINTF): To here. * hash.c: Do not include objc-private/runtime.h and objc/thr.h. From-SVN: r168111
Nicola Pero committed -
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * hash.c: Tidied up comments and indentation. No code changes. From-SVN: r168110
Nicola Pero committed -
PR middle-end/47000 * tree-inline.c (estimate_operator_cost): Handle VIEW_CONVERT_EXPR. From-SVN: r168108
Jan Hubicka committed -
From-SVN: r168106
Jie Zhang committed -
PR middle-end/45852 * expr.c (store_expr): Ignore alt_rtl if equal to target, but has side-effects. * gcc.target/i386/pr45852.c: New test. From-SVN: r168105
Jakub Jelinek committed -
* config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove. * config/sh/sh-protos.h (secondary_reload_info, sh_secondary_reload): Remove forward declaration. * config/sh/sh.c (sh_preferred_reload_class): New function. (sh_secondary_reload): Make static. (TARGET_PREFERRED_RELOAD_CLASS): Define. From-SVN: r168104
Anatoly Sokolov committed -
From-SVN: r168102
Ian Lance Taylor committed -
From-SVN: r168101
GCC Administrator committed
-
- 20 Dec, 2010 5 commits
-
-
2010-12-20 Tobias Burnus <burnus@net-b.de> PR fortran/46974 * gfortran.dg/c_ptr_tests_16.f90: Fix endian issue. From-SVN: r168095
Tobias Burnus committed -
* config/alpha/linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define differently if SINGLE_LIBC. * config/rs6000/linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config/rs6000/linux64.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define SINGLE_LIBC instead of OPTION_GLIBC. (*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC. (bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define DEFAULT_LIBC or use linux.opt. From-SVN: r168094
Joseph Myers committed -
* config/mn10300/mn10300.c (mn10300_legitimize_pic_address): Generate UNSPEC patterns by hand, with the proper mode; use gen_const_mem. * config/mn10300/mn10300.md (call, call_value): Generate UNSPEC_PLT by hand, with the proper mode. (symGOT2reg, symGOT2reg_i, symGOTOFF2reg): Remove. (symGOTOFF2reg_i, sym2PIC, sym2PLT): Remove. From-SVN: r168093
Richard Henderson committed -
2010-12-20 Sanjin Liu <scliu@faraday-tech.com> Mingfeng Wu <mingfeng@faraday-tech.com> * config/arm/arm-cores.def: Add Faraday CPU support - fa526/fa626/fa606te/fa626te/fmp626/fa726te. * config/arm/arm-tune.md: Regenerate. * config/arm/arm.c (arm_fa726te_tune): New tune_params for fa726te (fa726te_sched_adjust_cost): New cost function for fa726te. (arm_issue_rate): Add fa726te. * config/arm/arm.md (generic_sched): Add Faraday cores to generic_sched and include machine description files. * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Add fa526 and fa626. * config/arm/t-arm (MD_INCLUDES): Include machine description files for Faraday cores. * config/arm/t-arm-elf: Add multilib option for Faraday cores. * config/arm/t-linux-eabi: Add multilib option for Faraday cores except fa526 and fa626. * doc/invoke.texi: Document -mcpu for Faraday cores. * config/arm/fa526.md: New file. * config/arm/fa606te.md: New file. * config/arm/fa626te.md: New file. * config/arm/fmp626.md: New file. * config/arm/fa726te.md: New file. Co-Authored-By: Mingfeng Wu <mingfeng@faraday-tech.com> From-SVN: r168090
Sanjin Liu committed -
Fix PR bootstrap/47027. gcc/ada/: PR bootstrap/47027 * a-stwiun-shared.ads: Rewrap overlong comment line. From-SVN: r168089
Ralf Wildenhues committed
-