------- 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