This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70852] ice in warn_for_memset
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Apr 2016 15:27:07 +0000
- Subject: [Bug c/70852] ice in warn_for_memset
- Auto-submitted: auto-generated
- References: <bug-70852-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70852
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
/* PR c/70852 */
/* { dg-do compile } */
/* { dg-options "-Wall" } */
extern void *memset (void *, int, __SIZE_TYPE__);
extern int A[];
void
fn1 (void)
{
memset (A, 0, 1);
}