Re: [PATCH] 78461 - [7 Regression] ICE: in operator+=, at gimple-ssa-sprintf.c:214

2016-11-23 Thread Richard Biener
On Tue, Nov 22, 2016 at 11:21 PM, Martin Sebor wrote: > With r242674 having enabled the -fprintf-return-value option by > default, when warnings are disabled the gimple-ssa-sprintf pass > is now exercised in ways it was not being tested. One of these > untested use cases exposed a bug in the logi

[PATCH] 78461 - [7 Regression] ICE: in operator+=, at gimple-ssa-sprintf.c:214

2016-11-22 Thread Martin Sebor
With r242674 having enabled the -fprintf-return-value option by default, when warnings are disabled the gimple-ssa-sprintf pass is now exercised in ways it was not being tested. One of these untested use cases exposed a bug in the logic used to compute the minimum number of bytes output by a %.*s