This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33749] Wrong evaluation of expressions in lhs of assignment statements
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2007 19:09:30 -0000
- Subject: [Bug fortran/33749] Wrong evaluation of expressions in lhs of assignment statements
- References: <bug-33749-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2007-10-12 19:09 -------
(In reply to comment #2)
> The same on PPC Darwin: pr33749 with -m64 gives the expected result, but
> pr33686 gives the same result for 32 and 64 bit modes.
>
Tobias and Dominique,
You're right. The assignment even produces the temporary for the lhs index
that it should. Now why on earth does this happen in 64bit mode an not in
32bit??
Try it; first you see it and then you don't....
Still worse, I failed to find any code that would make this possible!! OK I've
got airport lounges and hotel rooms next week; I'll investigate then.
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33749