https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Mar 5 08:26:32 2019 New Revision: 269383 URL: https://gcc.gnu.org/viewcvs?rev=269383&root=gcc&view=rev Log: 2019-03-05 Richard Biener <rguent...@suse.de> Backport from mainline 2019-02-26 Richard Biener <rguent...@suse.de> PR tree-optimization/89505 * tree-ssa-structalias.c (compute_dependence_clique): Make sure to handle restrict pointed-to vars with multiple subvars correctly. * gcc.dg/torture/pr89505.c: New testcase. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr89505.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-structalias.c