[Bug target/23463] [4.1 Regression] va-arg-22.c execution fails

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 25 22:59:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list