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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2020-08-10
            Summary|Wrong evaluation of a       |[10/11 Regression] Wrong
                   |comparison between long &   |evaluation of a comparison
                   |short                       |between long & short

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Thank you for the report!

Slighly modified test-case:

long c = -1L;
long b = 0L;
int main(void) {
  if (3L > (short) ((c ^= (b = 1L)) * 3L))
    return 0;
  __builtin_abort ();
}

Started with r10-7921-gbca558de2a24b2a7.

Reply via email to