This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR18191


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]