1. 02 Nov, 2009 1 commit
  2. 01 Nov, 2009 8 commits
    • tree.def (TARGET_MEM_REF): Update comment. · ebcc3d93
      	* tree.def (TARGET_MEM_REF): Update comment.
      	* alias.c (get_alias_set): Retrieve the original memory reference for
      	a TARGET_MEM_REF before proceeding.
      
      From-SVN: r153796
      Eric Botcazou committed
    • [multiple changes] · 958dd42b
      2009-11-01  Tobias Burnus  <burnus@net-b.de>                                            
      
              PR fortran/41872
              * trans-decl.c (gfc_trans_deferred_vars): Do not nullify
              autodeallocated allocatable scalars at the end of scope.
              (gfc_generate_function_code): Fix indention.
              * trans-expr.c (gfc_conv_procedure_call): For allocatable
              scalars, fix calling by reference and autodeallocating
              of intent out variables.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_4.f90: New test.
      
      From-SVN: r153795
      Tobias Burnus committed
    • re PR fortran/41850 (Wrong-code with optional allocatable arrays) · 745ff31f
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out
              variables only when present. Remove unneccessary present check.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * gfortran.dg/intent_out_6.f90: New testcase.
      
      From-SVN: r153793
      Tobias Burnus committed
    • tree.c (cv_unqualified): New fn. · 164247b0
      	* tree.c (cv_unqualified): New fn.
      	* cp-tree.h: Declare it.
      	* typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT.
      
      From-SVN: r153790
      Jason Merrill committed
    • * rtti.c (tinfo_name): Fix lengths for private case. · c86f25e8
      From-SVN: r153789
      Jason Merrill committed
    • re PR c++/41754 (initializer list internal compiler segfault) · 691a1b27
      	PR c++/41754
      	* call.c (compare_ics): Avoid bad union use when
      	comparing two ck_lists.
      
      From-SVN: r153788
      Jason Merrill committed
    • chrono (struct __common_rep_type): New. · cc1e2504
      2009-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/chrono (struct __common_rep_type): New.
      	(duration_cast(const duration<>&),
      	duration<>::duration(const _Rep2&),
      	duration<>::duration(const duration<>&),
      	operator*(const duration<>&, const _Rep2&),
      	operator*(const _Rep1&, const duration<>&),
      	operator/(const duration<>&, const _Rep2&),
      	time_point_cast(const time_point<>&)): Implement resolution of
      	DR 1177 ([Ready] in Santa Cruz), change to not participate to
      	overload resolution if the constraints are not met. 
      	* testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors.
      	* testsuite/20_util/duration/cons/dr974.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
      	dg-error line numbers.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
      
      From-SVN: r153787
      Paolo Carlini committed
    • Daily bump. · 5645baec
      From-SVN: r153786
      GCC Administrator committed
  3. 31 Oct, 2009 8 commits
  4. 30 Oct, 2009 23 commits
    • PR libfortran/41219 Fix build warnings · 23db9913
      From-SVN: r153769
      Janne Blomqvist committed
    • mangle.c (mangle_type_string_for_rtti): Reapply 153734. · 52669d59
      /gcc/cp
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* mangle.c (mangle_type_string_for_rtti): Reapply 153734.
      	(needs_fake_anon): Likewise.
      	(write_name): Likewise.
      	(write_nested_name): Likewise.
      	* cp-tree.h (mangle_type_string_for_rtti): Likewise.
      	(get_anonymous_namespace): Likewise.
      	* name-lookup.c (get_anonymous_namespace_name): Likewise.
      	* rtti.c (tinfo_name): Likewise, with +1 in the second 
      	build_string call fixed.
      	(tinfo_base_init): Likewise.
      
      libstdc++/
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* libsupc++/tinfo.cc (operator=(const type_info&)): Reapply 153734.
      	* libsupc++/typeinfo (type_info::name()): Likewise.
      	* libsupc++/tinfo2.cc (before):  Likewise.
      
      From-SVN: r153768
      Jerry Quinn committed
    • random.h: Fix typo in static_assert text. · a20c8540
      2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.h: Fix typo in static_assert text.
      
      From-SVN: r153767
      Paolo Carlini committed
    • linux-eabi.h (LINK_SPEC): BE8_LINK_SPEC added. · 7664c548
      	* config/arm/linux-eabi.h (LINK_SPEC): BE8_LINK_SPEC added.
      	* config/arm/bpapi.h (BE8_LINK_SPEC): New define.
      	(LINK_SPEC): BE_LINK_SPEC added.
      
      From-SVN: r153766
      Daniel Gutson committed
    • revert: decl.c (cp_fname_init): Correct build_string argument. · f0b150ba
      	Revert:
      	* decl.c (cp_fname_init): Correct build_string argument.
      
      From-SVN: r153765
      Jason Merrill committed
    • re PR lto/41871 (lto-plugin gives: could not open/create temporary file) · 86ed04df
      2009-10-30  Rafael Avila de Espindola  <espindola@google.com>
      
      	PR41871
      	* lto-plugin.c (claim_file_handler): Close files that we created.
      
      From-SVN: r153764
      Rafael Avila de Espindola committed
    • re PR libstdc++/41759 ([C++0x] <random> static_assert phrasing should be positive) · f6d08b43
      2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/41759
      	* include/bits/random.h: Tweak a bit the text of some static_asserts.
      
      From-SVN: r153762
      Paolo Carlini committed
    • configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. · ef4c4300
      2009-10-30  Kai Tietz  <kai.tietz@onevision.com>
      
              * configure.ac: Disable target-winsup & co for
              x86_64-*-mingw* and *-w64-mingw* targets.
              * configure: Regenerated.
      
      From-SVN: r153761
      Kai Tietz committed
    • re PR lto/41858 (-flto -O2 crashes when many source files.) · b207f900
      2009-10-30  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/41858
      	* lto-streamer.h (struct lto_file_decl_data): Remove fd member.
      
      	lto/
      	* lto.c (lto_file_read): Do not set file_data->fd.
      	(lto_read_section_data): Use a single-entry file-descriptor cache.
      	Do not check the result of xmalloc.
      	(free_section_data): Do not use file_data->fd.
      	(lto_read_all_file_options): Likewise.
      
      From-SVN: r153758
      Richard Guenther committed
    • utils.c (MAX_FIXED_MODE_SIZE): Delete. · 62f9f3ce
      	* gcc-interface/utils.c (MAX_FIXED_MODE_SIZE): Delete.
      	(create_field_decl): Update description.  In a packed record, round
      	the size up to a byte boundary only if the field's type has BLKmode.
      	* gcc-interface/gigi.h (create_field_decl): Update description.
      
      From-SVN: r153755
      Eric Botcazou committed
    • Fix a typo. · e15f1ff6
      From-SVN: r153754
      H.J. Lu committed
    • target-def.h (TARGET_ASM_TTYPE): Correct typo of TARGET_ARM_TTYPE. · 8c686cf5
      	* target-def.h (TARGET_ASM_TTYPE): Correct typo of TARGET_ARM_TTYPE.
      	* config/arm/unwind-arm.c (__gnu_Unwind_Backtrace): Remove unused
      	label.
      
      From-SVN: r153753
      Nathan Sidwell committed
    • * lib/target-supports.exp: Handle powerpc-*-elf. · 95460024
      From-SVN: r153752
      Andrew Jenner committed
    • tree-sra.c (build_ref_for_offset_1): Remove a comment. · 3d158124
      2009-10-30  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-sra.c (build_ref_for_offset_1): Remove a comment.
      
      From-SVN: r153751
      Martin Jambor committed
    • Optimize -mstackrealign. · 890b9b96
      gcc/
      
      2009-10-30  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/40836
      	* cfgexpand.c (expand_stack_alignment): Call update_stack_boundary
      	first.  Move assert on stack_alignment_estimated just before
      	setting stack_realign_needed.
      	(gimple_expand_cfg): Initialize stack_alignment_estimated to 0.
      	Don't call update_stack_boundary.
      
      	* config/i386/i386.c (ix86_minimum_incoming_stack_boundary): New.
      	(verride_options): Don't check ix86_force_align_arg_pointer here.
      	(ix86_function_ok_for_sibcall): Use it.
      	(ix86_update_stack_boundary): Likewise.
      
      	* config/i386/i386.h (STACK_REALIGN_DEFAULT): Update comments.
      
      gcc/testsuite/
      
      2009-10-30  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/40838
      	* gcc.target/i386/incoming-6.c: New.
      	* gcc.target/i386/incoming-7.c: Likewise.
      	* gcc.target/i386/incoming-8.c: Likewise.
      	* gcc.target/i386/incoming-9.c: Likewise.
      	* gcc.target/i386/incoming-10.c: Likewise.
      	* gcc.target/i386/incoming-11.c: Likewise.
      	* gcc.target/i386/incoming-12.c: Likewise.
      	* gcc.target/i386/incoming-13.c: Likewise.
      	* gcc.target/i386/incoming-14.c: Likewise.
      	* gcc.target/i386/incoming-15.c: Likewise.
      	* gcc.target/i386/pr37843-4.c: Likewise.
      
      From-SVN: r153750
      H.J. Lu committed
    • [multiple changes] · 6528a7ed
      2009-10-30  Emmanuel Briot  <briot@adacore.com>
      
      	* make.adb (Start_Compile_If_Possible): Compute location of resulting
      	ALI file in this procedure instead of after the compilation itself,
      	since the current directory might have changed in between when using
      	-j<n>.
      
      	* osint.ads: Addded missing alignment clause.
      
      	* adaint.c, adaint.h, osint.adb (__gnat_reset_attributes,
      	__gnat_size_of_file_attributes): Rename reset_attributes and
      	size_of_file_attributes.
      
      2009-10-30  Javier Miranda  <miranda@adacore.com>
      
      	* sem_scil.adb (Adjust_SCIL_Node): Add missing management of sequences
      	of statements when searching for SCIL nodes.
      
      2009-10-30  Tristan Gingold  <gingold@adacore.com>
      
      	* gnatlink.adb, link.c: By default use shared libgcc on darwin.
      
      From-SVN: r153749
      Arnaud Charlet committed
    • [multiple changes] · cafdbd2e
      2009-10-30  Emmanuel Briot  <briot@adacore.com>
      
      	* make.adb, osint.adb (Add_Lib_Search_Dir): Do not add if dir is
      	already in the list.
      	This saves system calls when looking for ALI files
      	(Scan_Make_Args): The parameter to gnatmake's -D is now converted to an
      	absolute PATH (so that the above improvement properly occurs if both
      	-D<dir> and -aO<dir> are specified).
      
      2009-10-30  Thomas Quinot  <quinot@adacore.com>
      
      	* a-direct.adb: Minor reformatting
      
      From-SVN: r153748
      Arnaud Charlet committed
    • 2009-10-30 Emmanuel Briot <briot@adacore.com> · 48263c9a
      	* make.adb, adaint.c, adaint.h, osint.adb, osint.ads, bcheck.adb
      	(*_attr): new subprograms.
      	(File_Length, File_Time_Stamp, Is_Writable_File): new subprograms
      	(Read_Library_Info_From_Full, Full_Library_Info_Name,
      	Full_Source_Name): Now benefit from a previous cache of the file
      	attributes, to further save on system calls.
      	(Smart_Find_File): now also cache the file attributes. This makes the
      	package File_Stamp_Hash_Table useless, and it was removed.
      	(Compile_Sources): create subprograms for the various steps of the main
      	loop, for readibility and to avoid sharing variables between the
      	various steps.
      
      From-SVN: r153747
      Emmanuel Briot committed
    • make.adb, [...] (Library_File_Stamp): Removed, since unused. · b11cb5fd
      2009-10-30  Emmanuel Briot  <briot@adacore.com>
      
      	* make.adb, osint.adb, osint.ads (Library_File_Stamp): Removed, since
      	unused.
      	(Read_Library_Info_From_Full): New subprogram.
      
      From-SVN: r153746
      Emmanuel Briot committed
    • Remove executable property. · 1a163c46
      From-SVN: r153745
      Arnaud Charlet committed
    • [multiple changes] · 5fd3fd79
      2009-10-30  Robert Dewar  <dewar@adacore.com>
      
      	* a-tideio.adb: Minor reformatting
      	* a-wtdeio.adb, a-ztdeio.adb: Update comments, code clean up.
      
      	* a-reatim.adb, a-tideau.adb, a-ngelfu.adb, a-ztdeau.adb, a-ngrear.adb,
      	a-wtedit.adb, a-ststio.adb, a-ztedit.adb: Minor code reorganization
      	(use conditional expressions).
      
      2009-10-30  Ed Schonberg  <schonberg@adacore.com>
      
      	* gnat_ugn.texi: Additional info on gnatw.i and gnatw.I
      
      	* sem_case.adb: Improved error message.
      
      2009-10-30  Emmanuel Briot  <briot@adacore.com>
      
      	* a-direct.adb, gnatcmd.adb, gnatname.adb, makeutl.adb, opt.ads,
      	osint.adb, prj-ext.adb, switch-m.adb (Follow_Links_For_Dirs): Now
      	defaults to False, and controlled by -eL.
      	* a-direct.adb: Add comments.
      	* osint.adb (File_Stamp): Avoid unneeded duplicate system call
      
      From-SVN: r153744
      Arnaud Charlet committed
    • type_traits (__is_convertible_simple): Remove. · 297f34d7
      2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/type_traits (__is_convertible_simple): Remove.
      	(__is_convertible_helper): Adjust.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
      	dg-error line numbers.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
      	Likewise.
      
      From-SVN: r153743
      Paolo Carlini committed
    • tinfo.cc (operator=(const type_info&)): Revert 153734. · 2ea9fa8a
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* libsupc++/tinfo.cc (operator=(const type_info&)): Revert 153734.
      	* libsupc++/typeinfo (type_info::name()): Likewise.
      	* libsupc++/tinfo2.cc (before):  Likewise.
      
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* mangle.c (mangle_type_string_for_rtti): Revert 153734.
      	(needs_fake_anon): Likewise.
      	(write_name): Likewise.
      	(write_nested_name): Likewise.
      	* cp-tree.h (mangle_type_string_for_rtti): Likewise.
      	(get_anonymous_namespace): Likewise.
      	* name-lookup.c (get_anonymous_namespace_name): Likewise.
      	* rtti.c (tinfo_name): Likewise.
      	(tinfo_base_init): Likewise.
      
      From-SVN: r153742
      Jerry Quinn committed