[Bug sanitizer/85081] [7 Regression] Sanitizer error with references in vectorized/parallel for-loop

2018-03-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85081

Martin Liška  changed:

   What|Removed |Added

  Known to work||8.0.1
Summary|[7/8 Regression] Sanitizer  |[7 Regression] Sanitizer
   |error with references in|error with references in
   |vectorized/parallel |vectorized/parallel
   |for-loop|for-loop
  Known to fail|8.0.1   |

--- Comment #4 from Martin Liška  ---
Fixed on trunk.

[Bug sanitizer/85081] [7 Regression] Sanitizer error with references in vectorized/parallel for-loop

2018-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85081

--- Comment #5 from Martin Liška  ---
Author: marxin
Date: Tue Apr 24 15:17:48 2018
New Revision: 259599

URL: https://gcc.gnu.org/viewcvs?rev=259599&root=gcc&view=rev
Log:
Backport r258924

2018-04-24  Martin Liska  

Backport from mainline
2018-03-28  Jakub Jelinek  
Martin Liska  

PR sanitizer/85081
* gimplify.c (asan_poison_variable): Don't do the check for
gimplify_omp_ctxp here.
(gimplify_decl_expr): Do it here.
(gimplify_target_expr): Likewise.
2018-04-24  Martin Liska  

Backport from mainline
2018-03-28  Jakub Jelinek  
Martin Liska  

PR sanitizer/85081
* g++.dg/asan/pr85081.C: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/asan/pr85081.C
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/gimplify.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/85081] [7 Regression] Sanitizer error with references in vectorized/parallel for-loop

2018-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85081

Martin Liška  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work||7.3.1
 Resolution|--- |FIXED
  Known to fail|7.3.0   |

--- Comment #6 from Martin Liška  ---
Fixed on GCC 7 branch.