On Mon, 4 Apr 2016, Navin P.S wrote:

> On Mon, Apr 04, 2016 at 11:57:27AM -0400, Alan Stern wrote:
> > On Mon, 4 Apr 2016, Navin P.S wrote:
> > 
> > > > You want to replace 2 statements with 8 statements that do exactly 
> > > > the same thing?  This does not seem like an improvement.
> > > >
> > > 
> > >  I think Yes i have replaced 2 incorrect statements with 8 correct ones 
> > > due to below reason.
> > 
> > The original statements are not incorrect.
> > 
> > > Ubsan is a feature that is enabled .config , it was supposed to
> > > fix things that were caught at runtime. If ubsan produces an error at
> > > runtime, it gives us an oppurtunity to fix . Ignoring it would defeat
> > > the purpose of ubsan=y in .config.
> > 
> > UBSAN is not always right.  This is a case where it is wrong.
> 
> Can you please provide me with bug id for ubsan/gcc since you say
> that UBSAN is wrong here ?

There is no bug ID as far as I know.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to