This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]