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