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/42898] [4.5 Regression] volatile structures and compound literal initializers



------- Comment #13 from ebotcazou at gcc dot gnu dot org  2010-01-31 21:06 -------
Subject: Bug 42898

Author: ebotcazou
Date: Sun Jan 31 21:06:20 2010
New Revision: 156415

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156415
Log:
        PR middle-end/42898
        Backport from mainline:
        2009-04-23  Eric Botcazou  <ebotcazou@adacore.com>

        * gimplify.c (gimplify_modify_expr_rhs) <VAR_DECL>: Do not do a direct
        assignment from the constructor either if the target is volatile.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr42898-2.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/gimplify.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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