[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

Martin Liška  changed:

   What|Removed |Added

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

--- Comment #14 from Martin Liška  ---
Fixed.

[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #13 from Martin Liška  ---
Author: marxin
Date: Tue Nov 21 16:00:26 2017
New Revision: 255008

URL: https://gcc.gnu.org/viewcvs?rev=255008=gcc=rev
Log:
Backport r253845

2017-11-21  Martin Liska  

Backport from mainline
2017-10-18  Martin Liska  

PR sanitizer/82545
* asan.c (asan_expand_poison_ifn): Do not put gimple stmt
on an abnormal edge.
2017-11-21  Martin Liska  

Backport from mainline
2017-10-18  Martin Liska  

PR sanitizer/82545
* gcc.dg/asan/pr82545.c: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/asan/pr82545.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/asan.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #12 from Martin Liška  ---
I'll backport it today.

[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-11-21 Thread ivo.raisr at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #11 from Ivo Raisr  ---
(In reply to Martin Liška from comment #9)
> Fixed on trunk, queued for backports.

I wonder if you had a chance for backporting this into gcc-7 branch?
Let me know if I can be of assistance here.

[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-10-19 Thread ivo.raisr at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #10 from Ivo Raisr  ---
Thank you for the fix. Works on the full source file as well.

[Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt

2017-10-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

Martin Liška  changed:

   What|Removed |Added

  Known to work||8.0
Summary|[7/8 Regression] -O2: ICE   |[7 Regression] -O2: ICE in
   |in gimple_split_edge, at|gimple_split_edge, at
   |tree-cfg.c:2838, during |tree-cfg.c:2838, during
   |GIMPLE pass sanopt  |GIMPLE pass sanopt

--- Comment #9 from Martin Liška  ---
Fixed on trunk, queued for backports.