re PR bootstrap/66744 (Bootstrap failure due to conflicting access() on i686-w64-mingw32)

Fix PR bootstrap/66744.

	PR bootstrap/66744
	* tree-sra.c (create_access_1): Call ctor without brackets.
	(create_artificial_child_access): Likewise.

From-SVN: r225547
This commit is contained in:
Martin Liska 2015-07-08 14:25:40 +02:00 committed by Martin Liska
parent 8f5ef6939f
commit aaa64b5878
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-07-08 Martin Liska <mliska@suse.cz>
PR bootstrap/66744
* tree-sra.c (create_access_1): Call ctor without brackets.
(create_artificial_child_access): Likewise.
2015-07-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/66793

View File

@ -858,7 +858,7 @@ mark_parm_dereference (tree base, HOST_WIDE_INT dist, gimple stmt)
static struct access *
create_access_1 (tree base, HOST_WIDE_INT offset, HOST_WIDE_INT size)
{
struct access *access = new struct access ();
struct access *access = new struct access;
memset (access, 0, sizeof (struct access));
access->base = base;
@ -2393,7 +2393,7 @@ create_artificial_child_access (struct access *parent, struct access *model,
gcc_assert (!model->grp_unscalarizable_region);
struct access *access = new struct access ();
struct access *access = new struct access;
memset (access, 0, sizeof (struct access));
if (!build_user_friendly_ref_for_offset (&expr, TREE_TYPE (expr), new_offset,
model->type))