- 18 Aug, 2005 11 commits
-
-
* mf-hooks1.c (malloc, calloc, realloc, free, __mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling the real routines, and END_MALLOC_PROTECT afterwards. * mf-impl.h (enum __mf_state_enum): Expand comment. Add in_malloc. (BEGIN_PROTECT): Handle in_malloc state. (BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New. * testsuite/libmudflap.c/hook2-allocstuff.c: New. From-SVN: r103256
James E Wilson committed -
From-SVN: r103255
Ian Lance Taylor committed -
sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE record with the type of its only member. * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE record with the type of its only member. From-SVN: r103254
J"orn Rennecke committed -
* config/rs6000/rs6000.md (ltu<mode>_compare): Convert to define_insn_and_split. (plus_ltu<mode>_compare): Same. (gtu<mode>_compare): Same. (plus_gtu<mode>_compare): Same. From-SVN: r103253
David Edelsohn committed -
PR tree-optimization/22228 * tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to todo_flags_start. * tree-vect-transform.c (vect_transform_loop): Mark the variables that are recorded in vect_vnames_to_rename for renaming. * tree-vectorizer.c (vect_vnames_to_rename): New global bitmap. (slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming in vect_vnames_to_rename. (vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap. * tree-vectorizer.h (vect_vnames_to_rename): New extern variable. From-SVN: r103252
Dorit Nuzman committed -
PR c++/22034 * cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug info only for local statics, not for member variables. From-SVN: r103251
Jan Hubicka committed -
From-SVN: r103248
Volker Reichelt committed -
From-SVN: r103247
Volker Reichelt committed -
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/16045 * builtins.c (fold_builtin): Create a new NOP_EXPR all the time. From-SVN: r103243
Andrew Pinski committed -
* c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in array size check. From-SVN: r103240
James E Wilson committed -
[[Split portion of a mixed commit.]] From-SVN: r103237.2
GCC Administrator committed
-
- 17 Aug, 2005 28 commits
-
-
* config/rs6000/rs6000.md (leu<mode>): Convert to mode macro. (leu<mode>_compare): Same. (plus_leu<mode>): Same. (neg_leu<mode>): Same. (and_neg_leu<mode): Same. (ltu<mode>_compare): Same. (plus_ltu<mode>): Same. (geu<mode>): Same. (geu<mode>_compare): Same. (plus_geu<mode>): Same. (neg_geu<mode>): Same. (and_neg_geu<mode>): Same. (plus_gt<mode>): Same. (gtu<mode>_compare): Same. (plus_gtu<mode>): Same. From-SVN: r103233
David Edelsohn committed -
* config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos. Move call_table_data to end. Delete spurious .text. (callt_save_all_interrupt): Fix comment typo. From-SVN: r103231
Erik Christiansen committed -
PR target/21684 * config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0. Co-Authored-By: Kevin Winchester <winchester@amirix.com> From-SVN: r103228
James E Wilson committed -
gcc/java: * class.c (make_class_data): Always emit JV_STATE_PRELOADING for class' initial state. libjava: * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as friend. * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function. * testsuite/libjava.lang/bclink.java: New file. * testsuite/libjava.lang/bclink.out: New file. * link.cc (print_class_loaded): Changed ABI test to look at various _syms fields. From-SVN: r103225
Tom Tromey committed -
PR target/23268 * config/i386/i386.md ("*fist<mode>2_1"): New pattern. ("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern. From-SVN: r103224
Uros Bizjak committed -
sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE record with the type of its only member if... * sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE record with the type of its only member if the modes don't match. From-SVN: r103223
Joern Rennecke committed -
From-SVN: r103222
J"orn Rennecke committed -
[libiberty] * floatformat.c (floatformat_always_valid): Change type of last argument to `void *'. (floatformat_i387_ext_is_valid): Likewise. (floatformat_to_double): Change type of second argument to `const void *'. (floatformat_from_double): Change type of last argument to `void *'. (floatformat_is_valid): Change type of last argument to `const void *'. (ieee_test): Remove redundant casts. [include] * floatformat.h (struct floatformat): Change type of large argument for is_valid member to `const void *'. (floatformat_to_double): Change type of second argument to `const void *'. (floatformat_from_double): Change type of last argument to `void *'. (floatformat_is_valid): Change type of last argument to `const void *'. From-SVN: r103218
Mark Kettenis committed -
2005-08-17 Christian Groessler <chris@groessler.org> * Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash. * Makefile.in: Regenerate. From-SVN: r103216
Christian Groessler committed -
* tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name, lsm_tmp_name_length): New. (lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions. (schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp". From-SVN: r103215
Zdenek Dvorak committed -
From-SVN: r103212
Ulrich Weigand committed -
2005-08-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> Andreas Krebbel <krebbel1@de.ibm.com> * config.gcc: Added z9-109 switch. * config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl", "x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi", "x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other", "x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf", "x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable for "z9_109" cpu attribute. * config/s390/s390.c (z9_109_cost): New processor cost structure. (CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros. (s390_handle_arch_option): Added z9-109 switch. (override_options): Set respective cost function for z9-109. (s390_const_ok_for_constraint_p): New constraints Os, Op, On. (legitimate_reload_constant_p): Accept extended immediates. (print_operand): Three new output modifiers added: k, m and o. (s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990. (s390_output_mi_thunk): Use extended immediate when possible. * config/s390/s390.h (processor_flags): Added PF_EXTIMM. (TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros. (CONSTRAINT_LEN): Added length of O constraint. (CLZ_DEFINED_VALUE_AT_ZERO): Definition added. * config/s390/s390.md ("cpu"): New value z9_109 added. ("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm", "*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm", "*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm", "*zero_extend<mode>si2_extimm", "*anddi3_extimm", "*iordi3_extimm", "*xordi3_extimm", "clzdi2", "clztidi2"): New patterns. ("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2", "*zero_extend<mode>si2_64", "zero_extendqihi2", "*zero_extendqihi2_64", "*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM. ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu", "*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc", "*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc", "*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3", "*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc", "*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly", "*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended immediates. ("extend<mode>di2", "extend<mode>si2", "zero_extend<mode>di2", "zero_extend<mode>si2"): Allow memory operands and don't manually emit insns for TARGET_EXTIMM. From-SVN: r103211
Ulrich Weigand committed -
2005-08-17 Andreas Krebbel <krebbel1@de.ibm.com> * testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options. From-SVN: r103210
Andreas Krebbel committed -
* config/stormy16/stormy16.c (xstormy16_encode_section_info): Call default_encode_section_info. From-SVN: r103207
Nick Clifton committed -
PR tree-optimization/21574 * tree-ssa-ccp.c (likely_value): If the right hand side is a constant, return CONSTANT. (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal. (ccp_fold, visit_assignment): Likewise. (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way. From-SVN: r103206
Steven Bosscher committed -
2005-08-17 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7, 15.21-assoc-8, 15.21-equal-3, 15.28-string-11. From-SVN: r103205
Andreas Tobler committed -
c-typeck.c (build_function_call): Call fold_buildN_initializer or fold_buildN instead of buildN then... 2005-08-16 James A. Morrison <phython@gcc.gnu.org> * c-typeck.c (build_function_call): Call fold_buildN_initializer or fold_buildN instead of buildN then fold_initializer or fold. (build_unary_op): Likewise. (build_binary_op): Likewise. * fold-const.c (fold_initializer): Remove. (fold_build1_initializer): New function. (fold_build2_initializer): New function. (fold_build3_initializer): New function. * tree.h (fold_initializer): Remove. (fold_build1_initializer): New function. (fold_build2_initializer): New function. (fold_build3_initializer): New function. From-SVN: r103201
James A. Morrison committed -
2005-08-16 James A. Morrison <phython@gcc.gnu.org> * fold-const.c (optimize_bit_field_compare): Remove extra fold call. (try_move_mult_to_index): Call fold_build2 instead of build2. (fold_binary): Don't call fold after calls to try_move_mult_to_index. * tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of fold_binary_to_constant. (infer_loop_bounds_from_undefined): Call fold_build2 instead of fold (build. * tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to check if A == gcd (A, B). Remove TYPE argument. (analyze_offset) Use fold_build2 instead of fold (build. (create_data_ref): Likewise. (analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p. * tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2 then fold. From-SVN: r103200
James A. Morrison committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * strverscmp.c: Update FSF address. * testsuite/Makefile.in: Likewise. * testsuite/test-demangle.c: Likewise. * testsuite/test-pexecute.c: Likewise. From-SVN: r103199
Kelley Cook committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * ALL: Update FSF address. From-SVN: r103198
Kelley Cook committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103197
Kelley Cook committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * config/arm/unaligned-funcs.c,config/i386/crtfastmath.c, ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address. From-SVN: r103196
Kelley Cook committed -
* gcc.dg/large-size-array.c (DIM): Use USHRT_MAX not USHORT_MAX. From-SVN: r103195
James E Wilson committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103194
Kelley Cook committed -
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103192
Kelley Cook committed -
re PR tree-optimization/23402 (error: statement makes a memory store, but has no V_MAY_DEFS nor V_MUST_DEFS) 2005-08-16 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/23402 * gcc.c-torture/compile/zero-strct-3.c: New test. * gcc.c-torture/compile/zero-strct-4.c: New test. 2005-08-16 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/23402 * gimplify.c (zero_sized_type): New function. (gimplify_modify_expr_rhs): If we have a zero sized type, replace the statement with an empty statement. From-SVN: r103191
Andrew Pinski committed -
2005-08-16 H.J. Lu <hongjiu.lu@intel.com> * config/i386/crtfastmath.c (set_fast_math): Add "=m" for fxsave. From-SVN: r103189
H.J. Lu committed -
[[Split portion of a mixed commit.]] From-SVN: r103186.2
GCC Administrator committed
-
- 16 Aug, 2005 1 commit
-
-
From-SVN: r103182
Ian Lance Taylor committed
-