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 c/29154] [4.0/4.1/4.2 Regression] *(* ppointer++)++ = *pointer++ generates bad code



------- Comment #5 from jakub at gcc dot gnu dot org  2006-10-02 06:11 -------
Subject: Bug 29154

Author: jakub
Date: Mon Oct  2 06:11:49 2006
New Revision: 117366

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117366
Log:
        PR c/29154
        * gimplify.c (gimplify_self_mod_expr): Run inner expression's post
        side effects after the outer expression's post side effects.

        * gcc.c-torture/execute/20060929-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/20060929-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29154


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