Re: build-porting64-gcc-debug_gcsafety

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <4975938.r3FeuDIRgL@omega>
Hi Sam,

> > * Bruno Haible <[email protected]> [2017-03-10 14:37:23 +0100]:
> >
> >> ../src/lispbibl.d:5572:36: warning: left shift of negative value [-Wshift-negative-value]
> >>      objectplus(obj, (soint)(delta) << oint_data_shift)
> >>                                     ^
> 
> shouldn't it be 
> 
>      objectplus(obj, (soint)(delta << oint_data_shift))
> 
> instead?

Definitely no. 'delta' can be a simple 'int' (i.e. 32 bits wide),
and we have configurations with oint_data_shift = oint_addr_shift = 32.

As I said on 2017-02-08, diagnostics from -Wshift-negative-value are
most probably just noise.

Bruno


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.