Re: [PATCH] expand: Don't reuse DEBUG_EXPRs with vector type if they have different modes [PR100508]

2021-05-12 Thread Richard Biener
On Wed, 12 May 2021, Jakub Jelinek wrote: > Hi! > > The inliner doesn't remap DEBUG_EXPR_DECLs, so the same decls can appear > in multiple functions. > Furthermore, expansion reuses corresponding DEBUG_EXPRs too, so they again > can be reused in multiple functions. > Neither of that is a major

[PATCH] expand: Don't reuse DEBUG_EXPRs with vector type if they have different modes [PR100508]

2021-05-12 Thread Jakub Jelinek via Gcc-patches
Hi! The inliner doesn't remap DEBUG_EXPR_DECLs, so the same decls can appear in multiple functions. Furthermore, expansion reuses corresponding DEBUG_EXPRs too, so they again can be reused in multiple functions. Neither of that is a major problem, DEBUG_EXPRs are just magic value holders and what