mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
in_pack.m4: Fixed a typo.
2006-10-16 Tobias Burnus <burnus@net-b.de> * m4/in_pack.m4: Fixed a typo. * m4/iforeach.m4: Fixed a typo. * m4/eoshift1.m4: Fixed a typo. * m4/eoshift3.m4: Fixed a typo. * m4/cshift1.m4: Fixed a typo. * m4/in_unpack.m4: Fixed a typo. * m4/reshape.m4: Fixed a typo. * m4/ifunction.m4: Fixed a typo. * runtime/environ.c: Fixed a typo. * runtime/in_pack_generic.c: Fixed a typo. * runtime/in_unpack_generic.c: Fixed a typo. * runtime/memory.c: Fixed a typo. * intrinsics/cshift0.c: Fixed a typo. * intrinsics/cpu_time.c: Fixed a typo. * intrinsics/pack_generic.c: Fixed a typo. * intrinsics/unpack_generic.c: Fixed a typo. * intrinsics/eoshift0.c: Fixed a typo. * intrinsics/eoshift2.c: Fixed a typo. * intrinsics/reshape_generic.c: Fixed a typo. * io/open.c: Fixed a typo. * io/list_read.c: Fixed a typo. * io/io.h: Fixed a typo. * io/transfer.c: Fixed a typo. * io/write.c: Fixed a typo. From-SVN: r117857
This commit is contained in:
parent
8e76c2bf13
commit
8b6dba81f0
@ -1,3 +1,30 @@
|
||||
2006-10-16 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* m4/in_pack.m4: Fixed a typo.
|
||||
* m4/iforeach.m4: Fixed a typo.
|
||||
* m4/eoshift1.m4: Fixed a typo.
|
||||
* m4/eoshift3.m4: Fixed a typo.
|
||||
* m4/cshift1.m4: Fixed a typo.
|
||||
* m4/in_unpack.m4: Fixed a typo.
|
||||
* m4/reshape.m4: Fixed a typo.
|
||||
* m4/ifunction.m4: Fixed a typo.
|
||||
* runtime/environ.c: Fixed a typo.
|
||||
* runtime/in_pack_generic.c: Fixed a typo.
|
||||
* runtime/in_unpack_generic.c: Fixed a typo.
|
||||
* runtime/memory.c: Fixed a typo.
|
||||
* intrinsics/cshift0.c: Fixed a typo.
|
||||
* intrinsics/cpu_time.c: Fixed a typo.
|
||||
* intrinsics/pack_generic.c: Fixed a typo.
|
||||
* intrinsics/unpack_generic.c: Fixed a typo.
|
||||
* intrinsics/eoshift0.c: Fixed a typo.
|
||||
* intrinsics/eoshift2.c: Fixed a typo.
|
||||
* intrinsics/reshape_generic.c: Fixed a typo.
|
||||
* io/open.c: Fixed a typo.
|
||||
* io/list_read.c: Fixed a typo.
|
||||
* io/io.h: Fixed a typo.
|
||||
* io/transfer.c: Fixed a typo.
|
||||
* io/write.c: Fixed a typo.
|
||||
|
||||
2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libgfortran/29277
|
||||
|
@ -86,7 +86,7 @@ Boston, MA 02110-1301, USA. */
|
||||
static inline void __cpu_time_1 (long *, long *) ATTRIBUTE_ALWAYS_INLINE;
|
||||
|
||||
/* Helper function for the actual implementation of the CPU_TIME
|
||||
intrnsic. Returns a CPU time in microseconds or -1 if no CPU time
|
||||
intrinsic. Returns a CPU time in microseconds or -1 if no CPU time
|
||||
could be computed. */
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
@ -276,7 +276,7 @@ cshift0 (gfc_array_char * ret, const gfc_array_char * array,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
n++;
|
||||
|
@ -189,7 +189,7 @@ eoshift0 (gfc_array_char * ret, const gfc_array_char * array,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
n++;
|
||||
|
@ -206,7 +206,7 @@ eoshift2 (gfc_array_char *ret, const gfc_array_char *array,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
bptr -= bstride[n] * extent[n];
|
||||
|
@ -41,7 +41,7 @@ Boston, MA 02110-1301, USA. */
|
||||
Description: Pack an array into an array of rank one under the
|
||||
control of a mask.
|
||||
|
||||
Class: Transformational fucntion.
|
||||
Class: Transformational function.
|
||||
|
||||
Arguments:
|
||||
ARRAY may be of any type. It shall not be scalar.
|
||||
@ -171,7 +171,7 @@ pack_internal (gfc_array_char *ret, const gfc_array_char *array,
|
||||
and increment the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate this product, but this is a
|
||||
less frequently used path so proabably not worth
|
||||
less frequently used path so probably not worth
|
||||
it. */
|
||||
m -= mstride[n] * extent[n];
|
||||
n++;
|
||||
@ -230,7 +230,7 @@ pack_internal (gfc_array_char *ret, const gfc_array_char *array,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
sptr -= sstride[n] * extent[n];
|
||||
mptr -= mstride[n] * extent[n];
|
||||
n++;
|
||||
@ -402,7 +402,7 @@ pack_s_internal (gfc_array_char *ret, const gfc_array_char *array,
|
||||
increment the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a
|
||||
less frequently used path so proabably not worth it. */
|
||||
less frequently used path so probably not worth it. */
|
||||
sptr -= sstride[n] * extent[n];
|
||||
n++;
|
||||
if (n >= dim)
|
||||
|
@ -190,7 +190,7 @@ reshape_internal (parray *ret, parray *source, shape_type *shape,
|
||||
the next dimension. */
|
||||
rcount[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * rextent[n] * size;
|
||||
n++;
|
||||
if (n == rdim)
|
||||
@ -213,7 +213,7 @@ reshape_internal (parray *ret, parray *source, shape_type *shape,
|
||||
the next dimension. */
|
||||
scount[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
src -= sstride[n] * sextent[n] * size;
|
||||
n++;
|
||||
if (n == sdim)
|
||||
|
@ -148,7 +148,7 @@ unpack_internal (gfc_array_char *ret, const gfc_array_char *vector,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
fptr -= fstride[n] * extent[n];
|
||||
mptr -= mstride[n] * extent[n];
|
||||
|
@ -108,7 +108,7 @@ array_loop_spec;
|
||||
or
|
||||
&GROUPNAME OBJECT=value[s] [,OBJECT=value[s]]...&END
|
||||
|
||||
The object can be a fully qualified, compound name for an instrinsic
|
||||
The object can be a fully qualified, compound name for an intrinsic
|
||||
type, derived types or derived type components. So, a substring
|
||||
a(:)%b(4)%ch(2:4)(1:7) has to be treated correctly in namelist
|
||||
read. Hence full information about the structure of the object has
|
||||
|
@ -2219,7 +2219,7 @@ nml_read_obj (st_parameter_dt *dtp, namelist_info * nl, index_type offset,
|
||||
}
|
||||
|
||||
/* If the expanded read warning flag is set, increment it,
|
||||
indicating that a single read has occured. */
|
||||
indicating that a single read has occurred. */
|
||||
if (dtp->u.p.expanded_read >= 1)
|
||||
dtp->u.p.expanded_read++;
|
||||
|
||||
@ -2298,7 +2298,7 @@ nml_get_obj_data (st_parameter_dt *dtp, namelist_info **pprev_nl,
|
||||
c = next_char (dtp);
|
||||
if (c != '?')
|
||||
{
|
||||
st_sprintf (nml_err_msg, "namelist read: missplaced = sign");
|
||||
st_sprintf (nml_err_msg, "namelist read: misplaced = sign");
|
||||
goto nml_err_ret;
|
||||
}
|
||||
nml_query (dtp, '=');
|
||||
|
@ -178,7 +178,7 @@ edit_modes (st_parameter_open *opp, gfc_unit * u, unit_flags * flags)
|
||||
|
||||
if (flags->pad != PAD_UNSPECIFIED)
|
||||
generate_error (&opp->common, ERROR_OPTION_CONFLICT,
|
||||
"PAD paramter conflicts with UNFORMATTED form in "
|
||||
"PAD parameter conflicts with UNFORMATTED form in "
|
||||
"OPEN statement");
|
||||
}
|
||||
|
||||
@ -284,7 +284,7 @@ new_unit (st_parameter_open *opp, gfc_unit *u, unit_flags * flags)
|
||||
if (flags->form == FORM_UNFORMATTED)
|
||||
{
|
||||
generate_error (&opp->common, ERROR_OPTION_CONFLICT,
|
||||
"PAD paramter conflicts with UNFORMATTED form in "
|
||||
"PAD parameter conflicts with UNFORMATTED form in "
|
||||
"OPEN statement");
|
||||
goto fail;
|
||||
}
|
||||
|
@ -738,7 +738,7 @@ require_type (st_parameter_dt *dtp, bt expected, bt actual, const fnode *f)
|
||||
/* This subroutine is the main loop for a formatted data transfer
|
||||
statement. It would be natural to implement this as a coroutine
|
||||
with the user program, but C makes that awkward. We loop,
|
||||
processesing format elements. When we actually have to transfer
|
||||
processing format elements. When we actually have to transfer
|
||||
data instead of just setting flags, we return control to the user
|
||||
program which calls a subroutine that supplies the address and type
|
||||
of the next element, then comes back here to process it. */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
Contributed by Andy Vaught
|
||||
Namelist output contibuted by Paul Thomas
|
||||
Namelist output contributed by Paul Thomas
|
||||
|
||||
This file is part of the GNU Fortran 95 runtime library (libgfortran).
|
||||
|
||||
|
@ -176,7 +176,7 @@ cshift1 (gfc_array_char * const restrict ret,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
hptr -= hstride[n] * extent[n];
|
||||
|
@ -200,7 +200,7 @@ eoshift1 (gfc_array_char * const restrict ret,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
hptr -= hstride[n] * extent[n];
|
||||
|
@ -216,7 +216,7 @@ eoshift3 (gfc_array_char * const restrict ret,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * extent[n];
|
||||
sptr -= sstride[n] * extent[n];
|
||||
hptr -= hstride[n] * extent[n];
|
||||
|
@ -85,7 +85,7 @@ define(FINISH_FOREACH_FUNCTION,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
base -= sstride[n] * extent[n];
|
||||
n++;
|
||||
if (n == rank)
|
||||
@ -197,7 +197,7 @@ define(FINISH_MASKED_FOREACH_FUNCTION,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
base -= sstride[n] * extent[n];
|
||||
mbase -= mstride[n] * extent[n];
|
||||
n++;
|
||||
|
@ -126,7 +126,7 @@ define(FINISH_ARRAY_FUNCTION,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
base -= sstride[n] * extent[n];
|
||||
dest -= dstride[n] * extent[n];
|
||||
n++;
|
||||
@ -277,7 +277,7 @@ define(FINISH_MASKED_ARRAY_FUNCTION,
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
base -= sstride[n] * extent[n];
|
||||
mbase -= mstride[n] * extent[n];
|
||||
dest -= dstride[n] * extent[n];
|
||||
|
@ -105,7 +105,7 @@ rtype_name *
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
src -= stride[n] * extent[n];
|
||||
n++;
|
||||
if (n == dim)
|
||||
|
@ -94,7 +94,7 @@ void
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
dest -= stride[n] * extent[n];
|
||||
n++;
|
||||
if (n == dim)
|
||||
|
@ -202,7 +202,7 @@ reshape_`'rtype_ccode (rtype * const restrict ret,
|
||||
the next dimension. */
|
||||
rcount[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
rptr -= rstride[n] * rextent[n];
|
||||
n++;
|
||||
if (n == rdim)
|
||||
@ -225,7 +225,7 @@ reshape_`'rtype_ccode (rtype * const restrict ret,
|
||||
the next dimension. */
|
||||
scount[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
src -= sstride[n] * sextent[n];
|
||||
n++;
|
||||
if (n == sdim)
|
||||
|
@ -503,7 +503,7 @@ static variable variable_table[] = {
|
||||
stringize (DEFAULT_RECL), 0},
|
||||
|
||||
{"GFORTRAN_LIST_SEPARATOR", 0, NULL, init_sep, show_sep,
|
||||
"Separatator to use when writing list output. May contain any number of "
|
||||
"Separator to use when writing list output. May contain any number of "
|
||||
"spaces\nand at most one comma. Default is a single space.", 0},
|
||||
|
||||
/* Memory related controls */
|
||||
@ -855,7 +855,7 @@ mark_range (int unit1, int unit2)
|
||||
|
||||
/* Parse the GFORTRAN_CONVERT_UNITS variable. This is called
|
||||
twice, once to count the units and once to actually mark them in
|
||||
the table. When counting, we don't check for double occurences
|
||||
the table. When counting, we don't check for double occurrences
|
||||
of units. */
|
||||
|
||||
static int
|
||||
|
@ -138,7 +138,7 @@ internal_pack (gfc_array_char * source)
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
src -= stride[n] * extent[n] * size;
|
||||
n++;
|
||||
if (n == dim)
|
||||
|
@ -136,7 +136,7 @@ internal_unpack (gfc_array_char * d, const void * s)
|
||||
the next dimension. */
|
||||
count[n] = 0;
|
||||
/* We could precalculate these products, but this is a less
|
||||
frequently used path so proabably not worth it. */
|
||||
frequently used path so probably not worth it. */
|
||||
dest -= stride[n] * extent[n] * size;
|
||||
n++;
|
||||
if (n == dim)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Memory mamagement routines.
|
||||
/* Memory management routines.
|
||||
Copyright 2002, 2005, 2006 Free Software Foundation, Inc.
|
||||
Contributed by Paul Brook <paul@nowt.org>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user