1. 17 Aug, 2009 14 commits
    • a-caldel-vms.adb, [...]: Minor code reorganization (use conditional expressions). · 1d5a85bd
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* a-caldel-vms.adb, a-calend-vms.adb, a-calfor.adb, a-cdlili.adb,
      	a-chahan.adb, a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code
      	reorganization (use conditional expressions).
      
      From-SVN: r150834
      Robert Dewar committed
    • [multiple changes] · b01bf852
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* tbuild.adb: Minor reformatting
      
      2009-08-17  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to
      	Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary.
      	Use Tbuild.Make_Temporary to create entity for the temporary.
      
      From-SVN: r150832
      Arnaud Charlet committed
    • make.adb: Add ??? comment. · 06274cd5
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* make.adb: Add ??? comment.
      	Code clean up.
      
      From-SVN: r150831
      Robert Dewar committed
    • [multiple changes] · 1def9494
      2009-08-17  Thomas Quinot  <quinot@adacore.com>
      
      	* tbuild.adb: Minor reformatting
      
      2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sysdep.c (__gnat_localtime_tzoff): Complete previous change.
      
      From-SVN: r150830
      Arnaud Charlet committed
    • make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee… · 579fab00
      make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch to avoid spawning an extra gcc...
      
      2009-08-17  Arnaud Charlet  <charlet@adacore.com>
      
      	* make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change
      	and ignore -mieee switch to avoid spawning an extra gcc in this case.
      
      From-SVN: r150829
      Arnaud Charlet committed
    • [multiple changes] · 5568b57c
      2009-08-17  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already
      	exist, as is the case for synchronized types, use the type of the
      	discriminal in the parameter specification, to prevent a spurious
      	subtype mismatch in gigi.
      
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* prj-env.adb: Minor reformatting
      	* make.adb: Minor reformatting
      	Comment updates
      
      2009-08-17  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch7.adb (Wrap_Transient_Expression): Update comments.
      
      From-SVN: r150828
      Arnaud Charlet committed
    • 2009-08-17 Emmanuel Briot <briot@adacore.com> · 48eff283
      	* prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb
      	(Processing_Flags.Require_Obj_Dirs): new field, which controls whether
      	object directories must be present. In the case of gprclean at least,
      	these are optional (if they do not exist there is nothing to clean)
      
      From-SVN: r150827
      Emmanuel Briot committed
    • [multiple changes] · 88eb6e62
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* prj-env.adb: Minor reformatting
      	* sem_ch3.adb: Minor reformatting
      
      2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of
      	the time zone since VxWorks chose positive values to represent west
      	time zones and negative for east zones.
      
      From-SVN: r150826
      Arnaud Charlet committed
    • New test. · 23532a92
      From-SVN: r150825
      Arnaud Charlet committed
    • [multiple changes] · 89c273b4
      2009-08-17  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Access_Definition): Do not create an Itype reference for
      	an anonymous access type whose designated type is generic.
      
      2009-08-17  Arnaud Charlet  <charlet@adacore.com>
      
      	* comperr.adb (Compiler_Abort): Do not generate a bug box when in
      	codepeer mode, friendlier.
      
      From-SVN: r150824
      Arnaud Charlet committed
    • re PR fortran/40877 (memory leaks with gfc_charlen?) · b76e28c6
      2009-08-17  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/40877
      	* array.c (gfc_resolve_character_array_constructor): Add NULL argument
      	to gfc_new_charlen.
      	* decl.c (add_init_expr_to_sym,variable_decl,match_char_spec,
      	gfc_match_implicit): Ditto.
      	* expr.c (simplify_const_ref): Fix memory leak.
      	(gfc_simplify_expr): Add NULL argument to gfc_new_charlen.
      	* gfortran.h (gfc_new_charlen): Modified prototype.
      	* iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL
      	argument to gfc_new_charlen.
      	* module.c (mio_charlen): Ditto.
      	* resolve.c (gfc_resolve_substring_charlen,
      	gfc_resolve_character_operator,fixup_charlen): Ditto.
      	(resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen.
      	* symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of
      	an existing charlen).
      	(gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak.
      	(gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen.
      	* trans-decl.c (create_function_arglist): Fix memory leak.
      
      From-SVN: r150823
      Janus Weil committed
    • * config.sub, config.guess: Update from upstream sources. · e9d9afef
      From-SVN: r150822
      Ben Elliston committed
    • mips.exp: Add terminology section to comment at the top of the file. · 4e9eeaad
      	* gcc.target/mips/mips.exp: Add terminology section to comment
      	at the top of the file.  Fix typos.
      
      From-SVN: r150821
      Adam Nemet committed
    • Daily bump. · cd0d2bec
      From-SVN: r150820
      GCC Administrator committed
  2. 16 Aug, 2009 15 commits
  3. 15 Aug, 2009 5 commits
  4. 14 Aug, 2009 6 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