[PATCH] fix PR c++/77804 - ICE on placement VLA new

Jason Merrill jason@redhat.com
Tue Oct 4 15:24:00 GMT 2016


On Mon, Oct 3, 2016 at 4:53 PM, Martin Sebor <msebor@gmail.com> wrote:
> The attached patch removes an assumption from the implementation
> of the -Wplacement-new warning that the size of the array type
> enclosed in parentheses and accepted by G++ as an extension is
> constant.  The assumption causes an ICE in 6.2.0 and 7.0.
> Is the patch good to commit to both 7.0 and the 6 branch?
> Thanks
> Martin

More information about the Gcc-patches mailing list