1. 18 Dec, 2007 12 commits
  2. 17 Dec, 2007 16 commits
  3. 16 Dec, 2007 12 commits
    • re PR target/34025 (Warning when compiling with -m64 -ffast-math on Intel Darwin) · 3ef27559
              PR target/34025
              * config/i386/t-crtpc: Add $(MULTILIB_CFLAGS).
              * config/i386/t-crtfm: Likewise.
      
      From-SVN: r130998
      Jack Howarth committed
    • i386.h (WIDEST_HARDWARE_FP_SIZE): Define. · ce998900
              * config/i386/i386.h (WIDEST_HARDWARE_FP_SIZE): Define.
      
      From-SVN: r130997
      Uros Bizjak committed
    • ChangeLog: Fix my email address in previous two entries. · bd1efa43
      2007-12-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* ChangeLog: Fix my email address in previous two entries.
      
      From-SVN: r130996
      Jonathan Wakely committed
    • default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets. · dbf3a492
      2007-12-16  Jonathan Wakely  <jwakely-gcc@gmail.com>
      
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add
      	required dg-option for cygwin and darwin targets.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      
      From-SVN: r130995
      Jonathan Wakely committed
    • re PR fortran/34495 (accepts invalid initialization expressions withTRANSFER) · b7970354
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34495
              * intrinsic.c (add_functions): Mark float and sngl as STD_GNU.
              (gfc_intrinsic_func_interface): Reject REAL, DBLE and CMPLX
              in initialization expressions for -std=f95.
      
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34495
              * gfortran.dg/initialization_16.f90: New.
      
      From-SVN: r130994
      Tobias Burnus committed
    • re PR fortran/34305 (ICE with array(real) declaration) · df80a455
      2007-12-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34305
      	* resolve.c (compare_bound):  If either of the types of
      	the arguments isn't INTEGER, return CMP_UNKNOWN.
      
      2007-12-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34305
      	* gfortran.dg/real_dimension_1.f:  New test case.
      
      From-SVN: r130993
      Thomas Koenig committed
    • re PR fortran/34246 (gfortran.dg/bind_c_usage_16.f03 doesn't work) · 06a54338
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34246
              * trans-types.c (gfc_init_types): Change build_type_variant
              to build_qualified_type.
              (gfc_sym_type): Return gfc_character1_type_node for
              character-returning bind(C) functions.
              * trans-expr.c (gfc_conv_function_call): Do not set
              se->string_length for character-returning bind(c) functions.
              (gfc_trans_string_copy,gfc_trans_scalar_assign):
               Support also single characters.
      
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34246
              * gfortran.dg/bind_c_usage_16.f03: Extend test.
      
      From-SVN: r130991
      Tobias Burnus committed
    • Undo misguided distinction WRT deciding if a warning is an error or a warning. · ac8bb1ec
      A Warning is a warning, diagnostics DTRT. Cosmetic correction from fallout for
      fix for PR21061. See ML-archives for details on why this hunk is wrong but
      still harmless in effect.
      
      2007-12-16  Bernhard Fischer  <aldot@gcc.gnu.org>
      
              * errors.c (gfc_notify_std): As originally stated but improperly 
              changed, disregard warnings_are_errors for deciding which buffer
              to use for warnings.
      
      From-SVN: r130990
      Bernhard Fischer committed
    • tree-vect-transform.c (conservative_cost_threshold): Add missing space to "not vectorized" message. · 42cb1b89
              * tree-vect-transform.c (conservative_cost_threshold): Add missing
              space to "not vectorized" message.
      
      From-SVN: r130989
      Uros Bizjak committed
    • re PR fortran/31213 (ICE on valid code with gfortran) · 0a164a3c
      2007-12-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31213
      	PR fortran/33888
      	PR fortran/33998
      	* trans-array.c (gfc_trans_array_constructor_value): If the
      	iterator variable does not have a backend_decl, use a local
      	temporary.
      	(get_elemental_fcn_charlen): New function to map the character
      	length of an elemental function onto its actual arglist.
      	(gfc_conv_expr_descriptor): Call the above so that the size of
      	the temporary can be evaluated.
      	* trans-expr.c : Include arith.h and change prototype of
      	gfc_apply_interface_mapping_to_expr to return void.  Change all
      	references to gfc_apply_interface_mapping_to_expr accordingly.
      	(gfc_free_interface_mapping): Free the 'expr' field.
      	(gfc_add_interface_mapping): Add an argument for the actual
      	argument expression. This is copied to the 'expr' field of the
      	mapping.  Only stabilize the backend_decl if the se is present.
      	Copy the character length expression and only add it's backend
      	declaration if se is present.  Return without working on the
      	backend declaration for the new symbol if se is not present.
      	(gfc_map_intrinsic_function) : To simplify intrinsics 'len',
      	'size', 'ubound' and 'lbound' and then to map the result.
      	(gfc_map_fcn_formal_to_actual): Performs the formal to actual
      	mapping for the case of a function found in a specification
      	expression in the interface being mapped.
      	(gfc_apply_interface_mapping_to_ref): Remove seen_result and
      	all its references. Remove the inline simplification of LEN
      	and call gfc_map_intrinsic_function instead.  Change the
      	order of mapping of the actual arguments and simplifying
      	intrinsic functions.  Finally, if a function maps to an
      	actual argument, call gfc_map_fcn_formal_to_actual.
      	(gfc_conv_function_call): Add 'e' to the call to
      	gfc_add_interface_mapping.
      	* dump-parse-tree.c (gfc_show_symbol_n): New function for
      	diagnostic purposes.
      	* gfortran.h : Add prototype for gfc_show_symbol_n.
      	* trans.h : Add 'expr' field to gfc_add_interface_mapping.
      	Add 'expr' to prototype for gfc_show_symbol_n.
      	* resolve.c (resolve_generic_f0): Set specific function as
      	referenced.
      
      2007-12-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31213
      	PR fortran/33888
      	PR fortran/33998
      	* gfortran.dg/mapping_1.f90: New test.
      	* gfortran.dg/mapping_2.f90: New test.
      	* gfortran.dg/mapping_3.f90: New test.
      
      From-SVN: r130988
      Paul Thomas committed
    • re PR rtl-optimization/34415 (Possible miscompilation on MIPS) · 30c6f45d
      gcc/
      	PR rtl-optimization/34415
      	* df.h (DF_LR_IN, DF_LR_OUT): Update comments.
      	* resource.c (mark_target_live_regs): Use DF_LR_IN rather than
      	df_get_live_in.  Don't handle pseudos.
      
      gcc/testsuite/
      	PR rtl-optimization/34415
      	* gcc.c-torture/execute/pr34415.c: New test.
      
      From-SVN: r130987
      Richard Sandiford committed