This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: [patch] Fix PR19294


> >From: ja2morri@csclub.uwaterloo.ca (James Morrison)

> >@@ -1343,7 +1347,10 @@ gfc_resolve_transpose (gfc_expr * f, gfc
> >   switch (matrix->ts.type)
> >     {
> >     case BT_COMPLEX:
> >-      kind = matrix->ts.kind * 2;
> >+      if (STRICT_ALIGNMENT)
> >+	kind = 0;
> >+      else
> >+	kind = matrix->ts.kind * 2;
> >       break;

What about machines with SLOW_ALIGNMENT?  The code would for them,
but probably with a performance penalty for using misaligned
integers.

	Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]