gcc/libgomp
Tobias Burnus 5349080dd3 re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined))
gcc/fortran/
2007-07-05  Daniel Franke  <franke.daniel@gmail.com>
	    Tobias Burnus  <burnus@net-b.de>

	PR fortran/32359
	* gfortran.h (symbol_attribute): Change save attribute into an enum.
	* decl.c (add_init_expr_to_sym): Set it to SAVE_IMPLICIT.
	* symbol.c (gfc_add_save): Check for SAVE_EXPLICIT.
	* resolve.c (resolve_fl_variable): Check for SAVE_EXPLICIT.
	(resolve_symbol): Allow OMP threadprivate with
	initialization SAVEd and save_all variable.
	* trans-decl.c (gfc_finish_var_decl): Remove obsolete sym->value check.


libgomp/
2007-07-05  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32359
	* testsuite/libgomp.fortran/pr32359.f90: New.

gcc/testsuite/
2007-07-05  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32359
	* gfortran.dg/module_md5_1.f90: Update MD5 number.

From-SVN: r126366
2007-07-05 14:51:51 +02:00
..
config re PR libgomp/26308 (libgomp bootstrap failure on Tru64 UNIX V4.0F) 2007-07-02 14:38:13 +00:00
testsuite re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined)) 2007-07-05 14:51:51 +02:00
acinclude.m4 acinclude.m4: Adjust regular expression for ld version extraction. 2007-03-18 11:17:44 +00:00
aclocal.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
alloc.c [multiple changes] 2006-01-18 14:21:25 -05:00
barrier.c [multiple changes] 2006-01-18 14:21:25 -05:00
ChangeLog re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined)) 2007-07-05 14:51:51 +02:00
config.h.in libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
configure configure: Regenerate. 2007-06-02 08:18:15 +00:00
configure.ac libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
configure.tgt re PR libgomp/28482 (Cannot use libgomp in shared library) 2007-05-04 21:21:18 +02:00
critical.c critical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t is larger than pointer and... 2006-06-21 10:59:44 +02:00
env.c libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
error.c [multiple changes] 2006-01-18 14:21:25 -05:00
fortran.c acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test. 2006-10-06 08:25:32 +00:00
iter.c [multiple changes] 2006-01-18 14:21:25 -05:00
libgomp_f.h.in re PR libgomp/25884 (libgomp should not require perl to compile) 2006-01-25 11:17:57 -08:00
libgomp_g.h [multiple changes] 2006-01-18 14:21:25 -05:00
libgomp.h libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
libgomp.map [multiple changes] 2006-01-18 14:21:25 -05:00
libgomp.spec.in [multiple changes] 2006-01-18 14:21:25 -05:00
libgomp.texi libgomp.texi (GOMP_CPU_AFFINITY): Updated. 2007-04-19 15:36:34 -04:00
loop.c re PR middle-end/29947 (OpenMP parallel for fails for reversed loop range) 2006-12-04 11:26:00 +01:00
Makefile.am Makefile.am: Add -I .. 2007-04-14 19:49:42 +00:00
Makefile.in ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
omp_lib.f90.in re PR libgomp/25884 (libgomp should not require perl to compile) 2006-01-25 11:17:57 -08:00
omp_lib.h.in re PR libgomp/25884 (libgomp should not require perl to compile) 2006-01-25 11:17:57 -08:00
omp.h.in re PR libgomp/25884 (libgomp should not require perl to compile) 2006-01-25 11:17:57 -08:00
ordered.c [multiple changes] 2006-01-18 14:21:25 -05:00
parallel.c [multiple changes] 2006-01-18 14:21:25 -05:00
sections.c re PR libgomp/32468 (number of threads in a parallel region depends on number of SECTIONs and MAX_THREADS) 2007-07-02 21:19:28 +02:00
single.c [multiple changes] 2006-01-18 14:21:25 -05:00
team.c team.c (gomp_team_start): Fix setting up thread_attr stack size. 2007-06-07 22:16:53 +02:00
work.c [multiple changes] 2006-01-18 14:21:25 -05:00