This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43180] [4.5 Regression] Bad results without temporary copy of intent(in) argument
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2010 20:59:35 -0000
- Subject: [Bug fortran/43180] [4.5 Regression] Bad results without temporary copy of intent(in) argument
- References: <bug-43180-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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