mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 01:55:33 +08:00
re PR fortran/41219 (libgfortran build warnings)
2009-09-03 Tobias Burnus <burnus@net-b.de> PR fortran/41219 * intrinsics/iso_c_binding.c (c_f_pointer_u0): Move variable declaration out of the loop. From-SVN: r151371
This commit is contained in:
parent
e12c409449
commit
ee5111a441
@ -1,3 +1,9 @@
|
||||
2009-09-03 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/41219
|
||||
* intrinsics/iso_c_binding.c (c_f_pointer_u0): Move variable
|
||||
declaration out of the loop.
|
||||
|
||||
2009-08-30 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
* m4/pack.m4 (pack_'rtype_code`): Use count_0 for counting true
|
||||
|
@ -95,7 +95,7 @@ ISO_C_BINDING_PREFIX (c_f_pointer_u0) (void *c_ptr_in,
|
||||
if (shape != NULL)
|
||||
{
|
||||
index_type source_stride;
|
||||
index_type size;
|
||||
index_type size, str;
|
||||
char *p;
|
||||
|
||||
f_ptr_out->offset = 0;
|
||||
@ -109,7 +109,7 @@ ISO_C_BINDING_PREFIX (c_f_pointer_u0) (void *c_ptr_in,
|
||||
shapeSize = GFC_DESCRIPTOR_EXTENT(shape,0);
|
||||
for (i = 0; i < shapeSize; i++)
|
||||
{
|
||||
index_type str, ub;
|
||||
index_type ub;
|
||||
|
||||
/* Have to allow for the SHAPE array to be any valid kind for
|
||||
an INTEGER type. */
|
||||
|
Loading…
Reference in New Issue
Block a user