This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23463] [4.1 Regression] va-arg-22.c execution fails
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2005 22:58:19 -0000
- Subject: [Bug target/23463] [4.1 Regression] va-arg-22.c execution fails
- References: <20050818161808.23463.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25 22:58 -------
This was caused by my patch:
> * gimplify.c (zero_sized_type): New function.
> (gimplify_modify_expr_rhs): If we have a zero sized type,
> replace the statement with an empty statement.
I had forgot that you could get the side effects on either side of the assignment.
See http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01444.html
note I think we should only expand the side effects and not the assignment.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23463