re PR tree-optimization/85887 (Missing DW_TAG_lexical_block PC range)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Oct 2019 14:52:52 +0000 (16:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Oct 2019 14:52:52 +0000 (16:52 +0200)
PR tree-optimization/85887
* decl.c (expand_static_init): Drop ECF_LEAF from __cxa_guard_acquire
and __cxa_guard_release.

From-SVN: r277293

gcc/cp/ChangeLog
gcc/cp/decl.c

index d2b1fe457cb9b80603556ca4ffda1fb6ac07476d..3da069f8a3ce8499dba105f44784a6bfa5a9bfa2 100644 (file)
@@ -1,3 +1,9 @@
+2019-10-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/85887
+       * decl.c (expand_static_init): Drop ECF_LEAF from __cxa_guard_acquire
+       and __cxa_guard_release.
+
 2019-10-22  Marc Glisse  <marc.glisse@inria.fr>
 
        PR c++/85746
index 52f1f020dc3594fabb044bb5fc112933961f05a0..7df4ff96527cfd75d3d404edb0eb64eb9f52e71c 100644 (file)
@@ -8589,14 +8589,14 @@ expand_static_init (tree decl, tree init)
              (acquire_name, build_function_type_list (integer_type_node,
                                                       TREE_TYPE (guard_addr),
                                                       NULL_TREE),
-              NULL_TREE, ECF_NOTHROW | ECF_LEAF);
+              NULL_TREE, ECF_NOTHROW);
          if (!release_fn || !abort_fn)
            vfntype = build_function_type_list (void_type_node,
                                                TREE_TYPE (guard_addr),
                                                NULL_TREE);
          if (!release_fn)
            release_fn = push_library_fn (release_name, vfntype, NULL_TREE,
-                                          ECF_NOTHROW | ECF_LEAF);
+                                         ECF_NOTHROW);
          if (!abort_fn)
            abort_fn = push_library_fn (abort_name, vfntype, NULL_TREE,
                                        ECF_NOTHROW | ECF_LEAF);