- 20 Feb, 2007 6 commits
-
-
* call.c (build_new_method_call): Ensure that explicit calls of destructors have type "void". From-SVN: r122153
Mark Mitchell committed -
From-SVN: r122152
Ben Elliston committed -
* config/c4x/c4x.md, config/cris/cris.c, config/crx/crx.c, config/fr30/fr30.md, config/i386/i386.h, config/iq2000/iq2000.h, config/iq2000/predicates.md, config/pa/milli64.S, config/pa/pa.c, config/pa/pa.h, config/pa/pa.md, config/pa/pa32-regs.h, config/pa/pa64-regs.h, config/pdp11/pdp11.c, config/pdp11/pdp11.h, config/rs6000/altivec.md, config/rs6000/rs6000.c, config/s390/s390-modes.def, config/sparc/netbsd-elf.h, config/sparc/sparc.c, config/sparc/sparc.h, config/sparc/sparc.md, config/spu/constraints.md, config/spu/spu.c, config/stormy16/stormy16.md: Follow spelling conventions. From-SVN: r122151
Kazu Hirata committed -
* config/alpha/alpha.c, config/alpha/alpha.md, config/alpha/lib1funcs.asm, config/alpha/vms-crt0-64.c, config/alpha/vms-psxcrt0-64.c, config/arc/arc.c, config/arc/arc.h, config/arm/arm.c, config/arm/arm.md, config/arm/lib1funcs.asm: Follow spelling conventions. From-SVN: r122150
Kazu Hirata committed -
PR target/29943 * varasm.c (use_blocks_for_decl_p): Return false for decls with alias attribute. From-SVN: r122148
Alan Modra committed -
From-SVN: r122146
GCC Administrator committed
-
- 19 Feb, 2007 26 commits
-
-
* MAINTAINERS: Add myself as sh maintainer. From-SVN: r122142
Kaz Kojima committed -
From-SVN: r122141
Kazu Hirata committed -
* tree-ssa-pre.c (create_value_expr_from): Initialize POOL to NULL. From-SVN: r122140
Diego Novillo committed -
ia64.c (ia64_expand_builtin): Use the new CALL_EXPR_FN macro for retrieving the function declaration of the... * config/ia64/ia64.c (ia64_expand_builtin): Use the new CALL_EXPR_FN macro for retrieving the function declaration of the input expression. From-SVN: r122139
Lee Millward committed -
2007-02-19 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30533 PR libfortran/30765 * Makefile.am: Add $(srcdir) too all files in generated/. (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c, maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and maxloc0_16_i2.c. (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c, maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and maxloc1_16_i2.c. (i_maxval_c): Add maxval_i1.c and maxval_i2.c. (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c, minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and minloc0_16_i2.c. (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c, minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and minloc1_16_i2.c. (i_minval_c): Add minval_i1.c and minval_i2.c. (i_sum_c): Add sum_i1.c and sum_i2.c. (i_product_c): Add product_i1.c and product_i2.c. (i_matmul_c): Add matmul_i1.c and matmul_i2.c. (gfor_built_specific_src): Remove $(srcdir) from target. (gfor_bulit_specific2_src): Likewise. Makefile.in: Regenerated. libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE. Add gfc_array_i1 and gfc_array_i2. * generated/matmul_i1.c: New file. * generated/matmul_i2.c: New file. * generated/maxloc0_16_i1.c: New file. * generated/maxloc0_16_i2.c: New file. * generated/maxloc0_4_i1.c: New file. * generated/maxloc0_4_i2.c: New file. * generated/maxloc0_8_i1.c: New file. * generated/maxloc0_8_i2.c: New file. * generated/maxloc1_16_i1.c: New file. * generated/maxloc1_16_i2.c: New file. * generated/maxloc1_4_i1.c: New file. * generated/maxloc1_4_i2.c: New file. * generated/maxloc1_8_i1.c: New file. * generated/maxloc1_8_i2.c: New file. * generated/maxval_i1.c: New file. * generated/maxval_i2.c: New file. * generated/minloc0_16_i1.c: New file. * generated/minloc0_16_i2.c: New file. * generated/minloc0_4_i1.c: New file. * generated/minloc0_4_i2.c: New file. * generated/minloc0_8_i1.c: New file. * generated/minloc0_8_i2.c: New file. * generated/minloc1_16_i1.c: New file. * generated/minloc1_16_i2.c: New file. * generated/minloc1_4_i1.c: New file. * generated/minloc1_4_i2.c: New file. * generated/minloc1_8_i1.c: New file. * generated/minloc1_8_i2.c: New file. * generated/minval_i1.c: New file. * generated/minval_i2.c: New file. * generated/product_i1.c: New file. * generated/product_i2.c: New file. * generated/sum_i1.c: New file. * generated/sum_i2.c: New file. 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30533 * fortran/iresolve.c(gfc_resolve_maxloc): Remove coercion of argument to default integer. (gfc_resolve_minloc): Likewise. 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30533 * gfortran.dg/intrinsic_intkinds_1.f90: New test. From-SVN: r122137
Thomas Koenig committed -
2007-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c.opt (Waddress): New. * common.opt (Walways-true): Delete. (Wstring-literal-comparison): Delete. * doc/invoke.texi (Warning Options): Delete -Walways-true and -Wstring-literal-comparison. Add -Waddress. (Waddress): New. (Walways-true): Delete. (Wstring-literal-comparison): Delete. * doc/extend.texi (#pragma GCC diagnostic): Use -Wformat consistently instead of -Walways-true in example. * c-opts.c (c_common_handle_option): -Waddress is enabled by -Wall. * c-typeck.c (parser_build_binary_op): Replace -Wstring-literal-comparison and -Walways-true with -Waddress. * c-common.c (c_common_truthvalue_conversion): Replace -Walways-true with -Waddress. cp/ * typeck.c (build_binary_op): Replace -Wstring-literal-comparison and -Walways-true with -Waddress. * cvt.c (convert_to_void): Replace unconditional warning with -Waddress. testsuite/ * gcc.dg/20031012-1.c: Replace -Walways-true with -Waddress. * gcc.dg/Walways-true-1.c: Likewise. * gcc.dg/weak/weak-3.c: Likewise. * gcc.dg/Werror-1.c: Likewise. * gcc.dg/Werror-3.c: Likewise. * gcc.dg/Werror-4.c: Likewise. * gcc.dg/Werror-5.c: Likewise. * gcc.dg/Werror-6.c: Likewise. * gcc.dg/Werror-7.c: Likewise. * gcc.dg/Werror-8.c: Likewise. * gcc.dg/Werror-10.c: Likewise. * gcc.dg/Werror-11.c: Likewise. * gcc.dg/Werror-12.c: Likewise. * g++.old-deja/g++.mike/warn8.C: Likewise. * g++.dg/warn/Walways-true-1.C: Likewise. * g++.dg/warn/Walways-true-2.C: Likewise. * g++.dg/warn/noeffect8.C: Warn only with -Waddress. * g++.dg/warn/Wstring-literal-comparison-1.C: Replace -Wstring-literal-comparison with -Waddress. * gcc.dg/Wstring-literal-comparison-4.c: Replace -Wno-string-literal-comparison with -Wno-address. From-SVN: r122136
Manuel López-Ibáñez committed -
tree-cfg.c (dump_function_to_file): Be prepared for functions without DECL_STRUCT_FUNCTION initialized. * tree-cfg.c (dump_function_to_file): Be prepared for functions without DECL_STRUCT_FUNCTION initialized. From-SVN: r122135
Eric Botcazou committed -
gimplify.c (gimplify_init_ctor_preeval_1): Detect potential overlap due to calls to functions taking pointers as parameters. * gimplify.c (gimplify_init_ctor_preeval_1): Detect potential overlap due to calls to functions taking pointers as parameters. From-SVN: r122133
Eric Botcazou committed -
* configure.ac: Adjust for loop syntax. * configure: Regenerate. From-SVN: r122132
Joseph Myers committed -
PR debug/29558 * var-tracking.c (track_expr_p): Disallow AGGREGATE_TYPE_P in memory. From-SVN: r122131
Richard Henderson committed -
s390.c (s390_call_saved_register_used, [...]): Adjust the way CALL_EXPR arguments are accessed to the new scheme. 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_call_saved_register_used, s390_function_ok_for_sibcall): Adjust the way CALL_EXPR arguments are accessed to the new scheme. From-SVN: r122129
Andreas Krebbel committed -
(cris_print_index, cris_print_operand, cris_print_operand_address) (cris_reload_address_legitimized, cris_rtx_costs, cris_address_cost) (cris_side_effect_mode_ok, cris_valid_pic_const, cris_split_movdx) (cris_expand_pic_call_address): Use xxx_P predicate macros instead of GET_CODE () == xxx. * config/cris/cris.h (SECONDARY_RELOAD_CLASS, EXTRA_CONSTRAINT_Q, EXTRA_CONSTRAINT_T, BDAP_INDEX_P, BIAP_INDEX_P, SIMPLE_ADDRESS_P, GO_IF_LEGITIMATE_ADDRESS): Ditto. * config/cris/cris.md (define_insns: *btst, movdi, *mov_side<mode>) (*mov_sidesisf, *mov_side<mode>_mem, *mov_sidesisf_mem) (*clear_side<mode>, movsi, *movsi_internal, *ext_sideqihi) (*ext_side<mode>si, *op_side<mode>, *op_swap_side<mode>, addsi3) (*extopqihi_side, *extop<mode>si_side, *extopqihi_swap_side) (*extop<mode>si_swap_side, addi_mul, *addi,andsi3, andhi3, ashl<mode>3) (uminsi3, call, call_value): Ditto. (define_split: indir_to_reg_split, unnamed): Ditto. From-SVN: r122128
Jan-Benedict Glaw committed -
PR tree-optimization/30975 * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove wrong assert. From-SVN: r122127
Dorit Nuzman committed -
2007-02-18 Eric Christopher <echristo@gmail.com> * mips.c (mips_prepare_builtin_arg): Add argnum parameter. Remove use of arglist. (mips_expand_builtin): Remove use of arglist, pass in expr. (mips_expand_builtin_direct): Rewrite handling for arglist removal. (mips_expand_builtin_movtf): Ditto. (mips_expand_builtin_compare): Ditto. From-SVN: r122126
Eric Christopher committed -
2007-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30681 * gfortran.dg/pr17229.f: Change "Obsolete" to "Obsolescent". From-SVN: r122125
Jerry DeLisle committed -
2007-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30681 * options.c (gfc_init_options): Relax warning level for obsolescent. * match.c (match_arithmetic_if): Change to obsolescent from deleted. (gfc_match_if): Same. From-SVN: r122124
Jerry DeLisle committed -
tree-sra.c (sra_build_assignment): Replace assertion checking with a comment explaining why it can't be done. * tree-sra.c (sra_build_assignment): Replace assertion checking with a comment explaining why it can't be done. From-SVN: r122123
Alexandre Oliva committed -
2007-02-18 Sandra Loosemore <sandra@codesourcery.com> PR middle-end/30833 * tree-dump.c (dequeue_and_dump): Add tcc_vl_exp case missed during CALL_EXPR representation conversion. * tree-ssa-propagate.c (set_rhs): Likewise. From-SVN: r122122
Sandra Loosemore committed -
* tree-sra.c (sra_build_assignment): Disable assertion checking for now. From-SVN: r122121
Alexandre Oliva committed -
function.c (gimplify_parameters): Call build_gimple_modify_stmt instead of calling build2 with a GIMPLE_MODIFY_STMT. * function.c (gimplify_parameters): Call build_gimple_modify_stmt instead of calling build2 with a GIMPLE_MODIFY_STMT. * gimple-low.c (lower_function_body, lower_builtin_setjmp): Likewise. * gimplify.c (build_stack_save_restore, gimplify_return_expr, gimplify_decl_expr, gimplify_self_mod_expr, gimplify_cond_expr, gimplify_init_ctor_eval_range, gimple_push_cleanup, gimplify_omp_for, gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex, gimplify_expr, gimplify_one_sizepos, force_gimple_operand): Likewise. * ipa-cp.c (constant_val_insert): Likewise. * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression, lambda_loopnest_to_gcc_loopnest, replace_uses_equiv_to_x_with_y, perfect_nestify): Likewise. * langhooks.c (lhd_omp_assignment): Likewise. * omp-low.c (lower_rec_input_clauses, lower_reduction_clauses, lower_copyprivate_clauses, lower_send_clauses, lower_send_shared_vars, expand_parallel_call, expand_omp_for_generic, expand_omp_for_static_nochunk, expand_omp_for_static_chunk, expand_omp_sections, lower_omp_single_copy, lower_omp_for_lastprivate, lower_omp_parallel, init_tmp_var, save_tmp_var): Likewise. * value-prof.c (tree_divmod_fixed_value, tree_mod_pow2, tree_mod_subtract, tree_ic, tree_stringop_fixed_value): Likewise. From-SVN: r122120
Roger Sayle committed -
* config/m68k/linux-unwind.h: Fix a comment typo. * target.h: Follow spelling conventions. From-SVN: r122119
Kazu Hirata committed -
* config/frv/frv.c, config/frv/frv.h, config/frv/frv.md, config/frv/predicates.md: Follow spelling conventions. From-SVN: r122118
Kazu Hirata committed -
* config/sh/divtab.c, config/sh/sh.c, config/sh/sh.h, config/sh/sh.md: Follow spelling conventions. From-SVN: r122117
Kazu Hirata committed -
PR rtl-optimization/28173 * simplify-rtx.c (simplify_binary_operation_1) <IOR>: Optimize (X & C1) | C2 as C2 when (C1 & C2) == C1 and X has no side-effects. Optimize (X & C1) | C2 as X | C2 when (C1 | C2) == ~0. Canonicalize (X & C1) | C2 as (X & (C1 & ~C2)) | C2. <AND>: Canonicalize (X | C1) & C2 as (X & C2) | (C1 & C2). * gcc.target/i386/andor-1.c: New test case. From-SVN: r122116
Roger Sayle committed -
From-SVN: r122114
GCC Administrator committed -
* builtins.c (fold_builtin_load_exponent): New. (fold_builtin_2): Use it. testsuite: * gcc.dg/torture/builtin-ldexp-1.c: New. * gcc.dg/torture/builtin-math-2.c: Add ldexp/scalbn/scalbln cases. From-SVN: r122110
Kaveh R. Ghazi committed
-
- 18 Feb, 2007 8 commits
-
-
ChangeLog: * configure: Rebuilt. config/ChangeLog: * acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as precious. Prefer it over a cached value. Use cached value verbosely. (NCN_STRICT_CHECK_TARGET_TOOLS): Likewise. Don't override environment variable with build-time tools. From-SVN: r122108
Alexandre Oliva committed -
* configure.ac: Drop multiple occurrences of --enable-languages, and fix its quoting. * configure: Rebuilt. From-SVN: r122107
Alexandre Oliva committed -
PR rtl-optimization/30773 * local-alloc.c (update_equiv_regs): Do not set reg_equiv_init if we fail to attach a REG_EQUIV note. From-SVN: r122106
Steven Bosscher committed -
2007-02-18 David Edelsohn <edelsohn@gnu.org> Roger Sayle <roger@eyesopen.com> * config/rs6000/rs6000.md (bswapsi2): New define_insn and splitter. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r122104
David Edelsohn committed -
* trans-array.c (gfc_build_constant_array_constructor): When the shape of the constructor is known, use that to construct the gfc_array_spec. (gfc_trans_constant_array_constructor): Initialize the "info" information for all of the dimensions of the array constructor. (constant_array_constructor_loop_size): New function. (gfc_trans_array_constructor): Use it to determine whether a loop is suitable for "constant array constructor" optimization. * trans-intrinsic.c (gfc_conv_intrinsic_anyall): Use fold_build2 instead of build2, to avoid conditions like "(a != b) != 0". * gfortran.dg/array_constructor_15.f90: New test case. From-SVN: r122103
Roger Sayle committed -
2007-02-18 Roger Sayle <roger@eyesopen.com> Paul Thomas <pault@gcc.gnu.org> PR fortran/30400 * match.c (match_forall_iterator): Use gfc_match_expr instead of gfc_match_variable to match the iterator variable. Return MATCH_NO if not a variable. Remove the reset of the symbol's flavor in cleanup. 2007-02-18 Roger Sayle <roger@eyesopen.com> * gfortran.dg/forall_10.f90: New test case. Co-Authored-By: Paul Thomas <pault@gcc.gnu.org> From-SVN: r122102
Roger Sayle committed -
calls.c (initialize_argument_information): Pass original EXP and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. 2007-02-18 Sandra Loosemore <sandra@codesourcery.com> * calls.c (initialize_argument_information): Pass original EXP and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. Move code to split complex arguments here, as part of initializing the ARGS array. (expand_call): Remove code that builds a list of arguments and inserts implicit arguments into it. Instead, just count how many implicit arguments there will be so we can determine the size of the ARGS array, and let initialize_argument_information do the work. (split_complex_values): Delete unused function. From-SVN: r122101
Sandra Loosemore committed -
* tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR. From-SVN: r122097
Eric Botcazou committed
-