This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug fortran/43180] [4.5 Regression] Bad results without temporary copy of intent(in) argument



------- Comment #4 from anlauf at gmx dot de  2010-02-25 20:59 -------
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=19958)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19958&action=view) [edit]
> > Testcase
> 
> I'm wondering if you have a testcase that is 'fully functional' i.e. that one
> can run & debug.

It will take some time as I need to dump a snapshot of the table
of rules and an excerpt of the input data that are processed.
Will do, but don't hold your breath.

> My first guess is that a temporary there is not needed, unless
> there is an aliasing problem.

There is no real need for a temporary copy of ru(i)%c, but as I wrote
without the copy I get wrong results.  Maybe it's as simple as an
improper offset and the like.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43180


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