[Bug tree-optimization/78162] [7 Regression] ICE on invalid code at -Os and above on x86_64-linux-gnu: Segmentation fault

2016-11-02 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78162

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Fixed. Thanks for the report

[Bug tree-optimization/78162] [7 Regression] ICE on invalid code at -Os and above on x86_64-linux-gnu: Segmentation fault

2016-11-02 Thread ktkachov at gcc dot gnu.org
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=gcc=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

[Bug tree-optimization/78162] [7 Regression] ICE on invalid code at -Os and above on x86_64-linux-gnu: Segmentation fault

2016-10-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78162

Richard Biener  changed:

   What|Removed |Added

Version|unknown |7.0
   Target Milestone|--- |7.0
Summary|ICE on invalid code at -Os  |[7 Regression] ICE on
   |and above on|invalid code at -Os and
   |x86_64-linux-gnu:   |above on x86_64-linux-gnu:
   |Segmentation fault  |Segmentation fault