This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18022] problem with structure and calling a function
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2005 17:52:38 -0000
- Subject: [Bug fortran/18022] problem with structure and calling a function
- References: <20041015190149.18022.gruel@astro.ufl.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-10 17:52 -------
Subject: Re: problem with structure and calling a function
>
>
>I should probably have said why I don't like this: this will probably not work
>with derived types which have a component of the same type as is common e.g.
>in linked lists.
>
>
I was going to try the experiment but was so put off that I haven't
bothered. I will give it a whirl; I think that it might work because
the components will have to match correctly in the assignment.
>Hm, thinking about it a second longer makes it seem that this is really wrong:
>expr1->ts.type should be BT_REAL in our case, so you're checing something
>random, but maybe I've stared at code too long today, having turned in our
>second-round ICFPC submission and reviewing patches.
>
>
>
I have spent the day, seeking light relief by fixing library problems:
All the NIST problems except one are now fixed.
There are three patches on the way. The only remaining one is that of
an internal unit being and array. I intend to have a stab at it but
will divert back to 18022 if you like. I realise, also, that I have not
committed the patch to pr16940 either.
Will have a busy night!
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18022