https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78162
--- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Nov 2 09:25:22 2016 New Revision: 241778 URL: https://gcc.gnu.org/viewcvs?rev=241778&root=gcc&view=rev Log: PR tree-optimization/78162: Reject negative offsets in store merging early PR tree-optimization/78162 * gimple-ssa-store-merging.c (execute): Mark stores with bitpos < 0 as invalid. * gcc.c-torture/compile/pr78162.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr78162.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-store-merging.c trunk/gcc/testsuite/ChangeLog