This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Bug fortran/32732] [Bind C] Character scalars are passed as arrays
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: burnus at net-b dot de
- Cc: fortran at gcc dot gnu dot org, crickett at lanl dot gov
- Date: Thu, 26 Jul 2007 09:49:42 -0700 (PDT)
- Subject: Re: [Bug fortran/32732] [Bind C] Character scalars are passed as arrays
> As Angelo already found out: There is a typo: I create a default-kind
> (sizeof()=8) complex variable with an imaginary part of 4, 8 or 16
> instead of a kind=4,8,16 variable; it must be cmplx(0.0, 0.0,
> c_*_complex) [extra ",0.0"].
OK.
> Does value_6.f03 fail as well? On the other systems it does and it might
> be related.
Yes, this fails for me too.
> > I see the same problem (if it is a problem) on x86_64, so this is not an IA64 or HP-UX specific issue.
> >
> This is x86-64 HP-UX or some (which?) Linux?
>
> The problem is: I don't see it on x86-64 with openSUSE Factory (with
> neither -m32 nor -m64) and not all powerpc64-unknown-linux-gnu are
> affected if one believes the posted gcc test-results.
Sorry, I just meant that I saw the problem with the complex sizeof/kind
on my x86 linux box, not that I saw the test failures on x86.
> > I will look more into the char issue and see if I can get some more data on what is happening.
> >
> Thanks and good look. These are all "abort()" failures and no
> segmentation faults, are they?
Yes, that appears to be case.
Steve Ellcey
sje@cup.hp.com