aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 07c321a..d6714d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-14 Marek Polacek <polacek@redhat.com>
+
+ * tree.c (build_common_builtin_nodes): Remove doubled ECF_LEAF.
+
2014-11-14 Richard Biener <rguenther@suse.de>
* genmatch.c (add_operator): Allow CONSTRUCTOR.
diff --git a/gcc/tree.c b/gcc/tree.c
index cf37a19..5c6fe0b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -9935,7 +9935,7 @@ build_common_builtin_nodes (void)
local_define_builtin ("__builtin_unreachable", ftype, BUILT_IN_UNREACHABLE,
"__builtin_unreachable",
ECF_NOTHROW | ECF_LEAF | ECF_NORETURN
- | ECF_CONST | ECF_LEAF);
+ | ECF_CONST);
}
if (!builtin_decl_explicit_p (BUILT_IN_MEMCPY)