Re: [PATCH] Fix ICE with strlen optimization (PR tree-optimization/50604)

2011-10-04 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/04/11 05:00, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs on the trunk, as strlen optimization > was assuming memcpy arguments will have expected type > (size_type_node), but they had ssizetype instead. The following > patch fixes

Re: [PATCH] Fix ICE with strlen optimization (PR tree-optimization/50604)

2011-10-04 Thread Richard Guenther
On Tue, Oct 4, 2011 at 1:00 PM, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs on the trunk, as strlen optimization was > assuming memcpy arguments will have expected type (size_type_node), > but they had ssizetype instead.  The following patch fixes it > both in the builtins.c folders

[PATCH] Fix ICE with strlen optimization (PR tree-optimization/50604)

2011-10-04 Thread Jakub Jelinek
Hi! The following testcase ICEs on the trunk, as strlen optimization was assuming memcpy arguments will have expected type (size_type_node), but they had ssizetype instead. The following patch fixes it both in the builtins.c folders that create memcpy and also in the strlen pass to no longer assu