Re: [PATCH] middle-end/66279 - gimplification clobbers shared asm constraints

2025-02-28 Thread Jakub Jelinek
On Fri, Feb 28, 2025 at 11:09:21AM +0100, Richard Biener wrote: > When the C++ frontend clones a CTOR we do not copy ASM_EXPR constraints > fully as walk_tree does not recurse to TREE_PURPOSE of TREE_LIST nodes. > At this point doing that seems too dangerous so the following instead > avoids gimpli

[PATCH] middle-end/66279 - gimplification clobbers shared asm constraints

2025-02-28 Thread Richard Biener
When the C++ frontend clones a CTOR we do not copy ASM_EXPR constraints fully as walk_tree does not recurse to TREE_PURPOSE of TREE_LIST nodes. At this point doing that seems too dangerous so the following instead avoids gimplification of ASM_EXPRs to clobber the shared constraints and unshares it