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]

Re: [testsuite] fold_const serious bug


On Fri, Jul 14, 2000 at 05:26:29PM -0700, Richard Henderson wrote:
> On Fri, Jul 14, 2000 at 11:08:00PM +0200, Jakub Jelinek wrote:
> > > As a correllary, it would appear from the test case that we've illegally
> > > asked for the computation to be widened.
> > 
> > The wide_type argument setting was done before it actually knew there is
> > something like uchar lurking in there, it was set as a result of the
> > NOP_EXPR which was of type int.
> 
> No, this is what I had in mind.  Does this make sense to you?  It fixes
> the test case on alpha; I've not yet run a full bootstrap and check.

Yes, this is certainly safe.
I've just bootstrapped and run make check without regressions on i386, can
you please commit it?
I'll commit the testcase with the change you suggested.

	Jakub

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