aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2014-01-07 07:47:57 +0000
committerJakub Jelinek <jakub@gcc.gnu.org>2014-01-07 08:47:57 +0100
commitcc349a3901254b334d2ab2bf6eadb35eeb8fdb48 (patch)
treebbca118b0ada564f8f007b3c255dd027f45e855f
parent69be2671a74e3edaa421ae149a06fa1dcbba9c5b (diff)
downloadgcc-cc349a3901254b334d2ab2bf6eadb35eeb8fdb48.zip
gcc-cc349a3901254b334d2ab2bf6eadb35eeb8fdb48.tar.gz
gcc-cc349a3901254b334d2ab2bf6eadb35eeb8fdb48.tar.bz2
re PR pch/59436 (FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors))
PR pch/59436 * tree-core.h (struct tree_optimization_option): Change optabs type from unsigned char * to void *. * optabs.c (init_tree_optimization_optabs): Adjust TREE_OPTIMIZATION_OPTABS initialization. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r206383
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/optabs.c2
-rw-r--r--gcc/tree-core.h2
3 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 624c9fb..d52cdc3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2014-01-07 Mike Stump <mikestump@comcast.net>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR pch/59436
+ * tree-core.h (struct tree_optimization_option): Change optabs
+ type from unsigned char * to void *.
+ * optabs.c (init_tree_optimization_optabs): Adjust
+ TREE_OPTIMIZATION_OPTABS initialization.
+
2014-01-06 Jakub Jelinek <jakub@redhat.com>
PR target/59644
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 213eaf9..e36fd13 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -6245,7 +6245,7 @@ init_tree_optimization_optabs (tree optnode)
/* If the optabs changed, record it. */
if (memcmp (tmp_optabs, this_target_optabs, sizeof (struct target_optabs)))
- TREE_OPTIMIZATION_OPTABS (optnode) = (unsigned char *) tmp_optabs;
+ TREE_OPTIMIZATION_OPTABS (optnode) = tmp_optabs;
else
{
TREE_OPTIMIZATION_OPTABS (optnode) = NULL;
diff --git a/gcc/tree-core.h b/gcc/tree-core.h
index 0a41b86..361fd90 100644
--- a/gcc/tree-core.h
+++ b/gcc/tree-core.h
@@ -1550,7 +1550,7 @@ struct GTY(()) tree_optimization_option {
/* Target optabs for this set of optimization options. This is of
type `struct target_optabs *'. */
- unsigned char *GTY ((atomic)) optabs;
+ void *GTY ((atomic)) optabs;
/* The value of this_target_optabs against which the optabs above were
generated. */