]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* decl.c (get_atexit_node): Remove dead code.
authorJason Merrill <jason@redhat.com>
Mon, 24 Sep 2012 15:37:42 +0000 (11:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 24 Sep 2012 15:37:42 +0000 (11:37 -0400)
From-SVN: r191672

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

index 8be160f55356404604db63ddf5203681ee00a744..3f894fedd8d57acb1055cb87327534c7556d67b2 100644 (file)
@@ -1,5 +1,7 @@
 2012-09-24  Jason Merrill  <jason@redhat.com>
 
+       * decl.c (get_atexit_node): Remove dead code.
+
        * Make-lang.in (cp/parser.o): Depend on decl.h.
 
 2012-09-20  Paolo Carlini  <paolo.carlini@oracle.com>
index 6b5b986fee7855024945dc0de64d50ca24b040b3..452f761a778fbe2dca343827e3cf816d3f26bfcf 100644 (file)
@@ -6515,7 +6515,6 @@ get_atexit_node (void)
       fn_type = build_function_type_list (integer_type_node,
                                          argtype0, argtype1, argtype2,
                                          NULL_TREE);
-      fn_ptr_type = build_pointer_type (fn_type);
       if (use_aeabi_atexit)
        name = "__aeabi_atexit";
       else