This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/57649] [4.7 Regression] ICE in set_is_used
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Jun 2013 09:47:24 +0000
- Subject: [Bug middle-end/57649] [4.7 Regression] ICE in set_is_used
- Auto-submitted: auto-generated
- References: <bug-57649-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57649
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Other testcases without __PRETTY_FUNCTION__:
void bar (const char *);
void
foo (void)
{
static const char r[] = "abc";
static const char *s = t;
auto void baz (void) { bar (s); }
baz ();
}
void bar (const char *);
void
foo ()
{
static const char r[] = "abc";
static const char *s = r;
struct T { T () { bar (s); } } t;
}