http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
--- Comment #7 from Jason Merrill jason at gcc dot gnu.org 2011-11-04
16:16:18 UTC ---
Author: jason
Date: Fri Nov 4 16:16:09 2011
New Revision: 180961
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180961
Log:
PR c++/50941
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
Ed Smith-Rowland 3dw4rd at verizon dot net changed:
What|Removed |Added
Attachment #25685|0 |1
is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
--- Comment #6 from Ed Smith-Rowland 3dw4rd at verizon dot net 2011-11-03
01:16:02 UTC ---
Ummm
So do I post a patch and CL to gcc-patches if this is OK?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
--- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com
2011-11-01 10:24:59 UTC ---
I need to make a correction in regard to the actually provided length values:
a) The following assertions incorrectly hold:
static_assert(
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
--- Comment #2 from Ed Smith-Rowland 3dw4rd at verizon dot net 2011-11-01
21:52:13 UTC ---
Divide by sizeof, then subtract 1.
Working on a patch.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50941
--- Comment #3 from Ed Smith-Rowland 3dw4rd at verizon dot net 2011-11-02
04:22:20 UTC ---
Created attachment 25685
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25685
Patch with testcase.
Patch. Testcase modified from initial report.