- 20 Feb, 2008 12 commits
-
-
* ChangeLog: Whitespace fixes. * gcc/ChangeLog: Ditto. * config/ChangeLog: Ditto. From-SVN: r132482
Uros Bizjak committed -
2008-02-20 Richard Guenther <rguenther@suse.de> * fold-const.c (split_tree): Associate floatig-point expressions if flag_associative_math is set. * gcc.dg/fold-reassoc-1.c: New testcase. * gcc.dg/tree-ssa/recip-3.c: Adjust to not compute d/d. From-SVN: r132481
Richard Guenther committed -
2008-02-20 Richard Guenther <rguenther@suse.de> * tree.h (fold_real_zero_addition_p): Declare. * fold-const.c (fold_real_zero_addition_p): Export. * tree-ssa-reassoc.c (eliminate_using_constants): Also handle floating-point operations with zero and one. * gcc.dg/tree-ssa/reassoc-13.c: New testcase. From-SVN: r132480
Richard Guenther committed -
2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. 2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable. 2008-02-20 Paolo Bonzini <bonzini@gnu.org> * doc/install.texi: Correct references to CFLAGS, replacing them with BOOT_CFLAGS. Document flags used during bootstrap for target libraries. From-SVN: r132479
Paolo Bonzini committed -
* config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define. * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as insn constraint. (smin<mode>3): Ditto from similar patterns. (smax<mode>3): Ditto. (*ieee_smin<mode>3): Ditto. (*ieee_smax<mode>3): Ditto. * config/i386/sse.md (sse): New mode attribute. (mov<mode>): Macroize expander from movv4sf and movv2df using SSEMODEF2P mode iterator. (<sse>_movnt<mode>): Ditto from similar patterns. Use SSE_VEC_FLOAT_MODE_P as insn constraint. (storent<mode>): Ditto. (storent<mode>): Macroize expander from storentsf and storentdf using MODEF mode iterator. (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. (abs<mode>2): Ditto from similar patterns. (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto. (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto. (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto. (<sse>_vmsqrt<mode>2): Ditto. (smin<mode>3, *smin<mode>3_finite, *smin<mode>3) (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto. (smax<mode>3, *smax<mode>3_finite, *smax<mode>3) (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto. (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3, sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4 mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as insn constraint. (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode iterator and SSE_FLOAT_MODE_P as insn constraint. (<sse>_ucomi): Ditto from similar patterns. (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. (vcond<mode>): Ditto from similar patterns. (and<mode>3, *and<mode>3): Ditto. (<sse>_nand<mode>3): Ditto. (ior<mode>3, *ior<mode>3): Ditto. (xor<mode>3, *xor<mode>3): Ditto. (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode iterator and SSE_FLOAT_MODE_P as insn constraint. (*nand<mode>3): Ditto from similar patterns. (*ior<mode>3): Ditto. (*xor<mode>3): Ditto. From-SVN: r132478
Uros Bizjak committed -
Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only. 2008-02-20 Matthias Klose <doko@ubuntu.com> * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only. * tools/Makefile.in: Regenerate. From-SVN: r132474
Matthias Klose committed -
* config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi, vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi, vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement. From-SVN: r132472
Ira Rosen committed -
* g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define. (switchfiles): Use DG_OPTIONS. Explicitly name arguments in fprintf templates to reduce number of passed arguments. From-SVN: r132471
Uros Bizjak committed -
* inclhack.def (solaris_math_10): New. * tests/base/iso/math_c99.h: Update. * fixincl.x: Regenerate. From-SVN: r132468
Kaveh R. Ghazi committed -
* traditional.c (lex_identifier): Use CPP_HASHNODE. * lex.c (lex_identifier): Use CPP_HASHNODE. * include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in do-while. * identifiers.c (alloc_node): Change return type. (_cpp_init_hashtable): Don't cast 'alloc_node'. (proxy_assertion_broken): New declaration. (cpp_forall_identifiers): Move comment. * line-map.c (linemap_add): Comment fix. (linemap_line_start): Indentation fix. From-SVN: r132467
Tom Tromey committed -
From-SVN: r132466
H.J. Lu committed -
From-SVN: r132461
GCC Administrator committed
-
- 19 Feb, 2008 28 commits
-
-
PR c++/34950 * pt.c (resolve_overloaded_unification): Set processing_template_decl while we look for possible bindings. From-SVN: r132455
Jason Merrill committed -
by previous commit. From-SVN: r132454
Jan Hubicka committed -
2007-02-19 Andreas Tobler <a.tobler@schweiz.org> * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro GC_GETSECTBYNAME instead. * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the architecture (Darwin). From-SVN: r132452
Andreas Tobler committed -
* predict.c (predict_paths_leading_to): Rewrite. (predict_paths_for_bb): New. (tree_bb_level_predictions): Update call of predict_paths_leading_to. From-SVN: r132450
Jan Hubicka committed -
PR bootstrap/35218 * Makefile.in (build_file_translate): New. (gcc-vers.texi): Use it for translating $(abs_srcdir). * config.build (build_file_translate): Set to `CMD //c' on MinGW. * configure.ac (build_file_translate): Substitute it. * configure: Regenerate. From-SVN: r132444
Ralf Wildenhues committed -
2008-02-19 Daniel Franke <franke.daniel@gmail.com> PR fortran/35030 * expr.c (gfc_check_pointer_assign): Add type and kind information to type-mismatch message. (gfc_check_assign): Unify error messages. From-SVN: r132442
Daniel Franke committed -
PR rtl-optimization/34408 * see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing. From-SVN: r132440
Jan Hubicka committed -
re PR middle-end/28779 (internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106) PR middle-end/28779 * tree-inline.c (estimate_num_insns_1): Fix counting of cost of call_expr. From-SVN: r132439
Jan Hubicka committed -
2008-02-19 H.J. Lu <hongjiu.lu@intel.com> PR Ada/35186 * config/i386/i386-modes.def: Revert the last DI alignment change until Ada people can look into it. From-SVN: r132433
H.J. Lu committed -
From-SVN: r132432
Nick Clifton committed -
PR target/35239 * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special 32-bit inline asm without asm alternatives for host GCC < 3.0. From-SVN: r132430
Jakub Jelinek committed -
re PR tree-optimization/34989 (ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1698 with IMA) 2008-02-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/34989 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure. Allow propagation to INDIRECT_REF if we can simplify only. * gcc.dg/pr34989-1.c: New testcase. * gcc.dg/pr34989-2.c: Likewise. From-SVN: r132429
Richard Guenther committed -
2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c-common.c (warn_for_collisions_1): Use appropriate option when warning. From-SVN: r132428
Manuel López-Ibáñez committed -
PR other/31349 * opts.c (undocumented_msg): Leave blank unless checking is enabled. (handle_options): Fix indentation. (print_filtered_help): If no language-specific options were displayed tell the user how to list all the options supported by the language's front-end. (print_specific_help): Fix indentation and remove duplicate line. (common_handle_option): Handle the -v option. For --help enable the display of undocumented options if the -v switch has been included on the command line. For --help= check for overlaps in the arguments between the option classes and the language names and issue a warning when they cannot be disambiguated. * c.opt (v): Pass on to the common option handler. From-SVN: r132427
Nick Clifton committed -
PR c++/35028 * cp-gimplify.c (cxx_omp_clause_apply_fn): Handle vararg copy ctors. * g++.dg/gomp/pr35028.C: New test. From-SVN: r132426
Jakub Jelinek committed -
PR c++/34964 PR c++/35244 * semantics.c (finish_omp_threadprivate): Do nothing for error_operand_p vars. Afterwards ensure v is VAR_DECL. * gcc.dg/gomp/pr34964.c: New test. * g++.dg/gomp/pr34964.C: New test. * gcc.dg/gomp/pr35244.c: New test. * g++.dg/gomp/pr35244.C: New test. From-SVN: r132425
Jakub Jelinek committed -
PR c++/35078 * parser.c (cp_parser_omp_for_loop): If DECL has REFERENCE_TYPE, don't call cp_finish_decl. * semantics.c (finish_omp_for): Fail if DECL doesn't have integral type early. * g++.dg/gomp/pr35078.C: New test. From-SVN: r132424
Jakub Jelinek committed -
From-SVN: r132423
Revital Eres committed -
From-SVN: r132418
Christian Bruel committed -
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz> From-SVN: r132416
Christian Bruel committed -
From-SVN: r132415
Christian Bruel committed -
PR target/33555 * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern. (*x86_movdicc_0_m1_se): Ditto. testsuite/ChangeLog: PR target/33555 * gcc.target/i386/pr33555.c: New test. From-SVN: r132414
Uros Bizjak committed -
* config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. (CMPtype): Define as __gcc_CMPtype. * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. (CMPtype): Define as __gcc_CMPtype. From-SVN: r132413
Uros Bizjak committed -
* system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines here. [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS. [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE. [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE. * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines. Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED, VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS respectively. * ggc-zone.c: Similar. * ggc-page.c: Similar. From-SVN: r132407
Hans-Peter Nilsson committed -
PR other/12618 * testsuite/Makefile.in (mostlyclean): Remove any core file. From-SVN: r132405
Ben Elliston committed -
2008-02-19 Paul Brook <paul@codesourcery.com> PR target/35071 * config/arm/ieee754-df.S: Fix do_it typo. * config/arm/ieee754-sf.S: Fix do_it typo. From-SVN: r132404
Paul Brook committed -
gcc/ 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> PR target/35189 * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New. (OPTION_MASK_ISA_3DNOW_SET): Likewise. (OPTION_MASK_ISA_SSE_SET): Likewise. (OPTION_MASK_ISA_SSE2_SET): Likewise. (OPTION_MASK_ISA_SSE3_SET): Likewise. (OPTION_MASK_ISA_SSSE3_SET): Likewise. (OPTION_MASK_ISA_SSE4_1_SET): Likewise. (OPTION_MASK_ISA_SSE4_2_SET): Likewise. (OPTION_MASK_ISA_SSE4_SET): Likewise. (OPTION_MASK_ISA_SSE4A_SET): Likewise. (OPTION_MASK_ISA_SSE5_SET): Likewise. (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise. (OPTION_MASK_ISA_MMX_UNSET): Updated. (OPTION_MASK_ISA_3DNOW_UNSET): Updated. (OPTION_MASK_ISA_SSE_UNSET): Likewise. (OPTION_MASK_ISA_SSE3_UNSET): Likewise. (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. (OPTION_MASK_ISA_SSE5_UNSET): Likewise. (OPTION_MASK_ISA_SSE4): Removed. (ix86_handle_option): Turn on bits in ix86_isa_flags and ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX. (override_options): Don't turn on implied SSE/MMX bits in ix86_isa_flags. gcc/testsuite/ 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> PR target/35189 * gcc.target/i386/isa-1.c: New. * gcc.target/i386/isa-2.c: Likewise. * gcc.target/i386/isa-3.c: Likewise. * gcc.target/i386/isa-4.c: Likewise. * gcc.target/i386/isa-5.c: Likewise. * gcc.target/i386/isa-6.c: Likewise. * gcc.target/i386/isa-7.c: Likewise. * gcc.target/i386/isa-8.c: Likewise. * gcc.target/i386/isa-9.c: Likewise. * gcc.target/i386/isa-10.c: Likewise. * gcc.target/i386/isa-11.c: Likewise. * gcc.target/i386/isa-12.c: Likewise. * gcc.target/i386/isa-13.c: Likewise. * gcc.target/i386/isa-14.c: Likewise. From-SVN: r132403
H.J. Lu committed -
From-SVN: r132401
GCC Administrator committed
-