1. 31 May, 2008 1 commit
  2. 30 May, 2008 9 commits
  3. 29 May, 2008 20 commits
  4. 28 May, 2008 10 commits
    • value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC for printing gcov_type. · 68bb68ca
      2008-05-28  Seongbae Park  <seongbae.park@gmail.com>
      	
      	* value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC
      	for printing gcov_type.
      
      From-SVN: r136131
      Seongbae Park committed
    • re PR fortran/36325 (specific or generic INTERFACE implies the EXTERNAL attribute) · e6895430
      2008-05-28  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/36325
      	PR fortran/35830
      	* interface.c (gfc_procedure_use): Enable argument checking for
      	external procedures with explicit interface.
      	* symbol.c (check_conflict): Fix conflict checking for externals.
      	(copy_formal_args): Fix handling of arrays.
      	* resolve.c (resolve_specific_f0, resolve_specific_s0): Fix handling
      	of intrinsics.
      	* parse.c (parse_interface): Non-abstract INTERFACE statement implies
      	EXTERNAL attribute.
      
      
      2008-05-28  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/36325
      	PR fortran/35830
      	* gfortran.dg/interface_23.f90: New.
      	* gfortran.dg/gomp/reduction3.f90: Fixed invalid code.
      	* gfortran.dg/proc_decl_12.f90: New:
      	* gfortran.dg/external_procedures_1.f90: Fixed error message.
      
      From-SVN: r136130
      Janus Weil committed
    • re PR fortran/36319 (Segfault with wide characters in DATA) · 691da334
      	PR fortran/36319
      
      	* intrinsic.c (gfc_convert_chartype): Don't mark conversion
      	function as pure.
      	* trans-array.c (gfc_trans_array_ctor_element): Divide element
      	size by the size of one character to obtain length.
      	* iresolve.c (gfc_resolve_cshift): Call the _char4 variant when
      	appropriate.
      	(gfc_resolve_eoshift): Likewise.
      	* trans-intrinsic.c (gfc_conv_intrinsic_ctime): Minor beautification.
      	(gfc_conv_intrinsic_fdate): Minor beautification.
      	(gfc_conv_intrinsic_ttynam): Minor beautification.
      	(gfc_conv_intrinsic_minmax_char): Allow all character kinds.
      	(size_of_string_in_bytes): New function.
      	(gfc_conv_intrinsic_size): Call size_of_string_in_bytes for
      	character expressions.
      	(gfc_conv_intrinsic_sizeof): Likewise.
      	(gfc_conv_intrinsic_array_transfer): Likewise.
      	(gfc_conv_intrinsic_trim): Allow all character kinds. Minor
      	beautification.
      	(gfc_conv_intrinsic_repeat): Fix comment typo.
      	* simplify.c (gfc_convert_char_constant): Take care of conversion
      	of array constructors.
      
      	* intrinsics/string_intrinsics_inc.c (string_index): Return
      	correct value for zero-length substring.
      	* intrinsics/cshift0.c: Add _char4 variant.
      	* intrinsics/eoshift0.c (eoshift0): Allow filler to be a pattern
      	wider than a single byte. Add _char4 variant and use above
      	functionality.
      	* intrinsics/eoshift2.c (eoshift2): Likewise.
      	* m4/eoshift1.m4: Likewise.
      	* m4/eoshift3.m4: Likewise.
      	* m4/cshift1.m4: Add _char4 variants.
      	* gfortran.map (GFORTRAN_1.1): Add _gfortran_cshift0_1_char4,
      	_gfortran_cshift0_2_char4, _gfortran_cshift0_4_char4,
      	_gfortran_cshift0_8_char4, _gfortran_cshift1_16_char4,
      	_gfortran_cshift1_4_char4, _gfortran_cshift1_8_char4,
      	_gfortran_eoshift0_1_char4, _gfortran_eoshift0_2_char4,
      	_gfortran_eoshift0_4_char4, _gfortran_eoshift0_8_char4,
      	_gfortran_eoshift1_16_char4, _gfortran_eoshift1_4_char4,
      	_gfortran_eoshift1_8_char4, _gfortran_eoshift2_1_char4,
      	_gfortran_eoshift2_2_char4, _gfortran_eoshift2_4_char4,
      	_gfortran_eoshift2_8_char4, _gfortran_eoshift3_16_char4,
      	_gfortran_eoshift3_4_char4 and _gfortran_eoshift3_8_char4.
      	* generated/eoshift3_4.c: Regenerate.
      	* generated/eoshift1_8.c: Regenerate.
      	* generated/eoshift1_16.c: Regenerate.
      	* generated/cshift1_4.c: Regenerate.
      	* generated/eoshift1_4.c: Regenerate.
      	* generated/eoshift3_8.c: Regenerate.
      	* generated/eoshift3_16.c: Regenerate.
      	* generated/cshift1_8.c: Regenerate.
      	* generated/cshift1_16.c: Regenerate.
      
      	* gfortran.dg/widechar_5.f90: New file.
      	* gfortran.dg/widechar_6.f90: New file.
      	* gfortran.dg/widechar_7.f90: New file.
      	* gfortran.dg/widechar_intrinsics_5.f90: Uncomment the lines
      	testing the SPREAD intrinsic.
      	* gfortran.dg/widechar_intrinsics_6.f90: New file.
      	* gfortran.dg/widechar_intrinsics_7.f90: New file.
      	* gfortran.dg/widechar_intrinsics_8.f90: New file.
      	* gfortran.dg/widechar_intrinsics_9.f90: New file.
      	* gfortran.dg/widechar_intrinsics_10.f90: New file.
      
      From-SVN: r136129
      Francois-Xavier Coudert committed
    • tree-ssa-propagate.c (set_rhs): Preserve the histogram and the eh region information. · b608a1bc
      2008-05-28  Seongbae Park  <seongbae.park@gmail.com>
      
      	* tree-ssa-propagate.c (set_rhs): Preserve the histogram
      	and the eh region information.
      	* value-prof.c (gimple_move_stmt_histograms): New function.
      	* value-prof.h (gimple_move_stmt_histograms): New function declaration.
      
      From-SVN: r136124
      Seongbae Park committed
    • pa.md: Remove extern frame_pointer_needed declaration. · 77da4248
      2008-05-28  Andreas Tobler  <a.tobler@schweiz.org>
      
      	* config/pa/pa.md: Remove extern frame_pointer_needed declaration.
      
      From-SVN: r136121
      Andreas Tobler committed
    • value-prof.c (tree_ic_transform): Print counts. · 3dfb6f59
      gcc/ChangeLog:
      2008-05-28  Seongbae Park <seongbae.park@gmail.com>
      
      	* value-prof.c (tree_ic_transform): Print counts.
      	* tree-profile.c (tree_gen_ic_func_profiler):
      	Clear __gcov_indreict_call_callee variable
      	to avoid misattribution of the profile.
      
      gcc/testsuite/ChangeLog:
      2008-05-28  Seongbae Park <seongbae.park@gmail.com>
      
      	* gcc.dg/tree-prof/ic-misattribution-1.c: New test.
      	* gcc.dg/tree-prof/ic-misattribution-1a.c: New test.
      	* lib/profopt.exp (profopt-get-options): Support
      	dg-additional-sources.
      	(profopt-execute): Handle additional sources.
      
      From-SVN: r136118
      Seongbae Park committed
    • see.c (see_def_extension_not_merged): Use copy_rtx_if_shared to avoid invalid sharing. · 5a976da0
      2008-05-28  Rafael Espindola  <espindola@google.com>
      
      	* see.c (see_def_extension_not_merged): Use copy_rtx_if_shared to avoid
      	invalid sharing.
      
      2008-05-28  Rafael Espindola  <espindola@google.com>
      
      	* gcc.dg/20080528-1.c: New test.
      
      From-SVN: r136115
      Rafael Avila de Espindola committed
    • Resync. · acca98c0
      From-SVN: r136114
      Arnaud Charlet committed
    • sem_res.adb (Valid_Conversion): An anonymous access_to_subprogram type has a… · c147ac26
      sem_res.adb (Valid_Conversion): An anonymous access_to_subprogram type has a deeper level than any master only...
      
      2008-05-28  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_res.adb (Valid_Conversion): An anonymous access_to_subprogram
      	type has a deeper level than any master only when it is the type of an
      	access parameter.
      
      From-SVN: r136113
      Ed Schonberg committed
    • sinput-p.adb (Source_File_Is_Subunit): Allow special character used for preprocessing · 2b672e35
      2008-05-28  Vincent Celier  <celier@adacore.com>
      
      	* sinput-p.adb (Source_File_Is_Subunit): Allow special character used
      	for preprocessing
      	
      	* sinput-p.ads: Minor comment update and reformatting
      
      From-SVN: r136112
      Vincent Celier committed