Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: gcc/libgfortran/generated/in_unpack_c10.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/libgfortran/generated/in_pack_r8.c ('k') | gcc/libgfortran/generated/in_unpack_c16.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgfortran/generated/in_unpack_c10.c
diff --git a/gcc/libgfortran/generated/in_unpack_c10.c b/gcc/libgfortran/generated/in_unpack_c10.c
index 46ce8d446fd9a50aaf7804e6c515b13b59273255..bcac6e7a5d4710ada62bf02378a28698530de77b 100644
--- a/gcc/libgfortran/generated/in_unpack_c10.c
+++ b/gcc/libgfortran/generated/in_unpack_c10.c
@@ -52,8 +52,8 @@ internal_unpack_c10 (gfc_array_c10 * d, const GFC_COMPLEX_10 * src)
for (n = 0; n < dim; n++)
{
count[n] = 0;
- stride[n] = d->dim[n].stride;
- extent[n] = d->dim[n].ubound + 1 - d->dim[n].lbound;
+ stride[n] = GFC_DESCRIPTOR_STRIDE(d,n);
+ extent[n] = GFC_DESCRIPTOR_EXTENT(d,n);
if (extent[n] <= 0)
return;
« no previous file with comments | « gcc/libgfortran/generated/in_pack_r8.c ('k') | gcc/libgfortran/generated/in_unpack_c16.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698