This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR23471
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: "Hurugalawadi, Naveen" <Naveen dot Hurugalawadi at caviumnetworks 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 12:25:30 +0200
- Subject: Re: [PATCH] Fix PR23471
- Authentication-results: sourceware.org; auth=none
- 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> <SN2PR0701MB10246DB50336FB16148CD2108E990 at SN2PR0701MB1024 dot namprd07 dot prod dot outlook dot com>
On Thu, Mar 31, 2016 at 12:12 PM, Hurugalawadi, Naveen
<Naveen.Hurugalawadi@caviumnetworks.com> wrote:
>>> 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))
Yes, and that's correct.
> Then PR23471 is fixed with the current sources.
Yes.
Richard.
> Thanks,
> Naveen