On Thu, 15 Aug 2024, Jakub Jelinek wrote:
> + else
> + {
> + if (res > INTTYPE_MAXIMUM (off_t))
> + cpp_error_with_line (pfile, CPP_DL_ERROR, loc, 0,
> + "too large 'gnu::offset' argument");Having a testcase for this diagnostic would be a good idea. Also one for a negative argument for gnu::offset (the errors for negative arguments are already tested for limit, but I think testing that for gnu::offset is a good idea as well). -- Joseph S. Myers [email protected]
