[Bug jit/100242] libgccjit.so: error: in expmed_mode_index, at expmed.h:249

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 16 11:37:09 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|marxin at gcc dot gnu.org          |dmalcolm at gcc dot gnu.org
             Status|ASSIGNED                    |NEW
           Keywords|                            |ice-on-invalid-code

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Also leaving to David, this one is less serious as it's invalid input.
For C FE, we report:

gcc x.c
x.c: In function ‘foo’:
x.c:3:5: error: invalid operands to binary % (have ‘float’ and ‘float’)
    3 |   a %= b;
      |     ^~


More information about the Gcc-bugs mailing list