From: Martin Liska Date: Wed, 8 Jul 2015 12:25:40 +0000 (+0200) Subject: re PR bootstrap/66744 (Bootstrap failure due to conflicting access() on i686-w64... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaa64b5878adabd129ffd3e35a0445d21138f50e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 421705dde5b..33a2fa03099 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-08 Martin Liska + + PR bootstrap/66744 + * tree-sra.c (create_access_1): Call ctor without brackets. + (create_artificial_child_access): Likewise. + 2015-07-08 Richard Biener PR tree-optimization/66793 diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 3d26c1e7154..3f6111c160f 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -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))