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

Richard Biener richard.guenther@gmail.com
Wed Nov 23 08:23:00 GMT 2016


On Tue, Nov 22, 2016 at 11:21 PM, Martin Sebor <msebor@gmail.com> 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 logic used to compute
> the minimum number of bytes output by a %.*s directive with
> a known precision and a string of unknown length.  The bug
> manifested itself by triggering an ICE. The attached patch
> corrects this problem.

Ok.

Richard.

> Thanks
> Martin



More information about the Gcc-patches mailing list