[Bug tree-optimization/94717] [10 Regression] segfault with -O2 -fnon-call-exceptions -ftracer
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 23 13:02:31 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94717
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Shouldn't that be done in try_coalesce_bswap instead?
> Because checking lp_nr above will only make sure it is the same between
> merged_store and the first store after it, but we are trying to coalesce
> often more than that.
> By checking it in try_coalesce_bswap, in the first loop in that function, it
> will verify all stores.
OK, I didn't realize that try_coalesce_bswap has its own private loop. But
this can be done in both places, like the check on ins_stmt.
More information about the Gcc-bugs
mailing list