- 12 Feb, 2009 12 commits
-
-
gcc/ 2009-02-12 Uros Bizjak <ubizjak@gmail.com> * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2. (umul_ppmm): Likewise. (count_leading_zeros): Likewise. (count_trailing_zeros): Likewise. (UMUL_TIME): Likewise. 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Add ia64/t-fprules-softfp soft-fp/t-softfp to tmake_file for ia64*-*-linux*. * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New. (ia64_expand_compare): Use HPUX library for TFmode only for HPUX. (ia64_builtins): Add IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ. (ia64_init_builtins): Initialize __builtin_infq, __builtin_fabsq and __builtin_copysignq if not HPUX. (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ. * config/ia64/lib1funcs.asm (__divtf3): Define only if SHARED is defined. (__fixtfti): Likewise. (__fixunstfti): Likewise. (__floattitf): Likewise. * config/ia64/libgcc-glibc.ver: New. * config/ia64/t-fprules-softfp: Likewise. * config/ia64/sfp-machine.h: Likewise. * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New. (LIBGCC2_TF_CEXT): Likewise. (TF_SIZE): Likewise. (TARGET_INIT_LIBFUNCS): Likewise. * config/ia64/t-glibc: Add $(srcdir)/config/ia64/libgcc-glibc.ver to SHLIB_MAPFILES. libgcc/ 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config.host: Add ia64/t-fprules-softfp ia64/t-softfp-compat to tmake_file for ia64*-*-linux*. * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*. * config/ia64/__divxf3.asm: New. * config/ia64/_fixtfdi.asm: Likewise. * config/ia64/_fixunstfdi.asm: Likewise. * config/ia64/_floatditf.asm: Likewise. * config/ia64/t-fprules-softfp: Likewise. * config/ia64/t-softfp-compat: Likewise. * config/ia64/tf-signs.c: Likewise. From-SVN: r144130
H.J. Lu committed -
From-SVN: r144129
H.J. Lu committed -
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (construct_container): Rewrite processing BLKmode with X86_64_SSE_CLASS. From-SVN: r144128
H.J. Lu committed -
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/cpp0x/defaulted9.C: Compile with "-std=c++0x -fno-inline". From-SVN: r144127
H.J. Lu committed -
gcc/ 2009-02-12 Paolo Bonzini <bonzini@gnu.org> PR target/39152 * config/i386/i386.md: Replace simplify_replace_rtx with replace_rtx in the new peephole2. gcc/testsuite/ 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> PR target/39152 * gfortran.dg/pr39152.f: New. From-SVN: r144126
H.J. Lu committed -
* doc/invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do not happen at -O2. From-SVN: r144123
Nathan Sidwell committed -
From-SVN: r144122
Michael Matz committed -
* dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die for -g3. From-SVN: r144121
Jakub Jelinek committed -
* config/rs6000/rs6000.md (allocate_stack): Use _stack form of patterns when updating the back chain. Missed in the 2009-02-10 change. From-SVN: r144120
Ben Elliston committed -
PR c++/39153 * decl2.c (cp_write_global_declarations): Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL. From-SVN: r144119
Jason Merrill committed -
From-SVN: r144117
GCC Administrator committed -
* doc/extend.texi (Decimal Floating Types): Update identifier of draft TR and list of missing support. From-SVN: r144114
Janis Johnson committed
-
- 11 Feb, 2009 9 commits
-
-
PR c++/30111 * init.c (build_value_init_noctor): Split out from... (build_value_init): ...here. (expand_aggr_init_1): Handle value-initialization. * cp-tree.h: Add declaration. * class.c (type_has_user_provided_constructor): Handle non-class arguments. From-SVN: r144112
Jason Merrill committed -
PR middle-end/39154 * gimplify.c (omp_notice_variable): If adding GOVD_SEEN bit to variable length decl's flags, add it also to its pointer replacement variable. * testsuite/libgomp.c/pr39154.c: New test. From-SVN: r144111
Jakub Jelinek committed -
PR target/39118 * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant. (memory_blockage): New expander. (*memory_blockage): New insn pattern. * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage instead of general blockage at the end of function prologue when frame pointer is used to access red zone area. Do not emit blockage when profiling, it is emitted in generic code. (ix86_expand_epilogue): Emit memory_blockage at the beginning of function epilogue when frame pointer is used to access red zone area. From-SVN: r144100
Uros Bizjak committed -
2009-02-11 Kai Tietz <kai.tietz@onevision.com> * mh-cygwin (LDFLAGS): Add linker option to increase stack limit up to 8MB. From-SVN: r144099
Kai Tietz committed -
gcc: 2009-02-06 Paolo Bonzini <bonzini@gnu.org> * config/i386/i386.md: Add two new peephole2 to avoid mov followed by arithmetic with memory operands. * config/i386/predicates.md (commutative_operator): New. gcc/testsuite: 2009-02-06 Paolo Bonzini <bonzini@gnu.org> * gcc.target/i386/pr38824.c: New testcase. From-SVN: r144098
Paolo Bonzini committed -
PR c++/38649 * class.c (defaultable_fn_p): Handle ... properly. From-SVN: r144092
Jason Merrill committed -
re PR c++/36744 ([C++0x] function modifying argument received by-value affects caller's variable when passed as rvalue) PR c++/36744 * tree.c (lvalue_p_1): Condition rvalue ref handling on treat_class_rvalues_as_lvalues, too. From-SVN: r144091
Jason Merrill committed -
From-SVN: r144089
GCC Administrator committed -
* doc/extend.texi (Fixed-Point Types): Break long paragraphs into bulleted lists. From-SVN: r144086
Janis Johnson committed
-
- 10 Feb, 2009 16 commits
-
-
* alias.h (record_alias_subset): Declare. * alias.c (record_alias_subset): Make global. ada/ * gcc-interface/decl.c (enum alias_set_op): New enumeration. (copy_alias_set): Rename into... (relate_alias_sets): ...this. Add third parameter OP. Retrieve the underlying array of unconstrained arrays for the new type as well. If the old and new alias sets don't conflict, make one a subset of the other as per the OP parameter. (gnat_to_gnu_entity): Adjust calls to copy_alias_set. <E_Record_Type>: Do not copy the alias set for derived types. For all types, make the alias set of derived types a superset of that of their parent type. (make_aligning_type): Adjust calls to copy_alias_set. (make_packable_type): Likewise. * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: Check for alias set conflict instead of strict equality to issue the warning. From-SVN: r144084
Eric Botcazou committed -
/cp 2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/34397 * typeck.c (build_x_array_ref): New. * cp-tree.h: Declare it. * pt.c (tsubst_copy_and_build): Use it for case ARRAY_REF. /testsuite 2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/34397 * g++.dg/template/crash88.C: New. * g++.dg/template/crash89.C: Likewise. From-SVN: r144083
Paolo Carlini committed -
* Makefile.am (AM_MAKEFLAGS): Pass down datadir. * Makefile.in: Regenerated. From-SVN: r144081
Mark Mitchell committed -
* tree-parloops.c: Change license to GPLv3. * ipa-struct-reorg.c: Change license to GPLv3. * ipa-struct-reorg.h: Change license to GPLv3. From-SVN: r144072
Nick Clifton committed -
PR c/39084 gcc.dg/pr39084.c: New test. From-SVN: r144068
Steve Ellcey committed -
PR c/39084 * c-decl.c (start_struct): Return NULL on error. From-SVN: r144067
Steve Ellcey committed -
PR middle-end/39124 * cfgloopmanip.c (remove_path): Call remove_bbs after cancel_loop_tree, not before it. From-SVN: r144066
Jakub Jelinek committed -
PR target/39139 * function.h (struct function): Add has_local_explicit_reg_vars bit. * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER VAR_DECLs were seen. * tree-ssa-live.c (remove_unused_locals): Recompute cfun->has_local_explicit_reg_vars. * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode copies or clearings if cfun->has_local_explicit_reg_vars. * gcc.target/i386/pr39139.c: New test. From-SVN: r144065
Jakub Jelinek committed -
PR target/39118 * config/i386/i386.c (expand_prologue): Emit blockage at the end of function prologue when frame pointer is used to access red zone area. From-SVN: r144063
Uros Bizjak committed -
From-SVN: r144062
Joseph Myers committed -
2009-02-10 Richard Guenther <rguenther@suse.de> PR middle-end/39127 * gimplify.c (gimple_regimplify_operands): Always look if we need to create a temporary. From-SVN: r144061
Richard Guenther committed -
2009-02-10 Richard Guenther <rguenther@suse.de> PR tree-optimization/39132 * tree-loop-distribution.c (todo): New global var. (generate_memset_zero): Trigger TODO_rebuild_alias. (tree_loop_distribution): Return todo. * gcc.dg/torture/pr39132.c: New testcase. From-SVN: r144060
Richard Guenther committed -
gcc/ 2009-02-10 H.J. Lu <hongjiu.lu@intel.com> PR target/39119 * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS. (x86_64_reg_class_name): Removed. (classify_argument): Return 0 if bytes > 32. Return 0 if the first one isn't X86_64_SSE_CLASS or any other ones aren't X86_64_SSEUP_CLASS when size > 16bytes. Don't turn X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one is X86_64_SSEUP_CLASS. Set AVX modes to 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS. (construct_container): Remove X86_64_AVX_CLASS. Handle 4 registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS. gcc/testsuite/ 2009-02-10 H.J. Lu <hongjiu.lu@intel.com> PR target/39119 * gcc.target/x86_64/abi/avx/abi-avx.exp: New. * gcc.target/x86_64/abi/avx/args.h: Likewise. * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx/avx-check.h: Likewise. * gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise. * gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise. * gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise. * gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise. From-SVN: r144058
H.J. Lu committed -
2009-02-09 Benjamin Kosnik <bkoz@redhat.com> * include/std/condition_variable (condition_variable): Remove _M_internal_mutex. Add private __native_type typedef. * src/condition_variable.cc (condition_variable::notify_one): Remove _M_internal_mutex use. Use typedef. (condition_variable::notify_all): Same. * include/std/mutex (mutex): Add private __native_type typedef. Use it. (recursive_mutex): Same. (timed_mutex): Same. (recursive_timed_mutex): Same. (once_flag): Make __native_type typedef private. * include/std/thread (this_thread): Add minimal markup. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Adjust line numbers. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same. * testsuite/30_threads/mutex/cons/assign_neg.cc: Same. * testsuite/30_threads/mutex/cons/copy_neg.cc: Same. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same. * testsuite/30_threads/thread/cons/assign_neg.cc: Same. * testsuite/30_threads/thread/cons/copy_neg.cc: Same. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same. * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same. * testsuite/util/thread/all.h: Testsuite utilities for testing thread. * testsuite/30_threads/condition_variable_any/native_handle/ typesizes.cc: New. * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/thread/native_handle/typesizes.cc: Same. * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/condition_variable/native_handle/ typesizes.cc: Same. * testsuite/30_threads/recursive_timed_mutex/native_handle/ typesizes.cc: Same. From-SVN: r144053
Benjamin Kosnik committed -
From-SVN: r144050
GCC Administrator committed -
rs6000.md (allocate_stack): Always use an update form instruction to update the stack back chain word... * config/rs6000/rs6000.md (allocate_stack): Always use an update form instruction to update the stack back chain word, even if the user has disabled the generation of update instructions. (movdi_<mode>_update_stack): New. (movsi_update_stack): Likewise. * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise, always use an update form instruction to update the stack back chain word. From-SVN: r144047
Ben Elliston committed
-
- 09 Feb, 2009 3 commits
-
-
* addr2name.awk: Remove. * Makefile.am (bin_SCRIPTS): Remove addr2name.awk. * Makefile.in: Regenerated. * configure.ac: Define enable_sjlj_exceptions appropriately under the ARM EH ABI. * configure: Regenerated. * Makefile.am (LTLDFLAGS): Define. (GCJLINK): Use it. (LIBLINK): Likewise. * Makefile.in: Regenerated. From-SVN: r144046
Mark Mitchell committed -
* Makefile.am (LTLDFLAGS): New variable. (LINK): Use it. * Makefile.in: Regenerated. From-SVN: r144045
Mark Mitchell committed -
PR c++/39109 * semantics.c (simplify_aggr_init_expr): Do zero-initialization here. * init.c (build_value_init): Not here. Don't build a TARGET_EXPR. * tree.c (get_target_expr): Handle AGGR_INIT_EXPR. * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling for build_value_init TARGET_EXPR. * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro. From-SVN: r144044
Jason Merrill committed
-