1. 16 Aug, 2009 4 commits
  2. 15 Aug, 2009 5 commits
  3. 14 Aug, 2009 30 commits
    • re PR libstdc++/41061 (Compile of program using std random fails.) · e1923769
      2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/41061
      	* include/bits/random.h (operator<<(std::basic_ostream<>&,
      	const std::lognormal_distribution<>&), 
      	operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
      	operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
      	operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
      	operator<<(std::basic_ostream<>&,
      	const std::chi_squared_distribution<>&),
      	operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
      	operator<<(std::basic_ostream<>&,
      	const std::fisher_f_distribution<>&),
      	operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
      	operator<<(std::basic_ostream<>&,
      	const std::student_t_distribution<>&),
      	operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
      	operator<<(std::basic_ostream<>&,
      	const std::negative_binomial_distribution<>&)): Declare friend.
      	* testsuite/26_numerics/random/uniform_real_distribution/operators/
      	serialize.cc: New.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/chi_squared_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/normal_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_int_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/poisson_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/bernoulli_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/weibull_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/negative_binomial_distribution/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/cauchy_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/gamma_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/fisher_f_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/exponential_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/lognormal_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/binomial_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/extreme_value_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/
      	operators/serialize.cc
      	* testsuite/26_numerics/random/student_t_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/geometric_distribution/operators/
      	serialize.cc: Likewise.
      
      Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
      
      From-SVN: r150783
      Edward Smith-Rowland committed
    • re PR fortran/41070 (Error: Components of structure constructor '' at (1) are PRIVATE) · a2a0778d
      2009-08-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41070
      	* resolve.c (resolve_structure_cons): Make sure that ts.u.derived is
      	only used if type is BT_DERIVED.
      
      2009-08-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41070
      	* gfortran.dg/structure_constructor_10.f90: New.
      
      From-SVN: r150781
      Janus Weil committed
    • extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms. · c54d7dc9
      
      2009-08-14  Olatunji Ruwase <tjruwase@google.com>
      
              * doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is
              supported on all platforms.
              * target.h (struct gcc_target): Remove
              handle_pragma_redefine_extname.
              * c-cppbuiltin.c: Remove use of
              targetm.handle_pragma_redefine_extname.
              * c-pragma.c: Likewise.
              * target-def.h (TARGET_INITIALIZER): Remove
              TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
              * config/sol2.h: Remove use of
              TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
      
      2009-08-14  Olatunji Ruwase <tjruwase@google.com>
      
              * gcc.dg/pragma-re-1.c: Supported on all platforms.
              * gcc.dg/pragma-re-2.c: Likewise.
              * gcc.dg/pragma-re-3.c: Likewise.
              * gcc.dg/pragma-re-4.c: Likewise.
              * g++.dg/other/pragma-re-1.C: Likewise.
              * g++.dg/other/pragma-re-2.C: Likewise.
      
      From-SVN: r150780
      Olatunji Ruwase committed
    • re PR libfortran/32784 ([win32] Using 'CONOUT$', 'CONIN$', or 'CONERR$' as… · 37d1bbbc
      re PR libfortran/32784 ([win32] Using 'CONOUT$', 'CONIN$', or 'CONERR$' as assigned file generates Fortran runtime error: Bad file descriptor)
      
      2009-08-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/32784
      	io/unix.c (regular_file): Add support for CONIO on mingw.
      
      From-SVN: r150779
      Jerry DeLisle committed
    • fde-vms.c: New file. · b874a90d
      2009-08-14  Douglas B Rupp  <rupp@gnat.com>
      
      	* config/ia64/fde-vms.c: New file.
      	* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Add dummy arg.
      	* config/ia64/unwind-ia64.c (UNW_ accessors): Move to unwind-ia64.h
      	(MD_UNW_COMPATIBLE_PERSONALITY_P): Provide default.
      	(uw_frame_state_for): Only register a personality routine if it is
      	known to be compatible with our expectations.
      	(_Unwind_FindEnclosingFunction, uw_frame_state_for):
      	Declare unw_table_entry stack variable and
      	mod all calls to _Unwind_FindTableEntry to add arg.
      	* config/ia64/unwind-ia64.h (UNW_ accessors): Move here.
      	(_Unwind_FindTableEntry): Add arg to prototype.
      
      From-SVN: r150778
      Douglas B Rupp committed
    • unwind-ia64.c (struct _Unwind_Context): Add new field 'signal_pfs_loc'. · ac77b88e
      
      	* config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new
      	field 'signal_pfs_loc'.
      	(uw_frame_state_for): Remove duplicate code dealing with leaf
      	procedures without unwind info.
      	If in the frame after unwinding through a signal handler, restore
      	the AR.PFS register instead of the CFM if AR.PFS has not been saved.
      	* config/ia64/linux-unwind.h (ia64_fallback_frame_state): Do not set
      	'pfs_loc' to the AR.PFS location in the signal context; instead
      	set 'signal_pfs_loc'.
      	Manually generate the unwind info for the AR.PFS register.
      	(ABI_MARKER_OLD_LINUX_SIGTRAMP, ABI_MARKER_OLD_LINUX_INTERRUPT,
      	ABI_MARKER_LINUX_SIGTRAMP, ABI_MARKER_LINUX_INTERRUPT): Define.
      	(ia64_handle_unwabi): Test 'fs->unwabi' against them.
      	Do not set 'pfs_loc' to the AR.PFS location in the signal context;
      	instead set 'signal_pfs_loc'.
      	Remove code preventing the AR.PFS register from being restored
      	from the signal context.
      
      From-SVN: r150777
      Eric Botcazou committed
    • config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file. · c24db304
      
      	* config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
      	* config/ia64/t-vms: New file.
      	* config/ia64/vms64.h: New file.
      	* config/ia64/vms.h: New file.
      	* config/ia64/vms-crtinit.asm: New file.
      	* config/ia64/vms_symvec_libgcc_s.opt: New file.
      	* config/ia64/vms-unwind.h: New file.
      
      
      Co-Authored-By: Tristan Gingold <gingold@adacore.com>
      
      From-SVN: r150776
      Douglas B Rupp committed
    • string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from… · 9d345853
      string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from pointer to scalar integer...
      
      2009-08-15  Kai Tietz  <kai.tietz@onevision.com>
      
              * intrinsics/string_intrinsics_inc.c (string_len_trim): Use
              __INTPTR_TYPE__ to cast from pointer to scalar integer, if
              __INTPTR_TYPE is defined.
      
      From-SVN: r150774
      Kai Tietz committed
    • alpha.c (alpha_emit_conditional_move): Handle TFmode compares. · 387c39e1
      	* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
      	TFmode compares.
      
      From-SVN: r150773
      Uros Bizjak committed
    • stl_tree.h: Make erase return iterator as per DR 130. · c105751c
      2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	* include/bits/stl_tree.h: Make erase return iterator as per DR 130.
      	* include/bits/stl_set.h: Same.
      	* include/bits/stl_multiset.h: Same.
      	* include/bits/stl_map.h: Same.
      	* include/bits/stl_multimap.h: Same.
      	* doc/xml/manual/intro.xml: Document.
      	* testsuite/23_containers/set/dr130.cc: New.
      	* testsuite/23_containers/multiset/dr130.cc: New.
      	* testsuite/23_containers/map/dr130.cc: New.
      	* testsuite/23_containers/multimap/dr130.cc: New.
      
      From-SVN: r150768
      Edward Smith-Rowland committed
    • Add comment saying file is deprecated · 0942c722
      From-SVN: r150767
      Janne Blomqvist committed
    • natVMSecureRandomWin32.cc: Add include of java/lang/UnsupportedOperationException.h file. · 98274454
      2009-08-14  Kai Tietz  <kai.tietz@onevision.com>
      
              * gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of
              java/lang/UnsupportedOperationException.h file.
      
      From-SVN: r150766
      Kai Tietz committed
    • inclhack.def (hpux_imaginary_i): New fix. · 03c57948
      2009-08-14  Steve Ellcey  <sje@cup.hp.com>
      
      	* inclhack.def (hpux_imaginary_i): New fix.
      	* fixincl.x: Regenerate.
      	* tests/base/complex.h: New file.
      
      From-SVN: r150764
      Steve Ellcey committed
    • pointer.h: Add pragma system_header, use _GLIBCXX_USE_LONG_LONG, macro cleanup. · 938cfa0f
      2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/pointer.h: Add pragma system_header, use
      	_GLIBCXX_USE_LONG_LONG, macro cleanup.
      
      From-SVN: r150763
      Benjamin Kosnik committed
    • pointer.h: Add pragma system_header, use _GLIBCXX_USE_LONG_LONG, macro cleanup. · b4d64776
      2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/pointer.h: Add pragma system_header, use
      	_GLIBCXX_USE_LONG_LONG, macro cleanup.
      
      From-SVN: r150762
      Benjamin Kosnik committed
    • re PR middle-end/30789 (complex folding inexact) · 2f440f6a
      	PR middle-end/30789
      
      	* builtins.c (do_mpc_arg2): Make extern, define for any MPC
      	version.  Move declaration...
      	* real.h (do_mpc_arg2): ... here.
      	* fold-const.c (const_binop): Use MPC for complex MULT_EXPR
      	and RDIV_EXPR.
      
      testsuite:
      	* gcc.dg/torture/builtin-math-7.c: New.
      
      From-SVN: r150760
      Kaveh R. Ghazi committed
    • final.c (add_debug_prefix_map): Don't use GC memory for old_prefix and new_prefix. · fe83055d
      2009-08-14  Rafael Avila de Espindola  <espindola@google.com>
      
              * final.c (add_debug_prefix_map): Don't use GC memory for
              old_prefix and new_prefix.
      
      From-SVN: r150759
      Rafael Avila de Espindola committed
    • ipa-prop.c (compute_complex_pass_through): If we cannot compute a non-varying… · 1a15bfdc
      ipa-prop.c (compute_complex_pass_through): If we cannot compute a non-varying offset for IPA_JF_ANCESTOR punt.
      
      2009-08-14  Richard Guenther  <rguenther@suse.de>
      
      	* ipa-prop.c (compute_complex_pass_through): If we cannot
      	compute a non-varying offset for IPA_JF_ANCESTOR punt.
      
      	* gcc.c-torture/execute/20090814-1.c: New testcase.
      
      From-SVN: r150757
      Richard Guenther committed
    • c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber. · 065312cf
      	* c-lex.c (c_lex_with_flags): Increase size of local variable
      	to avoid memory clobber.
      
      From-SVN: r150756
      Ulrich Weigand committed
    • graphite_autopar: Move to libgomp testsuite. · 8cac884c
      gcc/testsuite/
              * gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite.
      
      libgomp/
              * testsuite/libgomp.graphite: Move from gcc.dg/graphite.
              * testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
              * testsuite/libgomp.graphite/graphite.exp: New.
      
      From-SVN: r150755
      David Edelsohn committed
    • re PR target/40934 (ICE in get_hard_regnum, at reg-stack.c:741) · 371015a8
      2009-08-14  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/40934
      	* config/i386/i386.c (ix86_fp_comparison_strategy):
      	Only enable/disable sahf at function granularity. 
      
      gcc/testsuite:
      2009-08-14  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/40934
      	* gcc.target/i386/pr40934.c: New.
      
      From-SVN: r150754
      Paolo Bonzini committed
    • re PR rtl-optimization/41064 (build breakage for cris-elf building newlib, ICE… · 94aca67a
      re PR rtl-optimization/41064 (build breakage for cris-elf building newlib, ICE in extract_insn, from r150726)
      
      	PR rtl-optimization/41064
      	* reload1.c (reload_as_needed): Don't call extract_insn
      	for known invalid replacements after calling
      	validate_replace_rtx_group and verify_changes.
      
      From-SVN: r150751
      Hans-Peter Nilsson committed
    • re PR target/41019 (Vector conditional move produces wrong code with -O3.) · 1262fd02
      	PR target/41019
      	* config/i386/sse.md (SSEMODE124C8): New mode iterator.
      	(vcond<SSEMODEF2P:mode>): Assert that operation is supported by
      	ix86_expand_fp_vcond.
      	(vcond<SSEMODE124C8:mode>): Use SSEMODE124C8 instead of SSEMODE124.
      	Assert that operation is supported by ix86_expand_int_vcond.
      	(vcondu<SSEMODE124C8:mode>): Ditto.
      
      testsuite/ChangeLog:
      
      	PR target/41019
      	* gcc.target/i386/pr41019.c: New test.
      
      From-SVN: r150738
      Uros Bizjak committed
    • compatibility-ldbl.cc: Include cmath. · 34d35753
      	* src/compatibility-ldbl.cc: Include cmath.
      
      From-SVN: r150736
      Uros Bizjak committed
    • decl.c (gfc_match_type_spec): Whitespace. · 0b3624f6
      2009-08-13  Steven G. Kargl  <kargl@gcc.gnu.org>
      
          * decl.c (gfc_match_type_spec): Whitespace.
      
      From-SVN: r150734
      Steven G. Kargl committed
    • re PR fortran/40955 (STDCALL attributes are not saved in the .MOD files) · 525fa323
      2009-08-13  Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/40955
      	* gfortran.dg/winapi.f90: New test.
      
      From-SVN: r150733
      Jerry DeLisle committed
    • djgpp-stdint.h: New. · 3e3877f8
      * config/i386/djgpp-stdint.h: New.
      * config.gcc (djgpp): Use it.
      
      From-SVN: r150732
      DJ Delorie committed
    • compatibility-ldbl.cc: Include tr1/functional. · 2019698b
      2009-08-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/compatibility-ldbl.cc: Include tr1/functional.
      
      From-SVN: r150731
      Benjamin Kosnik committed
    • Daily bump. · 75e1cd80
      From-SVN: r150730
      GCC Administrator committed
  4. 13 Aug, 2009 1 commit