This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36468] [LTO] ICE in force_decl_die, at dwarf2out.c:13976
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2008 16:09:56 -0000
- Subject: [Bug c/36468] [LTO] ICE in force_decl_die, at dwarf2out.c:13976
- References: <bug-36468-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from aldot at gcc dot gnu dot org 2008-06-09 16:09 -------
Smaller testcase:
extern int dummy(long int *);
void build_range_exp(void)
{
long int cmp_buf[6] = { L'\0', L'\0', L'\0', L'\0', L'\0', L'\0' };
if (dummy(cmp_buf)) {
;
}
}
using a smaller cmp_buf (e.g. 5) makes it compile.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36468