[Bug c/77750] [7 Regression] gcc build not working with -O0

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 9 14:45:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see why the #c6 patch should be necessary, nor can reproduce this.
Are you using some older trunk version as bootstrap compiler, or something
similar?
E.g. the first case is:
    case LT:
      /* < C is equivalent to <= (C - 1) */
      if (const_op > 0)
        {
          const_op -= 1;
          code = LE;
          /* ... fall through to LE case below.  */
          gcc_fallthrough ();
        }
      else
        break;

    case LE:
and there really is no need for any fallthrough comment, gcc_fallthrough ();
already represents that and works even at -O0.


More information about the Gcc-bugs mailing list