- 29 May, 2009 5 commits
-
-
2009-05-29 David Billinghurst <billingd@gcc.gnu.org> * config.host: Add i386/${host_address}/t-fprules-softfp and t-softfp to tmake_file for i[34567]86-*-cygwin*. 2009-05-29 David Billinghurst <billingd@gcc.gnu.org> * config.gcc: Add i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for i[34567]86-*-cygwin*. From-SVN: r147972
David Billinghurst committed -
PR target/40017 * config/rs6000/rs6000-c.c (_Bool_keyword): New variable. (altivec_categorize_keyword, init_vector_keywords, rs6000_cpu_cpp_builtins): Define _Bool as conditional macro similar to bool. * gcc.target/powerpc/altivec-types-1.c: Don't expect error for __vector _Bool. * gcc.target/powerpc/altivec-30.c: New test. * gcc.target/powerpc/altivec-31.c: New test. From-SVN: r147970
Jakub Jelinek committed -
tree.c (handle_dll_attribute): Check if node is of kind FUNCTION_DECL for DECL_DECLARED_INLINE_P check. 2009-05-29 Kai Tietz <kai.tietz@onevision.com> * tree.c (handle_dll_attribute): Check if node is of kind FUNCTION_DECL for DECL_DECLARED_INLINE_P check. From-SVN: r147969
Kai Tietz committed -
* fibheap.c (fibheap_replace_key_data): Make sure we don't early out when forcing the minimum. (fibheap_delete_node): Assert that we managed to force the minimum. From-SVN: r147968
Michael Matz committed -
From-SVN: r147965
GCC Administrator committed
-
- 28 May, 2009 18 commits
-
-
* config/arm/thumb2.md (thumb2_zero_extendsidi2): Add a split component. (thumb2_zero_extendqidi2): Likewise. From-SVN: r147962
Richard Earnshaw committed -
* config/sh/sh.c (sh_expand_t_scc): Use gen_xorsi3_movrt instead of gen_movrt. * config/sh/sh.md (movrt): Remove. From-SVN: r147961
Kaz Kojima committed -
* doc/invoke.texi (IA-64 Options) Add -msdata, -mfused-madd, -mno-inline-float-divide, -mno-inline-int-divide, -mno-inline-sqrt, -msched-spec-ldc, -msched-spec-control-ldc, -msched-prefer-non-data-spec-insns, -msched-prefer-non-control-spec-insns, -msched-stop-bits-after-every-cycle, -msched-count-spec-in-critical-path, -msel-sched-dont-check-control-spec, -msched-fp-mem-deps-zero-cost -msched-max-memory-insns-hard-limit, -msched-max-memory-insns Remove -mt, -pthread, -msched-ldc, -mno-sched-control-ldc, and -msched-spec-verbose. From-SVN: r147960
Steve Ellcey committed -
2009-05-28 Tom Tromey <tromey@redhat.com> Phil Muldoon <pmuldoon@redhat.com> Jonathan Wakely <jwakely.gcc@gmail.com> * python/Makefile.in, , python/libstdcxx/__init__.py, python/libstdcxx/v6/__init__.py, python/libstdcxx/v6/printers.py, python/hook.in, python/Makefile.am: New files. * configure, Makefile.in: Rebuild. * acinclude.m4 (glibcxx_SUBDIRS): Add python. * Makefile.am (SUBDIRS): Add python. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> Co-Authored-By: Phil Muldoon <pmuldoon@redhat.com> From-SVN: r147958
Tom Tromey committed -
* config/arm/lib1funcs.asm (__clear_cache): Define if L_clear_cache. * config/arm/linux-eabi.h (CLEAR_INSN_CACHE): Define to give an error if used. * config/arm/t-linux-eabi (LIB1ASMFUNCS): Add _clear_cache. From-SVN: r147956
Joseph Myers committed -
2009-05-28 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (ao_ref_init): New function. (ao_ref_base): Likewise. (ao_ref_base_alias_set): Likewise. (ao_ref_alias_set): Likewise. (refs_may_alias_p_1): Change signature. (refs_may_alias_p): Adjust. (refs_anti_dependent_p): Likewise. (refs_output_dependent_p): Likewise. (call_may_clobber_ref_p_1): Change signature. (call_may_clobber_ref_p): Adjust. (stmt_may_clobber_ref_p_1): New function split out from ... (stmt_may_clobber_ref_p): ... here. (maybe_skip_until): Adjust signature. (get_continuation_for_phi): Likewise. (walk_non_aliased_vuses): Likewise. * tree-ssa-alias.h (struct ao_ref_s): New structure type. (ao_ref_init): Declare. (ao_ref_base): Likewise. (ao_ref_alias_set): Likewise. (stmt_may_clobber_ref_p_1): Likewise. (walk_non_aliased_vuses): Adjust. * tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): New function. (get_ref_from_reference_ops): remove. (vn_reference_lookup_2): Adjust signature. (vn_reference_lookup_3): Do not re-build trees. Handle unions. (vn_reference_lookup_pieces): Adjust signature, do not re-build trees. (vn_reference_lookup): Adjust. (vn_reference_insert): Likewise. (vn_reference_insert_pieces): Adjust signature. (visit_reference_op_call): Adjust. * tree-ssa-pre.c (get_expr_type): Simplify. (phi_translate_1): Adjust. (compute_avail): Likewise. (translate_vuse_through_block): Do not re-build trees. (value_dies_in_block_x): Likewise. * tree-ssa-sccvn.h (struct vn_reference_s): Add type and alias-set fields. (vn_reference_lookup_pieces): Adjust declaration. (vn_reference_insert_pieces): Likewise. * gcc.dg/tree-ssa/ssa-fre-26.c: New testcase. * gcc.c-torture/execute/20090527-1.c: Likewise. From-SVN: r147953
Richard Guenther committed -
2009-05-28 Benjamin Kosnik <bkoz@redhat.com> * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use with checking disabled. From-SVN: r147952
Benjamin Kosnik committed -
gcc/cp/ChangeLog: PR c++/39754 * cp-tree.h (canonical_type_variant): Remove this function declaration. (strip_typedefs): New function declaration. * tree.c (strip_typedefs): New function definition. (canonical_type_variant): Remove function definition. * cvt.c (convert_from_reference): No need to use canonical_type_variant. * typeck.c (cp_build_indirect_ref): Likewise. * error.c (dump_template_bindings): Use strip_typedefs instead of canonical_type_variant. * pt.c (convert_template_argument, unify): Likewise. * mangle.c (canonicalize_for_substitution): Don't use canonical_type_variant. gcc/testsuite/ChangeLog: PR c++/39754 * g++.dg/template/canon-type-1.C: New test. * g++.dg/template/canon-type-2.C: Likewise. * g++.dg/template/canon-type-3.C: Likewise. * g++.dg/template/canon-type-4.C: Likewise. * g++.dg/template/canon-type-5.C: Likewise. * g++.dg/template/canon-type-6.C: Likewise. * g++.dg/template/canon-type-7.C: Likewise. From-SVN: r147951
Dodji Seketeli committed -
gcc/ChangeLog: 2009-05-28 Dave Korn <dave.korn.cygwin@gmail.com> PR target/37216 * configure.ac (HAVE_GAS_ALIGNED_COMM): Add autoconf test and macro definition for support of three-operand format aligned .comm directive in assembler on cygwin/pe/mingw target OS. * configure: Regenerate. * config.in: Regenerate. * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Use aligned form of .comm directive if -mpe-aligned-commons is in effect. * config/i386/cygming.opt (-mpe-aligned-commons): Add new option. * doc/invoke.texi (-mpe-aligned-commons): Document new target option. * doc/tm.texi (ASM_OUTPUT_COMMON): Document zero size commons. gcc/testsuite/ChangeLog: 2009-05-28 Dave Korn <dave.korn.cygwin@gmail.com> Uros Bizjak <ubizjak@gmail.com> Danny Smith <dansmister@gmail.com> PR target/37216 * lib/target-supports.exp (check_effective_target_pe_aligned_commons): New function. * gcc.target/i386/pr37216.c: New test source file. * gcc.dg/compat/struct-layout-1_generate.c (dg_options[]): No longer use -fno-common for testing Cygwin and MinGW targets. Co-Authored-By: Danny Smith <dansmister@gmail.com> Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r147950
Dave Korn committed -
2009-05-28 Kai Tietz <kai.tietz@onevision.com> * g++.dg/ext/packed6.C (size_t): Use __extension__ and __SIZE_TYPE__. * g++.dg/opt/memcpy1.C (size_t): Likewise. * g++.dg/pr37742.C (size_t): Likewise. * g++.dg/torture/pr34850.C (size_t): Likewise. * g++.dg/torture/20070621-1.C (ptrdiff_t): Use __extension__ and _PTRDIFF_TYPE__. * g++.dg/torture/pr34222.C (ptrdiff_t): Likewise. * g++.dg/tree-ssa/pr22444.C (ptrdiff_t): Likewise. (size_t): Use __extension__ and __SIZE_TYPE__. From-SVN: r147949
Kai Tietz committed -
2009-05-28 Kai Tietz <kai.tietz@onevision.com> * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via __SIZE_TYPE__. * gcc.c-torture/compile/20010328-1.c (size_t): Likewise, * gcc.c-torture/compile/20030320-1.c (size_t): Likewise, * gcc.c-torture/compile/20030405-1.c (size_t): Likewise, * gcc.c-torture/compile/20030902-1.c (size_t): Likewise, * gcc.c-torture/compile/20060202-1.c (size_t): Likewise, * gcc.c-torture/compile/20080613-1.c (size_t): Likewise, * gcc.c-torture/compile/920428-2.c (size_t): Likewise, * gcc.c-torture/compile/980329-1.c (size_t): Likewise, * gcc.c-torture/compile/980816-1.c (size_t): Likewise, * gcc.c-torture/compile/pr32584.c (size_t): Likewise, * (__ssize_t): Likewise. * gcc.c-torture/compile/pr33173.c (size_t): Likewise, * gcc.c-torture/compile/pr33382.c (size_t): Likewise, * gcc.c-torture/compile/pr34334.c (size_t): Likewise, * gcc.c-torture/compile/pr34688.c (size_t): Likewise, * gcc.c-torture/compile/pr35043.c (size_t): Likewise, * gcc.c-torture/compile/pr37669.c (size_t): Likewise, * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__. * gcc.dg/pr33667.c (size_t): Likewise. * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise. * gcc.dg/torture/pr39204.c (size_t): Likewise. * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise. * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise. * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise. * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise. From-SVN: r147947
Kai Tietz committed -
PR tree-optimization/40254 * tree-data-ref.c (dr_analyze_innermost): Take POFFSET into account in analysis of basic blocks. From-SVN: r147945
Ira Rosen committed -
PR middle-end/33699 * target.h (struct gcc_target): Fix indentation. Add const_anchor. * target-def.h (TARGET_CONST_ANCHOR): New macro. (TARGET_INITIALIZER): Use it. * cse.c (CHEAPER): Move it up to the other macros. (insert): Rename this ... (insert_with_costs): ... to this. Add cost parameters. Update function comment. (insert): New function. Call insert_with_costs. (compute_const_anchors, insert_const_anchor, insert_const_anchors, find_reg_offset_for_const, try_const_anchors): New functions. (cse_insn): Call try_const_anchors. Adjust cost of src_related when using a const-anchor. Call insert_const_anchors. * config/mips/mips.c (mips_set_mips16_mode): Set targetm.const_anchor. * doc/tm.texi (Misc): Document TARGET_CONST_ANCHOR. testsuite/ * gcc.target/mips/const-anchor-1.c: New test. * gcc.target/mips/const-anchor-2.c: New test. From-SVN: r147944
Adam Nemet committed -
From-SVN: r147943
Olivier Hainque committed -
* tree-inline.c (remap_decls): Enable nonlocalized variables when not optimizing. From-SVN: r147941
Alexandre Oliva committed -
* tree-ssa-live.c (remove_unused_locals): Skip when not optimizing. Simplify other tests involving optimize. From-SVN: r147939
Alexandre Oliva committed -
From-SVN: r147938
GCC Administrator committed -
2009-05-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_allocator.h (check_new, check_delete): Move to ... * testsuite/util/replacement_memory_operators.h: ...here. New. * testsuite/util/testsuite_hooks.h (counter): To object_counter. * testsuite/util/testsuite_hooks.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Use replacement_memory_operators.h. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/mt_allocator/check_delete.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-6.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-8.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/check_new.cc: Same. * testsuite/ext/debug_allocator/check_delete.cc: Same. * testsuite/ext/debug_allocator/check_new.cc: Same. * testsuite/ext/new_allocator/deallocate_global.cc: Same. * testsuite/ext/new_allocator/check_delete.cc: Same. * testsuite/ext/new_allocator/check_new.cc: Same. * testsuite/ext/new_allocator/deallocate_local.cc: Same. * testsuite/ext/throw_allocator/deallocate_global.cc: Same. * testsuite/ext/throw_allocator/check_delete.cc: Same. * testsuite/ext/throw_allocator/check_new.cc: Same. * testsuite/ext/throw_allocator/deallocate_local.cc: Same. * testsuite/ext/malloc_allocator/deallocate_global.cc: Same. * testsuite/ext/malloc_allocator/check_delete.cc: Same. * testsuite/ext/malloc_allocator/check_new.cc: Same. * testsuite/ext/malloc_allocator/deallocate_local.cc: Same. * testsuite/ext/pool_allocator/check_delete.cc: Same. * testsuite/ext/pool_allocator/check_new.cc: Same. * testsuite/ext/bitmap_allocator/check_delete.cc: Same. * testsuite/ext/bitmap_allocator/check_new.cc: Same. * testsuite/ext/array_allocator/check_delete.cc: Same. * testsuite/ext/array_allocator/check_new.cc: Same. * testsuite/23_containers/deque/cons/1.cc: Same. * testsuite/23_containers/deque/cons/2.cc: Same. From-SVN: r147937
Benjamin Kosnik committed
-
- 27 May, 2009 17 commits
-
-
* unwind-dw2.c (_Unwind_DebugHook): New function. (uw_install_context): Call _Unwind_DebugHook. From-SVN: r147934
Tom Tromey committed -
* call.c (implicit_conversion): Handle conversion from initializer-list to scalar. (convert_like_real): Likewise. Avoid crashing on list initialization with bad conversions. (can_convert): Use LOOKUP_EXPLICIT. (can_convert_arg_bad): Add flags parm. * cp-tree.h: Adjust. * typeck.c (convert_for_assignment): Pass flags. From-SVN: r147933
Jason Merrill committed -
2009-05-27 Benjamin Kosnik <bkoz@redhat.com> * libsupc++/initializer_list: Format. * testsuite/18_support/initializer_list/requirements/typedefs.cc: New. * testsuite/18_support/initializer_list/requirements/ explicit_instantiation.cc: New. From-SVN: r147931
Benjamin Kosnik committed -
2009-05-27 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/40273 * include/tr1_impl/functional: Add explicit cast. * testsuite/20_util/function/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/function/null_pointer_comparisons.cc: New. From-SVN: r147930
Benjamin Kosnik committed -
From-SVN: r147929
Janne Blomqvist committed -
gcc/ChangeLog * system.h (CONST_CAST2): Use C++ const_cast when compiled as C++ From-SVN: r147928
Tom Tromey committed -
./: * Makefile.in (LINKER, LINKER_FLAGS): Define. (LINKER_FOR_BUILD, BUILD_LINKERFLAGS): Define. (ALL_LINKERFLAGS): Define. (xgcc$(exeext)): Change $(COMPILER) to $(LINKER). (cpp$(exeext), cc1-dummy$(exeext), cc1$(exeext)): Likewise. (collect2$(exeext), mips-tfile, mips-tdump): Likewise. (gcov$(exeext), gcov-dump$(exeext)): Likewise. (build/gen%$(build_exeext)): Change $(COMPILER_FOR_BUILD) to $(LINKER_FOR_BUILD). (build/gcov-iov$(build_exeext)): Likewise. cp/: * Make-lang.in (g++$(exeext)): Change $(COMPILER) to $(LINKER). (cc1plus-dummy$(exeext), cc1plus$(exeext)): Likewise. fortran/: * Make-lang.in (gfortran$(exeext)): Change $(COMPILER) to $(LINKER). (f951$(exeext)): Likewise. java/: * Make-lang.in ($(XGCJ)$(exeext)): Change $(COMPILER) to $(LINKER). (jc1$(exeext), jcf-dump$(exeext), jvgenmain$(exeext)): Likewise. objc/: * Make-lang.in (cc1obj-dummy$(exeext)): Change $(COMPILER) to $(LINKER). (cc1obj$(exeext)): Likewise. objcp/: * Make-lang.in (cc1objplus-dummy$(exeext)): Change $(COMPILER) to $(LINKER). (cc1objplus$(exeext)): Likewise. From-SVN: r147927
Ian Lance Taylor committed -
2009-05-27 Tobias Burnus <burnus@net-b.de> PR fortran/40270 * trans-decl.c (create_main_function): Mark MAIN__ and argc/argv as TREE_USED and push/pop function_decl context if needed. From-SVN: r147926
Tobias Burnus committed -
gcc/ * gcse.c (target.h): Include. (can_assign_to_reg_without_clobbers_p): Check that the target allows copy of argument to a pseudo register. From-SVN: r147925
Julian Brown committed -
* tree-ssa-live.c (dump_scope_block): Document arguments. (dump_scope_blocks): Document. (debug_scope_blocks): New. * tree-flow.h (debug_scope_blocks): Declare. From-SVN: r147923
Diego Novillo committed -
From-SVN: r147920
Denis Chertykov committed -
From-SVN: r147919
Janne Blomqvist committed -
* plugins.m4: New. From-SVN: r147918
Rafael Avila de Espindola committed -
* expr.c (target_align): New function. Alignment the TARGET of an assignment may be assume to have. (highest_pow2_factor_for_target): Use it instead of relying on immediate tree attributes of TARGET, not necessarily honored when intermediate bitfields are involved. testsuite/ * gcc.c-torture/execute/align-nest.c: New testcase. * gnat.dg/misaligned_nest.adb: New testcase. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r147916
Olivier Hainque committed -
From-SVN: r147915
Janne Blomqvist committed -
2009-05-27 H.J. Lu <hongjiu.lu@intel.com> PR target/40266 * config/i386/driver-i386.c (host_detect_local_cpu): Support AVX, SSE4, AES, PCLMUL and POPCNT. From-SVN: r147913
H.J. Lu committed -
From-SVN: r147911
Nick Clifton committed
-