1. 23 Aug, 2006 2 commits
  2. 22 Aug, 2006 14 commits
    • random.tcc (subtract_with_carry_01<>:: seed(_Gen&, false_type)): Fix _M_carry initialization. · 53fdb339
      2006-08-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random.tcc (subtract_with_carry_01<>::
            	seed(_Gen&, false_type)): Fix _M_carry initialization.
      	
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/gen1.cc: Likewise.
      
      From-SVN: r116334
      Paolo Carlini committed
    • re PR libgcj/27890 (lib/logging.properties pollutes common namespace) · df3e8c70
      2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	PR libgcj/27890
      	* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
      	Set gnu.classpath.home.url to TOOLEXECLIBDIR.
      	* configure.ac: Do not add --with-native-libdir to
      	ac_configure_args.
      	* java/security/libgcj.security: Remove file.
      	* java/util/logging/logging.properties: Likewise.
      	* classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
      	* classpath/resource/Makefile.am (loggingdir): Define to
      	toolexeclibdir.
      	(securitydir): Likewise.
      	* classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
      	Set default nativeexeclibdir using toolexeclibdir.
      	* HACKING: Fix classpath aclocal arguments.
      	* Makefile.am (secdir): Remove variable.
      	(propdir): Likewise.
      	(AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
      	definition.
      	(all_property_files): Remove variable.
      	(install-data-local): Do not install libgcj.security or
      	logging.properties.
      	* configure, Makefile.in, classpath/configure,
      	classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
      	classpath/native/jni/midi-alsa/Makefile.in,
      	classpath/native/jni/classpath/Makefile.in,
      	classpath/native/jni/midi-dssi/Makefile.in,
      	classpath/native/jni/Makefile.in,
      	classpath/native/jni/java-nio/Makefile.in,
      	classpath/native/jni/java-net/Makefile.in,
      	classpath/native/jni/gconf-peer/Makefile.in,
      	classpath/native/jni/java-io/Makefile.in,
      	classpath/native/jni/xmlj/Makefile.in,
      	classpath/native/jni/java-util/Makefile.in,
      	classpath/native/jni/qt-peer/Makefile.in,
      	classpath/native/jni/gtk-peer/Makefile.in,
      	classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
      	classpath/native/target/Linux/Makefile.in,
      	classpath/native/target/Makefile.in,
      	classpath/native/target/generic/Makefile.in,
      	classpath/native/fdlibm/Makefile.in,
      	classpath/native/plugin/Makefile.in,
      	classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
      	classpath/tools/Makefile.in, classpath/doc/Makefile.in,
      	classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
      	classpath/external/Makefile.in,
      	classpath/external/sax/Makefile.in,
      	classpath/external/w3c_dom/Makefile.in,
      	classpath/external/relaxngDatatype/Makefile.in,
      	classpath/include/Makefile.in, classpath/aclocal.m4,
      	classpath/examples/Makefile.in, aclocal.m4: Regenerate.
      
      From-SVN: r116332
      Thomas Fitzsimmons committed
    • Index: gcc/ChangeLog · 9a23b833
      2006-08-21  Geoffrey Keating  <geoffk@apple.com>
      
      	PR debug/28692
      	* dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
      	complex values, nor for generic vector values.
      
      Index: gcc/testsuite/ChangeLog
      2006-08-21  Geoffrey Keating  <geoffk@apple.com>
      
      	PR debug/28692
      	* gcc.dg/debug/const-1.c: New.
      	* gcc.dg/debug/const-2.c: New.
      	* gcc.dg/debug/dwarf2/const-1.c: New.
      	* gcc.dg/debug/dwarf2/const-2.c: New.
      	* gcc.dg/debug/dwarf2/const-2b.c: New.
      
      From-SVN: r116331
      Geoffrey Keating committed
    • re PR c++/28420 (ICE with "typeid" as template parameter) · 5e8c38c2
              PR c++/28420
              * parser.c (cp_parser_postfix_expression): Make sure that the
              saved value for parser->type_definition_forbidden_message is
              restored before returning to avoid an invalid free().
      
      From-SVN: r116330
      Simon Martin committed
    • re PR c++/28659 (ICE (segfault) while compiling kdelibs 4.0 snapshot) · 8e30dcf3
              PR c++/28659
              * typeck.c (merge_types): If either of the types have the right
              attributes, return that one.
      
              * tree.c (cp_build_type_attribute_variant): Make sure we aren't
              doing this to class types.
              * typeck.c (original_type): Deal with type quals properly.
      
      From-SVN: r116329
      Jason Merrill committed
    • 2006-08-22 Paolo Carlini <pcarlini@suse.de> · 6d3c5221
      	* Fix/complete last ChangeLog entry.
      
      From-SVN: r116328
      Paolo Carlini committed
    • random (class subtract_with_carry_01): Add. · 9aa53350
      2006-08-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random (class subtract_with_carry_01): Add.
      	* include/tr1/random.tcc (subtract_with_carry_01<>::
      	seed(unsigned long), subtract_with_carry_01<>::
      	seed(_Gen&, false_type), subtract_with_carry_01<>::
      	operator(), operator<<(std::basic_ostream<>&, const
      	subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
      	subtract_with_carry_01<>&)): Define.
      	* testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
      	New.
      	* testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
      	Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/cons/seed1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/cons/seed2.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/cons/gen1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/operators/equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/operators/not_equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry_01/operators/serialize.cc: Likewise.
      
      	* docs/html/ext/howto.html: Add two implemented TR1 issues.
      
      	* include/tr1/random.tcc (struct _To_Unsigned_Type): Move...
      	* include/tr1/random: ... here.
      	(class subtract_with_carry): Use it everywhere.
      
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/seed2.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/cons/gen1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/operators/equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/operators/not_equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/
      	subtract_with_carry/operators/serialize.cc: Likewise.
      
      From-SVN: r116327
      Paolo Carlini committed
    • re PR middle-end/28776 (dwarf2out.c:2160: ICE: in build_polynomial_chrec, at tree-chrec.h:108) · 8a613cae
      2006-08-22  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/28776
      	* tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
      	parameter.  Convert arguments to arithmetic expression to the
      	chrecs type.
      	(analyze_scalar_evolution_1): Adjust caller.
      
      	* gcc.c-torture/compile/pr28776-1.c: New testcase.
      	* gcc.c-torture/compile/pr28776-2.c: Likewise.
      
      From-SVN: r116326
      Richard Guenther committed
    • Patch by Paolo Bonzini · 1f6c68ed
      	Patch by Paolo Bonzini
      	* reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
      	my previous patch.
      
      From-SVN: r116325
      Jan Hubicka committed
    • decl.c (java_add_stmt): Give the statement list a type. · 182ee260
      2006-08-22  Andrew Haley  <aph@redhat.com>
      
              * decl.c (java_add_stmt): Give the statement list a type.
      
      From-SVN: r116324
      Andrew Haley committed
    • re PR tree-optimization/28003 (optimizer bug) · ca858709
      2006-08-22  Daniel Berlin  <dberlin@dberlin.org>
      
      	PR tree-optimization/28003
      	* tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
      	before grouping aliases.
      
      From-SVN: r116323
      Daniel Berlin committed
    • i386.c (ix86_value_regno): Don't return FIRST_MMX_REG if !TARGET_MMX... · 883259c6
      
      	* config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
      	if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
      
      From-SVN: r116321
      Roger Sayle committed
    • Daily bump. · 173c3aa1
      From-SVN: r116317
      GCC Administrator committed
  3. 21 Aug, 2006 16 commits
  4. 20 Aug, 2006 7 commits
    • re PR c++/28341 (ICE with references as template parameters) · 015c2c66
      	PR c++/28341
      	* tree.c (cast_valid_in_integral_constant_expression_p): New
      	function.
      	* cp-tree.h (tsubst_copy_and_build): Adjust prototype.
      	* pt.c (tsubst_expr): Add integral_constant_expression_p
      	parameter.
      	(fold_non_dependent_expr): Adjust callers of
      	tsubst_{expr,copy_and_build}.
      	(tsubst_friend_function): Likewise.
      	(tsubst_template_arg): Likewise.
      	(tsubst_default_argument): Likewise.
      	(tsubst_decl): Likewise.
      	(tsubst): Likewise.
      	(tsubst_omp_clasuses): Likewise.
      	(regenerate_decl_fromp_template): Likewise.
      	(instantiate_decl): Likewise.
      	(tsubst_initializer_list): Likewise.
      	(tsubst_enum): Likewise.
      	(tsubst_expr): Use RECUR throughout.
      	(tsubst_copy_and_build): Change definition of RECUR.  Do not allow
      	invalid casts in integral constant expressions.
      	* parser.c (cp_parser_postfix_expression): Use
      	cast_valid_in_integral_constant_expression_p.
      	(cp_parser_cast_expression): Likewise.
      	(cp_parser_functional_cast): Likewise.
      
      	PR c++/28346
      	* pt.c (tsubst_qualified_id): Do not strip references from
      	OFFSET_REFs. 
      
      2006-08-20  Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/28341
      	* g++.dg/template/ref3.C: New test.
      	* g++.dg/template/nontype13.C: New test.
      
      	PR c++/28346
      	* g++.dg/template/ptrmem17.C: New test.
      
      
      2006-08-20  Mark Mitchell  <mark@codesourcery.com>
      
      	* objcp-lang.c (objcp_tsubst_copy_and_build): Adjust call to
      	tsubst_copy_and_build.
      
      From-SVN: r116276
      Mark Mitchell committed
    • re PR middle-end/28779 (internal compiler error: in… · 1057fc81
      re PR middle-end/28779 (internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106)
      
      	PR middle-end/28779
      	* ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
      	function body sizes.
      	* cgraphunit.c (cgraph_analyze_function): Don't do so.
      
      From-SVN: r116274
      Jan Hubicka committed
    • random (gamma_distribution<>::_M_initialize, [...]): Add. · 96ddac74
      2006-08-20  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random (gamma_distribution<>::_M_initialize,
      	gamma_distribution<>::_M_l_d): Add.
      	(gamma_distribution<>::gamma_distribution(const result_type&),
      	operator>>(std::basic_istream<>&, gamma_distribution&)): Use it.
      	include/tr1/random.tcc (gamma_distribution<>::_M_initialize):
      	Define.
      	(gamma_distribution<>::operator()): Adjust.
      
      	* include/tr1/random (geometric_distribution<>::_M_initialize): Add.
      	(geometric_distribution<>::geometric_distribution(const _RealType&),
      	operator>>(std::basic_istream<>&, geometric_distribution&)): Use it.
      
      From-SVN: r116273
      Paolo Carlini committed
    • re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) · ffcba571
      2006-08-20  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR fortran/25828
      	* gfortran.texi: Mention STREAM I/O among supported F2003
      	features.
      
      From-SVN: r116271
      Janne Blomqvist committed
    • PR target/28648 c: · 09416794
      	* tree.c (handle_dll_attribute): Return early if not a
         	var or function decl.
      
      testsuite
      	* gcc.dg/attr-invalid.c: Add tests for invalid dllimport.
      
      From-SVN: r116270
      Danny Smith committed
    • re PR fortran/28601 (ICE on reexport of renamed type) · 3e978d30
      2006-08-20 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/28601
      	PR fortran/28630
      	* gfortran.h : Eliminate gfc_dt_list structure and reference
      	to it in gfc_namespace.
      	* resolve.c (resolve_fl_derived): Remove the building of the
      	list of derived types for the current namespace.
      	* symbol.c (find_renamed_type): New function to find renamed
      	derived types by symbol name rather than symtree name.
      	(gfc_use_derived): Search parent namespace for identical
      	derived type and use it, even if local version is complete,
      	except in interface bodies. Ensure that renamed derived types
      	are found by call to find_renamed_type. Recurse for derived
      	type components.
      	(gfc_free_dt_list): Remove.
      	(gfc_free_namespace): Remove call to previous.
      	* trans-types.c (copy_dt_decls_ifequal): Remove.
      	(gfc_get_derived_type): Remove all the paraphenalia for
      	association of derived types, including calls to previous.
      	* match.c (gfc_match_allocate): Call gfc_use_derived to
      	associate any derived types that are being allocated.
      
      	PR fortran/20886
      	* resolve.c (resolve_actual_arglist): The passing of
      	a generic procedure name as an actual argument is an
      	error.
      
      	PR fortran/28735
      	* resolve.c (resolve_variable): Check for a symtree before
      	resolving references.
      
      	PR fortran/28762
      	* primary.c (match_variable): Return MATCH_NO if the symbol
      	is that of the program.
      
      	PR fortran/28425
      	* trans-expr.c (gfc_trans_subcomponent_assign): Translate
      	derived type component expressions other than another derived
      	type constructor.
      
      	PR fortran/28496
      	* expr.c (find_array_section): Correct errors in
      	the handling of a missing start value for the
      	index triplet in an array reference.
      
      	PR fortran/18111
      	* trans-decl.c (gfc_build_dummy_array_decl): Before resetting
      	reference to backend_decl, set it DECL_ARTIFICIAL.
      	(gfc_get_symbol_decl): Likewise for original dummy decl, when
      	a copy is made of an array.
      	(create_function_arglist): Likewise for the _entry paramter
      	in entry_masters.
      	(build_entry_thunks): Likewise for dummies in entry thunks.
      
      	PR fortran/28600
      	* trans-decl.c (gfc_get_symbol_decl): Ensure that the
      	DECL_CONTEXT of the length of a character dummy is the
      	same as that of the symbol declaration.
      
      	PR fortran/28771
      	* decl.c (add_init_expr_to_sym): Remove setting of charlen for
      	an initializer of an assumed charlen variable.
      
      	PR fortran/28660
      	* trans-decl.c (generate_expr_decls): New function.
      	(generate_dependency_declarations): New function.
      	(generate_local_decl): Call previous if not either a dummy or
      	a declaration in an entry master.
      
      2006-08-20 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/28630
      	* gfortran.dg/used_types_2.f90: New test.
      
      	PR fortran/28601
      	* gfortran.dg/used_types_3.f90: New test.
      
      	PR fortran/20886
      	* gfortran.dg/generic_actual_arg.f90: New test.
      
      	PR fortran/28735
      	* gfortran.dg/module_private_array_refs_1.f90: New test.
      
      	PR fortran/28762
      	* gfortran.dg/program_name_1.f90: New test.
      
      	PR fortran/28425
      	* gfortran.dg/derived_constructor_comps_1.f90: New test.
      
      	PR fortran/28496
      	* gfortran.dg/array_initializer_2.f90: New test.
      
      	PR fortran/18111
      	* gfortran.dg/unused_artificial_dummies_1.f90: New test. 
      
      	PR fortran/28600
      	* gfortran.dg/assumed_charlen_function_4.f90: New test.
      
      	PR fortran/28771
      	* gfortran.dg/assumed_charlen_in_main.f90: New test.
      
      	PR fortran/28660
      	* gfortran.dg/dependent_decls_1.f90: New test.
      
      From-SVN: r116268
      Paul Thomas committed
    • Daily bump. · 84572ba5
      From-SVN: r116266
      GCC Administrator committed
  5. 19 Aug, 2006 1 commit
    • re PR fortran/25217 (Derived type dummy argument having intent(out) attribute) · 6df364d7
      fortran/
      2006-08-19  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/25217
              * resolve.c (resolve_fl_variable): Set a default initializer for
              derived types with INTENT(OUT) even if 'flag' is true.
              * trans-expr.c (gfc_conv_function_call): Insert code to
              reinitialize INTENT(OUT) arguments of derived type with default
              initializers.
      
      
      testsuite/
      2006-08-19  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/25217
              * gfortran.dg/derived_init_2.f90: New.
      
      From-SVN: r116261
      Erik Edelmann committed