gcc/libgomp/testsuite/libgomp.fortran
François-Xavier Coudert f489fba128 re PR fortran/33197 (Fortran 2008: math functions)
PR fortran/33197

gcc/fortran/
	* intrinsic.c (add_functions): Modify intrinsics ACOSH, ASINH,
	ATANH, ERF, ERFC and GAMMA. Add intrinsics BESSEL_{J,Y}{0,1,N},
	ERFC_SCALED, LOG_GAMMA and HYPOT.
	* intrinsic.h (gfc_check_hypot, gfc_simplify_hypot,
	gfc_resolve_hypot): New prototypes.
	* mathbuiltins.def: Add HYPOT builtin. Make complex versions of
	ACOSH, ASINH and ATANH available.
	* gfortran.h (GFC_ISYM_ERFC_SCALED, GFC_ISYM_HYPOT): New values.
	* lang.opt: Add -std=f2008 option.
	* libgfortran.h: Define GFC_STD_F2008.
	* lang-specs.h: Add .f08 and .F08 file suffixes.
	* iresolve.c (gfc_resolve_hypot): New function.
	* parse.c (parse_contained): Allow empty CONTAINS for Fortran 2008.
	* check.c (gfc_check_hypot): New function.
	* trans-intrinsic.c (gfc_intrinsic_map): Define ERFC_SCALE builtin.
	* options.c (set_default_std_flags): Allow Fortran 2008 by default.
	(form_from_filename): Add .f08 suffix.
	(gfc_handle_option): Handle -std=f2008 option.
	* simplify.c (gfc_simplify_hypot): New function.
	* gfortran.texi: Document Fortran 2008 status and file extensions.
	* intrinsic.texi: Document new BESSEL_{J,Y}{0,1,N} intrinsics,
	as well as HYPOT and ERFC_SCALED. Update documentation of ERF,
	ERFC, GAMMA, LGAMMA, ASINH, ACOSH and ATANH.
	* invoke.texi: Document the new -std=f2008 option.

libgomp/
	* testsuite/libgomp.fortran/fortran.exp: Add .f08 and
	.F08 file suffixes.

gcc/testsuite/
	* gfortran.dg/gomp/gomp.exp: Add .f08 and .F08 file suffixes.
	* gfortran.dg/dg.exp: Likewise.
	* gfortran.dg/vect/vect.exp: Likewise.
	* gfortran.fortran-torture/execute/execute.exp: Likewise.
	* gfortran.fortran-torture/compile/compile.exp: Likewise.
	* gfortran.dg/gamma_1.f90: Also check log_gamma.
	* gfortran.dg/invalid_contains_1.f90: Remove warning about
	empty CONTAINS.
	* gfortran.dg/gamma_2.f90: Add a few error messages.
	* gfortran.dg/invalid_contains_2.f90: Remove warning about
	empty CONTAINS.
	* gfortran.dg/gamma_3.f90: Adjust error message.
	* gfortran.dg/gamma_4.f90: Test for log_gamma instead of lgamma.
	* gfortran.dg/bind_c_usage_9.f03: Adjust error messages.
	* gfortran.dg/bessel_1.f90: New test.
	* gfortran.dg/recursive_check_3.f90: Remove warnings.
	* gfortran.dg/besxy.f90: Also check for new F2008 intrinsics.
	* gfortran.dg/derived_function_interface_1.f90: Remove warning.
	* gfortran.dg/contains_empty_1.f03: New test.
	* gfortran.dg/erfc_scaled_1.f90: New test.
	* gfortran.dg/hypot_1.f90: New test.
	* gfortran.dg/contains_empty_2.f03: New test.

libgfortran/
	* intrinsics/erfc_scaled_inc.c: New file.
	* intrinsics/erfc_scaled.c: New file.
	* gfortran.map (GFORTRAN_1.0): Add _gfortran_erfc_scaled_r*.
	* Makefile.am: Add intrinsics/erfc_scaled.c.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r132846
2008-03-03 23:46:20 +00:00
..
appendix-a a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
character1.f90
character2.f90
condinc1.f re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc1.inc re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc2.f re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc3.f90 re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc4.f90 re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
crayptr1.f90
crayptr2.f90 re PR target/32765 (Testsuite failures due to undefined symbol ___emutls_get_address) 2007-12-17 19:30:08 +00:00
do1.f90
do2.f90
fortran.exp re PR fortran/33197 (Fortran 2008: math functions) 2008-03-03 23:46:20 +00:00
jacobi.f
lib1.f90
lib2.f
lib3.f
nestedfn1.f90
nestedfn2.f90
nestedfn3.f90 re PR middle-end/25261 ([gomp] Nested function calls in #pragma omp parallel blocks) 2006-09-26 20:10:58 +02:00
omp_atomic1.f90
omp_atomic2.f90
omp_cond1.f
omp_cond2.f
omp_cond3.F90
omp_cond4.F90
omp_hello.f
omp_orphan.f
omp_parse1.f90
omp_parse2.f90
omp_parse3.f90 re PR libgomp/33275 (Transient libgomp.fortran/omp_parse3.f90 -O0 failure) 2007-10-25 22:25:12 +02:00
omp_parse4.f90
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
pr25162.f
pr25219.f90
pr27395-1.f90 re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in Fortran) 2006-05-03 14:51:33 +02:00
pr27395-2.f90 re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in Fortran) 2006-05-03 14:51:33 +02:00
pr27416-1.f90 re PR middle-end/27416 (ICE on invalid firstprivate/lastprivate) 2006-05-15 11:59:30 +02:00
pr27916-1.f90 re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
pr27916-2.f90 re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
pr28390.f re PR fortran/28390 (Broken !$omp parallel do lastprivate(iterationvar)) 2006-07-16 22:19:27 +02:00
pr29629.f90 re PR fortran/29629 (ICE on OpenMP-enabled program (gfc_conv_variable, at fortran/trans-expr.c:404)) 2006-10-29 11:27:39 +01:00
pr32359.f90 re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined)) 2007-07-05 14:51:51 +02:00
pr32550.f90 re PR target/32765 (Testsuite failures due to undefined symbol ___emutls_get_address) 2007-08-15 13:11:40 +00:00
pr33880.f90 re PR middle-end/33880 (ICE: in extract_omp_for_data, at omp-low.c:162) 2008-01-25 13:54:42 +01:00
pr34020.f90 re PR fortran/34020 (Bogus codegen for openmp atomics w/ indirects operands on IPF) 2007-11-10 08:51:55 +01:00
pr35130.f90 re PR middle-end/35130 (OpenMP: Private variable passed to subroutine) 2008-02-15 18:36:43 +01:00
reduction1.f90
reduction2.f90
reduction3.f90 reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow. 2006-09-08 20:57:55 +00:00
reduction4.f90 reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow. 2006-09-08 20:57:55 +00:00
reduction5.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
reduction6.f90
reference1.f90
reference2.f90
retval1.f90
retval2.f90
sharing1.f90
sharing2.f90
stack.f90 openmp_stack.f90: Removed. 2007-09-28 15:22:18 +02:00
threadprivate1.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
threadprivate2.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
threadprivate3.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
vla1.f90
vla2.f90
vla3.f90
vla4.f90
vla5.f90
vla6.f90
vla7.f90
workshare1.f90