This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29582] Parameter pushed to stack too soon
- From: "oder at eleks dot lviv dot ua" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2006 16:09:50 -0000
- Subject: [Bug c++/29582] Parameter pushed to stack too soon
- References: <bug-29582-12742@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from oder at eleks dot lviv dot ua 2006-10-24 16:09 -------
(In reply to comment #1)
> The evaluation order of function arguments is not specified. If you depend on
> side effects to be carried out at a specific point you must make sure there is
> a sequence point at the appropriate place.
These are not the arguments of a single function. Given example is the sequence
of method invocations for a class instance. Modification of lvalue occurs in
2nd method invocation and it is supposed to be passed to 4th method invocation.
--
oder at eleks dot lviv dot ua changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29582