RFC: C++ PATCH to do bounds sanitation for VLA initialization

Jason Merrill jason@redhat.com
Thu Jan 8 04:57:00 GMT 2015


My recent patch to remove the C++ VLA semantics that didn't make it into 
C++14 missed a couple of spots.  While I was looking at that I noticed 
that we weren't sanitizing VLA initialization, which we ought to do; 
this patch implements that.  Marek, does my choice of VLA|BOUNDS make 
sense to you?

Tested x86_64-pc-linux-gnu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vla-init-san.patch
Type: text/x-patch
Size: 5495 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150108/22895a63/attachment.bin>


More information about the Gcc-patches mailing list