This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]