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

aldot at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 9 16:10:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list