This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR23471
- From: "Hurugalawadi, Naveen" <Naveen dot Hurugalawadi at caviumnetworks dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: "marc dot glisse at inria dot fr" <marc dot glisse at inria dot fr>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Mar 2016 10:12:38 +0000
- Subject: Re: [PATCH] Fix PR23471
- Authentication-results: sourceware.org; auth=none
- Authentication-results: inria.fr; dkim=none (message not signed) header.d=none;inria.fr; dmarc=none action=none header.from=caviumnetworks.com;
- References: <SN2PR0701MB1024D1CF026995DC14B0B3308E990 at SN2PR0701MB1024 dot namprd07 dot prod dot outlook dot com> <alpine dot DEB dot 2 dot 20 dot 1603311117500 dot 1831 at laptop-mg dot saclay dot inria dot fr> <SN2PR0701MB10246E5A329A5FC93453E8818E990 at SN2PR0701MB1024 dot namprd07 dot prod dot outlook dot com>,<CAFiYyc28jGUMo8XFuTg--4pLYFSyitfWFDn2QWo31RRAKqP+wA at mail dot gmail dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
>> With -O1 there is -fno-strict-overflow in effect which is not
>> TYPE_OVERFLOW_UNDEFINED.
Thanks for the details. The below code has the following condition
and hence not working for O1.
if (FLOAT_TYPE_P (type) || TYPE_OVERFLOW_UNDEFINED (type))
Then PR23471 is fixed with the current sources.
Thanks,
Naveen