aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-06-22Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to toolexeclibdir.Thomas Fitzsimmons3-2/+8
2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to toolexeclibdir. * Makefile.in: Regenerate. From-SVN: r114900
2006-06-22re PR c++/27821 (ICE with invalid ptr-to-member)Lee Millward4-1/+17
PR c++/27821 * decl.c (grokdeclarator): Return error_mark_node on invalid uses of the scope resolution operator. From-SVN: r114899
2006-06-22re PR rtl-optimization/28121 (verify_flow_info failed (wrong amount of ↵Zdenek Dvorak4-1/+45
branch edges after unconditional jump 2)) PR rtl-optimization/28121 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from the entry edge. * gcc.dg/pr28121.c: New test. From-SVN: r114898
2006-06-22re PR c++/27805 (ICE with ptr-to-member of incomplete class)Lee Millward4-1/+22
PR c++/27805 * typeck2.c (build_m_component_ref): Use error_operand_p. From-SVN: r114897
2006-06-22natField.cc (getAddr): Allow setting of final field when it is accessible.Tom Tromey2-0/+9
* java/lang/reflect/natField.cc (getAddr): Allow setting of final field when it is accessible. From-SVN: r114896
2006-06-22hash_prime_size_policy_imp.hpp: Cast to size_t instead.Jonathan Lennox2-62/+68
2006-06-22 Jonathan Lennox <lennox@cs.columbia.edu> Paolo Carlini <pcarlini@suse.de> * include/ext/pb_ds/detail/resize_policy/ hash_prime_size_policy_imp.hpp: Cast to size_t instead. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r114894
2006-06-22muldiv.md (mulhisi3_i): Only use registers for dest (TN-16C-A156A/E).DJ Delorie2-6/+12
* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest (TN-16C-A156A/E). (mulhisi3_r): Likewise. From-SVN: r114891
2006-06-22hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.Ami Tavory2-40/+78
2006-06-22 Ami Tavory <atavory@gmail.com> * include/ext/pb_ds/detail/resize_policy/ hash_prime_size_policy_imp.hpp: Fix for 64-bit machines. From-SVN: r114888
2006-06-22re PR c++/28111 (ICE with invalid friend in template class)Volker Reichelt4-1/+18
PR c++/28111 * pt.c (determine_specialization): Check for invalid decls. * g++.dg/template/friend43.C: New test. From-SVN: r114887
2006-06-22re PR c++/28110 (ICE with invalid template constant parameter)Volker Reichelt4-0/+20
PR c++/28110 * pt.c (unify) <case TEMPLATE_PARM_INDEX>: Check for invalid parameters. * g++.dg/template/crash53.C: New test. From-SVN: r114885
2006-06-22re PR c++/28109 (ICE with typeid of incomplete type)Volker Reichelt4-1/+23
PR c++/28109 * rtti.c (get_tinfo_decl_dynamic): Robustify. * g++.dg/rtti/incomplete1.C: New test. From-SVN: r114882
2006-06-22re PR fortran/26769 (Implement transpose() and reshape() for real instead of ↵François-Xavier Coudert1-0/+10
using integer) PR libfortran/26769 * ChangeLog: Forgotten in the previous commit. From-SVN: r114881
2006-06-22re PR fortran/26769 (Implement transpose() and reshape() for real instead of ↵Francois-Xavier Coudert8-30/+752
using integer) PR libfortran/26769 * iresolve.c (gfc_resolve_reshape): Call reshape_r4 and reshape_r8 instead of reshape_4 and reshape_8. (gfc_resolve_transpose): Likewise for transpose. * Makefile.am: Add r4 and r8 versions of reshape and transpose. * Makefile.in: Regenerate. * generated/reshape_r4.c: New file. * generated/reshape_r8.c: New file. * generated/transpose_r4.c: New file. * generated/transpose_r8.c: New file. From-SVN: r114880
2006-06-22Daily bump.GCC Administrator1-1/+1
From-SVN: r114877
2006-06-21postypes.h (operator==(const fpos<>&, const fpos<>&), [...]): Add.Paolo Carlini3-5/+71
2006-06-21 Paolo Carlini <pcarlini@suse.de> * include/bits/postypes.h (operator==(const fpos<>&, const fpos<>&), operator!=(const fpos<>&, const fpos<>&)): Add. * testsuite/27_io/fpos/mbstate_t/6.cc: New. From-SVN: r114871
2006-06-21re PR middle-end/28034 (section anchors break -fprofile-generate)Richard Sandiford2-12/+13
gcc/ PR middle-end/28034 * coverage.c (coverage_counter_alloc): Leave the index type unspecified. (coverage_counter_alloc): Use null arguments for operands 2 and 3 of the ARRAY_REF. From-SVN: r114870
2006-06-21pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if ↵Keith Seitz4-6/+82
signal is received and thread is flagged... * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged SUSPENDED. (suspend_self): New function. (GC_suspend_thread): New function. (GC_resume_thread): New function. * include/gc.h (GC_suspend_thread): Declare. (GC_resumet_thread): Declare. * include/private/pthread_support.h (SUSPENDED): New GC_thread flag. From-SVN: r114869
2006-06-21trans-expr.c (gfc_conv_missing_dummy, [...]): Replace calls to convert on ↵Francois-Xavier Coudert5-21/+27
constant integer nodes by build_int_cst. * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_unary_op, gfc_conv_cst_int_power, gfc_conv_string_tmp, gfc_conv_function_call): Replace calls to convert on constant integer nodes by build_int_cst. * trans-stmt.c (gfc_trans_do): Likewise. * trans-io.c (set_internal_unit, transfer_namelist_element): Likewise. * trans-decl.c (build_entry_thunks): Likewise. From-SVN: r114868
2006-06-21* sv.po: Update.Joseph Myers2-1097/+1088
From-SVN: r114864
2006-06-212006-06-21 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski2-10/+15
* doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect" section from the "Options for Code Generation Conventions". From-SVN: r114863
2006-06-21re PR target/26347 (hidden weak extern functions fail regardless of ↵Richard Henderson2-2/+12
existence on alpha/linux) PR target/26347 PR target/27082 * config/alpha/predicates.md (small_symbolic_operand): Deny weak symbols. (global_symbolic_operand): Allow weak symbols, even if local_p. From-SVN: r114861
2006-06-21re PR tree-optimization/21274 (SSA Crash, reproducable)Frank Ch. Eigler9-39/+92
2006-06-21 Frank Ch. Eigler <fche@redhat.com> PR 21274 mf-runtime.h installation based on ssp patch for PR 26473 from Mark Mitchell <mark@codesourcery.com>. * configure.ac (ACX_NONCANONICAL_TARGET): Use it. * Makefile.am (target_noncanonical): Define. (libsubincludedir): New variable. (nobase_libsubinclude_HEADERS): Add mf-runtime.h. (include_HEADERS): Remove. * configure, aclocal.m4, config.h.in: Regenerated. * Makefile.in, testsuite/Makefile.in: Likewise. * mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT and _THREAD_SAFE redefinition values. From-SVN: r114855
2006-06-21win32-threads.h (_Jv_ThreadDesc_t): New typedef.Bryce McKinlay3-1/+25
2006-06-21 Bryce McKinlay <mckinlay@redhat.com> * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef. (_Jv_GetPlatformThreadID): New function. * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef. (_Jv_GetPlatformThreadID): New function. From-SVN: r114854
2006-06-21tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.Eric Botcazou5-3/+81
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function. (find_interesting_uses_address): Punt if above function returns true. From-SVN: r114851
2006-06-21configure: Regenerated.Richard Guenther2-525/+308
2006-06-21 Richard Guenther <rguenther@suse.de> * configure: Regenerated. From-SVN: r114849
2006-06-21mips.c (function_arg): Where one part of a complex argument is in registers ↵Joseph Myers4-7/+84
and the other part in the... * config/mips/mips.c (function_arg): Where one part of a complex argument is in registers and the other part in the stack, return a REG not a PARALLEL. testsuite: * gcc.c-torture/execute/complex-7.c: New. From-SVN: r114847
2006-06-21acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When cross-compiling, put ↵Mark Mitchell6-313/+564
headers in $prefix/$target/include/c++. * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When cross-compiling, put headers in $prefix/$target/include/c++. * configure: Regenerated. * configure.ac: Set gcc_gxx_include_dir to $target/include/c++ when cross-compiling. Do not substitute libstdcxx_incdir. * configure: Regenerated. From-SVN: r114845
2006-06-21critical.c (GOMP_critical_name_start): Fix *pptr initialization when ↵Jakub Jelinek2-2/+10
gomp_mutex_t is larger than pointer and... * critical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is defined. From-SVN: r114843
2006-06-21varasm.c (mergeable_string_section): Check for embedded NULs and NUL ↵Jakub Jelinek4-3/+24
termination in the first int_size_in_bytes... * varasm.c (mergeable_string_section): Check for embedded NULs and NUL termination in the first int_size_in_bytes (TREE_TYPE (decl)) rather than TREE_STRING_LENGTH bytes. * gcc.dg/merge-all-constants-1.c: New test. From-SVN: r114842
2006-06-21ggc-page.c (extra_order_size_table): Add var_ann_d, tree_ssa_name, ↵Richard Guenther2-0/+12
bitmap_element and phi_node with 4 arguments sizes. 2006-06-21 Richard Guenther <rguenther@suse.de> * ggc-page.c (extra_order_size_table): Add var_ann_d, tree_ssa_name, bitmap_element and phi_node with 4 arguments sizes. From-SVN: r114841
2006-06-21tree-ssa-loop-niter.c (simplify_using_initial_conditions): Limit iteration ↵Richard Guenther2-2/+17
over the dominators. 2006-06-21 Richrad Guenther <rguenther@suse.de> * tree-ssa-loop-niter.c (simplify_using_initial_conditions): Limit iteration over the dominators. From-SVN: r114840
2006-06-21Daily bump.GCC Administrator1-1/+1
From-SVN: r114837
2006-06-20iris6.h (LIB_SPEC): Add support for -pthread.Roger Sayle2-2/+11
* config/mips/iris6.h (LIB_SPEC): Add support for -pthread. (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified. From-SVN: r114833
2006-06-20re PR c++/28113 (vectors initialized in ctors, not at compile time, cause ↵Janis Johnson2-4/+9
altivec-3.C failure) PR c++/28113 * g++.dg/ext/altivec-3.C: Remove cast from vector initializers. From-SVN: r114832
2006-06-20natSystemProperties.cc (insertSystemProperties): Bump "java.class.version" ↵Bryce McKinlay2-2/+6
to 48.0. 2006-06-20 Bryce McKinlay <mckinlay@redhat.com> * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Bump "java.class.version" to 48.0. From-SVN: r114831
2006-06-20random.tcc (struct _Private::_Mod_w<>, [...]): Remove.Paolo Carlini2-47/+27
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
2006-06-20Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to "$(dbexecdir)".Thomas Fitzsimmons5-115/+208
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
2006-06-20simplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t variable.Steven G. Kargl4-0/+20
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
2006-06-20Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.Ranjit Mathew3-2/+21
* 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
2006-06-20alloc-pool.h (free_alloc_pool_if_empty): Prototype new function.Richard Guenther6-0/+37
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
2006-06-20expr.c (expand_expr_real_1): For vector constants with integer modes...Roger Sayle4-19/+45
* 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
2006-06-20eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.Vladimir Prus2-1/+5
2006-06-20 Vladimir Prus <vladimir@codesourcery.com> libstdc++/ * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'. From-SVN: r114812
2006-06-20re PR c++/28052 (ICE on invalid bitfield)Volker Reichelt5-2/+24
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
2006-06-20re PR tree-optimization/27331 (segfault in fold_convert with -ftree-vectorize)Zdenek Dvorak4-9/+95
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
2006-06-20re PR libgomp/26175 (In gcc-4.2.0 libgomp/.../powerpc/futex.h SYS_futex ↵Jakub Jelinek3-9/+229
undefined) 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
2006-06-20re PR bootstrap/28072 (target-boehm-gc is being build for targets that do ↵David Ayers3-134/+132
not support it) 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
2006-06-20re PR ada/18692 (Ada should have a dg testsuite)James A. Morrison6-0/+447
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
2006-06-20re PR ada/18692 (Ada should have a dg testsuite)James A. Morrison2-3/+12
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
2006-06-20re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression)Paul Thomas23-160/+851
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
2006-06-19re PR middle-end/28075 (inliner introduces unnecessary type conversions)Andrew Pinski4-1/+42
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