[Bug rtl-optimization/59649] [4.9 regression] conftest.c miscompiled
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 6 09:59:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59649
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> So, IMHO either get_mode_bounds needs to special case BImode like
> trunc_int_for_mode does and make the bounds of BImode include values of 0
> and STORE_FLAG_VALUE, or the BImode hunk in trunc_int_for_mode needs to be
> dropped and everything analyzed for assumption that BImode true is CONST_INT
> equal to STORE_FLAG_VALUE, or ia64 needs to use STORE_FLAG_VALUE -1 (there
> is a comment about it in ia64.h that it should be investigated).
Given that ia64 is barely maintained these days, the 3rd approach doesn't look
very realistic and the 2nd one a little risky, so the 1st approach is very
likely the way to go I'd think (e.g. if_then_else_cond also special-cases
BImode).
More information about the Gcc-bugs
mailing list