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 #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-21 08:35:19 UTC ---
Author: jakub
Date: Tue Dec 21 08:35:16 2010
New Revision: 168105

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168105
Log:
    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:
    trunk/gcc/testsuite/gcc.target/i386/pr45852.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


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