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
This commit is contained in:
Mike Stump 2014-01-07 07:47:57 +00:00 committed by Jakub Jelinek
parent 69be2671a7
commit cc349a3901
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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;

View File

@ -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. */