1. 28 Jul, 2007 8 commits
    • re PR fortran/32048 (max/min and NaN) · 5fcb93f1
      	PR fortran/32048
      
      	* f95-lang.c (gfc_init_builtin_functions): Add declaration for
      	__builtin_isnan.
      	* trans-intrinsic.c (gfc_conv_intrinsic_minmax): Handled NaNs.
      
      	* gfortran.dg/nan_1.f90: New test.
      
      From-SVN: r127019
      François-Xavier Coudert committed
    • calls.c (special_function_p, [...]): Constify. · 6ea2b70d
      	* calls.c (special_function_p, setjmp_call_p, alloca_call_p,
      	flags_from_decl_or_type): Constify.
      	* gcc.c (do_spec_1): Likewise.
      	* print-tree.c (dump_addr, print_node_brief): Likewise.
      	* tree-cfg.c (stmt_starts_bb_p, is_ctrl_stmt, computed_goto_p,
      	simple_goto_p, tree_can_make_abnormal_goto, stmt_starts_bb_p,
      	tree_purge_all_dead_eh_edges): Likewise.
      	* tree-flow.h (is_ctrl_stmt, computed_goto_p, simple_goto_p,
      	tree_can_make_abnormal_goto, tree_purge_all_dead_eh_edges):
      	Likewise. 
      	* tree.c (expr_location, expr_has_location, expr_locus,
      	expr_filename, expr_lineno, get_inner_array_type,
      	fields_compatible_p): Likewise.
      	* tree.h (get_inner_array_type, fields_compatible_p,
      	expr_location, expr_has_location, expr_locus, expr_filename,
      	expr_lineno, dump_addr, print_node_brief, flags_from_decl_or_type,
      	setjmp_call_p, alloca_call_p): Likewise.
      
      From-SVN: r127017
      Kaveh R. Ghazi committed
    • re PR c++/30917 (ICE with friend in local class (to a function)) · d4d8c232
      gcc/cp/
      
      2007-07-28  Simon Martin  <simartin@users.sourceforge.net>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/30917
      	* name-lookup.c (lookup_name_real): Non namespace-scope bindings can be
      	hidden due to friend declarations in local classes.
      
      gcc/testsuite/
      
      2007-07-28  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/30917
      	* g++.dg/lookup/friend11.C: New test.
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r127016
      Simon Martin committed
    • Fixed overly long lines in my last ChangeLog entry. · f86b898d
      From-SVN: r127015
      Daniel Franke committed
    • re PR fortran/31818 (Wrongly accepts namelists with assumed-shape arrays) · 5cca320d
      gcc/fortran:
      2007-07-28  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/31818
      	PR fortran/32876
      	PR fortran/32905
      	* gfortran.h (symbol_attribute): Added bits for pointer_comp, private_comp.
      	* parse.c (parse_derived): Set pointer_comp/private_comp bits if the derived
      	type ultimately contains pointer components or private components.
      	* module.c (ab_attribute): New values AB_POINTER_COMP, AB_PRIVATE_COMP.
      	(attr_bits): Added names for new ab_attributes.
      	(mio_symbol_attribute): Save/restore new attribute bits in modules.
      	* match.c (gfc_match_namelist): Removed check for namelist objects of assumed
      	shape.
      	* resolve.c (resolve_fl_namelist): Added check for pointer or private
      	components in nested types. Added check for namelist objects of assumed
      	shape.
      
      gcc/testsuite:
      2007-07-28  Daniel Franke  <franke.daniel@gmail.com>
      
      	* gfortran.dg/namelist_5.f90: Adjusted error message.
      	* gfortran.dg/assumed_shape_nml.f90: Renamed to ...
      	* gfortran.dg/namelist_31.f90: ... this. Removed dg-warning directive.
      	* gfortran.dg/assumed_size_nml.f90: Renamed to ...
      	* gfortran.dg/namelist_32.f90: ... this.
      
      	PR fortran/32876
      	* gfortran.dg/namelist_33.f90: New test.
      
      	PR fortran/32905
      	* gfortran.dg/namelist_34.f90: New test.
      
      	PR fortran/31818
      	* gfortran.dg/namelist_35.f90: New test.
      
      From-SVN: r127014
      Daniel Franke committed
    • timevar.def: Add TV_CALL_CLOBBER, TV_FLOW_SENSITIVE, TV_FLOW_INSENSITIVE. · 758137cd
      2007-07-28  Daniel Berlin  <dberlin@dberlin.org>
      
      	* timevar.def: Add TV_CALL_CLOBBER, TV_FLOW_SENSITIVE,
      	TV_FLOW_INSENSITIVE.
      
      	* tree-ssa-alias.c (compute_call_clobbered): Push/pop
      	TV_CALL_CLOBBER.
      	(compute_flow_sensitive_aliasing): Ditto for TV_FLOW_SENSITIVE.
      	(compute_flow_insensitive_aliasing): Ditto for
      	TV_FLOW_INSENSITIVE.
      
      From-SVN: r127013
      Daniel Berlin committed
    • re PR fortran/32880 (User operator & allocatable TYPE components: wrong deallocate) · b8247b13
      2007-07-28  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/32880
      	* trans-expr.c (gfc_trans_scalar_assign): Revert to fixed order
      	for lse and rse pre expressions, for derived types with
      	allocatable components.  Instead, assign the lhs to a temporary
      	and deallocate after the assignment.
      
      2007-07-28  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/32880
      	* gfortran.dg/alloc_comp_assign_6.f90: New test.
      
      From-SVN: r127011
      Paul Thomas committed
    • Daily bump. · 9587952b
      From-SVN: r127008
      GCC Administrator committed
  2. 27 Jul, 2007 32 commits