This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Do not instrument string cst w/ unknown decl size (PR, sanitizer/71378)
- From: Martin LiÅka <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Jun 2016 13:28:08 +0200
- Subject: Re: [PATCH] Do not instrument string cst w/ unknown decl size (PR, sanitizer/71378)
- Authentication-results: sourceware.org; auth=none
- References: <8263779f-b542-0440-92be-133a87e12345 at suse dot cz> <20160603110016 dot GF7387 at tucnak dot redhat dot com>
On 06/03/2016 01:00 PM, Jakub Jelinek wrote:
> I think the STRING_CST with non-constant size is already a bug, so this
> patch looks to me just like a workaround for a bug that is somewhere else.
Ah, thanks for clarification, it looked weird to me. I've just reclassified
the PR, btw. clang++ rejects the snippet:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71378#c8
Martin