Re: [PATCH] Consistently gimplify all-zero CTORs to = {};

2018-06-21 Thread Eric Botcazou
> and > > FAIL: gnat.dg/opt34.adb scan-tree-dump esra "Created a replacement for > result" > > no time to investigate right now, so I'm putting this on hold. > Eric, can you see if the opt34.adb FAIL is "harmless"? A bit busy too, and the failure is at most a pessimization in any case, so no ob

Re: [PATCH] Consistently gimplify all-zero CTORs to = {};

2018-06-21 Thread Richard Biener
On Thu, 21 Jun 2018, Richard Biener wrote: > > PR86223 points out that we currently gimplify the testcase inconsistently. > For the incomplete CTORs we use block-clearing while for the complete > one we emit initializations of the individual elements (up to the > limits imposed in following check

[PATCH] Consistently gimplify all-zero CTORs to = {};

2018-06-21 Thread Richard Biener
PR86223 points out that we currently gimplify the testcase inconsistently. For the incomplete CTORs we use block-clearing while for the complete one we emit initializations of the individual elements (up to the limits imposed in following checks). So the following makes us always use = {}; form