]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR tree-optimization/85887 (Missing DW_TAG_lexical_block PC range)
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Nov 2019 18:53:46 +0000 (19:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 8 Nov 2019 18:53:46 +0000 (19:53 +0100)
Backported from mainline
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.

From-SVN: r277982

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

index b8a9441ffc829241d0823ca1ccbf99f8dd42945f..6d54b57e9b1eb884c9e507ac7848e44311dd71fb 100644 (file)
@@ -1,6 +1,12 @@
 2019-11-08  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
+       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-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/92015
index 9769c1cb15d02c6c16ddde143e447f2ffd764dca..4878e81021fc7064bb10e37e8dc88d43a772b6a3 100644 (file)
@@ -8422,14 +8422,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);