[Bug fortran/33759] Unequal character lengths in MERGE intrinsic not detected at run time

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 12 15:03:00 GMT 2007



------- Comment #7 from pault at gcc dot gnu dot org  2007-11-12 15:03 -------
(In reply to comment #6)
> > and survives "dg.exp=gfortran/transfer*".
> Let me just point out that gfortran.dg/transfer_simplify_4.f90 fails
> with any optimization starting at -O1 due to the failure of the reduced test:

Note that this failure occurs without the patch and is a problem with the
scalar branch of transfer.  This patch is OK.

A peculiar feature of this failure is that 'i' can be changed to INTEGER(1,2,8)
and the test succeeds at any level of optimisation.  It is only at the default
logical length that it fails!

Puzzled

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


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



More information about the Gcc-bugs mailing list