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 middle-end/45852] volatile structs are broken!


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 22:56:13 UTC ---
Author: jakub
Date: Sun Jan 16 22:56:10 2011
New Revision: 168879

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168879
Log:
    Backport from mainline
    2010-12-21  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/45852
    * expr.c (store_expr): Ignore alt_rtl if equal to target,
    but has side-effects.

    * gcc.target/i386/pr45852.c: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr45852.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/expr.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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