1. 13 Jun, 2006 6 commits
  2. 12 Jun, 2006 18 commits
  3. 11 Jun, 2006 2 commits
  4. 10 Jun, 2006 5 commits
  5. 09 Jun, 2006 9 commits
    • acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for the availability of… · d8bc9819
      acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for the availability of "/dev/random" and "/dev/urandom".
      
      2006-06-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for
      	the availability of "/dev/random" and "/dev/urandom".
      	* configure.ac: Use it.
      	* include/tr1/random (random_device): Implement, a fall-back for
      	systems not providing "/dev/random" and "/dev/urandom" included.
      	* testsuite/tr1/5_numerical_facilities/random/random_device/
      	cons/default.cc: New.
      	* testsuite/tr1/5_numerical_facilities/random/random_device/
      	cons/token.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/random_device/
      	requirements/typedefs.cc: Likewise.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      
      	* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
      	cons/gen1.cc: Minor tweak, add bool test.
      
      From-SVN: r114529
      Paolo Carlini committed
    • re PR fortran/24558 (ENTRY doesn't work in module procedures) · 1a492601
      2006-06-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/24558
      	PR fortran/20877
      	PR fortran/25047
      	* decl.c (get_proc_name): Add new argument to flag that a
      	module function entry is being treated. If true, correct
      	error condition, add symtree to module namespace and add
      	a module procedure.
      	(gfc_match_function_decl, gfc_match_entry,
      	gfc_match_subroutine): Use the new argument in calls to
      	get_proc_name.
      	* resolve.c (resolve_entries): ENTRY symbol reference to
      	to master entry namespace if a module function.
      	* trans-decl.c (gfc_create_module_variable): Return if
      	the symbol is an entry.
      	* trans-exp.c (gfc_conv_variable): Check that parent_decl
      	is not NULL.
      
      2006-06-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/24558
      	* gfortran.dg/entry_6.f90: New test.
      
      	PR fortran/20877
      	PR fortran/25047
      	* gfortran.dg/entry_7.f90: New test.
      
      From-SVN: r114526
      Paul Thomas committed
    • env.c (gomp_nthreads_var): Change to unsigned long. · d0d1b24d
              * env.c (gomp_nthreads_var): Change to unsigned long.
              (gomp_run_sched_chunk): Likewise.
              (parse_unsigned_long): Rename from parse_num_threads and generalize.
              (initialize_env): Initialize gomp_thread_attr.
              * libgomp.h (gomp_nthreads_var): Update decl.
              (gomp_run_sched_chunk): Likewise.
              (gomp_thread_attr): Declare.
              * team.c (gomp_thread_attr): Export.
              (initialize_team): Don't initialize it.
      
      From-SVN: r114525
      Richard Henderson committed
    • re PR libgcj/27730 (Thread.getId() needs implemented) · 45559ef1
      	PR libgcj/27730:
      	* java/lang/Thread.java (threadId): New field.
      	(nextThreadId): New static field.
      	(Thread): Initialize new field.
      	(getId): New method.
      
      From-SVN: r114524
      Tom Tromey committed
    • * java/lang/Class.java (getClassLoaderInternal): Now native. · 0cf32584
      From-SVN: r114523
      Tom Tromey committed
    • 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com> · 1bc49a5e
      	* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
      	(getDefaultScreenDevice): Remove unnecessary GCJ local hack.
      	* gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
      	Likewise.
      	* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
      	Likewise.
      
      From-SVN: r114521
      Thomas Fitzsimmons committed
    • re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) · cd75853e
      	PR fortran/27916
      	* trans-openmp.c (gfc_omp_clause_default_ctor): New function.
      	* trans.h (gfc_omp_clause_default_ctor): New prototype.
      	* f95-lang.c (LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR): Define.
      
      	* testsuite/libgomp.fortran/pr27916-1.f90: New test.
      	* testsuite/libgomp.fortran/pr27916-2.f90: New test.
      
      From-SVN: r114520
      Jakub Jelinek committed
    • re PR preprocessor/27746 (ICE on openmp code when using _Pragma from macro) · 1c90c6f9
      	PR preprocessor/27746
      	* directives.c (do_pragma): Handle pragma with valid namespace
      	and invalid name coming from macro expansion.
      	* directives.c (destringize_and_run): Initialize next field in
      	context.
      
      	PR c/27747
      	PR c++/27748
      	* directives.c (destringize_and_run): Set NO_EXPAND on the
      	tokens.
      
      	* macro.c (_cpp_backup_tokens): Fix comment typo.
      testsuite/
      	PR c/27747
      	* gcc.dg/cpp/_Pragma6.c: New test.
      
      	PR c++/27748
      	* g++.dg/cpp/_Pragma1.C: New test.
      
      	PR preprocessor/27746
      	* gcc.dg/gomp/macro-3.c: New test.
      	* gcc.dg/gomp/macro-4.c: New test.
      	* g++.dg/gomp/macro-3.C: New test.
      	* g++.dg/gomp/macro-4.C: New test.
      
      From-SVN: r114519
      Jakub Jelinek committed