From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toon Moene To: "Maciej Z. Pindera" Cc: rth@cygnus.com, gcc@gcc.gnu.org Subject: Re: fortran and c pointers in gcc 2.95.2 Date: Wed, 13 Sep 2000 12:40:00 -0000 Message-id: <39BFD1F3.301EF336@moene.indiv.nluug.nl> References: <39BB49BA.F69DB441@HiWAAY.net> <39BBD553.CB2B7289@moene.indiv.nluug.nl> <39BF1507.3AC88694@HiWAAY.net> X-SW-Source: 2000-09/msg00272.html 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)