On 6/24/2022 12:19 PM, Iain Buclaw wrote:
Excerpts from Jeff Law via Gcc-patches's message of Juni 22, 2022 8:16 pm:
On 6/22/2022 11:30 AM, Iain Buclaw via Gcc-patches wrote:
Hi,
Since around GCC 10, the condition `j < (INTMAX_MAX / 10)' will get
optimized into `j != 922337203685477580', w
Excerpts from Jeff Law via Gcc-patches's message of Juni 22, 2022 8:16 pm:
>
>
> On 6/22/2022 11:30 AM, Iain Buclaw via Gcc-patches wrote:
>> Hi,
>>
>> Since around GCC 10, the condition `j < (INTMAX_MAX / 10)' will get
>> optimized into `j != 922337203685477580', which will result in an
>> infin
On 6/22/2022 11:30 AM, Iain Buclaw via Gcc-patches wrote:
Hi,
Since around GCC 10, the condition `j < (INTMAX_MAX / 10)' will get
optimized into `j != 922337203685477580', which will result in an
infinite loop for certain inputs of `j'.
This patch just copies the condition already used by th