This is the mail archive of the gcc@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]

Re: fortran and c pointers in gcc 2.95.2


Maciej Z. Pindera wrote:

> I wrote:

[ Please show us the source, so that we can say something intelligent
  about your problem  ... ]

> Oops.  It was very late at night, and it wasn't my code.  While I'm aware
> that fortran does not use pointers and passes arguments by reference, I
> thought that this particular code used LOC (or similar) intrinsics that
> return INTEGER*8 pointer-like constructs on DEC_Alphas.  In the event it
> turned out that the code did not do this; the error was not compiler but code
> generated.

Ha !  This shows exactly why it is important to sent an example code
that behaves problematic in the way mentioned:  I didn't even recall the
ancient LOC-on-64-bit-target problems anymore ...

Cheers,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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