This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27153] function result is dereferenced error
- From: "alexey at cs dot sunysb dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2006 00:06:51 -0000
- Subject: [Bug c/27153] function result is dereferenced error
- References: <bug-27153-11015@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from alexey at cs dot sunysb dot edu 2006-04-18 00:06 -------
(In reply to comment #6)
> In C, there is no ordering left to right, please go read the C FAQ at:
> http://www.eskimo.com/~scs/c-faq.com/expr/index.html
> subpage:
> http://www.eskimo.com/~scs/c-faq.com/expr/comma.html
The problem has nothing to do with ordering. It is in because arguments are
evaluated not completely before the next one is evaluated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27153