- 20 Jun, 2006 17 commits
-
-
2006-06-20 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (struct _Private::_Mod_w<>, _Private::__mod_w<>): Remove. (struct _Private::_Shift<>): New. (struct _Private::_Max_w<>): Rename to _Max, use the latter. (mersenne_twister<>::seed(unsigned long), seed(_Gen&, false_type), max()): Adjust. From-SVN: r114826
Paolo Carlini committed -
2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to "$(dbexecdir)". Build libjvm.la. * Makefile.in: Regenerate. * jni.cc (the_vm): Rename and export as ... (_Jv_the_vm): New exported symbol. (_Jv_JNI_AttachCurrentThread): Export. (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm references. (_Jv_GetJavaVM): Likewise. (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM, JNI_GetCreatedJavaVMs): Move to ... * jni-libjvm.cc: New file. From-SVN: r114824
Thomas Fitzsimmons committed -
2006-06-20 Steven G. Kargl <kargls@comcast.net> * simplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t variable. * gfortran.dg/rrspacing_1.f90: New test. From-SVN: r114821
Steven G. Kargl committed -
* os_dep.c (GC_wnt): Define. (GC_init_win32): Set GC_wnt. * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE sections also on Windows 9x/ME. From-SVN: r114818
Ranjit Mathew committed -
2006-06-20 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> * alloc-pool.h (free_alloc_pool_if_empty): Prototype new function. * alloc-pool.c (free_alloc_pool_if_empty): New function. * et-forest.h (et_free_pools): Prototype new function. * et-forest.c (et_free_tree_force): Free parent occurrence. (et_free_pools): New function. * dominance.c (free_dominance_info): Free et-forest alloc pools. Co-Authored-By: Michael Matz <matz@suse.de> From-SVN: r114817
Richard Guenther committed -
* expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with integer modes, attempt to directly construct an integer constant. * fold-const.c (native_encode_vector): Determine the size of each element from the vector type instead of the first vector element. * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant, if all of its elements/components are constant. (build_constructor_from_list): Likewise. From-SVN: r114815
Roger Sayle committed -
2006-06-20 Vladimir Prus <vladimir@codesourcery.com> libstdc++/ * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'. From-SVN: r114812
Vladimir Prus committed -
PR c++/28052 * init.c (push_base_cleanups): Skip members with invalid types. * typeck.c (build_class_member_access_expr): Robustify. * g++.dg/other/bitfield2.C: New test. From-SVN: r114811
Volker Reichelt committed -
PR tree-optimization/27331 * tree-data-ref.c (free_data_ref): New function. (create_data_ref): Fail if the data reference has unknown access function. (free_data_refs): Use free_data_ref. * gcc.dg/pr27331.c: New test. From-SVN: r114810
Zdenek Dvorak committed -
PR libgomp/26175 PR libgomp/26477 * configure.ac: If neither --enable-linux-futex nor --disable-linux-futex is passed, determine the default by checking for compiling and/or running against NPTL. With --enable-linux-futex, check if SYS_gettid and SYS_futex are defined. * configure: Rebuilt. From-SVN: r114809
Jakub Jelinek committed -
2006-06-20 David Ayers <d.ayers@inode.at> PR bootstrap/28072 * configure.in: Add target-boehm-gc to noconfigdirs depending on whether target-libjava is being configured instead of whether the java front end is enabled. * configure: Regenerate. From-SVN: r114808
David Ayers committed -
PR ada/18692 * lib/gnat.exp: New file. * lib/gnat-dg.exp: Likewise. * gnat.dg: New directory. * gnat.dg/dg.exp: New driver. * gnat.dg/specs: New directory. * gnat.dg/specs/specs.exp: New driver. * gnat.dg/style: New directory. * gnat.dg/style/style.exp: New driver. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r114805
James A. Morrison committed -
PR ada/18692 * Make-lang.in: Add check-gnat to lang_checks. Rename existing check-gnat into check-acats. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r114804
James A. Morrison committed -
2006-06-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/25049 PR fortran/25050 * check.c (non_init_transformational): New function. (find_substring_ref): New function to signal use of disallowed transformational intrinsic in an initialization expression. (gfc_check_all_any): Call previous if initialization expr. (gfc_check_count): The same. (gfc_check_cshift): The same. (gfc_check_dot_product): The same. (gfc_check_eoshift): The same. (gfc_check_minloc_maxloc): The same. (gfc_check_minval_maxval): The same. (gfc_check_gfc_check_product_sum): The same. (gfc_check_pack): The same. (gfc_check_spread): The same. (gfc_check_transpose): The same. (gfc_check_unpack): The same. PR fortran/18769 *intrinsic.c (add_functions): Add gfc_simplify_transfer. *intrinsic.h : Add prototype for gfc_simplify_transfer. *simplify.c (gfc_simplify_transfer) : New function to act as placeholder for eventual implementation. Emit error for now. PR fortran/16206 * expr.c (find_array_element): Eliminate condition on length of offset. Add bounds checking. Rearrange exit. Return try and put gfc_constructor result as an argument. (find_array_section): New function. (find_substring_ref): New function. (simplify_const_ref): Add calls to previous. (simplify_parameter_variable): Return on NULL expr. (gfc_simplify_expr): Only call gfc_expand_constructor for full arrays. PR fortran/20876 * match.c (gfc_match_forall): Add missing locus to gfc_code. 2006-06-20 Paul Thomas <pault@gcc.gnu.org> PR libfortran/28005 * m4/matmul.m4: aystride = 1 does not uniquely detect the presence of a temporary transpose; an array element in the first dimension produces the same signature. Detect this using the rank of a and add specific code. * generated/matmul_r4.c: Regenerate. * generated/matmul_r8.c: Regenerate. * generated/matmul_r10.c: Regenerate. * generated/matmul_r16.c: Regenerate. * generated/matmul_c4.c: Regenerate. * generated/matmul_c8.c: Regenerate. * generated/matmul_c10.c: Regenerate. * generated/matmul_c16.c: Regenerate. * generated/matmul_i4.c: Regenerate. * generated/matmul_i8.c: Regenerate. * generated/matmul_i16.c: Regenerate. 2006-06-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/16206 * gfortran.dg/array_initializer_1.f90: New test. PR fortran/28005 * gfortran.dg/matmul_3.f90: New test. From-SVN: r114802
Paul Thomas committed -
2006-06-19 Andrew Pinski <pinskia@gmail.com> PR middle-end/28075 * tree-inline.c (setup_one_parameter): Strip useless type conversion before adding it to the IR. (declare_return_variable): Likewise. 2006-06-19 Andrew Pinski <pinskia@gmail.com> PR middle-end/28075 * gcc.dg/tree-ssa/inline-1.c: New test. From-SVN: r114801
Andrew Pinski committed -
PR c/27149 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning. From-SVN: r114800
Martin Michlmayr committed -
From-SVN: r114798
GCC Administrator committed
-
- 19 Jun, 2006 20 commits
-
-
2006-06-19 Anatoly Sokolov <aesok@post.ru> * gcc.dg/pr18241-1.c: Use __SIZE_TYPE__ instead of unsigned long in malloc prototype; remove XFAIL. * gcc.dg/pr18241-2.c: Ditto. * gcc.dg/20050321-1.c: Use __SIZE_TYPE__ instead of unsigned long in memset prototype; remove XFAIL. * gcc.dg/tree-ssa/pr23382.c: Ditto. From-SVN: r114790
Anatoly Sokolov committed -
2006-06-19 Anatoly Sokolov <aesok@post.ru> * gcc.dg/pr18241-1.c: Use __SIZE_TYPE__ instead of unsigned long in malloc prototype; remove XFAIL. * gcc.dg/pr18241-2.c: Ditto. * gcc.dg/20050321-1.c: Use __SIZE_TYPE__ instead of unsigned long in memset prototype; remove XFAIL. * gcc.dg/tree-ssa/pr23382.c: Ditto. From-SVN: r114789
Anatoly Sokolov committed -
From-SVN: r114788
Mark Mitchell committed -
* tree.c (variably_modified_type_p): VM arguments don't make the type a VM type. testsuite: * gcc.dg/vla-8.c: Add. From-SVN: r114787
Mike Stump committed -
2006-06-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/27090 * g++.dg/tree-ssa/pr27090.C: New testcase. From-SVN: r114786
Richard Guenther committed -
2006-06-19 Richard Guenther <rguenther@suse.de> * parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near power-of-two token vector size. From-SVN: r114785
Richard Guenther committed -
2006-06-19 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (try_combine_conversion): Strip useless type conversions after folding. From-SVN: r114784
Richard Guenther committed -
2006-06-19 Richard Guenther <rguenther@suse.de> * ggc-page.c (extra_order_size_tab): Add entries with size of struct function and basic_block. (size_lookup): Extend to cover sizes up to 511. (ggc_alloc_stat): Adjust user. (ggc_pch_count_object): Likewise. (ggc_pch_alloc_object): Likewise. (ggc_pch_write_object): Likewise. From-SVN: r114783
Richard Guenther committed -
* tree-ssa-loop-niter.c (implies_ge_p): New function. (derive_constant_upper_bound): Handle OP0 - CST in unsigned types correctly. From-SVN: r114782
Zdenek Dvorak committed -
2006-06-19 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/PR27908.out: New. * testsuite/libjava.lang/PR27908.java: New. From-SVN: r114779
Andrew Haley committed -
2006-06-19 Andrew Haley <aph@redhat.com> PR java/1305 PR java/27908 * expr.c (java_modify_addr_for_volatile): New function. (expand_java_field_op): Handle volatile fields. * java-gimplify.c (java_gimplify_component_ref): Call java_modify_addr_for_volatile to give the field_ref the correct volatile type. (java_gimplify_modify_expr): Likewise. * java-tree.h (java_modify_addr_for_volatile): New decl. From-SVN: r114778
Andrew Haley committed -
2006-06-19 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (xor_combine<>::operator<<): Fix typo. * include/tr1/random (bernoulli_distribution::min(), bernoulli_distribution::max(), geometric_distribution<>::min(), geometric_distribution<>::max()): Remove. * include/tr1/random (geometric_distribution<>::operator()): Simplify formula. * include/tr1/random: Minor cosmetic changes. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/equal.cc: New. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/serialize.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/serialize.cc: Likewise. From-SVN: r114777
Paolo Carlini committed -
* config/avr/libgcc.S : Correct my wrong previous commit. From-SVN: r114774
Denis Chertykov committed -
PR target/27861 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may have stripped a SUBREG from the shift count, so we may need to convert_to_mode back to the type's mode before calling make_tree. Use new_amount instead of amount to avoid expanding a tree twice. * gcc.dg/pr27861-1.c: New test case. From-SVN: r114773
Roger Sayle committed -
2006-06-19 Richard Guenther <rguenther@suse.de> PR middle-end/28045 * fold-const.c (operand_equal_p): Check if the argument types have the same precision before stripping NOPs. * gcc.dg/torture/pr28045.c: New testcase. From-SVN: r114772
Richard Guenther committed -
2006-06-19 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/27341 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the statement we get. * tree-complex.c (pass_lower_complex): Update SMT usage. From-SVN: r114771
Daniel Berlin committed -
* include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare. (_Jv_ThreadDebugResume): Declare. (_Jv_ThreadDebugSuspendCount): Declare. * posix-threads.cc (_Jv_ThreadDebugSuspend): New function. (_Jv_ThreadDebugSuspendCount): New function. (_Jv_ThreadDebugResume): New function. * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare. (_Jv_ThreadDebugResume): Declare. (_Jv_ThreadDebugSuspendCount): Declare. * win32-threads.cc (_Jv_ThreadDebugSuspend): New function. (_Jv_ThreadDebugSuspendCount): New function. (_Jv_ThreadDebugResume): New function. From-SVN: r114769
Keith Seitz committed -
2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"): Add a new alternative to the constraint strings. Add move of operand 1 to 3 to the splitter definition. ("doloop_si_long"): Second contraint alternative removed. From-SVN: r114767
Andreas Krebbel committed -
PR libgomp/27254 * io/unit.c (get_internal_unit): Initialize and lock thread mutex for internal units. From-SVN: r114765
John David Anglin committed -
From-SVN: r114763
GCC Administrator committed
-
- 18 Jun, 2006 3 commits
-
-
* config/avr/avr.h (avr_have_movw_lpmx_p): Declare. (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and __AVR_HAVE_LPMX__. (AVR_HAVE_MOVW) Define. (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW. (ASM_SPEC): Add avr25. (LINK_SPEC): Add avr25. * config/avr/avr.c (avr_have_movw_lpmx_p): Add. (base_arch_s): Add new member 'have_movw_lpmx'. (avr_arch_types): Init 'have_movw_lpmx'. (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24, attiny44, attiny84, attiny25, attiny45, attiny85, attiny261, attiny461, attiny861 and at86rf401 in 'avr25' arhitecture. (avr_override_options): Init 'avr_have_movw_lpmx_p'. (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use AVR_HAVE_MOVW. (avr_file_start): Do not output '.arh' derective. * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__. (__do_copy_data): Use __AVR_HAVE_LPMX__. * config/avr/avr.md (mcu_enhanced): Delete. (mcu_have_movw): Define. (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'. (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__. * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25. (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44, attiny84, attiny25, attiny45, attiny85, attiny261, attiny461, attiny861 and at86rf401 devices. From-SVN: r114758
Anatoly Sokolov committed -
PR fortran/26801 * trans-intrinsic.c (gfc_conv_associated): Use pre and post blocks of the scalarization expression. * gfortran.dg/associated_4.f90: New test. From-SVN: r114757
Francois-Xavier Coudert committed -
* config/bfin/bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B' to 'v', 'l' to 'u'. * config/bfin/bfin.md: Change comment accordingly. (define_insn loop_end): Replace 'h' with 'v'. (lsetup_with_autoinit): Replace 'l' with 'u'. (lsetup_without_autoinit): Ditto. * md.texi: Record this change. From-SVN: r114756
Jie Zhang committed
-