Patch v2 of Bug 119222 Conversion of inf to integer is not diagnosed , pay attention to Notice !

2025-03-28 Thread Gwen Fu
>From bd5541b903747082c984aa92ebe16faeae7b0c71 Mon Sep 17 00:00:00 2001 From: Gwen Fu Date: Thu, 27 Mar 2025 15:55:23 +0800 Subject: [PATCH] [Description of 119222 bug] Conversion of inf to integer is not diagnosed [How addresses it] In c-warn.cc, function: warnings_for_convert_and_ch

Patch about Bug 119222 - Conversion of inf to integer is not diagnosed [Classifier] a single patch [Tags] conversion warning ;c++; inf to integer [Brief Summary ]Add a judgement in the RDIV_EXPR case

2025-03-17 Thread Gwen Fu
INTEGER_TYPE? From 6924ad5d1a3a96ed46b728a47462a7a054613326 Mon Sep 17 00:00:00 2001 From: Gwen Fu Date: Tue, 18 Mar 2025 11:37:28 +0800 Subject: [PATCH] fix bug119222 Conversion of inf to integer is not diagnosed --- gcc/c-family/c-common.cc | 5 +++-- gcc/c-family/c-warn.cc | 11 +++ 2