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

Unified Diff: gcc/libgfortran/generated/in_pack_r8.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_r10.c ('k') | gcc/libgfortran/generated/in_unpack_c10.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgfortran/generated/in_pack_r8.c
diff --git a/gcc/libgfortran/generated/in_pack_r8.c b/gcc/libgfortran/generated/in_pack_r8.c
index 09a25445f32c28d26fe0a2a9c81e23d8963276ad..1453f86b582530301699c95f2d6dbcc21b937e5c 100644
--- a/gcc/libgfortran/generated/in_pack_r8.c
+++ b/gcc/libgfortran/generated/in_pack_r8.c
@@ -57,8 +57,8 @@ internal_pack_r8 (gfc_array_r8 * source)
for (n = 0; n < dim; n++)
{
count[n] = 0;
- stride[n] = source->dim[n].stride;
- extent[n] = source->dim[n].ubound + 1 - source->dim[n].lbound;
+ stride[n] = GFC_DESCRIPTOR_STRIDE(source,n);
+ extent[n] = GFC_DESCRIPTOR_EXTENT(source,n);
if (extent[n] <= 0)
{
/* Do nothing. */
« no previous file with comments | « gcc/libgfortran/generated/in_pack_r10.c ('k') | gcc/libgfortran/generated/in_unpack_c10.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698