Commit aaa64b58 by Martin Liska Committed by Martin Liska

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
parent 8f5ef693
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
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment