[Bug tree-optimization/94001] [10 Regression] ICE: in fold_convert_loc, at fold-const.c:2435 at -O2

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 3 18:37:00 GMT 2020


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
          Component|ipa                         |tree-optimization

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Even
void
bar (unsigned char e)
{
  bar (3);
  unsigned char c;
  c = -e;
}
ICEs with -O2 -fno-tree-dce the same way.  So, the question is:
1) why on the #c0 testcase doesn't DCE do its job
2) why does the tailr pass consider it something that needs to be accumulated
(in a void temporary)


More information about the Gcc-bugs mailing list