On 2025-06-24 03:26, Richard Biener wrote:
+           /* Handle the following stmt #2 to propagate the size from the
+              stmt #1 to #3:
+               1  _1 = .ACCESS_WITH_SIZE (_3, _4, 1, 0, -1, 0B);
+               2  _5 = *_1;
+               3  _6 = __builtin_dynamic_object_size (_5, 1);
+            */
+           else if (TREE_CODE (rhs) == MEM_REF
+                    && POINTER_TYPE_P (TREE_TYPE (rhs))
+                    && TREE_CODE (TREE_OPERAND (rhs, 0)) == SSA_NAME)

&& integer_zerop (TREE_OPERAND (rhs, 1))

?


Ahh yes, thanks for spotting that.

Sid

Reply via email to