- 04 Jul, 2007 32 commits
-
-
2007-07-04 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/32604 PR tree-optimization/32606 * tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads. (compute_antic_safe): Removed. (ANTIC_SAFE_LOADS): Ditto. (compute_antic_aux): Don't print ANTIC_SAFE_LOADS. (execute_pre): Don't call compute_antic_safe. (vuse_equiv): New function. (make_values_for_stmt): Use it * tree-ssa-sccvn.c (set_ssa_val_to): Remove assert, since it is not always true. From-SVN: r126338
Daniel Berlin committed -
PR target/31331 * config/avr/avr.c (avr_naked_function_p): Handle receiving a type rather than a decl. (avr_attribute_table): Make "naked" attribute apply to function types rather than to decls. (avr_handle_fntype_attribute): New function. From-SVN: r126337
Anatoly Sokolov committed -
* gcc.dg/visibility-12.c: New test. * gcc.dg/visibility-13.c: Likewise. * g++.dg/ext/visibility-9.C: Likewise. * g++.dg/ext/visibility-10.C: Likewise. From-SVN: r126330
Mark Mitchell committed -
* target-def.h (TARGET_INITIALIZER): Remove trailing whitespace after \. From-SVN: r126328
Joseph Myers committed -
2007-07-04 David Ung <davidu@mips.com> Joseph Myers <joseph@codesourcery.com> * config/mips/mips.md (type): Add logical, signext and move. (one_cmpl<mode>2, *and<mode>3, *and<mode>3_mips16, *ior<mode>3, *ior<mode>3_mips16, two unnamed insns after *ior<mode>3_mips16, *nor<mode>3, "Combiner patterns to optimize truncate/zero_extend combinations", *zero_extend<SHORT:mode><GPR:mode>2, *zero_extendqihi2, *extend<SHORT:mode><GPR:mode>2_mips16e, *extend<SHORT:mode><GPR:mode>2_se<SHORT:size>, *movdi_64bit, *movdi_64bit_mips16, *movsi_internal, *movsi_mips16, movcc, *movhi_internal, *movhi_mips16, *movqi_internal, *movqi_mips16, *movsf_hardfloat, *movsf_softfloat, *movsf_mips16, *movdf_hardfloat_64bit, *movdf_hardfloat_32bit, movv2sf_hardfloat_64bit): Use the new types. (*movdi_32bit, *movdi_gp32_fp64, *movdi_32bit_mips16, *movdf_softfloat, *movdf_mips16): Use "multi". (extendqihi2): Replace with a define_expand. (*extendqihi2_mips16e, *extendqihi2, *extendqihi2_seb): New. Based on extend<SHORT:mode><GPR:mode>2 patterns. * config/mips/74k.md (r74k_int_logical): New reservation and bypasses. (r74k_int_arith): Remove "slt". * config/mips/24k.md, config/mips/4130.md, config/mips/4k.md, config/mips/5400.md, config/mips/5500.md, config/mips/5k.md, config/mips/7000.md, config/mips/9000.md, config/mips/generic.md, config/mips/sb1.md, config/mips/sr71k.md: Add new types to reservations for "arith". Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r126327
David Ung committed -
2007-07-04 Richard Guenther <rguenther@suse.de> * tree-ssa.c (useless_type_conversion_p): Add handling for scalar float and vector types. Only call the types_compatible_p langhook for aggregate types as last resort. Follow the rules. From-SVN: r126326
Richard Guenther committed -
2007-07-04 Richard Guenther <rguenther@suse.de> * tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR the same as NOP_EXPR. From-SVN: r126325
Richard Guenther committed -
* configure.ac: SUBST CFLAGS. * configure: Regenerate. From-SVN: r126324
David Edelsohn committed -
* target.h (struct gcc_target): Add target_help field. * target-def.h (TARGET_HELP): New. (TARGET_INITIALIZER): Use TARGET_HELP. * opts.c (command_handle_option): Invoke target_help function, if defined, when the user has specified --target-help on the command line. * doc/invoke.texi: Mention that --target-help might print additional information. * doc/tm.texi: Document TARGET_HELP hook. * arm.c (TARGET_HELP): Override default definition. (arm_target_help): New - display a wrapped list of cores and architectures supported. From-SVN: r126323
Nick Clifton committed -
* config/gcc/v850/v850.c (expand_prologue): Make sure GEN_INT() argument is sign extended rather than zero extended. (expand_epilogue): Likewise. (output_move_double): Delete. * config/gcc/v850/v850-protos.h (output_move_double): Delete. * config/gcc/v850/v850.md (movdi): Delete. (movdi_internal): Delete. (movdf): Delete. (movdf_internal): Delete. From-SVN: r126318
Rask Ingemann Lambertsen committed -
gcc/ * config/sh/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Reject -mrelax unless compiling RTP PIC. gcc/testsuite/ * gcc.dg/sh-relax.c: Skip for VxWorks if non-PIC. * gcc.dg/sh-relax-vxworks.c: New test. From-SVN: r126317
Richard Sandiford committed -
2007-07-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/32500 * gcc.c-torture/execute/pr32500.c: New testcase. From-SVN: r126316
Richard Guenther committed -
2007-07-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/32482 * tree-ssa-ifcombine.c (recognize_single_bit_test): Use the original ssa name if we didn't find a shift expression. Fix shift constant for bit zero test. * gcc.c-torture/compile/pr32482.c: New testcase. From-SVN: r126314
Richard Guenther committed -
gcc/testsuite/ * gcc.c-torture/execute/ieee/compare-fp-4.x: Add an XFAIL for ARM VxWorks kernels. * gcc.c-torture/execute/ieee/fp-cmp-1.x: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-2.x: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-3.x: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-6.x: Likewise. From-SVN: r126313
Richard Sandiford committed -
gcc/ * config/sh/lib1funcs.asm (ic_invalidate): Align constant pool. From-SVN: r126312
Richard Sandiford committed -
* traditional.c (_cpp_scan_out_logical_line): Initialize fmacro.args, fmacro.node, fmacro.offset, fmacro.line and fmacro.args to prevent 'may be used uninitialized' warning. From-SVN: r126311
Uros Bizjak committed -
gcc/ * config.gcc (arm-wrs-vxworks): Don't include svr4.h. * config/vxworks.h (PTRDIFF_TYPE, SIZE_TYPE, TARGET_POSIX_IO): Define. * config/arm/vxworks.h (ASM_SPEC): Delete. (SUBTARGET_EXTRA_ASM_SPEC): Define. From-SVN: r126310
Richard Sandiford committed -
gcc/testsuite/ * gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels. From-SVN: r126309
Richard Sandiford committed -
gcc/testsuite/ * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels. From-SVN: r126308
Richard Sandiford committed -
PR fortran/31198 * trans-intrinsic.c (trans-intrinsic.c): Handle optional arguments correctly for MIN and MAX intrinsics. * gfortran.dg/min_max_optional_1.f90: New test. * gfortran.dg/min_max_optional_2.f90: New test. * gfortran.dg/min_max_optional_3.f90: New test. From-SVN: r126307
François-Xavier Coudert committed -
* tree-data-ref.h (data_dependence_relation): New flag reversed_p. (DDR_REVERSED_P): New. * tree-data-ref.c (initialize_data_dependence_relation, build_classic_dist_vector): Set DDR_REVERSED_P. From-SVN: r126306
Sebastian Pop committed -
PR middle-end/32457 * tree-data-ref.c (analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, init_omega_for_ddr_1): Use non conservative number of iterations estimations. (analyze_subscript_affine_affine): Use HOST_WIDE_INT instead of int. (analyze_siv_subscript): Remove FIXME and reinitialization of last_conflicts to chrec_dont_know. * testsuite/gfortran.dg/vect/pr32457.f90: New. From-SVN: r126305
Sebastian Pop committed -
2007-07-04 Douglas Gregor <doug.gregor@gmail.com> * tree.c (maybe_canonicalize_argtypes): Improve description. From-SVN: r126304
Douglas Gregor committed -
2007-07-04 Douglas Gregor <doug.gregor@gmail.com> * tree.c (maybe_canonicalize_argtypes): New. (build_function_type): Set canonical type. (build_method_type_directly): Ditto. (reconstruct_complex_type): Rebuild the METHOD_TYPE node properly. 2007-07-04 Douglas Gregor <doug.gregor@gmail.com> * decl.c (build_ptrmemfunc_type): Always use structural equality tests when comparing pointer-to-member-function types, because the handling of TYPE_GET_PTRMEMFUNC_TYPE currently defeats canonical types. From-SVN: r126303
Douglas Gregor committed -
2007-07-03 Andrew Pinski <andrew_pinski@playstation.sony.com> * tree-ssa-loop-ivopts.c (strip_offset_1): Treat POINTER_PLUS_EXPR like PLUS_EXPR. (rewrite_use_nonlinear_expr): Likewise. From-SVN: r126298
Andrew Pinski committed -
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32545 * gfortran.dg/fmt_error.f90: New test. 2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32612 * gfortran.dg/interface_13.f90: New test. From-SVN: r126296
Jerry DeLisle committed -
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32545 * io.c (check_format): Always call gfc_error for errors. (check_format_string): Change type of this function to try and return the result of check_format. (check_io_constraints): Return MATCH_ERROR if check_format_string returns FAILURE. 2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32612 * decl.c (get_proc_name): Include attr->mod_proc in check for error. From-SVN: r126295
Jerry DeLisle committed -
* dwarf2out.c: Move DWARF2 abbreviation glossary closer to the top of this file. From-SVN: r126294
Ben Elliston committed -
From-SVN: r126293
Mark Mitchell committed -
PR c++/31743 * parser.c (cp_parser_new_type_id): Don't reduce a named array type to its base type and number of elements here. * init.c (build_new): Call complete_type_or_else to ensure that the type is complete and to issue a diagnostic if it is not. (build_new_1): Don't call complete_type_or_else here. PR c++/31743 * g++.dg/init/new20.C: New test. From-SVN: r126292
Dave Brolley committed -
From-SVN: r126290
GCC Administrator committed -
2007-07-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31518 * include/debug/formatter.h (_Error_formatter::_M_get_max_length): New. (_Error_formatter::_Error_formatter): Use it. * src/debug.cc: Define. (_Error_formatter::_M_error): Tweak. * configure.ac: Adjust version to 6:10:0. * config/abi/pre/gnu.ver: Export _Error_formatter::_M_get_max_length at GLIBCXX_3.4.10. * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.10. * docs/html/debug.html: Document. * configure: Regenerate. From-SVN: r126287
Paolo Carlini committed
-
- 03 Jul, 2007 8 commits
-
-
2007-07-03 Seongbae Park <seongbae.park@gmail.com> * rtl.def (UNSPEC, USE, CLOBBER): More comments. From-SVN: r126286
Seongbae Park committed -
From-SVN: r126285
Ben Elliston committed -
* doc/tm.texi (Run-time Target): Capitalise "CPU". (Exception Handling): Likewise. From-SVN: r126284
Ben Elliston committed -
From-SVN: r126283
Jerry DeLisle committed -
2007-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32432 * gfortran.h: Change type of gfc_assign_data_value from void to try. * data.c (gfc_assign_data_value): Return FAILURE if error found. * resolve.c (check_data_variable): If gfc_assign_data_value returns failure, break out of loop and return failure. From-SVN: r126282
Jerry DeLisle committed -
From-SVN: r126281
Jan Hubicka committed -
2007-07-02 Christopher D. Rickett <crickett@lanl.gov> PR fortran/32579 * symbol.c (gen_cptr_param): Generate C_PTR and C_FUNPTR if necessary. (build_formal_args): Pass intrinsic module symbol id to gen_cptr_param. * gfortran.dg/iso_c_binding_only.f03: Updated test case. From-SVN: r126280
Christopher D. Rickett committed -
2007-07-03 Tobias Burnus <burnus@net-b.de> PR fortran/25062 * resolve.c (resolve_common_blocks): New check function. (resolve_types): Use it. 2007-07-03 Tobias Burnus <burnus@net-b.de> PR fortran/25062 * common_7.f90: New. * common_8.f90: New. * common_9.f90: New. From-SVN: r126279
Tobias Burnus committed
-