[Bug tree-optimization/90208] [7/8/9 Regression] error: EH landing pad label

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90208

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Wed Apr 24 08:14:50 2019
New Revision: 270534

URL: https://gcc.gnu.org/viewcvs?rev=270534=gcc=rev
Log:
PR tree-optimization/90208
* tree-cfg.c (remove_bb): Move forced labels from removed bbs
after labels of new_bb, not before them.

* gcc.dg/tsan/pr90208-1.c: New test.
* gcc.dg/tsan/pr90208-2.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/tsan/pr90208-1.c
trunk/gcc/testsuite/gcc.dg/tsan/pr90208-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfg.c

[Bug tree-optimization/90208] [7/8/9 Regression] error: EH landing pad label

2019-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90208

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|sanitizer   |tree-optimization
 Ever confirmed|0   |1

[Bug tree-optimization/90208] [7/8/9 Regression] error: EH landing pad label

2019-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90208

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
Created attachment 46232
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46232=edit
gcc9-pr90208.patch

Untested fix.