Commit d1132e0b by Jason Merrill

re PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)

        PR c/12553
        * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
        appropriately.

From-SVN: r72726
parent 73f07942
/* PR c/12553: we were erroneously setting TREE_SIDE_EFFECTS on &y, which
confused tree-ssa. */
void f()
{
int x;
volatile int y;
&x == &y;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment