This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove bogus assert from CCP's insert_clobbers_for_var
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Martin Jambor <mjambor at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Guenther <rguenther at suse dot de>, Tom de Vries <tom at codesourcery dot com>
- Date: Fri, 30 Mar 2012 13:23:00 +0200
- Subject: Re: [PATCH] Remove bogus assert from CCP's insert_clobbers_for_var
- References: <20120328183936.GA2817@virgil.arch.suse.de>
> On IRC I've been told that is OK and the that CCP cannot make such
> assumtions. Since it is only a missed-optimization if the call to the
> builtin is not found and processed (basically PR 51491 again but only
> in cases like these), I thought it best to just remove the assert by
> the following simple patch, bootstrapped and tested on x86_64-linux.
Please do that on the 4.7 branch as well if the assertion is incorrect.
--
Eric Botcazou