public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27449]  New: transfer intrinsic does not work on strongly aligned systems
@ 2006-05-05 17:55 sje at cup dot hp dot com
  2006-05-07 10:30 ` [Bug fortran/27449] transfer intrinsic does not work on strict " pault at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2006-05-05 17:55 UTC (permalink / raw)
  To: gcc-bugs

gfortran.dg/transfer_array_intrinsic_2.f90 fails on hppa64-hp-hpux11.11, I
created a cut down test case and the cutdown test fails on hppa64-hp-hpux11.11
and ia64-hp-hpux11.23.  On IA64 it fails in 32 and 64 bit modes.  I think the
problem is with alignment since the program is dying on an 8 byte load of a 4
byte aligned address.  I looked at trans-intrinsic.c but was not able to
exactly identify where the bad code was coming from.  All the targets where I
get the failure require 8 byte alignment of 8 byte loads.

Test case:

   character(8) :: ch(1) = (/"lmnoPQRS"/)
   integer(8) :: ic(1)

   integer :: i = 1
   integer :: q

   q = TRANSFER(i, q)
   ic = transfer (ch, ic)
end


-- 
           Summary: transfer intrinsic does not work on strongly aligned
                    systems
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
  GCC host triplet: hppa64-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27449


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-06-14 14:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-05 17:55 [Bug fortran/27449] New: transfer intrinsic does not work on strongly aligned systems sje at cup dot hp dot com
2006-05-07 10:30 ` [Bug fortran/27449] transfer intrinsic does not work on strict " pault at gcc dot gnu dot org
2006-05-14 12:12 ` pault at gcc dot gnu dot org
2006-05-21  6:58 ` hjl at lucon dot org
2006-05-21  6:59 ` hjl at lucon dot org
2006-05-21  8:21 ` pault at gcc dot gnu dot org
2006-05-21  8:24 ` pault at gcc dot gnu dot org
2006-05-21 14:00 ` pault at gcc dot gnu dot org
2006-05-21 16:57 ` hjl at lucon dot org
2006-05-22 14:57 ` sje at cup dot hp dot com
2006-05-25 13:02 ` pault at gcc dot gnu dot org
2006-05-26  5:09 ` pault at gcc dot gnu dot org
2006-05-28 19:48 ` [Bug fortran/27449] transfer intrinsic does not work on strict aligned systems (fixed in trunk) pault at gcc dot gnu dot org
2006-06-14 14:44 ` pault at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).