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

Unified Diff: gcc/libgfortran/generated/in_pack_c8.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_c10.c ('k') | gcc/libgfortran/generated/in_pack_i8.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgfortran/generated/in_pack_c8.c
diff --git a/gcc/libgfortran/generated/in_pack_c8.c b/gcc/libgfortran/generated/in_pack_c8.c
index f57f2aae13025049f271fe8d18988e4a58771af3..142ad99cdf7202cffefd59ca88a3e22f1a4d2955 100644
--- a/gcc/libgfortran/generated/in_pack_c8.c
+++ b/gcc/libgfortran/generated/in_pack_c8.c
@@ -57,8 +57,8 @@ internal_pack_c8 (gfc_array_c8 * 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_c10.c ('k') | gcc/libgfortran/generated/in_pack_i8.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698