This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/59649] [4.9 regression] conftest.c miscompiled
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Jan 2014 09:39:31 +0000
- Subject: [Bug rtl-optimization/59649] [4.9 regression] conftest.c miscompiled
- Auto-submitted: auto-generated
- References: <bug-59649-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59649
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub 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).