aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2012-09-24 11:37:42 -0400
committerJason Merrill <jason@gcc.gnu.org>2012-09-24 11:37:42 -0400
commit3ad50c8e154c972e4d1071c1d8163a051fe44bc1 (patch)
tree25d10b995b16c8bd3604314877637695024b0ccb /gcc
parentb6e189f63d020c1536b9675de2b50a93790dc073 (diff)
downloadgcc-3ad50c8e154c972e4d1071c1d8163a051fe44bc1.zip
gcc-3ad50c8e154c972e4d1071c1d8163a051fe44bc1.tar.gz
gcc-3ad50c8e154c972e4d1071c1d8163a051fe44bc1.tar.bz2
* decl.c (get_atexit_node): Remove dead code.
From-SVN: r191672
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/decl.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8be160f..3f894fe 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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>
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 6b5b986..452f761 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -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