[Bug c/36468] [LTO] ICE in force_decl_die, at dwarf2out.c:13976

2008-06-09 Thread aldot 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



[Bug c/36468] [LTO] ICE in force_decl_die, at dwarf2out.c:13976

2008-06-08 Thread aldot at gcc dot gnu dot org


--- Comment #1 from aldot at gcc dot gnu dot org  2008-06-08 20:00 ---
Created an attachment (id=15737)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15737action=view)
reduced testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36468