1. 13 Oct, 2006 9 commits
    • re PR fortran/29373 (implicit type declaration and contained function clash) · 982186b1
      2006-10-13 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/29373
      	* decl.c (get_proc_name, gfc_match_function_decl): Add
      	attr.implicit_type to conditions that throw error for
      	existing explicit interface and that allow new type-
      	spec to be applied.
      
      	PR fortran/29407
      	* resolve.c (resolve_fl_namelist): Do not check for
      	namelist/procedure conflict, if the symbol corresponds
      	to a good local variable declaration.
      
      	PR fortran/27701
      	* decl.c (get_proc_name): Replace the detection of a declared
      	procedure by the presence of a formal argument list by the
      	attributes of the symbol and the presence of an explicit
      	interface.
      
      	PR fortran/29232
      	* resolve.c (resolve_fl_variable): See if the host association
      	of a derived type is blocked by the presence of another type I
      	object in the current namespace.
      
      	PR fortran/29364
      	* resolve.c (resolve_fl_derived): Check for the presence of
      	the derived type for a derived type component.
      
      	PR fortran/24398
      	* module.c (gfc_use_module): Check that the first words in a
      	module file are 'GFORTRAN module'.
      
      	PR fortran/29422
      	* resolve.c (resolve_transfer): Test functions for suitability
      	for IO, as well as variables.
      
      	PR fortran/29428
      	* trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
      	rhs expression.
      
      
      2006-10-13 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/29373
      	* gfortran.dg/implicit_9.f90: New test.
      
      	PR fortran/29407
      	* gfortran.dg/namelist_25.f90: New test.
      
      	PR fortran/27701
      	* gfortran.dg/same_name_2.f90: New test.
      
      	PR fortran/29232
      	* gfortran.dg/host_assoc_types_1.f90: New test.
      
      	PR fortran/29364
      	* gfortran.dg/missing_derived_type_1.f90: New test.
      	* gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL.
      
      	PR fortran/29422
      	* gfortran.dg/alloc_comp_constraint_4.f90: New test.
      
      	PR fortran/29428
      	* gfortran.dg/alloc_comp_assign_5.f90: New test.
      
      From-SVN: r117692
      Paul Thomas committed
    • re PR fortran/29391 ([4.2/4.1 only] LBOUND and UBOUND are broken) · ac677cc8
      	PR fortran/29391
      
      	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
      	code for LBOUND and UBOUND intrinsics.
      
      	* gfortran.dg/bound_2.f90: New test.
      
      From-SVN: r117691
      Francois-Xavier Coudert committed
    • PR libstdc++/28277 (partial: ostream bits 2) · ec2061a9
      2006-10-13  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/28277 (partial: ostream bits 2)
      	* include/std/std_ostream.h (basic_ostream<>::_M_insert(const
      	char_type*, streamsize)): New.
      	(basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
      	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
      	char), operator<<(basic_ostream<>&, const _CharT*),
      	operator<<(basic_ostream<>&, const char*)): Use the latter.
      	* include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
      	char_type*, streamsize)): Define.
      	(operator<<(basic_ostream<>&, const char*)): Use the latter.
      	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
      	char), operator<<(basic_ostream<>&, const _CharT*),
      	operator<<(basic_ostream<>&, const char*),
      	operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
      	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
      	const basic_string<>&)): Use the latter, implement DR 586.
      	* config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
      	* docs/html/ext/howto.html: Add an entry for DR 586.
      	* testsuite/21_strings/basic_string/inserters_extractors/char/
      	28277.cc: New.
      	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
      	28277.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/
      	28277-3.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/
      	28277-4.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
      	28277-2.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
      	28277-3.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
      	28277-4.cc: Likewise.
      
      From-SVN: r117689
      Paolo Carlini committed
    • defined_operators_1.f90: Add cleanup-modules dg directive. · 7d6df107
      	* gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg
      	directive.
      	* gfortran.dg/module_private_array_refs_1.f90: Likewise.
      	* gfortran.dg/module_proc_external_dummy.f90: Likewise.
      	* gfortran.dg/gomp/omp_threadprivate1.f90: Likewise.
      	* gfortran.dg/gomp/reduction3.f90: Likewise.
      	* gfortran.dg/derived_constructor_comps_1.f90: Likewise.
      	* gfortran.dg/dummy_procedure_2.f90: Likewise.
      	* gfortran.dg/interface_derived_type_1.f90: Likewise.
      	* gfortran.dg/forall_4.f90: Likewise.
      	* gfortran.dg/spec_expr_4.f90: Likewise.
      	* gfortran.dg/unused_artificial_dummies_1.f90: Likewise.
      	* gfortran.dg/forall_5.f90: Likewise.
      	* gfortran.dg/open_access_append_2.f90: Add check for
      	compile-time warning.
      
      From-SVN: r117688
      Francois-Xavier Coudert committed
    • re PR c++/28506 (ICE with initializers for functions) · 0b45aedd
      	PR c++/28506
      	* parser.c (function_declarator_p): New function.
      	(cp_parser_init_declarator): Use it.
      	(cp_parser_member_declaration): Likewise.
      	PR c++/28506
      	* g++.dg/parse/pure1.C: New test.
      
      From-SVN: r117687
      Mark Mitchell committed
    • re PR fortran/21435 (fails to open nonexisting file with status scratch) · 16dbbd99
      	PR fortran/21435
      
      	* io.c (compare_to_allowed_values): New function.
      	(gfc_match_open): Add checks for constant values of specifiers.
      	(gfc_match_close): Add checks for constant values of the STATUS
      	specifier.
      
      	* gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test.
      	* gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks
      	for compile-time warnings.
      	* gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise.
      	* gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise.
      	* gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary
      	file.
      	* gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE=
      	specifier.
      	* gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for
      	compile-time warning.
      
      From-SVN: r117685
      François-Xavier Coudert committed
    • re PR c/28419 (ICE using __FUNCTION__ in invalid code) · 1a4259dc
      	PR c/28419
      	* c-decl.c (c_make_fname_decl): Do not segfault in case where
      	current_function_decl is set but current_function_scope is not.
      
      	* gcc.dg/pr28319.c: New test.
      
      From-SVN: r117684
      Jan Hubicka committed
    • re PR c++/29318 (ICE: type_info of pointer to VLA) · f19218e5
      	PR c++/29318
      	* rtti.c (get_tinfo_decl): Refuse to create type info objects for
      	variably modified types.
      	PR c++/29318
      	* g++.dg/ext/vla4.C: New test.
      
      From-SVN: r117683
      Mark Mitchell committed
    • Daily bump. · fc6fabdf
      From-SVN: r117681
      GCC Administrator committed
  2. 12 Oct, 2006 13 commits
  3. 11 Oct, 2006 11 commits
  4. 10 Oct, 2006 7 commits
    • --(top level)-------------------------------------------- · b5422ad7
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.def: Added pdf target handling.
      	* Makefile.tpl: Added pdf target handling.
      	* Makefile.in: Regenerated.
      
      ---fixincludes--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---gcc----------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* configure.ac: Added pdf to "Make-hooks"
      	* Makefile.in: Added TEXI2PDF definition, and various pdf-file
      	targets and *.pdf file patterns in cleanup targets.
      	* configure: Regenerated.
      
      ---gcc/cp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "c++.pdf" target support.
      
      ---gcc/fortran--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
      	support.
      
      ---gcc/java-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
      
      ---gcc/objc-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "objc.pdf" target.
      
      ---gcc/objcp----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "obj-c++.pdf" target.
      
      ---gcc/treelang-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "treelang.pdf" target support.
      
      ---gnattools----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libcpp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libdecnumber-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libiberty----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
      	* testsuite/Makefile.in: Added empty "pdf" target.
      
      ---libobjc------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      From-SVN: r117618
      Brooks Moses committed
    • re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr… · 413fc59a
      re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2)
      
      	* config/avr/predicates.md: New file.
      	* config/avr/avr.md: Include it.
      	(REG_SP): New constant.
      	(peepholes): Use predicates.
      	(sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch,
      	difficult_branch,  difficult_rvbranch, cbi, sbi, sbix_branch,
      	sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto.
      	PR target/26504
      	* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
      
      From-SVN: r117616
      Anatoly Sokolov committed
    • java-interp.h (_Jv_InterpMethod::get_insn): Declare. · 05ee9ca0
              * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
              (_Jv_InterpMethod::set_insn): Declare.
              * interpret.cc (_Jv_InterpMethod::get_insn): New method.
              (_Jv_InterpMethod::get_insn): New method.
      
      From-SVN: r117614
      Keith Seitz committed
    • re PR xml/29362 (NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)) · 4e34ede2
      	PR classpath/29362:
      	* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
      	there is a stylesheet.
      
      From-SVN: r117612
      Tom Tromey committed
    • prims.cc (_Jv_PrependVersionedLibdir): Use _Jv_platform_path_separator. · ab6b9a13
      	* prims.cc (_Jv_PrependVersionedLibdir): Use
      	_Jv_platform_path_separator.
      
      From-SVN: r117611
      Tom Tromey committed
    • re PR libgcj/29205 (lib/pkgconfig/libgcj.pc needs to become version dependent) · 51d0a5cc
      	PR libgcj/29205:
      	* Makefile.in: Rebuilt.
      	* Makefile.am (install-data-local): Install the .pc file.
      	(pkgconfig_DATA): Removed.
      
      From-SVN: r117610
      Tom Tromey committed
    • re PR fortran/19292 ([meta-bug] g77 features lacking in gfortran) · 21825fd6
      2006-10-10  Daniel Franke  <franke.daniel@gmail.com>
      
      	* intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND,
      	GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC,
      	LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD,
      	GMTIME, LSHIFT, LTIME, RSHIFT.
      
      From-SVN: r117609
      Daniel Franke committed