[Bug tree-optimization/79351] [7/8/9 Regression] Invalid tree PRE optimization around compound literal
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 12:13:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79351
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Nov 28 12:13:04 2018
New Revision: 266554
URL: https://gcc.gnu.org/viewcvs?rev=266554&root=gcc&view=rev
Log:
2018-11-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/79351
* tree-ssa-sccvn.c (vn_reference_lookup_3): For assignments from
empty CONSTRUCTORs ensure the store is at a constant position.
* gcc.dg/torture/pr79351.c: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr79351.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-ssa-sccvn.c
More information about the Gcc-bugs
mailing list