1. 24 Jun, 2007 3 commits
    • re PR fortran/32460 (structure constructor not allowed if a USEd type has private components) · 2eae3dc7
      2007-06-24  Tobias Burnus  <burnus@net-de>
      
      	PR fortran/32460
      	* interface.c (gfc_compare_derived_types): Add access check.
      	* symbol.c (gfc_find_component): Ditto.
      	(gfc_set_component_attr,gfc_get_component_attr) Copy access state.
      	* dump-parse-tree.c (gfc_show_components): Dump access state.
      	* gfortran.h (struct gfc_component): Add gfc_access.
      	* module.c (mio_component): Add access state.
      	* (gfc_match_structure_constructor): Check for private access state.
      
      2007-06-24  Tobias Burnus  <burnus@net-de>
      
      	PR fortran/32460
      	* gfortran.dg/private_type_6.f90: New.
      
      From-SVN: r125984
      Tobias Burnus committed
    • re PR fortran/32298 (MINLOC / MAXLOC: off-by one for PARAMETER arrays) · f0b3c58d
      2007-06-24  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/32298
      	PR fortran/31726
      	* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Calculate
      	the offset between the loop counter and the position as
      	defined. Add the offset within the loop so that the mask acts
      	correctly.  Do not advance the location on the basis that it
      	is zero.
      
      2007-06-24  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31726
      	* gfortran.dg/minmaxloc_1.f90: New test.
      
      	PR fortran/32298
      	* gfortran.dg/minmaxloc_2.f90: New test.
      
      From-SVN: r125983
      Paul Thomas committed
    • Daily bump. · dbb23396
      From-SVN: r125980
      GCC Administrator committed
  2. 23 Jun, 2007 6 commits
    • extend.texi: Document that dllimport and dllexport imply default visibility. · 3a687f8b
      2007-06-23  Mark Mitchell  <mark@codesourcery.com>
      
      	* doc/extend.texi: Document that dllimport and dllexport imply
      	default visibility.
      	* tree.c (handle_dll_attribute): Set DECL_VISIBILITY on the
      	imported or exported declaration, including type declarations.
      	* c-common.c (handle_visibility_attribute): Check for conflicts
      	with dllimport/dllexport.
      	(c_determine_visibility): Handle dllimport/dllexport as an
      	explicit visibility atttribute.
      
      2007-06-23  Mark Mitchell  <mark@codesourcery.com>
      
      	* decl2.c (determine_visibility): Don't look for dllexport here.
      	(determine_visibility_from_class): Tidy.
      
      2007-06-23  Mark Mitchell  <mark@codesourcery.com>
      
      	* gcc.dg/visibility-12.c: New test.
      	* gcc.dg/visibility-13.c: Likewise.
      	* g++.dg/ext/visibility-9.C: Likewise.
      	* g++.dg/ext/visibility-10.C: Likewise.
      
      From-SVN: r125975
      Mark Mitchell committed
    • re PR tree-optimization/16876 (ICE on testcase with -O3 in fold-const) · e36711f3
      2007-06-23  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/16876
      	PR middle-end/29478
      	* tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag
      	for CALL_EXPRs.
      	* tree-inline.c (initialize_inlined_parameters): Do not call
      	lang_hooks.tree_inlining.convert_parm_for_inlining.
      	* cgraphbuild.c (initialize_inline_failed): Set inline failed
      	reason for mismatched types.
      	* gimplify.c (gimplify_call_expr): Verify the call expression
      	arguments match the called function type signature.  Otherwise
      	mark the call expression to be not considered for inlining
      	using CALL_CANNOT_INLINE_P flag.
      	* ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the
      	edges call expression.
      	(cgraph_decide_inlining_of_small_function): Likewise.
      	(cgraph_decide_inlining): Likewise.
      	* c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
      	Remove define.
      	* c-tree.h (c_convert_parm_for_inlining): Remove declaration.
      	* c-typeck.c (c_convert_parm_for_inlining): Remove.
      	* langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining):
      	Remove declaration.
      	(LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define.
      	* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining):
      	Remove.
      	* langhooks.h (struct lang_hooks_for_tree_inlining): Remove
      	convert_parm_for_inlining member.
      
      	* gcc.dg/pr29254.c: The warning is bogus.
      	* gcc.dg/warn-1.c: Likewise.
      	* gcc.dg/assign-warn-3.c: Likewise.
      	* gcc.dg/noncompile/pr16876.c: The testcase is bogus, remove.
      
      From-SVN: r125974
      Richard Guenther committed
    • re PR target/31152 (-(x>y) generates wrong code) · 630ef467
      	PR target/31152
      	* arm.md (negscc): Match the correct operand for optimized LT0 test.
      	Remove optimization for GT.
      	*gcc.c-torture/execute/20070623-1.c: New.
      
      From-SVN: r125973
      Richard Earnshaw committed
    • re PR target/32437 (MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c) · 6cad9859
      2007-06-23  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	PR middle-end/32437
      	*dce.c (deletable_insn_p): Add extra parameter and recurse if insn
      	is a PARALLEL.
      	(prescan_insns_for_dce): Add extra parameter.
      
      From-SVN: r125972
      Kenneth Zadeck committed
    • re PR middle-end/31541 (cannot take address of bit field) · 936d04b6
      
      	PR middle-end/31541
      	* gimplify.c (mark_addressable): New function.
      	(gimplify_modify_expr_rhs, gimplify_addr_expr, gimplify_expr): Use it.
      
      	* gcc.c-torture/compile/pr31541.c: New.
      
      From-SVN: r125971
      Jan Hubicka committed
    • Daily bump. · bedd4d06
      From-SVN: r125962
      GCC Administrator committed
  3. 22 Jun, 2007 14 commits
  4. 21 Jun, 2007 17 commits