[Bug bootstrap/66038] [5 regression] (stage 2) build/genmatch segfaults in operand::gen_transform (gcc/hash-table.h:223)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 20 15:50:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66038

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Douglas Mencken from comment #18)
> > try without --disable-checking
> Okay, doing it now.
> 
> Meanwhile. Why ``sizeof (hashval_t) * CHAR_BIT'' cannot be checked at
> configure time, not at buildtime nor runtime?

Because it is closer to the code which it wants to guard.  And, at least in
optimized built, it should be a no-op - optimized away completely if the
condition is true, because it can be evaluated at compile time.



More information about the Gcc-bugs mailing list