[PATCH] PR18191

Steven Bosscher stevenb@suse.de
Sun Dec 19 01:58:00 GMT 2004


On Dec 19, 2004 02:10 AM, Richard Henderson <rth@redhat.com> wrote:

> On Sat, Dec 18, 2004 at 12:18:01PM +0100, Steven Bosscher wrote:
> > Good point.  How about the following:
> > 
> > 	    sorry ("constructor with more than " HOST_WIDE_INT_PRINT
> > 		   "elements not supported on this host.", MAX_HOST_WIDE_INT);
> 
> What's the point of worrying about this specific case when we 
> don't handle overflow on any of the other uses of mult?

I thought it would be possible to generate wrong code if we don't
count the number of elts in the ctor, but that's a thinko, all that
would happen is we'd do an unnecessary block clear.  So consider
this hunk dropped.

I'll prepare a new patch tomorrow.

Gr.
Steven




More information about the Gcc-patches mailing list