This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11277] function call stack disorder.
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2003 03:33:52 -0000
- Subject: [Bug target/11277] function call stack disorder.
- References: <20030621052541.11277.i18rabbit@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11277
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-27 03:33 -------
The test case is invalid as ANSI/ISO C say the order of excucation between squence
points are undefined, so gcc exucutes the right one first and then the left one so this
prefectly valid thing for gcc to do, correct your code as you suggested fixes it.