1. 10 Jul, 2010 2 commits
  2. 09 Jul, 2010 29 commits
  3. 08 Jul, 2010 9 commits
    • re PR fortran/44649 ([OOP] F2008: storage_size intrinsic (also working for polymorphic types)) · 048510c8
      2010-07-08  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44649
      	* gfortran.h (gfc_isym_id): Add GFC_ISYM_C_SIZEOF,GFC_ISYM_STORAGE_SIZE.
      	* intrinsic.h (gfc_check_c_sizeof,gfc_check_storage_size,
      	gfc_resolve_storage_size): New prototypes.
      	* check.c (gfc_check_c_sizeof,gfc_check_storage_size): New functions.
      	* intrinsic.c (add_functions): Add STORAGE_SIZE.
      	* iresolve.c (gfc_resolve_storage_size): New function.
      	* trans-intrinsic.c (gfc_conv_intrinsic_sizeof): Handle polymorphic
      	arguments.
      	(gfc_conv_intrinsic_storage_size): New function.
      	(gfc_conv_intrinsic_function): Handle STORAGE_SIZE.
      
      2010-07-08  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44649
      	* gfortran.dg/c_sizeof_1.f90: Modified.
      	* gfortran.dg/storage_size_1.f08: New.
      	* gfortran.dg/storage_size_2.f08: New.
      
      From-SVN: r161977
      Janus Weil committed
    • lto-section-in.c (lto_section_name): Add missing comma. · 1df15c3d
      	* lto-section-in.c (lto_section_name): Add missing comma.
      
      From-SVN: r161976
      Andi Kleen committed
    • ia64.h (OVERRIDE_OPTIONS): Remove macros. · 930572b9
      	* config/ia64/ia64.h (OVERRIDE_OPTIONS): Remove macros.
      	* config/ia64/ia64-protos.h (ia64_override_options): Remove.
      	* config/ia64/ia64.c (TARGET_OPTION_OVERRIDE): Define.
      	(ia64_override_options): Rename to...
      	(ia64_option_override): ... this one. Make static.
      
      From-SVN: r161975
      Anatoly Sokolov committed
    • re PR middle-end/44843 (All 32-bit fortran execution tests generate unaligned access) · 5951297a
      	PR middle-end/44843
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Do not rely on the
      	pointed-to type of the offset in a MEM_REF to compute the alignment.
      
      From-SVN: r161974
      Eric Botcazou committed
    • * make_sunver.pl: Remove extra whitespace in regexp. · 5653ef60
      From-SVN: r161973
      Eric Botcazou committed
    • final.c (final_scan_insn): Replace TARGET_UNWIND_INFO macro check by unwind_emit hook NULL check. · 2784ed9c
      2010-07-08  Kai Tietz  <kai.tietz@onevision.com>
      
      	* final.c (final_scan_insn): Replace
      	TARGET_UNWIND_INFO macro check by unwind_emit
      	hook NULL check.
      	* targhooks.c (default_unwind_emit): Removed.
      	* targhooks.h (default_unwind_emit): Likewise.
      	* target.def (unwind_emit): Set default value to NULL.
      
      From-SVN: r161972
      Kai Tietz committed
    • i386-protos.h (ix86_asm_output_function_label): New prototype. · 135a687e
      2010-07-08  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config/i386/i386-protos.h (ix86_asm_output_function_label):
      	New prototype.
      	* config/i386/i386.c (ix86_function_ms_hook_prologue): Check
      	for NULL fntype argument and allow 64-bit targets.
      	(ix86_asm_output_function_label): New function.
      	(ix86_expand_prologue): Handle 64-bit ms hook prologue.
      	(ix86_handle_fndecl_attribute): Likewise.
      	* doc/extend.texi (ms_hook_prologue): Adjust documentation.
      	* doc/doc/tm.texi: Regenerated.
      	* doc/doc/doc/tm.texi.in (ASM_OUTPUT_FUNCTION_LABEL): New.
      	(ASM_DECLARE_FUNCTION_NAME): Adjust documentation.
      	* defaults.h (ASM_OUTPUT_FUNCTION_LABEL): New macro.
      	* config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use
      	ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL.
      	* config/elfos.h: Likewise.
      	* config/i386/cygming.h: Likewise.
      	* config/netbsd-aout.h: Likewise.
      	* config/openbsd.h: Likewise.
      	* config/i386/i386.h (ASM_OUTPUT_FUNCTION_LABEL): Override
      	by ix86_asm_output_function_label function call.
      	* varasm.c (assemble_start_function): Use
      	ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL.
      
      From-SVN: r161971
      Kai Tietz committed
    • stl_heap.h: Update markup. · 5ab3a5af
      2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/stl_heap.h: Update markup.
      	* include/bits/move.h: Same.
      	* include/bits/algorithmfwd.h: Same.
      	* include/bits/regex.h: Same.
      	* include/bits/random.h: Same.
      	* doc/doxygen/doxygroups.cc: Same.
      	* doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
      	input file list.
      	* doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
      	pdf in location consistent with docbook pdf generation.
      	* doc/Makefile.in: Regenerate.
      
      From-SVN: r161970
      Benjamin Kosnik committed
    • re PR fortran/44847 (ICE: OpenMP with Collapse clause and CYCLE stmt in loop) · 84fa59a7
      	PR fortran/44847
      	* match.c (match_exit_cycle): Error on EXIT also from collapsed
      	!$omp do loops.  Error on CYCLE to non-innermost collapsed
      	!$omp do loops.
      
      	* gfortran.dg/gomp/pr44847.f90: New test.
      
      From-SVN: r161967
      Jakub Jelinek committed