OK, thanks.
Jason
Hi,
On 12/01/2012 07:13 AM, Jason Merrill wrote:
On 11/30/2012 04:05 PM, Paolo Carlini wrote:
@@ -219,10 +219,15 @@ cp_convert_to_pointer (tree type, tree expr, tsubs
-expr = build_int_cst (type, 0);
+expr = (TREE_SIDE_EFFECTS (expr)
+? build_nop (type, expr)
+: build_in
On 11/30/2012 04:05 PM, Paolo Carlini wrote:
@@ -219,10 +219,15 @@ cp_convert_to_pointer (tree type, tree expr, tsubs
- expr = build_int_cst (type, 0);
+ expr = (TREE_SIDE_EFFECTS (expr)
+ ? build_nop (type, expr)
+ : build_int_cst (type, 0));
This seems