summaryrefslogtreecommitdiffstats
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* 2011-09-10 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-09-10100-198/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/49479 * generated/m4/ifunction.m4: Always call internal_malloc_size even when there is a zero-sized return array. * generated/generated/maxloc1_16_i16.c: Regenerated. * generated/generated/maxloc1_16_i1.c: Regenerated. * generated/generated/maxloc1_16_i2.c: Regenerated. * generated/generated/maxloc1_16_i4.c: Regenerated. * generated/generated/maxloc1_16_i8.c: Regenerated. * generated/generated/maxloc1_16_r10.c: Regenerated. * generated/generated/maxloc1_16_r16.c: Regenerated. * generated/generated/maxloc1_16_r4.c: Regenerated. * generated/generated/maxloc1_16_r8.c: Regenerated. * generated/generated/maxloc1_4_i16.c: Regenerated. * generated/generated/maxloc1_4_i1.c: Regenerated. * generated/generated/maxloc1_4_i2.c: Regenerated. * generated/generated/maxloc1_4_i4.c: Regenerated. * generated/generated/maxloc1_4_i8.c: Regenerated. * generated/generated/maxloc1_4_r10.c: Regenerated. * generated/generated/maxloc1_4_r16.c: Regenerated. * generated/generated/maxloc1_4_r4.c: Regenerated. * generated/generated/maxloc1_4_r8.c: Regenerated. * generated/generated/maxloc1_8_i16.c: Regenerated. * generated/generated/maxloc1_8_i1.c: Regenerated. * generated/generated/maxloc1_8_i2.c: Regenerated. * generated/generated/maxloc1_8_i4.c: Regenerated. * generated/generated/maxloc1_8_i8.c: Regenerated. * generated/generated/maxloc1_8_r10.c: Regenerated. * generated/generated/maxloc1_8_r16.c: Regenerated. * generated/generated/maxloc1_8_r4.c: Regenerated. * generated/generated/maxloc1_8_r8.c: Regenerated. * generated/generated/maxval_i16.c: Regenerated. * generated/generated/maxval_i1.c: Regenerated. * generated/generated/maxval_i2.c: Regenerated. * generated/generated/maxval_i4.c: Regenerated. * generated/generated/maxval_i8.c: Regenerated. * generated/generated/maxval_r10.c: Regenerated. * generated/generated/maxval_r16.c: Regenerated. * generated/generated/maxval_r4.c: Regenerated. * generated/generated/maxval_r8.c: Regenerated. * generated/generated/minloc1_16_i16.c: Regenerated. * generated/generated/minloc1_16_i1.c: Regenerated. * generated/generated/minloc1_16_i2.c: Regenerated. * generated/generated/minloc1_16_i4.c: Regenerated. * generated/generated/minloc1_16_i8.c: Regenerated. * generated/generated/minloc1_16_r10.c: Regenerated. * generated/generated/minloc1_16_r16.c: Regenerated. * generated/generated/minloc1_16_r4.c: Regenerated. * generated/generated/minloc1_16_r8.c: Regenerated. * generated/generated/minloc1_4_i16.c: Regenerated. * generated/generated/minloc1_4_i1.c: Regenerated. * generated/generated/minloc1_4_i2.c: Regenerated. * generated/generated/minloc1_4_i4.c: Regenerated. * generated/generated/minloc1_4_i8.c: Regenerated. * generated/generated/minloc1_4_r10.c: Regenerated. * generated/generated/minloc1_4_r16.c: Regenerated. * generated/generated/minloc1_4_r4.c: Regenerated. * generated/generated/minloc1_4_r8.c: Regenerated. * generated/generated/minloc1_8_i16.c: Regenerated. * generated/generated/minloc1_8_i1.c: Regenerated. * generated/generated/minloc1_8_i2.c: Regenerated. * generated/generated/minloc1_8_i4.c: Regenerated. * generated/generated/minloc1_8_i8.c: Regenerated. * generated/generated/minloc1_8_r10.c: Regenerated. * generated/generated/minloc1_8_r16.c: Regenerated. * generated/generated/minloc1_8_r4.c: Regenerated. * generated/generated/minloc1_8_r8.c: Regenerated. * generated/generated/minval_i16.c: Regenerated. * generated/generated/minval_i1.c: Regenerated. * generated/generated/minval_i2.c: Regenerated. * generated/generated/minval_i4.c: Regenerated. * generated/generated/minval_i8.c: Regenerated. * generated/generated/minval_r10.c: Regenerated. * generated/generated/minval_r16.c: Regenerated. * generated/generated/minval_r4.c: Regenerated. * generated/generated/minval_r8.c: Regenerated. * generated/generated/product_c10.c: Regenerated. * generated/generated/product_c16.c: Regenerated. * generated/generated/product_c4.c: Regenerated. * generated/generated/product_c8.c: Regenerated. * generated/generated/product_i16.c: Regenerated. * generated/generated/product_i1.c: Regenerated. * generated/generated/product_i2.c: Regenerated. * generated/generated/product_i4.c: Regenerated. * generated/generated/product_i8.c: Regenerated. * generated/generated/product_r10.c: Regenerated. * generated/generated/product_r16.c: Regenerated. * generated/generated/product_r4.c: Regenerated. * generated/generated/product_r8.c: Regenerated. * generated/generated/sum_c10.c: Regenerated. * generated/generated/sum_c16.c: Regenerated. * generated/generated/sum_c4.c: Regenerated. * generated/generated/sum_c8.c: Regenerated. * generated/generated/sum_i16.c: Regenerated. * generated/generated/sum_i1.c: Regenerated. * generated/generated/sum_i2.c: Regenerated. * generated/generated/sum_i4.c: Regenerated. * generated/generated/sum_i8.c: Regenerated. * generated/generated/sum_r10.c: Regenerated. * generated/generated/sum_r16.c: Regenerated. * generated/generated/sum_r4.c: Regenerated. * generated/generated/sum_r8.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178748 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-09-01 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-09-015-8/+7
| | | | | | | | | | | * generated/bessel_r4.c: Regenerated. * generated/bessel_r8.c: Regenerated. * generated/bessel_r10.c: Regenerated. * generated/bessel_r16.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178425 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran/burnus2011-08-294-12/+62
| | | | | | | | | | | | | | | | | | | | | | 2011-08-29 Tobias Burnus <burnus@net-b.de> * trans-decl.c (generate_coarray_sym_init): Use GFC_CAF_COARRAY_STATIC for static coarrays. libgfortan/ 2011-08-29 Tobias Burnus <burnus@net-b.de> * caf/libcaf.h (_gfortran_caf_deregister): Update prototype. * caf/mpi.c (_gfortran_caf_deregister): Modify prototype, actually free memory and add error diagnostic. (_gfortran_caf_finalize): Add additional free calls. * caf/single.c (_gfortran_caf_deregister): Modify prototype, actually free memory and add error diagnostic. (_gfortran_caf_finalize): Add additional free calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178193 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-08-29 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-08-294-1/+35
| | | | | | | | | | | | | | | | | | PR libfortran/50192 * intrinsics/string_intrinsics.c (memcmp_char4): New function. * intrinsics/string_intrinsics_inc.c: New macro MEMCMP, either set to memcmp or memcmp_char4. (compare_string): Use MEMCMP, with correct size for it. * libgfortran.h: Add prototype for memcmp_char4. 2011-08-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/50192 * gfortran.dg/widechar_compare_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178173 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-08-28 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-08-28162-169/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/40866 * generated/iall_i1.c: Regenerated. * generated/iall_i16.c: Regenerated. * generated/iall_i2.c: Regenerated. * generated/iall_i4.c: Regenerated. * generated/iall_i8.c: Regenerated. * generated/iany_i1.c: Regenerated. * generated/iany_i16.c: Regenerated. * generated/iany_i2.c: Regenerated. * generated/iany_i4.c: Regenerated. * generated/iany_i8.c: Regenerated. * generated/iparity_i1.c: Regenerated. * generated/iparity_i16.c: Regenerated. * generated/iparity_i2.c: Regenerated. * generated/iparity_i4.c: Regenerated. * generated/iparity_i8.c: Regenerated. * generated/norm2_r10.c: Regenerated. * generated/norm2_r16.c: Regenerated. * generated/norm2_r4.c: Regenerated. * generated/norm2_r8.c: Regenerated. * generated/parity_l1.c: Regenerated. * generated/parity_l16.c: Regenerated. * generated/parity_l2.c: Regenerated. * generated/parity_l4.c: Regenerated. * generated/parity_l8.c: Regenerated. * generated/misc_specifics.F90: Regenerated (comment change). * generated/_abs_c10.F90: Regenerated (comment change). * generated/_abs_c16.F90: Regenerated (comment change). * generated/_abs_c4.F90: Regenerated (comment change). * generated/_abs_c8.F90: Regenerated (comment change). * generated/_abs_i16.F90: Regenerated (comment change). * generated/_abs_i4.F90: Regenerated (comment change). * generated/_abs_i8.F90: Regenerated (comment change). * generated/_abs_r10.F90: Regenerated (comment change). * generated/_abs_r16.F90: Regenerated (comment change). * generated/_abs_r4.F90: Regenerated (comment change). * generated/_abs_r8.F90: Regenerated (comment change). * generated/_acosh_r10.F90: Regenerated (comment change). * generated/_acosh_r16.F90: Regenerated (comment change). * generated/_acosh_r4.F90: Regenerated (comment change). * generated/_acosh_r8.F90: Regenerated (comment change). * generated/_acos_r10.F90: Regenerated (comment change). * generated/_acos_r16.F90: Regenerated (comment change). * generated/_acos_r4.F90: Regenerated (comment change). * generated/_acos_r8.F90: Regenerated (comment change). * generated/_aimag_c10.F90: Regenerated (comment change). * generated/_aimag_c16.F90: Regenerated (comment change). * generated/_aimag_c4.F90: Regenerated (comment change). * generated/_aimag_c8.F90: Regenerated (comment change). * generated/_aint_r10.F90: Regenerated (comment change). * generated/_aint_r16.F90: Regenerated (comment change). * generated/_aint_r4.F90: Regenerated (comment change). * generated/_aint_r8.F90: Regenerated (comment change). * generated/_anint_r10.F90: Regenerated (comment change). * generated/_anint_r16.F90: Regenerated (comment change). * generated/_anint_r4.F90: Regenerated (comment change). * generated/_anint_r8.F90: Regenerated (comment change). * generated/_asinh_r10.F90: Regenerated (comment change). * generated/_asinh_r16.F90: Regenerated (comment change). * generated/_asinh_r4.F90: Regenerated (comment change). * generated/_asinh_r8.F90: Regenerated (comment change). * generated/_asin_r10.F90: Regenerated (comment change). * generated/_asin_r16.F90: Regenerated (comment change). * generated/_asin_r4.F90: Regenerated (comment change). * generated/_asin_r8.F90: Regenerated (comment change). * generated/_atan2_r10.F90: Regenerated (comment change). * generated/_atan2_r16.F90: Regenerated (comment change). * generated/_atan2_r4.F90: Regenerated (comment change). * generated/_atan2_r8.F90: Regenerated (comment change). * generated/_atanh_r10.F90: Regenerated (comment change). * generated/_atanh_r16.F90: Regenerated (comment change). * generated/_atanh_r4.F90: Regenerated (comment change). * generated/_atanh_r8.F90: Regenerated (comment change). * generated/_atan_r10.F90: Regenerated (comment change). * generated/_atan_r16.F90: Regenerated (comment change). * generated/_atan_r4.F90: Regenerated (comment change). * generated/_atan_r8.F90: Regenerated (comment change). * generated/_conjg_c10.F90: Regenerated (comment change). * generated/_conjg_c16.F90: Regenerated (comment change). * generated/_conjg_c4.F90: Regenerated (comment change). * generated/_conjg_c8.F90: Regenerated (comment change). * generated/_cosh_r10.F90: Regenerated (comment change). * generated/_cosh_r16.F90: Regenerated (comment change). * generated/_cosh_r4.F90: Regenerated (comment change). * generated/_cosh_r8.F90: Regenerated (comment change). * generated/_cos_c10.F90: Regenerated (comment change). * generated/_cos_c16.F90: Regenerated (comment change). * generated/_cos_c4.F90: Regenerated (comment change). * generated/_cos_c8.F90: Regenerated (comment change). * generated/_cos_r10.F90: Regenerated (comment change). * generated/_cos_r16.F90: Regenerated (comment change). * generated/_cos_r4.F90: Regenerated (comment change). * generated/_cos_r8.F90: Regenerated (comment change). * generated/_dim_i16.F90: Regenerated (comment change). * generated/_dim_i4.F90: Regenerated (comment change). * generated/_dim_i8.F90: Regenerated (comment change). * generated/_dim_r10.F90: Regenerated (comment change). * generated/_dim_r16.F90: Regenerated (comment change). * generated/_dim_r4.F90: Regenerated (comment change). * generated/_dim_r8.F90: Regenerated (comment change). * generated/_exp_c10.F90: Regenerated (comment change). * generated/_exp_c16.F90: Regenerated (comment change). * generated/_exp_c4.F90: Regenerated (comment change). * generated/_exp_c8.F90: Regenerated (comment change). * generated/_exp_r10.F90: Regenerated (comment change). * generated/_exp_r16.F90: Regenerated (comment change). * generated/_exp_r4.F90: Regenerated (comment change). * generated/_exp_r8.F90: Regenerated (comment change). * generated/_log10_r10.F90: Regenerated (comment change). * generated/_log10_r16.F90: Regenerated (comment change). * generated/_log10_r4.F90: Regenerated (comment change). * generated/_log10_r8.F90: Regenerated (comment change). * generated/_log_c10.F90: Regenerated (comment change). * generated/_log_c16.F90: Regenerated (comment change). * generated/_log_c4.F90: Regenerated (comment change). * generated/_log_c8.F90: Regenerated (comment change). * generated/_log_r10.F90: Regenerated (comment change). * generated/_log_r16.F90: Regenerated (comment change). * generated/_log_r4.F90: Regenerated (comment change). * generated/_log_r8.F90: Regenerated (comment change). * generated/_mod_i16.F90: Regenerated (comment change). * generated/_mod_i4.F90: Regenerated (comment change). * generated/_mod_i8.F90: Regenerated (comment change). * generated/_mod_r10.F90: Regenerated (comment change). * generated/_mod_r16.F90: Regenerated (comment change). * generated/_mod_r4.F90: Regenerated (comment change). * generated/_mod_r8.F90: Regenerated (comment change). * generated/_sign_i16.F90: Regenerated (comment change). * generated/_sign_i4.F90: Regenerated (comment change). * generated/_sign_i8.F90: Regenerated (comment change). * generated/_sign_r10.F90: Regenerated (comment change). * generated/_sign_r16.F90: Regenerated (comment change). * generated/_sign_r4.F90: Regenerated (comment change). * generated/_sign_r8.F90: Regenerated (comment change). * generated/_sinh_r10.F90: Regenerated (comment change). * generated/_sinh_r16.F90: Regenerated (comment change). * generated/_sinh_r4.F90: Regenerated (comment change). * generated/_sinh_r8.F90: Regenerated (comment change). * generated/_sin_c10.F90: Regenerated (comment change). * generated/_sin_c16.F90: Regenerated (comment change). * generated/_sin_c4.F90: Regenerated (comment change). * generated/_sin_c8.F90: Regenerated (comment change). * generated/_sin_r10.F90: Regenerated (comment change). * generated/_sin_r16.F90: Regenerated (comment change). * generated/_sin_r4.F90: Regenerated (comment change). * generated/_sin_r8.F90: Regenerated (comment change). * generated/_sqrt_c10.F90: Regenerated (comment change). * generated/_sqrt_c16.F90: Regenerated (comment change). * generated/_sqrt_c4.F90: Regenerated (comment change). * generated/_sqrt_c8.F90: Regenerated (comment change). * generated/_sqrt_r10.F90: Regenerated (comment change). * generated/_sqrt_r16.F90: Regenerated (comment change). * generated/_sqrt_r4.F90: Regenerated (comment change). * generated/_sqrt_r8.F90: Regenerated (comment change). * generated/_tanh_r10.F90: Regenerated (comment change). * generated/_tanh_r16.F90: Regenerated (comment change). * generated/_tanh_r4.F90: Regenerated (comment change). * generated/_tanh_r8.F90: Regenerated (comment change). * generated/_tan_r10.F90: Regenerated (comment change). * generated/_tan_r16.F90: Regenerated (comment change). * generated/_tan_r4.F90: Regenerated (comment change). * generated/_tan_r8.F90: Regenerated (comment change). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178140 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-08-18 Tobias Burnus <burnus@net-b.de>burnus2011-08-182-10/+6
| | | | | | | | | | | | | | PR fortran/50109 * io/list_read.c (eat_separator): Fix skipping over "!" lines. 2011-08-18 Tobias Burnus <burnus@net-b.de> PR fortran/50109 * gfortran.dg/namelist_73.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177858 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgfortran/intrinsics/ctime.c: Include <stdlib.h>.schwab2011-07-234-0/+9
| | | | | | | | * libgfortran/intrinsics/getlog.c: Likewise. * libgfortran/runtime/stop.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176675 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-23 Tobias Burnus <burnus@net-b.de>burnus2011-07-222-1/+6
| | | | | | | | | | | | | | | PR fortran/49791 * io/list_read.c (nml_parse_qualifier): Remove check to enabled extended read for another case. 2011-07-23 Tobias Burnus <burnus@net-b.de> PR fortran/49791 * gfortran.dg/namelist_72.f: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176661 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-15 Daniel Carrera <dcarrera@gmail.com>dcarrera2011-07-153-2/+7
| | | | | | | * caf/mpi.c (caf_runtime_error): Change fprintf to vfprintf. * caf/single.c (caf_runtime_error): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176340 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove error parameter from caf_runtime_error. Add caf_runtime_error to ↵dcarrera2011-07-143-12/+39
| | | | | | single.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176278 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 49296 List read, EOF without preceding separatorjb2011-07-132-6/+13
| | | | | | | | | | | | | | | | | | | | | 2011-07-13 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/49296 * io/list_read.c (read_logical): Don't error out if a valid value is followed by EOF instead of a normal separator. (read_integer): Likewise. testsuite: 2011-07-13 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/49296 * gfortran.dg/read_list_eof_1.f90: Add tests for integer, real, and logical reads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176245 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-09 Tobias Burnus <burnus@net-b.de>burnus2011-07-092-1/+6
| | | | | | | | | * runtime/error.c (sys_abort): Change argument list from "()" to "(void)". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176109 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-09 Tobias Burnus <burnus@net-b.de>burnus2011-07-092-46/+83
| | | | | | | | | | | | | | Daniel Carrera <dcarrera@gmail.com> * caf/mpi.c (runtime_error): New function. (_gfortran_caf_register): Use it. (_gfortran_caf_sync_all): Use it, add STAT_STOPPED_IMAGE as possible status value. (_gfortran_caf_sync_images): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176080 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-07 Tobias Burnus <burnus@net-b.de>burnus2011-07-074-8/+105
| | | | | | | | | | | | | | | | | | | * trans.c (gfc_allocate_with_status): Call _gfortran_caf_register with NULL arguments for (new) stat=/errmsg= arguments. 2011-07-07 Tobias Burnus <burnus@net-b.de> * libcaf.h (__attribute__, unlikely, likely): New macros. (caf_register_t): Update comment. (_gfortran_caf_register): Add stat, errmsg, errmsg_len arguments. * single.c (_gfortran_caf_register): Ditto; add error diagnostics. * mpi.c (_gfortran_caf_register): Ditto. (caf_is_finalized): New global variable. (_gfortran_caf_finalize): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175966 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-05 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-07-0543-267/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/memory.c (internal_malloc_size): If size is zero, allocate a single byte. * m4/pack.m4 (pack_'rtype_code`): Don't check for zero size for the argument of internal_malloc_size. * m4/spread.m4 (spread_'rtype_code`): Likewise. * m4/eoshift1.m4 (eoshift1): Don't allocate twice. Don't check for zero size for the argument of internal_malloc_size. * m4/eoshift3.m4: Don't check for zero size for the argument of internal_malloc_size. * intrinsics/pack_generic.c (pack_internal): Likewise. (pack_s_internal): Likewise. * intrinsics/cshift0.c (cshift0): Likewise. * intrinsics/spread_generic.c (spread_internal): Likewise. * intrinsics/eoshift0.c (eoshift0): Likewise. * intrinsics/eoshift2.c (eoshift2): Likewise. * generated/eoshift1_16.c: Regenerated. * generated/eoshift1_4.c: Regenerated. * generated/eoshift1_8.c: Regenerated. * generated/eoshift3_16.c: Regenerated. * generated/eoshift3_4.c: Regenerated. * generated/eoshift3_8.c: Regenerated. * generated/pack_c10.c: Regenerated. * generated/pack_c16.c: Regenerated. * generated/pack_c4.c: Regenerated. * generated/pack_c8.c: Regenerated. * generated/pack_i16.c: Regenerated. * generated/pack_i1.c: Regenerated. * generated/pack_i2.c: Regenerated. * generated/pack_i4.c: Regenerated. * generated/pack_i8.c: Regenerated. * generated/pack_r10.c: Regenerated. * generated/pack_r16.c: Regenerated. * generated/pack_r4.c: Regenerated. * generated/pack_r8.c: Regenerated. * generated/spread_c10.c: Regenerated. * generated/spread_c16.c: Regenerated. * generated/spread_c4.c: Regenerated. * generated/spread_c8.c: Regenerated. * generated/spread_i16.c: Regenerated. * generated/spread_i1.c: Regenerated. * generated/spread_i2.c: Regenerated. * generated/spread_i4.c: Regenerated. * generated/spread_i8.c: Regenerated. * generated/spread_r10.c: Regenerated. * generated/spread_r16.c: Regenerated. * generated/spread_r4.c: Regenerated. * generated/spread_r8.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175880 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-06-28 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-06-2814-13/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/49479 * m4/reshape.m4: If source allocation is smaller than one, set it to one. * intrinsics/reshape_generic.c: Likewise. * generated/reshape_r16.c: Regenerated. * generated/reshape_c4.c: Regenerated. * generated/reshape_c16.c: Regenerated. * generated/reshape_c8.c: Regenerated. * generated/reshape_r4.c: Regenerated. * generated/reshape_i4.c: Regenerated. * generated/reshape_r10.c: Regenerated. * generated/reshape_r8.c: Regenerated. * generated/reshape_c10.c: Regenerated. * generated/reshape_i8.c: Regenerated. * generated/reshape_i16.c: Regenerated. 2011-06-28 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/49479 * gfortran.dg/reshape_zerosize_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175594 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 49296 List directed read of string ending in EOF.jb2011-06-182-9/+15
| | | | | | | | | | | | | | | | | | | | | | | libgfortran ChangeLog entry: 2011-06-18 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/49296 * io/list_read.c (read_character): Accept EOF as a separator when reading string. testsuite ChangeLog entry: 2011-06-18 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/48296 * gfortran.dg/read_list_eof_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175166 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-06-17 Daniel Carrera <dcarrera@gmail.com>burnus2011-06-164-20/+97
| | | | | | | | | | | | | | | | | | | * caf/single.c (_gfortran_caf_register): Store the address of all static coarrays in a linked list. (_gfortran_caf_finalize): Free memory of staic coarrays. * caf/mpi.c (_gfortran_caf_register): Store the address of all static coarrays in a linked list. Initialize MPI if necessary. (_gfortran_caf_finalize): Free memory of staic coarrays. (_gfortran_caf_init): Check if MPI is already initialized before initializing again. * caf/libcaf.h: Add a type to caf_register_t to distinguish static coarrays and add the type caf_static_t to make the linked list of static coarrays. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175124 138bc75d-0d04-0410-961f-82ee72b054a4
* Return error when trying to seek a non-seekable buffered filejb2011-06-112-1/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174947 138bc75d-0d04-0410-961f-82ee72b054a4
* Figure out whether a file is seekable with lseek()jb2011-06-112-6/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174946 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran/burnus2011-06-104-46/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-06-10 Daniel Carrera <dcarrera@gmail.com> * trans-decl.c (gfc_build_builtin_function_decls): Updated declaration of caf_sync_all and caf_sync_images. * trans-stmt.c (gfc_trans_sync): Function can now handle a "stat" variable that has an integer type different from integer_type_node. libgfortran/ 2011-06-10 Daniel Carrera <dcarrera@gmail.com> * caf/mpi.c (_gfortran_caf_sync_all, _gfortran_caf_sync_images): Functions have void return type and move status into parameter list. * caf/single.c (_gfortran_caf_sync_all, _gfortran_caf_sync_images): Functions have void return type and move status into parameter list. * caf/libcaf.h (_gfortran_caf_sync_all, _gfortran_caf_sync_images): Functions have void return type and move status into parameter list. gcc/testsuite/ 2011-06-10 Daniel Carrera <dcarrera@gmail.com> * gfortran.dg/coarray/sync_1.f90: New test for "SYNC ALL", "SYNC MEMORY" and "SYNC IMAGES". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174896 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ro2011-06-032-4/+11
| | | | | | | | | | | | | | | | | | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] (sigill_hdlr): Correct insn, insn size. (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. gcc/testsuite: * lib/target-supports.exp (check_sse_os_support_available): Use movaps. libgfortran. * config/fpu-387.h [__sun__ && __svr4__] (sigill_hdlr): Correct insn, insn size. (has_sse) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174609 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48931 Use async-signal-safe execve instead of execvpjb2011-05-295-2/+75
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174415 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 49214 fd_gets should return NULL if nothing was readjb2011-05-292-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174395 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 19155 Check for strtod failure via endptrjb2011-05-292-15/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174393 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-22 Tobias Burnus <burnus@net-b.de>burnus2011-05-222-25/+27
| | | | | | | | * runtime/stop.c (stop_string,error_stop_string): Minor cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174039 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48931 Make backtrace async-signal-safe, reformat outputjb2011-05-226-172/+177
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174030 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48977 Denormal exception on glibc targetsjb2011-05-202-7/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173952 138bc75d-0d04-0410-961f-82ee72b054a4
* Clarify FP exception documentation and messagesjb2011-05-206-16/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173944 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-14 Tobias Burnus <burnus@net-b.de>burnus2011-05-142-64/+66
| | | | | | | | | | | | | | * lang.opt (fdump-core): Re-add as ignored option for backward compatibility. 2011-05-14 Tobias Burnus <burnus@net-b.de> * runtime/stop.c (error_stop_string, error_stop_numeric): Do not backtrace for ERROR STOP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173760 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48915 Abort handlingjb2011-05-148-120/+168
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173750 138bc75d-0d04-0410-961f-82ee72b054a4
* Error printing thread safety, remove GFORTRAN_USE_STDERRjb2011-05-1412-188/+263
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-14 Tobias Burnus <burnus@net-b.de>burnus2011-05-142-10/+22
| | | | | | | | | | | PR fortran/48961 * intrinsics/execute_command_line.c (set_cmdstat): Don't abort if synchronously executing with WAIT=.false. (execute_command_line): Fix setting of cmdstat and exitstat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173748 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-06 Tobias Burnus <burnus@net-b.de>burnus2011-05-064-41/+81
| | | | | | | | | | | | | | | | | | | | PR fortran/18918 * caf/libcaf.h: Cleanup headers. (_gfortran_caf_critical, _gfortran_caf_end_critical): Make stub. (caf_register_t): New enum. (_gfortran_caf_register, _gfortran_caf_deregister): New prototype. * caf/single.c (_gfortran_caf_critical, _gfortran_caf_end_critical): Remove. (_gfortran_caf_register, _gfortran_caf_deregister): New functions. * caf/mpi.c (_gfortran_caf_critical, _gfortran_caf_end_critical): Remove. (_gfortran_caf_register, _gfortran_caf_deregister): New functions. (caf_world_window): Remove global variable. (_gfortran_caf_init): Fix off-by-one error of this_image. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173505 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-05-052-12/+24
| | | | | | | | | PR libgfortran/48787 * io/write_float.def (output_float): Adjust up and down rounding for cases where 'd' = 0. Gather common code to one location. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173408 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-05-012-19/+29
| | | | | | | | | | | PR libgfortran/48787 * io/write_float.def (output_float): Gather up integer declarations and add new 'p' for scale factor. Use 'p' in place of the 'dtp' reference everywhere. For ROUND_UP scan the digit string and only perform rounding if something other than '0' is found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173231 138bc75d-0d04-0410-961f-82ee72b054a4
* Whitespace fixesjb2011-04-291-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173173 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix path handlingjb2011-04-292-16/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173172 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48488 Typojb2011-04-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173171 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48488 Fix commentsjb2011-04-291-8/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173170 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 48488 Fix commentsjb2011-04-292-4/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173169 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-04-293-57/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | Janne Blomqvist <jb@gcc.gnu.org> PR libgfortran/48488 PR libgfortran/48602 PR libgfortran/48615 PR libgfortran/48684 PR libgfortran/48787 * io/write.c (write_d, write_e, write_f, write_en, write_es): Add precision compemsation parameter to call. (set_fnode_default): Adjust default widths to assure round trip on write and read. (write_real): Adjust call to write_float. (write_real_g0): Calculate compensation for extra precision and adjust call to write_float. * io/write_float.def (output_float_FMT_G_): Use volatile rather than asm volatile to avoid optimization issue. Correctly calculate the number of blanks (nb) to be appended and simplify calculation logic. (write_float): Increase MIN_FIELD_WIDTH by one to accomodate the new default widths. Eliminate the code that attempted to reduce the the precision used in later sprintf functions. Add call parameter to compensate for extra precision. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173166 138bc75d-0d04-0410-961f-82ee72b054a4
* remove useless if-before-free testsmeyering2011-04-207-16/+18
| | | | | | | | | | | Change "if (E) free (E);" to "free (E);" everywhere except in the libgo/, intl/, zlib/ and classpath/ directories. Also transform equivalent variants like "if (E != NULL) free (E);" and allow an extra cast on the argument to free. Otherwise, the tested and freed "E" expressions must be identical, modulo white space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172785 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-04-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-04-202-2/+10
| | | | | | | | | PR libgfortran/48602 * io/write_float.def (output_float_FMT_G): Fix reversal in conditional. Use asm volatile to mark temp variable, avoiding optimization errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172753 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-04-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-04-182-5/+31
| | | | | | | | | | PR libgfortran/48602 * io/write_float.def (output_float_FMT_G): Use current rounding mode to set the rounding parameters. (output_float): Skip rounding if value is zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172634 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace sprintf with snprintfjb2011-04-1612-118/+134
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2011-04-152-2/+8
| | | | | | | | PR libgfortran/48589 * io/write_float.def (write_infnan): Set width properly for G0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172502 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-04-15 Tobias Burnus <burnus@net-b.de>burnus2011-04-153-20/+91
| | | | | | | | | | | PR fortran/18918 * Makefile.am: Build and install caf/single.c as libcaf_single.a. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172499 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 47571 Fix bootstrap regression on alpha-dec-osfjb2011-04-156-21/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172469 138bc75d-0d04-0410-961f-82ee72b054a4
* Cleanup memsize typesjb2011-04-1223-116/+176
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172340 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud