==> Creating clean working copy [build]...done
==> Making package: perl-math-pari 1:2.01080900-2 (Fri Mar 24 17:25:30 EDT 2017)
==> Retrieving sources...
  -> Found Math-Pari-2.01080900.zip
==> Validating source files with sha512sums...
    Math-Pari-2.01080900.zip ... Passed
==> Making package: perl-math-pari 1:2.01080900-2 (Fri Mar 24 17:25:31 EDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Math-Pari-2.01080900.zip
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    Math-Pari-2.01080900.zip ... Passed
==> Extracting sources...
  -> Extracting Math-Pari-2.01080900.zip with bsdtar
==> Starting build()...
Did not find GP/PARI build directory around.
Non-interactive session, autofetching...

Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Not in this directory, now chdir('OLD/2.3')...
Not in this directory, now chdir('../2.1')...
Available golden versions: `2.1.1 2.1.5 2.1.6 2.1.0 2.1.7 2.1.4 2.1.3 2.1.2'
Latest supported golden is `pari-2.1.7.tgz'
Picking golden version 2.1.7, file pari-2.1.7.tgz
Downloading `ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-2.1.7.tgz'...
Downloaded...
Extracting...
gzip -dc pari-2.1.7.tgz | tar -xvf -
pari-2.1.7/
pari-2.1.7/AUTHORS
pari-2.1.7/Announce.2.1
pari-2.1.7/CHANGES
pari-2.1.7/COMPAT
pari-2.1.7/COPYING
pari-2.1.7/CVS.txt
pari-2.1.7/Configure
pari-2.1.7/INSTALL.tex
pari-2.1.7/INSTALL.txt
pari-2.1.7/MACHINES
pari-2.1.7/NEW
pari-2.1.7/Odos/
pari-2.1.7/Odos/Makefile
pari-2.1.7/Odos/README.MSVC
pari-2.1.7/Odos/objs
pari-2.1.7/Odos/objsgp
pari-2.1.7/Odos/pariCE.c
pari-2.1.7/Odos/pariCE.h
pari-2.1.7/Odos/paricfg.h
pari-2.1.7/Odos/pariinl.h
pari-2.1.7/README
pari-2.1.7/README.DOS
pari-2.1.7/README.WIN
pari-2.1.7/TODO
pari-2.1.7/config/
pari-2.1.7/config/DOC_Make.SH
pari-2.1.7/config/GEN_Make.SH
pari-2.1.7/config/Imakefile
pari-2.1.7/config/MANIFEST
pari-2.1.7/config/Makefile.DLLs
pari-2.1.7/config/Makefile.SH
pari-2.1.7/config/TOP_Make.SH
pari-2.1.7/config/arch-osname
pari-2.1.7/config/display
pari-2.1.7/config/endian.c
pari-2.1.7/config/extract_files
pari-2.1.7/config/gnu.c
pari-2.1.7/config/has_TIOCGWINSZ.c
pari-2.1.7/config/has_dlopen.c
pari-2.1.7/config/has_exp2.c
pari-2.1.7/config/has_getrlimit.c
pari-2.1.7/config/has_getrusage.c
pari-2.1.7/config/has_opendir.c
pari-2.1.7/config/has_sigrelse.c
pari-2.1.7/config/has_sigsetmask.c
pari-2.1.7/config/has_strftime.c
pari-2.1.7/config/has_times.c
pari-2.1.7/config/has_ulong.c
pari-2.1.7/config/install
pari-2.1.7/config/locate
pari-2.1.7/config/locatelib
pari-2.1.7/config/locatesymbol
pari-2.1.7/config/look
pari-2.1.7/config/myread
pari-2.1.7/config/paricfg.h.SH
pari-2.1.7/config/paricfgDOS.h.SH
pari-2.1.7/config/rl_version.c
pari-2.1.7/config/version
pari-2.1.7/doc/
pari-2.1.7/doc/appa.tex
pari-2.1.7/doc/appb.tex
pari-2.1.7/doc/appc.tex
pari-2.1.7/doc/gp.1
pari-2.1.7/doc/gphelp.1
pari-2.1.7/doc/gphelp.in
pari-2.1.7/doc/paricfg.tex.in
pari-2.1.7/doc/parimacro.tex
pari-2.1.7/doc/pdfmacs.tex
pari-2.1.7/doc/refcard.tex
pari-2.1.7/doc/tex2mail.1
pari-2.1.7/doc/translations
pari-2.1.7/doc/tutorial.tex
pari-2.1.7/doc/users.tex
pari-2.1.7/doc/usersch1.tex
pari-2.1.7/doc/usersch2.tex
pari-2.1.7/doc/usersch3.tex
pari-2.1.7/doc/usersch4.tex
pari-2.1.7/doc/usersch5.tex
pari-2.1.7/emacs/
pari-2.1.7/emacs/compile
pari-2.1.7/emacs/pari-translator.el
pari-2.1.7/emacs/pari.el-changes
pari-2.1.7/emacs/pari.el.in
pari-2.1.7/emacs/pariemacs.txt
pari-2.1.7/emacs/with-syntax.el
pari-2.1.7/examples/
pari-2.1.7/examples/EXPLAIN
pari-2.1.7/examples/Inputrc
pari-2.1.7/examples/bench.gp
pari-2.1.7/examples/cl.gp
pari-2.1.7/examples/classno.gp
pari-2.1.7/examples/contfrac.gp
pari-2.1.7/examples/lucas.gp
pari-2.1.7/examples/matexp.c
pari-2.1.7/examples/rho.gp
pari-2.1.7/examples/squfof.gp
pari-2.1.7/examples/taylor.gp
pari-2.1.7/misc/
pari-2.1.7/misc/README
pari-2.1.7/misc/color.dft
pari-2.1.7/misc/gpalias
pari-2.1.7/misc/gpflog
pari-2.1.7/misc/gprc.dft
pari-2.1.7/misc/gprc.dos
pari-2.1.7/misc/new.dic
pari-2.1.7/misc/pari.xpm
pari-2.1.7/misc/tex2mail.in
pari-2.1.7/misc/xgp
pari-2.1.7/src/
pari-2.1.7/src/basemath/
pari-2.1.7/src/basemath/alglin1.c
pari-2.1.7/src/basemath/alglin2.c
pari-2.1.7/src/basemath/arith1.c
pari-2.1.7/src/basemath/arith2.c
pari-2.1.7/src/basemath/base1.c
pari-2.1.7/src/basemath/base2.c
pari-2.1.7/src/basemath/base3.c
pari-2.1.7/src/basemath/base4.c
pari-2.1.7/src/basemath/base5.c
pari-2.1.7/src/basemath/bibli1.c
pari-2.1.7/src/basemath/bibli2.c
pari-2.1.7/src/basemath/buch1.c
pari-2.1.7/src/basemath/buch2.c
pari-2.1.7/src/basemath/buch3.c
pari-2.1.7/src/basemath/buch4.c
pari-2.1.7/src/basemath/galconj.c
pari-2.1.7/src/basemath/gen1.c
pari-2.1.7/src/basemath/gen2.c
pari-2.1.7/src/basemath/gen3.c
pari-2.1.7/src/basemath/ifactor1.c
pari-2.1.7/src/basemath/polarit1.c
pari-2.1.7/src/basemath/polarit2.c
pari-2.1.7/src/basemath/polarit3.c
pari-2.1.7/src/basemath/rootpol.c
pari-2.1.7/src/basemath/subgroup.c
pari-2.1.7/src/basemath/trans1.c
pari-2.1.7/src/basemath/trans2.c
pari-2.1.7/src/basemath/trans3.c
pari-2.1.7/src/gp/
pari-2.1.7/src/gp/gp.c
pari-2.1.7/src/gp/gp.h
pari-2.1.7/src/gp/gp_init.c
pari-2.1.7/src/gp/gp_rl.c
pari-2.1.7/src/gp/highlvl.c
pari-2.1.7/src/gp/whatnow.c
pari-2.1.7/src/graph/
pari-2.1.7/src/graph/Gnuplot.h
pari-2.1.7/src/graph/plotX.c
pari-2.1.7/src/graph/plotgnuplot.c
pari-2.1.7/src/graph/plotnull.c
pari-2.1.7/src/graph/plotport.c
pari-2.1.7/src/graph/rect.h
pari-2.1.7/src/headers/
pari-2.1.7/src/headers/pari.h
pari-2.1.7/src/headers/pari68k.h
pari-2.1.7/src/headers/paricast.h
pari-2.1.7/src/headers/paricom.h
pari-2.1.7/src/headers/paridecl.h
pari-2.1.7/src/headers/parierr.h
pari-2.1.7/src/headers/parigen.h
pari-2.1.7/src/headers/parinf.h
pari-2.1.7/src/headers/pariport.h
pari-2.1.7/src/headers/paristio.h
pari-2.1.7/src/headers/parisys.h
pari-2.1.7/src/headers/paritype.h
pari-2.1.7/src/kernel/
pari-2.1.7/src/kernel/README
pari-2.1.7/src/kernel/alpha/
pari-2.1.7/src/kernel/alpha/Makefile.SH
pari-2.1.7/src/kernel/alpha/level0.s
pari-2.1.7/src/kernel/hppa/
pari-2.1.7/src/kernel/hppa/Makefile.SH
pari-2.1.7/src/kernel/hppa/README
pari-2.1.7/src/kernel/hppa/level0.s
pari-2.1.7/src/kernel/ix86/
pari-2.1.7/src/kernel/ix86/Makefile.SH
pari-2.1.7/src/kernel/ix86/l0asm.c
pari-2.1.7/src/kernel/ix86/l0asm.h
pari-2.1.7/src/kernel/ix86/l0asm.txt
pari-2.1.7/src/kernel/ix86/level0.h
pari-2.1.7/src/kernel/m68k/
pari-2.1.7/src/kernel/m68k/Makefile.SH
pari-2.1.7/src/kernel/m68k/mp.s
pari-2.1.7/src/kernel/none/
pari-2.1.7/src/kernel/none/Makefile.SH
pari-2.1.7/src/kernel/none/asm0.h
pari-2.1.7/src/kernel/none/level0.c
pari-2.1.7/src/kernel/none/level0.h
pari-2.1.7/src/kernel/none/level1.c
pari-2.1.7/src/kernel/none/level1.h
pari-2.1.7/src/kernel/none/mp.c
pari-2.1.7/src/kernel/ppc/
pari-2.1.7/src/kernel/ppc/README
pari-2.1.7/src/kernel/ppc/kerPPC.s
pari-2.1.7/src/kernel/sparcv7/
pari-2.1.7/src/kernel/sparcv7/Makefile.SH
pari-2.1.7/src/kernel/sparcv7/level0.S
pari-2.1.7/src/kernel/sparcv8/
pari-2.1.7/src/kernel/sparcv8/Makefile.SH
pari-2.1.7/src/kernel/sparcv8/MakeVar.SH
pari-2.1.7/src/kernel/sparcv8/level0.S
pari-2.1.7/src/kernel/sparcv8/level0.h
pari-2.1.7/src/kernel/sparcv8/level0_sparcv8_micro.S
pari-2.1.7/src/kernel/sparcv8/level0_sparcv8_super.S
pari-2.1.7/src/kernel/sparcv9/
pari-2.1.7/src/kernel/sparcv9/README
pari-2.1.7/src/kernel/sparcv9/asmsparcv9.h
pari-2.1.7/src/language/
pari-2.1.7/src/language/anal.c
pari-2.1.7/src/language/anal.h
pari-2.1.7/src/language/compat.c
pari-2.1.7/src/language/errmsg.c
pari-2.1.7/src/language/es.c
pari-2.1.7/src/language/helpmsg.c
pari-2.1.7/src/language/init.c
pari-2.1.7/src/language/sumiter.c
pari-2.1.7/src/make_emacs_tags
pari-2.1.7/src/make_vi_tags
pari-2.1.7/src/modules/
pari-2.1.7/src/modules/elliptic.c
pari-2.1.7/src/modules/galois.c
pari-2.1.7/src/modules/kummer.c
pari-2.1.7/src/modules/mpqs.c
pari-2.1.7/src/modules/nffactor.c
pari-2.1.7/src/modules/stark.c
pari-2.1.7/src/modules/subfield.c
pari-2.1.7/src/modules/thue.c
pari-2.1.7/src/test/
pari-2.1.7/src/test/32/
pari-2.1.7/src/test/32/analyz
pari-2.1.7/src/test/32/compat
pari-2.1.7/src/test/32/elliptic
pari-2.1.7/src/test/32/graph
pari-2.1.7/src/test/32/kernel
pari-2.1.7/src/test/32/linear
pari-2.1.7/src/test/32/nfields
pari-2.1.7/src/test/32/number
pari-2.1.7/src/test/32/objets
pari-2.1.7/src/test/32/ploth
pari-2.1.7/src/test/32/polyser
pari-2.1.7/src/test/32/program
pari-2.1.7/src/test/32/sumiter
pari-2.1.7/src/test/32/trans
pari-2.1.7/src/test/64/
pari-2.1.7/src/test/64/analyz
pari-2.1.7/src/test/64/compat
pari-2.1.7/src/test/64/elliptic
pari-2.1.7/src/test/64/graph
pari-2.1.7/src/test/64/kernel
pari-2.1.7/src/test/64/linear
pari-2.1.7/src/test/64/nfields
pari-2.1.7/src/test/64/number
pari-2.1.7/src/test/64/objets
pari-2.1.7/src/test/64/ploth
pari-2.1.7/src/test/64/polyser
pari-2.1.7/src/test/64/program
pari-2.1.7/src/test/64/sumiter
pari-2.1.7/src/test/64/trans
pari-2.1.7/src/test/dotest
pari-2.1.7/src/test/in/
pari-2.1.7/src/test/in/analyz
pari-2.1.7/src/test/in/compat
pari-2.1.7/src/test/in/elliptic
pari-2.1.7/src/test/in/graph
pari-2.1.7/src/test/in/linear
pari-2.1.7/src/test/in/nfields
pari-2.1.7/src/test/in/number
pari-2.1.7/src/test/in/objets
pari-2.1.7/src/test/in/ploth
pari-2.1.7/src/test/in/polyser
pari-2.1.7/src/test/in/program
pari-2.1.7/src/test/in/sumiter
pari-2.1.7/src/test/in/trans
pari-2.1.7/src/test/kerntest.c
Looking for patches for 2.1.7...
Patching...
cd pari-2.1.7 && patch -p1  < ../patches/patch-pari-unnormalized-float
patching file src/kernel/none/mp.c
cd pari-2.1.7 && patch -p1  < ../patches/diff_2.1.7_-O
patching file src/headers/parisys.h
cd pari-2.1.7 && patch -p1  < ../patches/diff_2.1.7_div
patching file src/kernel/ix86/level0.h
cd pari-2.1.7 && patch -p1  < ../patches/diff_2.1.6_align_power_of_2
patching file src/kernel/ix86/l0asm.c
cd pari-2.1.7 && patch -p1  < ../patches/diff_2.1.7_restart
patching file src/language/init.c
Finished patching...
Setting up Math::Pari with Perl 5.024001 on linux version 3.10.103-3-arch;
   cc=cc, gccversion=6.3.1 20170109, cccdlflags='-fPIC',
   ccflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4',
   ld=cc, ldflags='-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib'.
Found GP/PARI build directory in pari-2.1.7
     (integer-formatted version 2001007).

  ### GP/PARI library version 2.1.* has many problems fixed in versions 2.3.*.

  ### Especially important are the problems with symbols `hiremainder' and
  ### `overflow' - if your build fails and error messages contain these
  ### words, updating to 2.3.* might allow your use of fast processor-specific
  ### assembler code.)

  ### Switching to 2.3.* should be as simple as giving Makefile.PL an option
  ###           version23_ok=1
  ###   (if you or Makefile.PL already downloaded-and-extracted version-2.1.* 
  ###    distribution, give an extra option, force_download).
  ### Alternatively, give option
  ###           paridir=DIRECTORY-of-extracted-distribution

  ### However, keep in mind: v.2.3.* supports only plotting to PostScript.

...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
...CLK_TCK not defined
Creating libPARI/paricfg.h...
Trying to find DATADIR of an installed version of GP/PARI (if such exists)...
sh: gp: command not found
...Processor of family `aarch64' detected
Checking if your kit is complete...
Looks good
...Processor of family `aarch64' detected
####	Do not know how to build for assembler `aarch64'.	####
####	Reversing to assembler-less type `port'.		####
####						 		####
####	If you think your processor's assembler is supported	####
####	by PARI, edit libPARI/Makefile.PL and report.		####
####						 		####
####	Alternatively, specify machine=YOURTYPE or machine=none	####
####	on the							####
####	  perl Makefile.PL			 		####
####	command line.				 		####
####	Recognized types:			 		####
####	  alpha hppa m86k none sparcv7 sparcv8 sparcv8_micro	####
####	  sparcv8_super ix86 (ppc ia64 after 2.2.7) 		####
...I will  use portable assembler-less build
...Assembler is GNU assembler
Generating a Unix-style Makefile
Writing Makefile for Math::PARI::libPARI
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Math::Pari
Writing MYMETA.yml and MYMETA.json
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.pod blib/lib/Math/libPARI.pod
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory '/build/perl-math-pari/src/Math-Pari-2.01080900/libPARI'
"/usr/bin/perl" -wle0 > pariinl.h
"/usr/bin/perl" -pe1 ../pari-2.1.7/src/kernel/none/level0.h ../pari-2.1.7/src/kernel/none/level1.h			  >> pariinl.h
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base4.o ../pari-2.1.7/src/basemath/base4.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealtyp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:58:18: note: in expansion of macro 'typ'
   long t,lx,tx = typ(x);
                  ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:61:44: note: in expansion of macro 'typ'
   { *arch = (GEN)x[2]; x = (GEN)x[1]; tx = typ(x); }
                                            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_is_zk':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:93:7: note: in expansion of macro 'typ'
   if (typ(ideal) != t_MAT || lx==1) return 0;
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'prime_to_ideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:119:7: note: in expansion of macro 'typ'
   if (typ(vp) == t_INT) return gscalmat(vp, lgef(nf[1])-3);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'principalideal0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:196:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_arch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:246:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x = algtobasis_intern(nf,x);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_arch_real':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:271:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x = algtobasis_intern(nf,x);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:276:9: note: in expansion of macro 'signe'
     i = signe(u);
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'check_elt':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:393:8: note: in expansion of macro 'signe'
   if (!signe(a)) return NULL;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:405:9: note: in expansion of macro 'typ'
     if (typ(yZ) == t_FRAC) /* should be exceedingly rare */
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'setprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:429:11: note: in expansion of macro 'typ'
       if (typ(p2) == t_REAL) setlg(p2, prec);
           ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_better_basis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:443:7: note: in expansion of macro 'typ'
   if (typ(nf[5]) != t_VEC) return x;
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_two_elt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:550:12: note: in expansion of macro 'typ'
     switch(typ(x))
            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'factor_norm':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base4.c:598:3: note: in expansion of macro 'settyp'
   settyp(e, t_VECSMALL); return f;
   ^~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:685:49: note: in expansion of macro 'typ'
   long N,v,vd,w,av=avma,av1,lim,e,f,i,j,k, tx = typ(ix);
                                                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:723:11: note: in expansion of macro 'signe'
       if (signe(r)) { avma = av; return vd; }
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:741:13: note: in expansion of macro 'signe'
         if (signe(r)) { avma = av; return w + vd; }
             ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_p1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:817:11: note: in expansion of macro 'typ'
       if (typ(v1)!=t_INT || typ(v2)!=t_INT)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:817:29: note: in expansion of macro 'typ'
       if (typ(v1)!=t_INT || typ(v2)!=t_INT)
                             ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideleaddone_aux':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:890:7: note: in expansion of macro 'typ'
   if (typ(arch)!=t_VEC && lg(arch)!=R1+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:893:9: note: in expansion of macro 'signe'
     if (signe(arch[i])) nba++;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:904:9: note: in expansion of macro 'signe'
     if (signe(p1[i])) { nba=1; p3=element_mul(nf,p3,(GEN)p2[i]); }
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_invmodideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:979:7: note: in expansion of macro 'typ'
   if (typ(y)!=t_MAT || i==1 || i != lg(y[1])) yh=idealhermite_aux(nf,y);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:982:11: note: in expansion of macro 'typ'
   switch (typ(x))
           ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealaddmultoone':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1009:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_VEC && typ(list)!=t_COL)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1009:27: note: in expansion of macro 'typ'
   if (typ(list)!=t_VEC && typ(list)!=t_COL)
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1016:9: note: in expansion of macro 'typ'
     if (typ(p1)!=t_MAT || lg(p1)!=lg(p1[1]))
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1034:26: note: in expansion of macro 'typ'
   tetpil=avma; v=cgetg(k,typ(list));
                          ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulh':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1085:7: note: in expansion of macro 'typ'
   if (typ(ix)==t_VEC) {f=1;  x=(GEN)ix[1];} else x=ix;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1086:7: note: in expansion of macro 'typ'
   if (typ(iy)==t_VEC && typ(iy[1]) != t_INT) {f+=2; y=(GEN)iy[1];} else y=iy;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1086:25: note: in expansion of macro 'typ'
   if (typ(iy)==t_VEC && typ(iy[1]) != t_INT) {f+=2; y=(GEN)iy[1];} else y=iy;
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1089:7: note: in expansion of macro 'typ'
   if (typ(y) != t_VEC) y = ideal_two_elt(nf,y);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1190:9: note: in expansion of macro 'typ'
     if (typ(ax) == t_POLMOD) ax = gmul(ax,ay);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealinv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1296:29: note: in expansion of macro 'typ'
     case id_PRINCIPAL: tx = typ(x);
                             ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowprime_spec':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1320:12: note: in expansion of macro 'signe'
   long s = signe(n);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1327:7: note: in expansion of macro 'signe'
   if (signe(r)) n1 = addis(n1,1); /* n1 = ceil(n/e) */
       ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowprime':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1346:12: note: in expansion of macro 'signe'
   long s = signe(n);
            ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulpowprime':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1362:8: note: in expansion of macro 'signe'
   if (!signe(n)) return x;
        ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1382:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"non-integral exponent in idealpow");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1386:31: note: in expansion of macro 'signe'
   av=avma; N=lgef(nf[1])-3; s=signe(n);
                               ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1391:31: note: in expansion of macro 'typ'
       case id_PRINCIPAL: tx = typ(x);
                               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1416:9: note: in expansion of macro 'typ'
   ax = (typ(ax) == t_POLMOD)? powgi(ax,n): gmul(n,ax);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpows':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base4.c:1426:19: note: in expansion of macro 'evaltyp'
   long court[] = {evaltyp(t_INT) | m_evallg(3),0,0};
                   ^~~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowred':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1443:27: note: in expansion of macro 'signe'
   long i,j,m,av=avma, s = signe(n);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1446:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"non-integral exponent in idealpowred");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1447:7: note: in expansion of macro 'signe'
   if (signe(n) == 0) return idealpow(nf,x,n);
       ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'isideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1477:22: note: in expansion of macro 'typ'
   long N,av,i,j,k,tx=typ(x),lx;
                      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1481:45: note: in expansion of macro 'typ'
   if (tx==t_VEC && lx==3) { x=(GEN)x[1]; tx=typ(x); lx=lg(x); }
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1485:7: note: in expansion of macro 'typ'
   if (typ(x)==t_VEC) return (lx==6);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1486:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1499:6: note: in expansion of macro 'typ'
  if (typ(p1[k])!=t_INT) { avma=av; return 0; }
      ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealdivexact':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1554:28: note: in expansion of macro 'typ'
   if (!gcmp1(denom(x1)) || typ(detq) != t_INT)
                            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'computet2twist':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1614:14: note: in expansion of macro 'typ'
     else if (typ(v) == t_INT)
              ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'chk_vdir':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1626:7: note: in expansion of macro 'typ'
   if (typ(vdir)!=t_VEC || lg(vdir) != lg(nf[6])) err(idealer5);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideallllredall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1701:11: note: in expansion of macro 'typ'
       if (typ(aI) == t_POLMOD)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1729:9: note: in expansion of macro 'typ'
     if (typ(aI) == t_POLMOD)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1746:9: note: in expansion of macro 'typ'
   aI = (typ(aI)==t_POLMOD)? gmul(aI,y): gadd(aI,y);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealappr0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1817:9: note: in expansion of macro 'typ'
     if (typ(x)!=t_MAT || lg(x)!=3)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1823:11: note: in expansion of macro 'signe'
       if (signe(ep[i]) < 0) break;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1828:19: note: in expansion of macro 'signe'
         ep1[i] = (signe(ep[i])>=0)? zero: lnegi((GEN)ep[i]);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1836:19: note: in expansion of macro 'signe'
         ep1[i] = (signe(ep[i])<=0)? zero: licopy((GEN)ep[i]);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1861:11: note: in expansion of macro 'signe'
       if (signe(ep[i]))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1925:9: note: in expansion of macro 'signe'
     if (signe(ep[i]))
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealchinese':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1944:11: note: in expansion of macro 'typ'
   long ty=typ(y),av=avma,i,j,k,l,N,r,r2;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1954:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT ||(lg(x)!=3))
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1980:9: note: in expansion of macro 'signe'
     if (signe(ep[i])<0) ep[i] = zero;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1985:9: note: in expansion of macro 'signe'
     if (signe(p4))
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_two_elt2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2033:11: note: in expansion of macro 'typ'
   long ta=typ(a), av=avma,tetpil,i,r;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2037:30: note: in expansion of macro 'typ'
   if (!is_extscalar_t(ta) && typ(a)!=t_COL)
                              ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_mulvec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2448:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COL)
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_reduce':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2480:11: note: in expansion of macro 'typ'
   long tx=typ(x),av=avma,tetpil,N,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2486:7: note: in expansion of macro 'typ'
   if (typ(ideal) != t_MAT || lg(ideal) != N) err(typeer,"element_reduce");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfhermite':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2513:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || lg(x)!=3) err(talker,"not a module in nfhermite");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2515:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(talker,"not a matrix in nfhermite");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2516:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=k+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2528:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfsmith':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2613:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || lg(x)!=4) err(talker,"not a module in nfsmith");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2615:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(talker,"not a matrix in nfsmith");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2617:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n+1 || typ(J)!=t_VEC || lg(J)!=n+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2617:38: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n+1 || typ(J)!=t_VEC || lg(J)!=n+1)
                                      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2628:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2630:9: note: in expansion of macro 'typ'
     if (typ(J[j])!=t_MAT) J[j]=(long)idealhermite_aux(nf,(GEN)J[j]);
         ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
../pari-2.1.7/src/basemath/base4.c: In function 'element_divmodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paricom.h:266:39: note: in definition of macro 'lift_intern'
 #define lift_intern(x) (lift_intern0((x),-1))
                                       ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2755:48: note: in expansion of macro 'trivlift'
   p1=lift_intern(gdiv(gmodulcp(gmul((GEN)nf[7],trivlift(x)), (GEN)nf[1]),
                                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paricom.h:266:39: note: in definition of macro 'lift_intern'
 #define lift_intern(x) (lift_intern0((x),-1))
                                       ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2756:48: note: in expansion of macro 'trivlift'
                       gmodulcp(gmul((GEN)nf[7],trivlift(y)), (GEN)nf[1])));
                                                ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
../pari-2.1.7/src/basemath/base4.c: In function 'element_invmodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2767:30: note: in expansion of macro 'trivlift'
   p1=ginvmod(gmul((GEN)nf[7],trivlift(y)), (GEN)nf[1]);
                              ^~~~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_powmodpr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:2780:5: note: in expansion of macro 'signe'
   s=signe(k); k=(s>=0)?k:negi(k);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base4.c:2784:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=element_mulmodpr(nf,z,y,prhall);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:2786:9: note: in expansion of macro 'signe'
     if (signe(k)) z=element_sqrmodpr(nf,z,prhall);
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfkermodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2805:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"nfkermodpr");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfsolvemodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2865:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(typeer,"nfsolvemodpr");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2867:7: note: in expansion of macro 'typ'
   if (typ(b)!=t_COL) err(typeer,"nfsolvemodpr");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfdetint':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2979:7: note: in expansion of macro 'typ'
   if (typ(pseudo)!=t_VEC || lg(pseudo)!=3)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2982:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(talker,"not a matrix in nfdetint");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2986:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3027:17: note: in expansion of macro 'typ'
         det1 = (typ(det1)==t_INT)? p1: idealadd(nf,p1,det1);
                 ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulelt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3137:12: note: in expansion of macro 'typ'
   long t = typ(elt);
            ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base4.c:3142:3: note: in expansion of macro 'settyp'
   settyp(z, t_MAT); return z;
   ^~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfhermitemod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3152:7: note: in expansion of macro 'typ'
   if (typ(pseudo)!=t_VEC || lg(pseudo)!=3)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3155:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(talker,"not a matrix in nfhermitemod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3157:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=co)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3164:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o sumiter.o ../pari-2.1.7/src/language/sumiter.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
../pari-2.1.7/src/language/sumiter.c: In function 'forstep':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:52:24: note: in definition of macro 'is_vec_t'
 #define is_vec_t(t) ( (t) == t_VEC || (t) == t_COL )
                        ^
../pari-2.1.7/src/language/sumiter.c:67:16: note: in expansion of macro 'typ'
   if (is_vec_t(typ(s)))
                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:52:40: note: in definition of macro 'is_vec_t'
 #define is_vec_t(t) ( (t) == t_VEC || (t) == t_COL )
                                        ^
../pari-2.1.7/src/language/sumiter.c:67:16: note: in expansion of macro 'typ'
   if (is_vec_t(typ(s)))
                ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
../pari-2.1.7/src/language/sumiter.c: In function 'update_p':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:118:7: note: in expansion of macro 'typ'
   if (typ(z) == t_INT) a = 1; else { z = gceil(z); a = 0; }
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prime_loop_init':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:138:7: note: in expansion of macro 'typ'
   if (typ(ga) != t_INT || typ(gb) != t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:138:27: note: in expansion of macro 'typ'
   if (typ(ga) != t_INT || typ(gb) != t_INT)
                           ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'forprime':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:156:19: note: in expansion of macro 'evaltyp'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                   ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:156:47: note: in expansion of macro 'evalsigne'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                               ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'forvec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:269:27: note: in expansion of macro 'typ'
   long i, av = avma, tx = typ(x), n = fv_n, fl = fv_fl;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:288:12: note: in expansion of macro 'typ'
       tx = typ(c);
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:293:11: note: in expansion of macro 'typ'
       if (typ(c[1]) != t_INT) fv_fun = fvloop;
           ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'somme':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:320:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sum");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'suminf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:349:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in suminf");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'produit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:430:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sum");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodinf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:471:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in prodinf");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodinf1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:498:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in prodinf1");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodeuler':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:522:19: note: in expansion of macro 'evaltyp'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                   ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:522:47: note: in expansion of macro 'evalsigne'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                               ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'direulerall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:565:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(c) != t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:565:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(c) != t_INT)
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:583:10: note: in expansion of macro 'typ'
     tx = typ(polnum);
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:608:8: note: in expansion of macro 'typ'
     tx=typ(polden);
        ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'vecteur':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:660:13: note: in expansion of macro 'evaltyp'
   long c[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:660:41: note: in expansion of macro 'evalsigne'
   long c[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:662:7: note: in expansion of macro 'typ'
   if (typ(nmax)!=t_INT || signe(nmax) < 0)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:662:27: note: in expansion of macro 'signe'
   if (typ(nmax)!=t_INT || signe(nmax) < 0)
                           ^~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'vvecteur':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/language/sumiter.c:684:3: note: in expansion of macro 'settyp'
   settyp(y,t_COL); return y;
   ^~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'matrice':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:692:14: note: in expansion of macro 'evaltyp'
   long c1[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
              ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:692:42: note: in expansion of macro 'evalsigne'
   long c1[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:693:14: note: in expansion of macro 'evaltyp'
   long c2[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
              ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:693:42: note: in expansion of macro 'evalsigne'
   long c2[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:695:5: note: in expansion of macro 'signe'
   s=signe(ncol);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:696:7: note: in expansion of macro 'typ'
   if (typ(ncol)!=t_INT || s<0) err(talker,"bad number of columns in matrix");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:699:5: note: in expansion of macro 'signe'
   s=signe(nlig);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:700:7: note: in expansion of macro 'typ'
   if (typ(nlig)!=t_INT || s<0) err(talker,"bad number of rows in matrix");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumalt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:769:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumalt");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumalt2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:794:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumalt");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumpos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:818:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumpos");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumpos2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:862:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumpos2");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromb':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:942:25: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig=signe(qlint);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:944:16: note: in expansion of macro 'setsigne'
   if (sig<0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromo':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:990:25: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig=signe(qlint);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:992:16: note: in expansion of macro 'setsigne'
   if (sig<0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:1042:27: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig= -signe(qlint);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:1044:16: note: in expansion of macro 'setsigne'
   if (sig>0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'polzagreel':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:1174:29: note: in expansion of macro 'evalsigne'
   h=cgetg(d1+3,t_POL); h[1]=evalsigne(1)+evallgef(d1+3);
                             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:1182:32: note: in expansion of macro 'evalsigne'
       h=cgetg(n+3,t_POL); h[1]=evalsigne(1)+evallgef(n+3);
                                ^~~~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o bibli1.o ../pari-2.1.7/src/basemath/bibli1.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/bibli1.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/bibli1.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgramall_finish':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:131:35: note: in expansion of macro 'evaltyp'
     case lll_IM: h += k-1; h[0] = evaltyp(t_MAT)| evallg(n-k+2);
                                   ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:136:24: note: in expansion of macro 'evaltyp'
       h += k-1; h[0] = evaltyp(t_MAT)| evallg(n-k+2);
                        ^~~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgramintwithcontent':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:157:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllgramintwithcontent");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:174:24: note: in expansion of macro 'typ'
   u=gcoeff(x,1,1); if (typ(u)!=t_INT) err(lllger4);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:175:7: note: in expansion of macro 'signe'
   if (signe(u)) { B[2]=(long)u; coeff(lam,1,1)=un; fl[1]=1; }
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:187:25: note: in expansion of macro 'typ'
    u=gcoeff(x,k,j); if (typ(u)!=t_INT) err(lllger4);
                         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:194:10: note: in expansion of macro 'signe'
      if (signe(u)) { B[k+1]=(long)u; coeff(lam,k,k)=un; fl[k]=1; }
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:211:11: note: in expansion of macro 'signe'
       if (signe(r)<0) q=addsi(-1,q);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:278:6: note: in expansion of macro 'signe'
  if (signe(la))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:330:8: note: in expansion of macro 'signe'
    if (signe(r)<0) q=addsi(-1,q);
        ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllintwithcontent':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:388:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllintwithcontent");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'REDI':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:417:8: note: in expansion of macro 'signe'
   if (!signe(q)) return;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:423:9: note: in expansion of macro 'signe'
     if (signe(q) > 0)
         ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'RED':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:457:8: note: in expansion of macro 'signe'
   if (!signe(q)) return;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:463:9: note: in expansion of macro 'signe'
     if (signe(q) > 0)
         ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'do_SWAPI':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:525:9: note: in expansion of macro 'signe'
     if (signe(la))
         ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgramall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:594:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllgramall");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:605:11: note: in expansion of macro 'typ'
       if (typ(gcoeff(x,i,j))!=t_INT) err(lllger4);
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:609:23: note: in expansion of macro 'signe'
   u=gcoeff(x,1,1); s= signe(u);
                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:636:17: note: in expansion of macro 'signe'
             s = signe(u);
                 ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'pslg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:683:6: note: in expansion of macro 'typ'
   tx=typ(x); return is_scalar_t(tx)? 3: lgef(x);
      ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgramallgen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:693:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllgramallgen");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:709:22: note: in expansion of macro 'typ'
  u=gcoeff(x,i,j); tu=typ(u);
                      ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgramintern':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:837:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllgram");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:845:11: note: in expansion of macro 'typ'
       if (typ(p1[i]) == t_REAL) { l = lg((GEN)p1[i]); if (l>k) k=l; }
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:910:9: note: in expansion of macro 'typ'
     if (typ(L1) == t_REAL &&
         ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lll_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:997:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lll_proto");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllkerim_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1042:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllkerim_proto");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllgram1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1076:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllgram1");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllintpartialall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1196:7: note: in expansion of macro 'typ'
   if (typ(m) != t_MAT) err(typeer,"lllintpartialall");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1219:28: note: in expansion of macro 'signe'
       npass2++; progress = signe(q);
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1393:29: note: in expansion of macro 'signe'
     while (icol <= ncol && !signe(gcoeff(dotprd,icol,icol))) icol++;
                             ^~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:1402:14: note: in expansion of macro 'evaltyp'
       tm2[0]=evaltyp(t_MAT)|evallg(ncolnz+1);
              ^~~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lindep2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1446:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),ly,i,j,e, av = avma;
           ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:1468:11: note: in expansion of macro 'evaltyp'
   p1[0] = evaltyp(t_VEC) | evallg(lx);
           ^~~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lindep':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1478:36: note: in expansion of macro 'typ'
   long i,j,fl,i1, lx = lg(x), tx = typ(x), n = lx-1;
                                    ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1472:34: note: in expansion of macro 'typ'
 #define quazero(x) (gcmp0(x) || (typ(x)==t_REAL && expo(x) < EXP))
                                  ^~~
../pari-2.1.7/src/basemath/bibli1.c:1506:7: note: in expansion of macro 'quazero'
   if (quazero(re)) { re=im; px=py; fl=1; } else fl=quazero(p1);
       ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1472:34: note: in expansion of macro 'typ'
 #define quazero(x) (gcmp0(x) || (typ(x)==t_REAL && expo(x) < EXP))
                                  ^~~
../pari-2.1.7/src/basemath/bibli1.c:1506:52: note: in expansion of macro 'quazero'
   if (quazero(re)) { re=im; px=py; fl=1; } else fl=quazero(p1);
                                                    ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1472:34: note: in expansion of macro 'typ'
 #define quazero(x) (gcmp0(x) || (typ(x)==t_REAL && expo(x) < EXP))
                                  ^~~
../pari-2.1.7/src/basemath/bibli1.c:1530:13: note: in expansion of macro 'quazero'
     qzer[i]=quazero(bn[i]); avma=av1;
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1472:34: note: in expansion of macro 'typ'
 #define quazero(x) (gcmp0(x) || (typ(x)==t_REAL && expo(x) < EXP))
                                  ^~~
../pari-2.1.7/src/basemath/bibli1.c:1561:10: note: in expansion of macro 'quazero'
     if (!quazero(c1))
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1472:34: note: in expansion of macro 'typ'
 #define quazero(x) (gcmp0(x) || (typ(x)==t_REAL && expo(x) < EXP))
                                  ^~~
../pari-2.1.7/src/basemath/bibli1.c:1565:33: note: in expansion of macro 'quazero'
       affrr(c1,bn[i]); qzer[i1]=quazero(bn[i1]); qzer[i]=0;
                                 ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:1587:24: note: in expansion of macro 'evaltyp'
   p2 = (GEN)b; p2[0] = evaltyp(t_MAT) | evallg(lx);
                        ^~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/bibli1.c:21:
../pari-2.1.7/src/basemath/bibli1.c: In function 'plindep':
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/bibli1.c:1596:30: note: in expansion of macro 'VERYBIGINT'
   long av = avma,i,j, prec = VERYBIGINT, lx = lg(x)-1, ly,v;
                              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/bibli1.c:21:
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1603:9: note: in expansion of macro 'typ'
     if (typ(p1) != t_PADIC) continue;
         ^~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/bibli1.c:1605:9: note: in expansion of macro 'precp'
     j = precp(p1); if (j < prec) prec = j;
         ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'algdep0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1636:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,i,k;
           ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/bibli1.c:1640:47: note: in expansion of macro 'setvarn'
   if (tx==t_POLMOD) { y=forcecopy((GEN)x[1]); setvarn(y,0); return y; }
                                               ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1648:7: note: in expansion of macro 'typ'
   if (typ(x) == t_PADIC)
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/bibli1.c:1656:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1) | evalvarn(0);
          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/bibli1.c:1656:25: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1) | evalvarn(0);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'kerint2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1711:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"kerint2");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'lllall0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1727:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"lllall0");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:1737:11: note: in expansion of macro 'typ'
       if (typ(gcoeff(x,i,j))!=t_INT) err(lllger4);
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1742:7: note: in expansion of macro 'signe'
   if (signe(u)) { B[2]=(long)u; coeff(L,1,1)=un; fl[1]=1; } else B[2]=un;
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1763:10: note: in expansion of macro 'signe'
      if (signe(u)) { B[k+1]=(long)u; coeff(L,k,k)=un; fl[k]=1; }
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1786:11: note: in expansion of macro 'signe'
       if (signe(la))
           ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'canon_pol':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:1882:9: note: in expansion of macro 'signe'
     s = signe(z[i]);
         ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'LLL_nfbasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2001:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2005:21: note: in expansion of macro 'signe'
     totally_real = !signe(gmael(p1,2,2));
                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2011:9: note: in expansion of macro 'typ'
     if (typ(base) != t_VEC || lg(base)-1 != n)
         ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'allpolred0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2040:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2042:10: note: in expansion of macro 'signe'
     if (!signe(x)) return gcopy(x);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2051:9: note: in expansion of macro 'typ'
     if (typ(x) == t_VEC && i<=4 && i>=3 && typ(x[1])==t_POL)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2051:44: note: in expansion of macro 'typ'
     if (typ(x) == t_VEC && i<=4 && i>=3 && typ(x[1])==t_POL)
                                            ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'ordred':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2105:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) err(typeer,"ordred");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2106:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gcopy(x);
        ^~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'polredabs0':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/bibli1.c:2372:26: note: in expansion of macro 'setvarn'
     for (i=1; i<nv; i++) setvarn(y[i], vx);
                          ^~~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'rnfpolredabs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2463:7: note: in expansion of macro 'typ'
   if (typ(relpol)!=t_POL) err(typeer,"rnfpolredabs");
       ^~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'smallvectors':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2845:6: note: in expansion of macro 'signe'
  if (signe(p1) < 0) { avma=av1; fl = 1; }
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2852:32: note: in expansion of macro 'signe'
         if (k <= skipfirst && !signe(y[skipfirst])) goto END;
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2895:10: note: in expansion of macro 'signe'
     if (!signe(x[1]) && !signe(y[1])) goto END;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2895:26: note: in expansion of macro 'signe'
     if (!signe(x[1]) && !signe(y[1])) goto END;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/bibli1.c:2971:5: note: in expansion of macro 'settyp'
     settyp(S,t_MAT);
     ^~~~~~
../pari-2.1.7/src/basemath/bibli1.c: In function 'fincke_pohst':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli1.c:2995:7: note: in expansion of macro 'typ'
   if (typ(a) == t_VEC) { nf = checknf(a); a = gmael(nf,5,3); } else nf = NULL;
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/bibli1.c:2999:14: note: in expansion of macro 'signe'
   if (nf && !signe(gmael(nf,2,2))) /* totally real */
              ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o mpqs.o ../pari-2.1.7/src/modules/mpqs.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_div_rem':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1578:7: note: in expansion of macro 'signe'
   if (signe(r)) return (ulong)(r[2]);
       ^~~~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_eval_candidates':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1704:10: note: in expansion of macro 'signe'
     if (!signe(Qx))
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1718:10: note: in expansion of macro 'signe'
     if (!signe(Qx))  /* this shouldn't happen */
          ^~~~~
../pari-2.1.7/src/modules/mpqs.c: At top level:
../pari-2.1.7/src/modules/mpqs.c:2154:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x8000000000000000UL, 0x4000000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2154:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x8000000000000000UL, 0x4000000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2155:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x2000000000000000UL, 0x1000000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2155:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x2000000000000000UL, 0x1000000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2156:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0800000000000000UL, 0x0400000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2156:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0800000000000000UL, 0x0400000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2157:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0200000000000000UL, 0x0100000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2157:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0200000000000000UL, 0x0100000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2158:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0080000000000000UL, 0x0040000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2158:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0080000000000000UL, 0x0040000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2159:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0020000000000000UL, 0x0010000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2159:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0020000000000000UL, 0x0010000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2160:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0008000000000000UL, 0x0004000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2160:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0008000000000000UL, 0x0004000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2161:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0002000000000000UL, 0x0001000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2161:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0002000000000000UL, 0x0001000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2162:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000800000000000UL, 0x0000400000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2162:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000800000000000UL, 0x0000400000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2163:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000200000000000UL, 0x0000100000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2163:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000200000000000UL, 0x0000100000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2164:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000080000000000UL, 0x0000040000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2164:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000080000000000UL, 0x0000040000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2165:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000020000000000UL, 0x0000010000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2165:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000020000000000UL, 0x0000010000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2166:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000008000000000UL, 0x0000004000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2166:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000008000000000UL, 0x0000004000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2167:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000002000000000UL, 0x0000001000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2167:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000002000000000UL, 0x0000001000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2168:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000800000000UL, 0x0000000400000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2168:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000800000000UL, 0x0000000400000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2169:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000200000000UL, 0x0000000100000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2169:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000200000000UL, 0x0000000100000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_solve_linear_system':
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/modules/mpqs.c:2541:15: note: in expansion of macro 'VERYBIGINT'
     res_max = VERYBIGINT; /* this, unfortunately, is the common case */
               ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:2599:11: note: in expansion of macro 'signe'
       if (signe(modii(subii(sqri(X), sqri(Y_prod)), N_or_kN)))
           ^~~~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:3311:11: note: in expansion of macro 'signe'
       if (signe(B) < 0)
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:3313:2: note: in expansion of macro 'setsigne'
  setsigne(B,1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:3316:2: note: in expansion of macro 'setsigne'
  setsigne(B,-1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/mpqs.c:3502:6: note: in expansion of macro 'typ'
  if (typ(fact) == t_INT)
      ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base5.o ../pari-2.1.7/src/basemath/base5.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'matbasistoalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:31:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT)
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'matalgtobasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:50:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT)
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfinitalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:117:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(notpoler,"rnfinitalg");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:125:9: note: in expansion of macro 'typ'
     tp1=typ(p1);
         ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:56:26: note: in definition of macro 'is_const_t'
 #define is_const_t(tx) ((tx) < t_POLMOD)
                          ^~
../pari-2.1.7/src/basemath/base5.c:132:24: note: in expansion of macro 'typ'
       if (! is_const_t(typ(p1)))
                        ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base5.c:188:9: note: in expansion of macro 'mpodd'
     if (mpodd((GEN)fac2[i])) err(bugparier,"rnfinitalg (odd exponent)");
         ^~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfbasistoalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:240:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),av=avma,tetpil,i,n;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:252:6: note: in expansion of macro 'typ'
  if (typ(x[i])==t_COL) p1[i]=(long)basistoalg(nf,(GEN)x[i]);
      ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'lift_to_pol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:279:11: note: in expansion of macro 'typ'
   return (typ(y) != t_POL)? gtopoly(y,varn(x[1])): y;
           ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfalgtobasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:285:26: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx=typ(x),lx=lg(x),i,N;
                          ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementreltoabs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:316:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x); va=varn((GEN)rnf[1]);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:329:40: note: in expansion of macro 'evalvarn'
  if (gcmp0(x)) {x=cgetg(2,t_POL); x[1]=evalvarn(va) | evallgef(2);}
                                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:332:29: note: in expansion of macro 'evalvarn'
    p1=cgetg(3,t_POL); p1[1]=evalvarn(va) | evallgef(3) | evalsigne(1);
                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:332:58: note: in expansion of macro 'evalsigne'
    p1=cgetg(3,t_POL); p1[1]=evalvarn(va) | evallgef(3) | evalsigne(1);
                                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:337:11: note: in expansion of macro 'typ'
       if (typ(alpha) == t_INT)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:344:20: note: in expansion of macro 'typ'
  p3=(GEN)x[i]; tp3=typ(p3);
                    ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementabstorel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:371:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementup':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:400:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementdown':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:424:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:438:11: note: in expansion of macro 'typ'
       if (typ(p1)==t_POLMOD && varn(p1[1])==varn(rnf[1])) p1=(GEN)p1[2];
           ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfprincipaltohermite':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base5.c:466:3: note: in expansion of macro 'settyp'
   settyp(p1,t_MAT); z[1]=(long)matalgtobasis(nf,p1);
   ^~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfidealhermite':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:475:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),av=avma,tetpil,i,j,n,m;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:502:8: note: in expansion of macro 'typ'
    if (typ(x1)!=t_MAT || lg(x1) < n+1 || lg(x1[1]) != n+1)
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:510:20: note: in expansion of macro 'typ'
               tx = typ(x1j[i]);
                    ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:524:8: note: in expansion of macro 'typ'
    if (typ(x2)!=t_VEC || lg(x2)!=lg(x1))
        ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfidealabstorel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:615:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT || lg(x)!=(n*m+1) || lg(x[1])!=(n*m+1))
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfmulscal':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:727:42: note: in expansion of macro 'evalvarn'
     z=cgetg(2,t_POL); z[1]=evallgef(2) | evalvarn(varn(x));
                                          ^~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfmul':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:743:42: note: in expansion of macro 'evalvarn'
     z=cgetg(2,t_POL); z[1]=evallgef(2) | evalvarn(varn(x));
                                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:750:27: note: in expansion of macro 'evalvarn'
   z[1] = evallgef(lz+3) | evalvarn(x) | evalsigne(1);
                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:750:41: note: in expansion of macro 'evalsigne'
   z[1] = evallgef(lz+3) | evalvarn(x) | evalsigne(1);
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfdeuc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:777:8: note: in expansion of macro 'typ'
     tx=typ(x[i]);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:783:8: note: in expansion of macro 'typ'
     tx=typ(y[i]);
        ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:789:42: note: in expansion of macro 'evalvarn'
   z=cgetg(lz,t_POL); z[1]=evallgef(lz) | evalvarn(x) | evalsigne(1);
                                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:789:56: note: in expansion of macro 'evalsigne'
   z=cgetg(lz,t_POL); z[1]=evallgef(lz) | evalvarn(x) | evalsigne(1);
                                                        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:809:28: note: in expansion of macro 'evalvarn'
       r[1] = evallgef(d) | evalvarn(varn(x)) | evalsigne(1);
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:809:48: note: in expansion of macro 'evalsigne'
       r[1] = evallgef(d) | evalvarn(varn(x)) | evalsigne(1);
                                                ^~~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfpow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:827:7: note: in expansion of macro 'typ'
   if (typ(k)!=t_INT) err(talker,"not an integer exponent in nfpow");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base5.c:828:5: note: in expansion of macro 'signe'
   s=signe(k); if (s<0) err(impl,"polnfpow for negative exponents");
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:831:24: note: in expansion of macro 'evalvarn'
   y[1] = evallgef(3) | evalvarn(varn(x)) | evalsigne(1);
                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:831:44: note: in expansion of macro 'evalsigne'
   y[1] = evallgef(3) | evalvarn(varn(x)) | evalsigne(1);
                                            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base5.c:835:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=polnfmul(nf,z,y);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base5.c:837:10: note: in expansion of macro 'signe'
     if (!signe(k)) { cgiv(k); return gerepileupto(av,y); }
          ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o plotgnuplot.o ../pari-2.1.7/src/graph/plotgnuplot.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/graph/plotgnuplot.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/graph/plotgnuplot.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
In file included from ../pari-2.1.7/src/graph/plotgnuplot.c:28:0:
../pari-2.1.7/src/graph/Gnuplot.h: At top level:
../pari-2.1.7/src/graph/Gnuplot.h:72:8: warning: type defaults to 'int' in declaration of 'outfile_set' [-Wimplicit-int]
 static outfile_set;
        ^~~~~~~~~~~
In file included from ../pari-2.1.7/src/graph/plotgnuplot.c:28:0:
../pari-2.1.7/src/graph/Gnuplot.h:377:1: warning: return type defaults to 'int' [-Wimplicit-int]
 UNKNOWN_null()
 ^~~~~~~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o thue.o ../pari-2.1.7/src/modules/thue.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/modules/thue.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/thue.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/thue.c: In function 'checktnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:35:7: note: in expansion of macro 'typ'
   if (typ(tnf)!=t_VEC || (lg(tnf)!=8 && lg(tnf)!=3)) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:36:7: note: in expansion of macro 'typ'
   if (typ(tnf[1])!=t_POL) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:43:7: note: in expansion of macro 'typ'
   if (typ(tnf[3]) != t_COL || lg(tnf[3]) != deg+1) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:44:7: note: in expansion of macro 'typ'
   if (typ(tnf[4]) != t_COL || lg(tnf[4]) != r+1) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:45:7: note: in expansion of macro 'typ'
   if (typ(tnf[5]) != t_MAT || lg(tnf[5]) != r+1
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:47:7: note: in expansion of macro 'typ'
   if (typ(tnf[6]) != t_MAT || lg(tnf[6])!=r+1
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:49:7: note: in expansion of macro 'typ'
   if (typ(tnf[7]) != t_VEC || lg(tnf[7]) != 7) return 0;
       ^~~
../pari-2.1.7/src/modules/thue.c: In function 'Compute_Fund_Units':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:298:9: note: in expansion of macro 'typ'
     if (typ(uf[i])!=t_POL) err(talker,"incorrect system of units");
         ^~~
../pari-2.1.7/src/modules/thue.c: In function 'Conj_Norm_Eq':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:315:7: note: in expansion of macro 'typ'
     x=typ(ne[q]);
       ^~~
../pari-2.1.7/src/modules/thue.c: In function 'CF_First_Pass':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:428:7: note: in expansion of macro 'signe'
   if (signe(l0) <= 0)
       ^~~~~
../pari-2.1.7/src/modules/thue.c: In function 'thueinit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:628:9: note: in expansion of macro 'typ'
     if (typ(poly)!=t_POL) err(notpoler,"thueinit");
         ^~~
../pari-2.1.7/src/modules/thue.c: In function 'test_sol':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:858:12: note: in expansion of macro 'signe'
       if ( signe(modii( (GEN)Partial[i][k], gen_ord[k] )) )
            ^~~~~
../pari-2.1.7/src/modules/thue.c: In function 'get_unit_1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:1049:7: note: in expansion of macro 'signe'
   if (signe( gnorm(gmodulcp(*unit,pol)) ) < 0) return 1;
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:1055:9: note: in expansion of macro 'signe'
     if (signe( gnorm(gmodulcp(*unit,pol)) ) < 0) return 1;
         ^~~~~
../pari-2.1.7/src/modules/thue.c: In function 'bnfisintnorm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/thue.c:1067:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:1069:8: note: in expansion of macro 'signe'
   sa = signe(a);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/thue.c:1089:9: note: in expansion of macro 'signe'
     if (signe(gnorm(gmodulcp(x,(GEN)nf[1]))) != sa)
         ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o trans2.o ../pari-2.1.7/src/basemath/trans2.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/trans2.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/trans2.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpatan':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:40:6: note: in expansion of macro 'signe'
   sx=signe(x);
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:46:13: note: in expansion of macro 'setsigne'
   if (sx<0) setsigne(x,1);
             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:53:7: note: in expansion of macro 'setsigne'
       setsigne(x,-1);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:54:7: note: in expansion of macro 'setsigne'
       setsigne(y,-1);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:63:31: note: in expansion of macro 'setsigne'
   p1=cgetr(l+1); affrr(x,p1); setsigne(x,sx);
                               ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:122:17: note: in expansion of macro 'setsigne'
   if (sx == -1) setsigne(p4,-signe(p4));
                 ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:122:30: note: in expansion of macro 'signe'
   if (sx == -1) setsigne(p4,-signe(p4));
                              ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:122:17: note: in expansion of macro 'setsigne'
   if (sx == -1) setsigne(p4,-signe(p4));
                 ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gatan':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:132:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:143:7: note: in expansion of macro 'setsigne'
       setsigne(p1,-signe(p1)); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:143:20: note: in expansion of macro 'signe'
       setsigne(p1,-signe(p1)); return y;
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:143:7: note: in expansion of macro 'setsigne'
       setsigne(p1,-signe(p1)); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpasin':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:187:9: note: in expansion of macro 'signe'
     if (signe(x)<0) setsigne(y,-1);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:187:21: note: in expansion of macro 'setsigne'
     if (signe(x)<0) setsigne(y,-1);
                     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:195:28: note: in expansion of macro 'signe'
   affrr(mpatan(p1),y); if (signe(x)<0) setsigne(y,-1);
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:195:40: note: in expansion of macro 'setsigne'
   affrr(mpatan(p1),y); if (signe(x)<0) setsigne(y,-1);
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gasin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:205:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:207:21: note: in expansion of macro 'signe'
     case t_REAL: sx=signe(x);
                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:209:17: note: in expansion of macro 'setsigne'
       if (sx<0) setsigne(x,1);
                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:210:28: note: in expansion of macro 'setsigne'
       if (cmpsr(1,x)>=0) { setsigne(x,sx); return mpasin(x); }
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:217:9: note: in expansion of macro 'setsigne'
         setsigne(y[1],-signe(y[1]));
         ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:217:24: note: in expansion of macro 'signe'
         setsigne(y[1],-signe(y[1]));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:217:9: note: in expansion of macro 'setsigne'
         setsigne(y[1],-signe(y[1]));
         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:218:9: note: in expansion of macro 'setsigne'
         setsigne(y[2],-signe(y[2]));
         ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:218:24: note: in expansion of macro 'signe'
         setsigne(y[2],-signe(y[2]));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:218:9: note: in expansion of macro 'setsigne'
         setsigne(y[2],-signe(y[2]));
         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:219:9: note: in expansion of macro 'setsigne'
         setsigne(x,sx);
         ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpacos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:270:37: note: in expansion of macro 'signe'
   u=cmprs(x,1); v=cmpsr(-1,x); sx = signe(x);
                                     ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gacos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:315:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:317:21: note: in expansion of macro 'signe'
     case t_REAL: sx=signe(x);
                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:318:17: note: in expansion of macro 'setsigne'
       if (sx<0) setsigne(x,1);
                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:319:28: note: in expansion of macro 'setsigne'
       if (cmprs(x,1)<=0) { setsigne(x,sx); return mpacos(x); }
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:325:13: note: in expansion of macro 'setsigne'
  y[1]=zero; setsigne(y[2],-signe(y[2]));
             ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:325:28: note: in expansion of macro 'signe'
  y[1]=zero; setsigne(y[2],-signe(y[2]));
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:325:13: note: in expansion of macro 'setsigne'
  y[1]=zero; setsigne(y[2],-signe(y[2]));
             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:327:7: note: in expansion of macro 'setsigne'
       setsigne(x,sx); return y;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:332:7: note: in expansion of macro 'setsigne'
       setsigne(y[2],-signe(y[2])); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:332:22: note: in expansion of macro 'signe'
       setsigne(y[2],-signe(y[2])); return y;
                      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:332:7: note: in expansion of macro 'setsigne'
       setsigne(y[2],-signe(y[2])); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mparg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:377:6: note: in expansion of macro 'signe'
   sx=signe(x); sy=signe(y);
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:377:19: note: in expansion of macro 'signe'
   sx=signe(x); sy=signe(y);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:391:15: note: in expansion of macro 'setsigne'
     if (sy<0) setsigne(theta,-1);
               ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:408:3: note: in expansion of macro 'setsigne'
   setsigne(theta,-signe(theta)); return theta;
   ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:408:19: note: in expansion of macro 'signe'
   setsigne(theta,-signe(theta)); return theta;
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:408:3: note: in expansion of macro 'setsigne'
   setsigne(theta,-signe(theta)); return theta;
   ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'rfix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:415:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'garg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:435:14: note: in expansion of macro 'typ'
   long av,tx=typ(x),tetpil;
              ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:485:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpsh':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:523:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gsh':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:539:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpth':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:582:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gth':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:603:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpash':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:645:10: note: in expansion of macro 'signe'
   long s=signe(x),av;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans2.c:651:28: note: in expansion of macro 'setsigne'
   p1 = mplog(p1); if (s<0) setsigne(p1,-signe(p1));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:651:41: note: in expansion of macro 'signe'
   p1 = mplog(p1); if (s<0) setsigne(p1,-signe(p1));
                                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:651:28: note: in expansion of macro 'setsigne'
   p1 = mplog(p1); if (s<0) setsigne(p1,-signe(p1));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gash':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:662:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:677:36: note: in expansion of macro 'setsigne'
       p1[2]=lmppi(prec); if (sy<0) setsigne(p1[2],-1);
                                    ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gach':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:733:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:753:11: note: in expansion of macro 'signe'
       if (signe(y[2])<0) { tetpil=avma; y=gneg(y); }
           ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpath':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:796:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gath':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:813:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpbern':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans2.c:874:11: note: in expansion of macro 'evaltyp'
   code0 = evaltyp(t_REAL) | evallg(prec);
           ^~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpgamma':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1000:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) err(gamer2);
      ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'ggamma':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:1154:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1157:11: note: in expansion of macro 'signe'
       if (signe(x)<=0) err(gamer2);
           ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mplngamma':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1193:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) err(talker,"zero argument in mplngamma");
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1264:7: note: in expansion of macro 'signe'
     f=signe(p7); if (f<0) setsigne(p7,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:1264:27: note: in expansion of macro 'setsigne'
     f=signe(p7); if (f<0) setsigne(p7,1);
                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1272:9: note: in expansion of macro 'signe'
     if (signe(p1) < 0) { setsigne(p1,1); f = -f; }
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:1272:26: note: in expansion of macro 'setsigne'
     if (signe(p1) < 0) { setsigne(p1,1); f = -f; }
                          ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'cxlngamma':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:1299:11: note: in expansion of macro 'typ'
   flag = (typ(x[1]) != t_REAL || gsigne((GEN)x[1]) <= 0);
           ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'glngamma':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:1400:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans2.c:1403:11: note: in expansion of macro 'signe'
       if (signe(x)<=0) err(gamer2);
           ^~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'mpgamd':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans2.c:1467:33: note: in expansion of macro 'setsigne'
     p1 = divrr(p1,p2); if (a&1) setsigne(p1,-1);
                                 ^~~~~~~~
../pari-2.1.7/src/basemath/trans2.c: In function 'ggamd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:1486:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans2.c: In function 'gpsi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans2.c:1699:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o buch1.o ../pari-2.1.7/src/basemath/buch1.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadclassunit0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:60:9: note: in expansion of macro 'typ'
     if (typ(data)!=t_VEC || lx > 7)
         ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'isoforder2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:84:11: note: in expansion of macro 'signe'
   return !signe(b) || absi_equal(a,b) || egalii(a,c);
           ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'get_pq':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:123:7: note: in expansion of macro 'typ'
   if (typ(flag)==t_VEC)
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadhilbertimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:214:15: note: in expansion of macro 'typ'
   int raw = ((typ(flag)==t_INT && signe(flag)));
               ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:214:35: note: in expansion of macro 'signe'
   int raw = ((typ(flag)==t_INT && signe(flag)));
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:264:11: note: in expansion of macro 'typ'
       if (typ(flag)==t_VEC && !issquarefree(P)) { avma=av; return gzero; }
           ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadhilbert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:279:7: note: in expansion of macro 'typ'
   if (typ(D)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:291:11: note: in expansion of macro 'signe'
   return (signe(D)>0)? quadhilbertreal(D,flag,prec)
           ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'getallelts':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/buch1.c:327:21: note: in expansion of macro 'settyp'
   c = dummycopy(c); settyp(c, t_VECSMALL);
                     ^~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'findbezk':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:365:8: note: in expansion of macro 'signe'
   if (!signe(b)) return a;
        ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'form_to_ideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:383:13: note: in expansion of macro 'typ'
   long tx = typ(x);
             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/buch1.c:390:7: note: in expansion of macro 'mpodd'
   if (mpodd(b)) b = addis(b,1);
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'computeP2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:483:7: note: in expansion of macro 'typ'
   if (typ(la) != t_COL) la = algtobasis(nf,la);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'findquad':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:548:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POLMOD) x = (GEN)x[2];
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:549:7: note: in expansion of macro 'typ'
   if (typ(a) == t_POLMOD) a = (GEN)a[2];
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:551:25: note: in expansion of macro 'typ'
   u = simplify(u); tu = typ(u);
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:552:25: note: in expansion of macro 'typ'
   v = simplify(v); tv = typ(v);
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:557:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL) x = gmodulcp(x,p);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'isZ':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:610:7: note: in expansion of macro 'signe'
   if (signe(gcoeff(I,1,2)) || !egalii(x, gcoeff(I,2,2))) return 0;
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadray':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:744:7: note: in expansion of macro 'typ'
   if (typ(flag)==t_INT) lambda = NULL;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:747:9: note: in expansion of macro 'typ'
     if (typ(flag)!=t_VEC || lg(flag)!=3) err(flagerr,"quadray");
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:749:9: note: in expansion of macro 'typ'
     if (typ(flag)!=t_INT) err(flagerr,"quadray");
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:751:7: note: in expansion of macro 'typ'
   if (typ(D)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:762:24: note: in expansion of macro 'setvarn'
     pol = quadpoly(D); setvarn(pol, fetch_user_var("y"));
                        ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:763:24: note: in expansion of macro 'signe'
     bnf = bnfinit0(pol,signe(D)>0?1:0,NULL,prec);
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/buch1.c:765:10: note: in expansion of macro 'mpodd'
   raw = (mpodd(flag) && signe(D) < 0);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:765:25: note: in expansion of macro 'signe'
   raw = (mpodd(flag) && signe(D) < 0);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:774:7: note: in expansion of macro 'signe'
   if (signe(D) > 0)
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'fix_signs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:823:7: note: in expansion of macro 'signe'
   if (signe(a) < 0)
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:826:5: note: in expansion of macro 'setsigne'
     setsigne(a,1); setsigne(c,-1);
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:826:20: note: in expansion of macro 'setsigne'
     setsigne(a,1); setsigne(c,-1);
                    ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'factorisequad':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:902:7: note: in expansion of macro 'signe'
   if (signe(x) < 0) x = absi(x);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:906:10: note: in expansion of macro 'signe'
     if (!signe(r))
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:908:20: note: in expansion of macro 'signe'
       k=0; while (!signe(r)) { x=q; k++; q=dvmdis(x,p,&r); }
                    ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'badmod8':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:962:7: note: in expansion of macro 'signe'
   if (signe(Disc) < 0) r = 8-r;
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'real_relations':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1441:31: note: in expansion of macro 'signe'
                && (!narrow || signe(form0[1])==signe(form[1]))) findecycle=1;
                               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1441:48: note: in expansion of macro 'signe'
                && (!narrow || signe(form0[1])==signe(form[1]))) findecycle=1;
                                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1454:15: note: in expansion of macro 'setsigne'
             { setsigne(form[1],1); setsigne(form[3],-1); }
               ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1454:36: note: in expansion of macro 'setsigne'
             { setsigne(form[1],1); setsigne(form[3],-1); }
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1489:11: note: in expansion of macro 'setsigne'
           setsigne(form2[1],1);
           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1490:11: note: in expansion of macro 'setsigne'
           setsigne(form2[3],-1);
           ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
../pari-2.1.7/src/headers/paricom.h:79:18: warning: overflow in implicit constant conversion [-Woverflow]
 #  define EXP220 (1099511627776L)          /* 2^40   */
                  ^
../pari-2.1.7/src/basemath/buch1.c:1553:30: note: in expansion of macro 'EXP220'
       p1 = mpadd(mulir(mulsi(EXP220,p1), glog2), mplog(absr(p2)));
                              ^~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
../pari-2.1.7/src/basemath/buch1.c: In function 'real_be_honest':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1595:2: note: in expansion of macro 'setsigne'
  setsigne(form[1],1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1596:2: note: in expansion of macro 'setsigne'
  setsigne(form[3],-1);
  ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'gcdrealnoer':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1612:7: note: in expansion of macro 'typ'
   if (typ(a)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1614:9: note: in expansion of macro 'typ'
     if (typ(b)==t_INT) return mppgcd(a,b);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1617:12: note: in expansion of macro 'typ'
   else if (typ(b)==t_INT)
            ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1622:28: note: in expansion of macro 'signe'
   while (expo(b) >= -5  && signe(b))
                            ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'buchquad':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1661:17: note: in expansion of macro 'typ'
   Disc = D; if (typ(Disc)!=t_INT) err(typeer,"buchquad");
                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1664:10: note: in expansion of macro 'signe'
   switch(signe(Disc))
          ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari-2.1.7/src/language/es.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/language/es.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/es.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/language/es.c: In function 'GENtostr0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:634:7: note: in expansion of macro 'typ'
   if (typ(x) == t_STR) return pari_strdup(GSTR(x));
       ^~~
../pari-2.1.7/src/language/es.c: In function 'wr_int':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:727:23: note: in expansion of macro 'signe'
   long *res,*re,i, sx=signe(x);
                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:730:3: note: in expansion of macro 'setsigne'
   setsigne(x,1); re = res = convi(x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:731:3: note: in expansion of macro 'setsigne'
   setsigne(x,sx);
   ^~~~~~~~
../pari-2.1.7/src/language/es.c: In function 'wr_float':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:777:26: note: in expansion of macro 'signe'
   p1 = gcvtoi(x,&e); s = signe(p1);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:782:22: note: in expansion of macro 'setsigne'
     x = subri(x,p1); setsigne(p1,1);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:789:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/language/es.c: In function 'wr_real':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:829:19: note: in expansion of macro 'signe'
   long ltop, sx = signe(x), ex = expo(x);
                   ^~~~~
../pari-2.1.7/src/language/es.c: In function 'ecrire':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:859:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/language/es.c: In function 'sorstring':
../pari-2.1.7/src/language/es.c:878:23: warning: right shift count >= width of type [-Wshift-count-overflow]
   pariputsf(b,(ulong)x>>32,x & MAXHALFULONG);
                       ^~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/es.c:21:
../pari-2.1.7/src/language/es.c: In function 'vsigne':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:909:12: note: in expansion of macro 'signe'
   long s = signe(x);
            ^~~~~
../pari-2.1.7/src/language/es.c: In function 'voir2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:917:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,j,e,dx,lx=lg(x);
           ^~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:944:40: note: in expansion of macro 'precp'
     pariputsf("(precp=%ld,valp=%ld):", precp(x), valp(x));
                                        ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isnull':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1165:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1170:15: note: in expansion of macro 'signe'
       return !signe(g);
               ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isone':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1192:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1202:15: note: in expansion of macro 'signe'
       return (signe(g) && is_pm1(g))? signe(g): 0;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1202:39: note: in expansion of macro 'signe'
       return (signe(g) && is_pm1(g))? signe(g): 0;
                                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1210:12: note: in expansion of macro 'signe'
       if (!signe(g)) return 0;
            ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isfactor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1223:10: note: in expansion of macro 'typ'
   switch(typ(g))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1226:15: note: in expansion of macro 'signe'
       return (signe(g)<0)? -1: 1;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1234:15: note: in expansion of macro 'signe'
       return !signe((GEN)g[4]);
               ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isdenom':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1259:10: note: in expansion of macro 'typ'
   switch(typ(g))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1264:27: note: in expansion of macro 'signe'
     case t_PADIC: return !signe((GEN)g[4]);
                           ^~~~~
../pari-2.1.7/src/language/es.c: In function 'bruti':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1385:8: note: in expansion of macro 'typ'
   tg = typ(g);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1425:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_monome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1425:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_monome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1431:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1438:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_monome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1438:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_monome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1447:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1452:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
../pari-2.1.7/src/language/es.c: In function 'matbruti':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1533:7: note: in expansion of macro 'typ'
   if (typ(g) != t_MAT) { bruti(g,flag); return; }
       ^~~
../pari-2.1.7/src/language/es.c: In function 'sori':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1581:11: note: in expansion of macro 'typ'
   long tg=typ(g), i,j,r,l,close_paren;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1611:29: note: in expansion of macro 'signe'
       if (tg == t_INTMOD && signe(a) < 0) a = addii(a,b);
                             ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1627:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1632:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1648:12: note: in expansion of macro 'signe'
       if (!signe(g)) { pariputc('0'); break; }
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1654:29: note: in expansion of macro 'isnull_for_pol'
         a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                             ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1654:29: note: in expansion of macro 'isnull_for_pol'
         a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                             ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1660:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1666:31: note: in expansion of macro 'isnull_for_pol'
           a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                               ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1666:31: note: in expansion of macro 'isnull_for_pol'
           a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                               ^~~~~~~~~~~~~~
../pari-2.1.7/src/language/es.c: In function 'texi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1774:8: note: in expansion of macro 'typ'
   tg = typ(g);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1806:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_texnome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1806:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_texnome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1812:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1819:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_texnome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1819:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_texnome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1828:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1833:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o plotport.o ../pari-2.1.7/src/graph/plotport.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/graph/plotport.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/graph/plotport.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectpoints':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:666:17: note: in expansion of macro 'typ'
   long i,lx, tx=typ(listx), ty=typ(listy);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:666:32: note: in expansion of macro 'typ'
   long i,lx, tx=typ(listx), ty=typ(listy);
                                ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectlines':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:718:11: note: in expansion of macro 'typ'
   long tx=typ(listx), ty=typ(listy), lx=lg(listx), i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:718:26: note: in expansion of macro 'typ'
   long tx=typ(listx), ty=typ(listy), lx=lg(listx), i;
                          ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'gtodblList':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1205:11: note: in expansion of macro 'typ'
   long tx=typ(data), ty, nl=lg(data)-1, lx1,lx;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1220:30: note: in expansion of macro 'typ'
     x = (GEN)data[u];   tx = typ(x);
                              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1221:30: note: in expansion of macro 'typ'
     y = (GEN)data[u+1]; ty = typ(y);
                              ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectplothin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1378:34: note: in expansion of macro 'typ'
   av2=avma; p1=READ_EXPR(ch); tx=typ(p1);
                                  ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'plothraw0':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/graph/plotport.c:1785:18: note: in expansion of macro 'evaltyp'
   long data[] = {evaltyp(t_VEC) | m_evallg(3), 0, 0};
                  ^~~~~~~
../pari-2.1.7/src/graph/plotport.c: In function 'gendraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1911:7: note: in expansion of macro 'typ'
   if (typ(list) != t_VEC) err(talker,"not a vector in rectdraw");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:9: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:39: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
                                       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:57: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
                                                         ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o gen2.o ../pari-2.1.7/src/basemath/gen2.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/gen2.c: At top level:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:69:27: note: in expansion of macro 'evaltyp'
 static long court_p[] = { evaltyp(t_INT) | m_evallg(3),0,0 };
                           ^~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'cgetp2':
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:114:20: note: in expansion of macro 'precp'
   y[1] = evalprecp(precp(x)) | evalvalp(v);
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:114:10: note: in expansion of macro 'evalprecp'
   y[1] = evalprecp(precp(x)) | evalvalp(v);
          ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:152:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:158:25: note: in expansion of macro 'signe'
     if (tx == t_INT && !signe(x)) return gzero; /* very common case */
                         ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcopy_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:177:11: note: in expansion of macro 'typ'
   long tx=typ(x),i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'forcecopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:196:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:202:25: note: in expansion of macro 'signe'
     if (tx == t_INT && !signe(x)) return gzero; /* very common case */
                         ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'dummycopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:219:11: note: in expansion of macro 'typ'
   long tx=typ(x), lx=lg(x),i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'taille':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:249:24: note: in expansion of macro 'typ'
   long i,n,lx=lg(x),tx=typ(x);
                        ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'glength':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:263:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:267:25: note: in expansion of macro 'signe'
     case t_REAL: return signe(x)? lg(x)-2: 0;
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:270:23: note: in expansion of macro 'typ'
   return lg(x)-lontyp[typ(x)];
                       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'matsize':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:278:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'brutcopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:298:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x);
                ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'greffe':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:340:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"greffe");
       ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:345:12: note: in expansion of macro 'evaltyp'
     y[0] = evaltyp(t_SER) | evallg(l);
            ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:349:26: note: in expansion of macro 'evalvarn'
     y[1]=evalvalp(l-2) | evalvarn(varn(x));
                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:354:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(e) | evalvarn(vx);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:354:37: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(e) | evalvarn(vx);
                                     ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gtolong':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:371:13: note: in expansion of macro 'typ'
   long y,tx=typ(x),av=avma;
             ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:398:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:401:15: note: in expansion of macro 'signe'
       return !signe(x);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:407:15: note: in expansion of macro 'signe'
       return !signe(x[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:416:6: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:416:27: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:421:6: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:421:27: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:427:15: note: in expansion of macro 'signe'
       return !signe(x[4]);
               ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:456:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:459:27: note: in expansion of macro 'signe'
       return is_pm1(x) && signe(x)==1;
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:462:11: note: in expansion of macro 'signe'
       if (signe(x) > 0 && expo(x)==0 && x[2]==HIGHBIT)
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp_1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:501:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:504:27: note: in expansion of macro 'signe'
       return is_pm1(x) && signe(x)== -1;
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:507:11: note: in expansion of macro 'signe'
       if (signe(x) < 0 && expo(x)==0 && x[2]==HIGHBIT)
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:520:11: note: in expansion of macro 'signe'
       l = signe(x[1]);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:521:25: note: in expansion of macro 'signe'
       return l && l == -signe(x[2]) && !absi_cmp((GEN)x[1],(GEN)x[2]);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:534:11: note: in expansion of macro 'signe'
       y = signe(p1) && !gegal(p1,(GEN)x[1]); avma=l; return !y;
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:554:6: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:554:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y);
                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'lexcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:574:17: note: in expansion of macro 'typ'
   const long tx=typ(x), ty=typ(y);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:574:28: note: in expansion of macro 'typ'
   const long tx=typ(x), ty=typ(y);
                            ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'vecegal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:647:16: note: in expansion of macro 'typ'
   long i, tx = typ(x);
                ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gegal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:682:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:683:11: note: in expansion of macro 'typ'
   if (tx==typ(y))
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'minval':
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:749:19: note: in expansion of macro 'VERYBIGINT'
   long i,k, val = VERYBIGINT;
                   ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'ggval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:761:11: note: in expansion of macro 'typ'
   long tx=typ(x), tp=typ(p), av, limit,vx,v,i,val;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:761:22: note: in expansion of macro 'typ'
   long tx=typ(x), tp=typ(p), av, limit,vx,v,i,val;
                      ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:764:30: note: in expansion of macro 'VERYBIGINT'
   if (isexactzero(x)) return VERYBIGINT;
                              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'pvaluation':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:867:10: note: in expansion of macro 'signe'
     v = (signe(p) < 0 && signe(x) < 0);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:867:26: note: in expansion of macro 'signe'
     v = (signe(p) < 0 && signe(x) < 0);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:877:11: note: in expansion of macro 'signe'
       if (signe(x) < 0) y = -y;
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gneg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:905:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gneg_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:963:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:981:24: note: in expansion of macro 'precp'
       y[1] = evalprecp(precp(x)) | evalvalp(valp(x));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:981:14: note: in expansion of macro 'evalprecp'
       y[1] = evalprecp(precp(x)) | evalvalp(valp(x));
              ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gabs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1022:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,l,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1036:14: note: in expansion of macro 'typ'
       switch(typ(p1))
              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1060:14: note: in expansion of macro 'typ'
       switch(typ(p1))
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1068:22: note: in expansion of macro 'signe'
      if (valp(x) || !signe(x) || lg(x)<3)
                      ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'vecmax':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1098:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,lx2,i,j;
           ^~~
../pari-2.1.7/src/basemath/gen2.c:1102:36: warning: overflow in implicit constant conversion [-Woverflow]
   lx=lg(x); if (lx==1) return stoi(-VERYBIGINT);
                                    ^
../pari-2.1.7/src/basemath/gen2.c:1112:29: warning: overflow in implicit constant conversion [-Woverflow]
     if (lx2==1) return stoi(-VERYBIGINT);
                             ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'vecmin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1128:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,lx2,i,j;
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:1132:36: note: in expansion of macro 'VERYBIGINT'
   lx=lg(x); if (lx==1) return stoi(VERYBIGINT);
                                    ^~~~~~~~~~
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:1142:29: note: in expansion of macro 'VERYBIGINT'
     if (lx2==1) return stoi(VERYBIGINT);
                             ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'padicaff0':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1165:7: note: in expansion of macro 'signe'
   if (signe(x[4]))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:172:49: note: in definition of macro 'setvalp'
          (((GEN)(x))[1]&(~VALPBITS)) | evalvalp(s))
                                                 ^
../pari-2.1.7/src/basemath/gen2.c:1167:24: note: in expansion of macro 'precp'
     setvalp(x, valp(x)|precp(x));
                        ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gaffsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1177:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1211:34: note: in expansion of macro 'evalvarn'
       if (!s) x[1]=evallgef(2) | evalvarn(v);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1214:14: note: in expansion of macro 'evalsigne'
         x[1]=evalsigne(1) | evallgef(3) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1214:43: note: in expansion of macro 'evalvarn'
         x[1]=evalsigne(1) | evallgef(3) | evalvarn(v);
                                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1222:32: note: in expansion of macro 'evalvarn'
         x[1] = evalvalp(l-2) | evalvarn(v);
                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1224:16: note: in expansion of macro 'evalsigne'
         x[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1224:45: note: in expansion of macro 'evalvarn'
         x[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1232:40: note: in expansion of macro 'typ'
       if (lg(x)!=2) err(operi,"",t_INT,typ(x));
                                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1235:33: note: in expansion of macro 'typ'
     default: err(operf,"",t_INT,typ(x));
                                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gaffect':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1266:6: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); lx=lg(x); ly=lg(y);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1266:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); lx=lg(x); ly=lg(y);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1305:20: note: in expansion of macro 'signe'
               if (!signe(x)) { padicaff0(y); break; }
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1381:13: note: in expansion of macro 'signe'
        if (!signe(x[1])) { padicaff0(y); break; }
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1416:13: note: in expansion of macro 'signe'
        if (!signe(x[1])) { padicaff0(y); break; }
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1459:19: note: in expansion of macro 'signe'
               k = signe(x[4])? (precp(x)+valp(x)): valp(x)+1;
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen2.c:1459:33: note: in expansion of macro 'precp'
               k = signe(x[4])? (precp(x)+valp(x)): valp(x)+1;
                                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1528:33: note: in expansion of macro 'evalvarn'
  if (gcmp0(x)) y[1]=evallgef(2)+evalvarn(v);
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1529:12: note: in expansion of macro 'evalsigne'
  else y[1]=evalsigne(1)+evallgef(3)+evalvarn(v);
            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1529:37: note: in expansion of macro 'evalvarn'
  else y[1]=evalsigne(1)+evallgef(3)+evalvarn(v);
                                     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1535:35: note: in expansion of macro 'evalvarn'
           y[1] = evalvalp(ly-2) | evalvarn(v);
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1537:11: note: in expansion of macro 'evalsigne'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1537:40: note: in expansion of macro 'evalvarn'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1556:28: note: in expansion of macro 'typ'
         x = geval(x); tx = typ(x);
                            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1564:28: note: in expansion of macro 'typ'
         x = geval(x); tx = typ(x);
                            ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1588:10: note: in expansion of macro 'signe'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1588:25: note: in expansion of macro 'evalsigne'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
                         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1588:50: note: in expansion of macro 'evalvarn'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
                                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1589:28: note: in expansion of macro 'evalvarn'
      else y[1]=evallgef(2)+evalvarn(vy);
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1595:9: note: in expansion of macro 'signe'
    if (!signe(x)) { gaffsg(0,y); return; }
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1598:24: note: in expansion of macro 'evalvarn'
      i=gval(x,v); y[1]=evalvarn(v) | evalvalp(i) | evalsigne(1);
                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1598:52: note: in expansion of macro 'evalsigne'
      i=gval(x,v); y[1]=evalvarn(v) | evalvalp(i) | evalsigne(1);
                                                    ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1606:11: note: in expansion of macro 'signe'
      if (!signe(x))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1607:39: note: in expansion of macro 'evalvarn'
               y[1] = evalvalp(ly-2) | evalvarn(vy);
                                       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1609:15: note: in expansion of macro 'evalsigne'
        y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1609:44: note: in expansion of macro 'evalvarn'
        y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
                                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1636:7: note: in expansion of macro 'signe'
  if (!signe(x))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1637:35: note: in expansion of macro 'evalvarn'
           y[1] = evalvalp(ly-2) | evalvarn(vy);
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1639:11: note: in expansion of macro 'evalsigne'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1639:40: note: in expansion of macro 'evalvarn'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'co8':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1697:7: note: in expansion of macro 'signe'
   if (signe(p1) > 0)
       ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'cvtop':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1718:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1721:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1745:14: note: in expansion of macro 'typ'
       switch(typ(p2))
              ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcvtop':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1770:17: note: in expansion of macro 'typ'
   long i,lx, tx=typ(x);
                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gexpo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1804:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,e,i,y,av;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1812:12: note: in expansion of macro 'signe'
       if (!signe(x[1])) return -HIGHEXPOBIT;
            ^~~~~
../pari-2.1.7/src/basemath/gen2.c:1812:32: warning: overflow in implicit constant conversion [-Woverflow]
       if (!signe(x[1])) return -HIGHEXPOBIT;
                                ^
../pari-2.1.7/src/basemath/gen2.c:1827:11: warning: overflow in implicit constant conversion [-Woverflow]
       y = -HIGHEXPOBIT;
           ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'normalize':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1850:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_SER) err(typeer,"normalize");
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1851:16: note: in expansion of macro 'setsigne'
   if (lx==2) { setsigne(x,0); avma = (long) x; return x; }
                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1852:35: note: in expansion of macro 'setsigne'
   if (! isexactzero((GEN)x[2])) { setsigne(x,1); return x; }
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1859:15: note: in expansion of macro 'evalsigne'
       p1[1] = evalsigne(1) | evalvalp(valp(x)+i-2) | evalvarn(varn(x));
               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1859:54: note: in expansion of macro 'evalvarn'
       p1[1] = evalsigne(1) | evalvalp(valp(x)+i-2) | evalvarn(varn(x));
                                                      ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'normalizepol_i':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1874:32: note: in expansion of macro 'setsigne'
     if (! gcmp0((GEN)x[i]) ) { setsigne(x,1); return x; }
                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1875:3: note: in expansion of macro 'setsigne'
   setsigne(x,0); return x;
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'normalizepol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1882:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(typeer,"normalizepol");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gsigne':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1889:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1892:14: note: in expansion of macro 'signe'
       return signe(x);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:15: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:32: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:47: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
                                               ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gsqr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1906:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j,k,l,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1941:35: note: in expansion of macro 'signe'
  i = (egalii((GEN)x[2], gdeux) && signe(x[4]))? 1: 0;
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen2.c:1942:18: note: in expansion of macro 'precp'
         if (i && precp(x) == 1) i = 2; /* (1 + O(2))^2 = 1 + O(2^3) */
                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:1943:26: note: in expansion of macro 'precp'
         z[1] = evalprecp(precp(x)+i) | evalvalp(2*valp(x));
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1943:16: note: in expansion of macro 'evalprecp'
         z[1] = evalprecp(precp(x)+i) | evalvalp(2*valp(x));
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1995:7: note: in expansion of macro 'setvarn'
       setvarn(z, vx); return z;
       ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:2001:14: note: in expansion of macro 'evalsigne'
       z[1] = evalsigne(1) | evalvalp(2*valp(x)) | evalvarn(varn(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:2001:51: note: in expansion of macro 'evalvarn'
       z[1] = evalsigne(1) | evalvalp(2*valp(x)) | evalvarn(varn(x));
                                                   ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listkill':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2079:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listkill");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listput':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2091:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listput");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listinsert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2109:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listinsert");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gtolist':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2126:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listconcat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2148:7: note: in expansion of macro 'typ'
   if (typ(list1)!=t_LIST || typ(list2)!=t_LIST)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2148:29: note: in expansion of macro 'typ'
   if (typ(list1)!=t_LIST || typ(list2)!=t_LIST)
                             ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listsort':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2163:7: note: in expansion of macro 'typ'
   if (typ(list) != t_LIST) err(typeer,"listsort");
       ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:2165:12: note: in expansion of macro 'evaltyp'
   vec[0] = evaltyp(t_VEC) | evallg(lx);
            ^~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o arith1.o ../pari-2.1.7/src/basemath/arith1.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/arith1.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/arith1.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'garith_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:32:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:48:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:64:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:74:6: note: in expansion of macro 'typ'
   tx=typ(n);
      ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto2gs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:88:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'garith_proto2gs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:104:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'order':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:129:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INTMOD || !gcmp1(mppgcd((GEN) x[1],(GEN) x[2])))
       ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gener':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:164:7: note: in expansion of macro 'typ'
   if (typ(m) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:165:7: note: in expansion of macro 'signe'
   e = signe(m);
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'znstar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:212:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:213:8: note: in expansion of macro 'signe'
   if (!signe(n))
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'racine_i':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:328:18: note: in expansion of macro 'signe'
   if (roundup && signe(x))
                  ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'racine':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:341:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:342:11: note: in expansion of macro 'signe'
   switch (signe(a))
           ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'carrecomplet':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:400:10: note: in expansion of macro 'signe'
   switch(signe(x))
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'polcarrecomplet':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:425:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gun;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:430:11: note: in expansion of macro 'typ'
   switch (typ(a))
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gcarrecomplet':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:458:13: note: in expansion of macro 'typ'
   long tx = typ(x),l,i;
             ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gcarreparfait':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:482:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i,av,v;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:490:15: note: in expansion of macro 'signe'
       return (signe(x)>=0)? gun: gzero;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:493:12: note: in expansion of macro 'signe'
       if (!signe(x[2])) return gun;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:522:26: note: in expansion of macro 'signe'
       p4=(GEN)x[4]; if (!signe(p4)) return gun;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:527:9: note: in expansion of macro 'precp'
       v=precp(x); /* here p=2 */
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:536:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gun;
            ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'kronecker':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:577:11: note: in expansion of macro 'signe'
   switch (signe(y))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:579:29: note: in expansion of macro 'signe'
     case -1: y=negi(y); if (signe(x)<0) s= -1; break;
                             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:585:9: note: in expansion of macro 'mpodd'
     if (mpodd(x))
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:593:10: note: in expansion of macro 'signe'
   while (signe(x))
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'krogs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:622:26: note: in expansion of macro 'signe'
     if (y) { y = -y; if (signe(x)<0) s = -1; }
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:628:9: note: in expansion of macro 'mpodd'
     if (mpodd(x))
         ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'hil':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:706:15: note: in expansion of macro 'typ'
   av=avma; tx=typ(x); ty=typ(y);
               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:706:26: note: in expansion of macro 'typ'
   av=avma; tx=typ(x); ty=typ(y);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:714:8: note: in expansion of macro 'signe'
    if (signe(p)<=0)
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:715:14: note: in expansion of macro 'signe'
      return (signe(x)<0 && signe(y)<0)? -1: 1;
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:715:28: note: in expansion of macro 'signe'
      return (signe(x)<0 && signe(y)<0)? -1: 1;
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:720:11: note: in expansion of macro 'eps'
      z = (eps(u) && eps(v))? -1: 1;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:720:21: note: in expansion of macro 'eps'
      z = (eps(u) && eps(v))? -1: 1;
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:726:21: note: in expansion of macro 'eps'
      z = (a && b && eps(p))? -1: 1;
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:732:12: note: in expansion of macro 'signe'
    return (signe(x)<0 && signe(y)<0)? -1: 1;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:732:26: note: in expansion of macro 'signe'
    return (signe(x)<0 && signe(y)<0)? -1: 1;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:742:27: note: in expansion of macro 'precp'
    if (egalii(gdeux,p) && precp(y) <= 1) err(hiler1);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:750:11: note: in expansion of macro 'signe'
       if (signe(x) > 0) return 1;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:751:14: note: in expansion of macro 'signe'
       return signe(y[1])*signe(y[2]);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:751:26: note: in expansion of macro 'signe'
       return signe(y[1])*signe(y[2]);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:784:32: note: in expansion of macro 'precp'
       if (egalii(p, gdeux) && (precp(x) <= 1 || precp(y) <= 1)) err(hiler1);
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:784:49: note: in expansion of macro 'precp'
       if (egalii(p, gdeux) && (precp(x) <= 1 || precp(y) <= 1)) err(hiler1);
                                                 ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpsqrtmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:810:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(p) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:810:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(p) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:811:7: note: in expansion of macro 'signe'
   if (signe(p) <= 0 || is_pm1(p)) err(talker,"not a prime in mpsqrtmod");
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:818:10: note: in expansion of macro 'signe'
     if (!signe(a) || !mod2(a)) return gzero;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:842:8: note: in expansion of macro 'signe'
   if (!signe(p1)) { avma=av; return gzero; }
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpsqrtnmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:45: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:983:7: note: in expansion of macro 'signe'
   if(!signe(n))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1007:20: note: in expansion of macro 'signe'
  if (!is_pm1(a) || signe(a)<0)
                    ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mppgcd_cgcd':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1127:10: note: in expansion of macro 'evalsigne'
   r[1] = evalsigne(1)|evallgefint(3);
          ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mppgcd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1148:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1148:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1154:8: note: in expansion of macro 'signe'
   if (!signe(b)) return absi(a);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1168:8: note: in expansion of macro 'signe'
   if (!signe(t)) { avma=av; return absi(b); }
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1171:34: note: in expansion of macro 'setsigne'
   v = vali(a); a = shifti(a,-v); setsigne(a,1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1172:34: note: in expansion of macro 'setsigne'
   w = vali(b); b = shifti(b,-w); setsigne(b,1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/arith1.c:1199:17: note: in expansion of macro 'evaltyp'
     long r[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                 ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1199:45: note: in expansion of macro 'evalsigne'
     long r[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                             ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpppcm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1209:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1209:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1210:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gzero;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1214:7: note: in expansion of macro 'signe'
   if (signe(p2) < 0) setsigne(p2,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1214:22: note: in expansion of macro 'setsigne'
   if (signe(p2) < 0) setsigne(p2,1);
                      ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'cbezout':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1239:28: note: in expansion of macro 'signe'
       p1 = mulss(a,u); s = signe(p1);
                            ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'bezout':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1271:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1271:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1278:8: note: in expansion of macro 'signe'
   if (!signe(b))
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1281:12: note: in expansion of macro 'signe'
     switch(signe(a))
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1310:12: note: in expansion of macro 'signe'
   } while (signe(y));
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1313:7: note: in expansion of macro 'signe'
   if (signe(x) < 0)
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1315:5: note: in expansion of macro 'setsigne'
     setsigne(x,1);
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith1.c:1316:5: note: in expansion of macro 'setsigne'
     setsigne(u,-signe(u));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1316:17: note: in expansion of macro 'signe'
     setsigne(u,-signe(u));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1316:5: note: in expansion of macro 'setsigne'
     setsigne(u,-signe(u));
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith1.c:1317:5: note: in expansion of macro 'setsigne'
     setsigne(v,-signe(v));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1317:17: note: in expansion of macro 'signe'
     setsigne(v,-signe(v));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1317:5: note: in expansion of macro 'setsigne'
     setsigne(v,-signe(v));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'chinois':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1351:32: note: in expansion of macro 'typ'
   long i,lx,vx,av,tetpil, tx = typ(x);
                                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1355:13: note: in expansion of macro 'typ'
   if (tx == typ(y)) switch(tx)
             ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1378:12: note: in expansion of macro 'evalsigne'
       z[1]=evalsigne(1)|evallgef(lx)|evalvarn(vx);
            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/arith1.c:1378:38: note: in expansion of macro 'evalvarn'
       z[1]=evalsigne(1)|evallgef(lx)|evalvarn(vx);
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'powmodulo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:7: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:26: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:45: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1455:7: note: in expansion of macro 'signe'
   s = signe(N);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1458:9: note: in expansion of macro 'signe'
     k = signe(resii(A,M)); avma=av;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1465:10: note: in expansion of macro 'signe'
     if (!signe(A)) { avma=av; return gzero; }
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'isfundamental':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1594:9: note: in expansion of macro 'signe'
     if (signe(x)<0) r=4-r;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1598:7: note: in expansion of macro 'signe'
   if (signe(x)<0) r=4-r;
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'quaddisc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1605:35: note: in expansion of macro 'typ'
   long av=avma,tetpil=avma,i,r,tx=typ(x);
                                   ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'contfrac0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1756:8: note: in expansion of macro 'typ'
   tb = typ(b);
        ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'sfcont':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1771:24: note: in expansion of macro 'typ'
   long  av,lx=lg(x),tx=typ(x),e,i,j,l,l1,lx1,tetpil,f;
                        ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1783:17: note: in expansion of macro 'settyp'
  p2 = rcopy(x); settyp(p2,t_INT); setlgefint(p2,lx);
                 ^~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1788:9: note: in expansion of macro 'evalsigne'
  p2[1]= evalsigne(1)|evallgefint(l1);
         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1793:15: note: in expansion of macro 'signe'
  p3[1]=laddsi(signe(x),(GEN)p1[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1809:8: note: in expansion of macro 'signe'
    if (signe(p3)>=0) affii(p3,p1);
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'sfcont2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1871:25: note: in expansion of macro 'typ'
   long l1 = lg(b), tx = typ(x), i,tetpil, av = avma;
                         ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'pnqn':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1907:32: note: in expansion of macro 'typ'
   long av=avma,tetpil,lx,ly,tx=typ(x),i;
                                ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'bestappr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1949:29: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx,tk=typ(k),lx,i,e;
                             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1959:6: note: in expansion of macro 'typ'
   tx=typ(x); if (tx == t_FRACN) x = gred(x);
      ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'fundunit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2038:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2039:7: note: in expansion of macro 'signe'
   if (signe(x)<=0) err(arither2);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2065:7: note: in expansion of macro 'signe'
   if (signe(y[3]) < 0) { tetpil=avma; y=gneg(y); }
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'regula':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2081:7: note: in expansion of macro 'signe'
   if (signe(x)<=0) err(arither2);
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'end_classno':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2193:9: note: in expansion of macro 'signe'
     if (signe(p1[2]) == signe(b)) com = -com;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2193:25: note: in expansion of macro 'signe'
     if (signe(p1[2]) == signe(b)) com = -com;
                         ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'conductor_part':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2209:16: note: in expansion of macro 'signe'
   long n,i,k,s=signe(x),fl2;
                ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'classno':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2294:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2295:5: note: in expansion of macro 'signe'
   s=signe(x); if (s>=0) return classno2(x);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2307:7: note: in expansion of macro 'signe'
   if (signe(p2))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2363:15: note: in expansion of macro 'signe'
           if (signe(p1[2]) == signe(b)) com = -com;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2363:31: note: in expansion of macro 'signe'
           if (signe(p1[2]) == signe(b)) com = -com;
                               ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'classno2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2385:18: note: in expansion of macro 'signe'
   long n,i,k,s = signe(x);
                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2388:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o gen3.o ../pari-2.1.7/src/basemath/gen3.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gvar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:33:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,v,w;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gvar2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:46:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,v,w;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gpolvar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:72:7: note: in expansion of macro 'typ'
   if (typ(x)==t_PADIC) x = (GEN)x[2];
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'precision':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:91:11: note: in expansion of macro 'typ'
   long tx=typ(x),k,l;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gprecision':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:111:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),i,k,l;
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:118:9: note: in expansion of macro 'VERYBIGINT'
       k=VERYBIGINT;
         ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/basemath/gen3.c: In function 'padicprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:156:26: note: in expansion of macro 'typ'
   long i,s,t,lx=lg(x),tx=typ(x);
                          ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:161:14: note: in expansion of macro 'VERYBIGINT'
       return VERYBIGINT;
              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen3.c:169:14: note: in expansion of macro 'precp'
       return precp(x)+valp(x);
              ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:176:14: note: in expansion of macro 'VERYBIGINT'
       for (s=VERYBIGINT, i=lontyp[tx]; i<lx; i++)
              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/basemath/gen3.c: In function 'poldegree':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:193:11: note: in expansion of macro 'typ'
   long tx=typ(x), av, w, d;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:201:25: note: in expansion of macro 'signe'
       if (v < w) return signe(x)? 0: -1;
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'pollead':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:226:15: note: in expansion of macro 'typ'
   long l,tx = typ(x),av,tetpil,w;
               ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:248:37: note: in expansion of macro 'signe'
       if (v < 0 || v == w) return (!signe(x))? gzero: gcopy((GEN)x[2]);
                                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:253:12: note: in expansion of macro 'signe'
       if (!signe(x)) { avma = av; return gzero;}
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'isinexactreal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:265:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:275:17: note: in expansion of macro 'typ'
         return (typ(x[1])==t_REAL || typ(x[2])==t_REAL);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:275:38: note: in expansion of macro 'typ'
         return (typ(x[1])==t_REAL || typ(x[2])==t_REAL);
                                      ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'isexactzero':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:298:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:301:15: note: in expansion of macro 'signe'
       return !signe(g);
               ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'iscomplex':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:328:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:335:14: note: in expansion of macro 'signe'
       return signe(mael(x,1,2)) > 0;
              ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ismonome':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:345:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL || !signe(x)) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:345:25: note: in expansion of macro 'signe'
   if (typ(x)!=t_POL || !signe(x)) return 0;
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmulsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:369:11: note: in expansion of macro 'typ'
   long ty=typ(y),ly=lg(y),i,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:426:18: note: in expansion of macro 'signe'
       if (!s || !signe(y)) return zeropol(varn(y));
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivgs':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:479:27: note: in expansion of macro 'evaltyp'
   static long court[] = { evaltyp(t_INT) | m_evallg(3),0,0 };
                           ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:480:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),i,av;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:551:11: note: in expansion of macro 'typ'
       if (typ(p1) == t_INT)
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:596:24: note: in expansion of macro 'typ'
   long av,tetpil,i, tx=typ(x), ty = typ(y);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:596:37: note: in expansion of macro 'typ'
   long av,tetpil,i, tx=typ(x), ty = typ(y);
                                     ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:629:24: note: in expansion of macro 'evaltyp'
           long p1[] = {evaltyp(t_INTMOD)|m_evallg(3),0,0};
                        ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:693:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:701:23: note: in expansion of macro 'typ'
   err(operf,"%",t_INT,typ(y)); return NULL; /* not reached */
                       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:723:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:732:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:737:12: note: in expansion of macro 'signe'
       if (!signe(y)) err(talker,"zero modulus in gmodulo");
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:738:22: note: in expansion of macro 'setsigne'
       y = gclone(y); setsigne(y,1);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:748:20: note: in expansion of macro 'typ'
   err(operf,"%",tx,typ(y)); return NULL; /* not reached */
                    ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulcp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:754:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:763:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:781:20: note: in expansion of macro 'typ'
   err(operf,"%",tx,typ(y)); return NULL; /* not reached */
                    ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivent':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:806:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:806:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdiventres':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:823:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:823:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:849:14: note: in expansion of macro 'typ'
   long ty,tx=typ(x);
              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:853:8: note: in expansion of macro 'typ'
     ty=typ(y);
        ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivround':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:869:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:869:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:884:19: note: in expansion of macro 'signe'
         long sz = signe(x)*signe(y);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:884:28: note: in expansion of macro 'signe'
         long sz = signe(x)*signe(y);
                            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gshift':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:909:21: note: in expansion of macro 'typ'
   long i,l,lx, tx = typ(x);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmul2n':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:937:6: note: in expansion of macro 'typ'
   tx=typ(x);
      ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:942:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gzero;
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ginv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1029:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,tetpil,s;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1036:12: note: in expansion of macro 'signe'
       if (!signe(x)) err(gdiver2);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1038:15: note: in expansion of macro 'signe'
       z[1] = (signe(x)<0)? lnegi(gun): un;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1049:11: note: in expansion of macro 'signe'
       s = signe(x[1]);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1058:2: note: in expansion of macro 'setsigne'
  setsigne(z[1],-signe(z[1]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1058:17: note: in expansion of macro 'signe'
  setsigne(z[1],-signe(z[1]));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1058:2: note: in expansion of macro 'setsigne'
  setsigne(z[1],-signe(z[1]));
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1059:2: note: in expansion of macro 'setsigne'
  setsigne(z[2],1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1068:12: note: in expansion of macro 'signe'
       if (!signe(x[4])) err(gdiver2);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1069:24: note: in expansion of macro 'precp'
       z[1] = evalprecp(precp(x)) | evalvalp(-valp(x));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1069:14: note: in expansion of macro 'evalprecp'
       z[1] = evalprecp(precp(x)) | evalvalp(-valp(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1092:9: note: in expansion of macro 'signe'
       l=signe(x[2]); setsigne(x[2],-l);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1092:22: note: in expansion of macro 'setsigne'
       l=signe(x[2]); setsigne(x[2],-l);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1093:9: note: in expansion of macro 'signe'
       k=signe(x[4]); setsigne(x[4],-k); z=redreal(x);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1093:22: note: in expansion of macro 'setsigne'
       k=signe(x[4]); setsigne(x[4],-k); z=redreal(x);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1094:7: note: in expansion of macro 'setsigne'
       setsigne(x[2],l); setsigne(x[4],k); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1094:25: note: in expansion of macro 'setsigne'
       setsigne(x[2],l); setsigne(x[4],k); return z;
                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1099:2: note: in expansion of macro 'setsigne'
  setsigne(y[2],-signe(y[2]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1099:17: note: in expansion of macro 'signe'
  setsigne(y[2],-signe(y[2]));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1099:2: note: in expansion of macro 'setsigne'
  setsigne(y[2],-signe(y[2]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gconvsp':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1122:28: note: in expansion of macro 'settyp'
   av=avma; y=dummycopy(x); settyp(y,t_POL);
                            ^~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gsubst':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1133:13: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx = lg(x), ly = lg(y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1133:26: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx = lg(x), ly = lg(y);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1155:9: note: in expansion of macro 'typ'
     if (typ(p1)!=t_POL)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1197:14: note: in expansion of macro 'signe'
         if (!signe(x)) return gcopy(x);
              ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'recip':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1298:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_SER) err(talker,"not a series in serreverse");
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1311:19: note: in expansion of macro 'evalsigne'
     u[1] = y[1] = evalsigne(1) | evalvalp(1) | evalvarn(v);
                   ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1311:48: note: in expansion of macro 'evalvarn'
     u[1] = y[1] = evalsigne(1) | evalvalp(1) | evalvarn(v);
                                                ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'derivser':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1376:31: note: in expansion of macro 'evalsigne'
     y=cgetg(lx,t_SER); y[1] = evalsigne(1) | evalvalp(e-1) | evalvarn(vx);
                               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1376:62: note: in expansion of macro 'evalvarn'
     y=cgetg(lx,t_SER); y[1] = evalsigne(1) | evalvalp(e-1) | evalvarn(vx);
                                                              ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1384:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(i-3) | evalvarn(vx);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1384:39: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(i-3) | evalvarn(vx);
                                       ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'deriv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1395:6: note: in expansion of macro 'typ'
   tx=typ(x); if (is_const_t(tx)) return gzero;
      ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1411:16: note: in expansion of macro 'evalvarn'
         y[1] = evalvarn(vx);
                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1420:14: note: in expansion of macro 'signe'
         if (!signe(x)) return gcopy(x);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1430:16: note: in expansion of macro 'evalsigne'
         y[1] = evalsigne(1) | evalvalp(e+i-2) | evalvarn(vx);
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1430:49: note: in expansion of macro 'evalvarn'
         y[1] = evalsigne(1) | evalvalp(e+i-2) | evalvarn(vx);
                                                 ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'integ':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1475:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1486:30: note: in expansion of macro 'evalsigne'
     y=cgetg(4,t_POL); y[1] = evalsigne(1) | evallgef(4) | evalvarn(v);
                              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1486:59: note: in expansion of macro 'evalvarn'
     y=cgetg(4,t_POL); y[1] = evalsigne(1) | evallgef(4) | evalvarn(v);
                                                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1498:9: note: in expansion of macro 'signe'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1498:33: note: in expansion of macro 'evalvarn'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1498:47: note: in expansion of macro 'evalsigne'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
                                               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1499:33: note: in expansion of macro 'evalvarn'
                 : evallgef(4) | evalvarn(v);
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1506:14: note: in expansion of macro 'signe'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1506:41: note: in expansion of macro 'evalvarn'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
                                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1506:55: note: in expansion of macro 'evalsigne'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
                                                       ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1507:41: note: in expansion of macro 'evalvarn'
                      : evallgef(lx+1) | evalvarn(v);
                                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1512:12: note: in expansion of macro 'signe'
       if (!signe(x))
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1520:30: note: in expansion of macro 'evalvarn'
         y[1] = evallgef(4) | evalvarn(v) | evalsigne(1);
                              ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1520:44: note: in expansion of macro 'evalsigne'
         y[1] = evallgef(4) | evalvarn(v) | evalsigne(1);
                                            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1542:9: note: in expansion of macro 'signe'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1542:36: note: in expansion of macro 'evalvarn'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1542:50: note: in expansion of macro 'evalsigne'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
                                                  ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1543:36: note: in expansion of macro 'evalvarn'
                    : evallgef(4) | evalvarn(v);
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1556:12: note: in expansion of macro 'typ'
       tx = typ(x[1]); i = is_scalar_t(tx)? 0: lgef(x[1])-3;
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1557:12: note: in expansion of macro 'typ'
       tx = typ(x[2]); j = is_scalar_t(tx)? 0: lgef(x[2])-3;
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1561:11: note: in expansion of macro 'typ'
       if (typ(y)==t_RFRAC && lgef(y[1]) == lgef(y[2]))
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1564:5: note: in expansion of macro 'typ'
  tx=typ(y[1]); p1=is_scalar_t(tx)? (GEN)y[1]: leading_term(y[1]);
     ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1565:5: note: in expansion of macro 'typ'
  tx=typ(y[2]); p2=is_scalar_t(tx)? (GEN)y[2]: leading_term(y[2]);
     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gfloor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1589:19: note: in expansion of macro 'typ'
   long i,lx, tx = typ(x);
                   ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gceil':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1627:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x),av,tetpil;
                ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ground':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1674:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x),av,tetpil;
                ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1683:20: note: in expansion of macro 'signe'
       long ex, s = signe(x);
                    ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'grndtoi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1718:13: note: in expansion of macro 'typ'
   long i,tx=typ(x), lx,av,ex,e1;
             ^~~
../pari-2.1.7/src/basemath/gen3.c:1720:8: warning: overflow in implicit constant conversion [-Woverflow]
   *e = -HIGHEXPOBIT;
        ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1731:6: note: in expansion of macro 'signe'
  if (signe(p1)>=0) { *e=expo(x); avma=av; return gzero; }
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1735:7: note: in expansion of macro 'settyp'
       settyp(p1,t_INT); setlgefint(p1,lx);
       ^~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1736:28: note: in expansion of macro 'signe'
       y=shifti(p1,e1); if (signe(x)<0) y=addsi(-1,y);
                            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gcvtoi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1766:11: note: in expansion of macro 'typ'
   long tx=typ(x), lx,i,ex,av,e1;
           ^~~
../pari-2.1.7/src/basemath/gen3.c:1769:8: warning: overflow in implicit constant conversion [-Woverflow]
   *e = -HIGHEXPOBIT;
        ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1775:23: note: in expansion of macro 'settyp'
     x0=x[0]; x1=x[1]; settyp(x,t_INT); setlgefint(x,lx);
                       ^~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtrunc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1796:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,tetpil,i,v;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1811:12: note: in expansion of macro 'signe'
       if (!signe(x[4])) return gzero;
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'zeropol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1860:24: note: in expansion of macro 'evalvarn'
   x[1] = evallgef(2) | evalvarn(v); return x;
                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'coefs_to_pol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1872:26: note: in expansion of macro 'evalvarn'
   x[1] = evallgef(n+2) | evalvarn(0);
                          ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'scalarpol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1881:34: note: in expansion of macro 'evalvarn'
   y[1] = gcmp0(x)? evallgef(3) | evalvarn(v)
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1882:34: note: in expansion of macro 'evalvarn'
                  : evallgef(3) | evalvarn(v) | evalsigne(1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1882:48: note: in expansion of macro 'evalsigne'
                  : evallgef(3) | evalvarn(v) | evalsigne(1);
                                                ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'deg1pol':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1891:10: note: in expansion of macro 'evalsigne'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1891:25: note: in expansion of macro 'evalvarn'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtopoly0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1898:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1911:11: note: in expansion of macro 'typ'
       if (typ(y) != t_POL)
           ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1922:43: note: in expansion of macro 'evalsigne'
  y[1]=evallgef(i); if (!gcmp0(x)) y[1] |= evalsigne(1);
                                           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1929:43: note: in expansion of macro 'evalsigne'
  y[1]=evallgef(i); if (!gcmp0(x)) y[1] |= evalsigne(1);
                                           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1937:3: note: in expansion of macro 'setvarn'
   setvarn(y,v); return y;
   ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'zeroser':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1950:24: note: in expansion of macro 'evalvarn'
   x[1]=evalvalp(val) | evalvarn(v); return x;
                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'scalarser':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1959:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(0) | evalvarn(v);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1959:37: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(0) | evalvarn(v);
                                     ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtoser':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1967:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j,l,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1971:32: note: in expansion of macro 'setvarn'
   if (tx==t_SER) { y=gcopy(x); setvarn(y,v); return y; }
                                ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1981:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(i-2) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1981:45: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(i-2) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1993:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(i-1) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1993:45: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(i-1) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtovec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2010:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2040:8: note: in expansion of macro 'signe'
   if (!signe(x)) { y=cgetg(2,t_VEC); y[1]=zero; return y; }
        ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'compo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2049:13: note: in expansion of macro 'typ'
   long l,tx=typ(x);
             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2052:21: note: in expansion of macro 'signe'
   if (tx==t_SER && !signe(x)) return gzero;
                     ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'polcoeff0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2067:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,ex,w,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2087:11: note: in expansion of macro 'typ'
       if (typ(x) == t_POL)
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2100:7: note: in expansion of macro 'signe'
  if (!signe(x)) return gzero;
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2110:11: note: in expansion of macro 'typ'
       if (typ(x) == t_SER)
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'denom':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2143:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'numer':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2189:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2196:15: note: in expansion of macro 'signe'
       return (signe(x[2])>0)? gcopy((GEN)x[1]): gneg((GEN)x[1]);
               ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'lift0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2219:14: note: in expansion of macro 'typ'
   long lx,tx=typ(x),i;
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2237:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'lift_intern0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2273:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x);
                ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2289:22: note: in expansion of macro 'signe'
     case t_SER: if (!signe(x)) return x; /* fall through */
                      ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'centerlift0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2305:14: note: in expansion of macro 'typ'
   long lx,tx=typ(x),i,av;
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2324:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'op_ReIm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2361:24: note: in expansion of macro 'typ'
   long lx,i,j,av, tx = typ(x);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:2372:29: note: in expansion of macro 'evalsigne'
       z=cgetg(i+1,tx); z[1]=evalsigne(1)|evallgef(1+i)|evalvarn(varn(x));
                             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:2372:56: note: in expansion of macro 'evalvarn'
       z=cgetg(i+1,tx); z[1]=evalsigne(1)|evallgef(1+i)|evalvarn(varn(x));
                                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'greal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2408:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2425:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'geval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2488:29: note: in expansion of macro 'typ'
   long av,tetpil,lx,i, tx = typ(x);
                             ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'simplify_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2538:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,lx;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2566:11: note: in expansion of macro 'typ'
       i = typ(y[1]);
           ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:2569:25: note: in expansion of macro 'settyp'
         if (i == t_INT) settyp(y, t_INTMOD);
                         ^~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2582:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qfeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2676:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2680:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2682:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qfbeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2762:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1 || lg(y) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2766:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2768:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n || typ(y) != t_COL || lg(y) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2768:40: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n || typ(y) != t_COL || lg(y) != n)
                                        ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qf_base_change':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2788:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || k != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2792:7: note: in expansion of macro 'typ'
   if (typ(M) != t_MAT || k == 1 || lg(M[1]) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gram_matrix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2815:9: note: in expansion of macro 'typ'
     if (typ(M) != t_MAT)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2819:7: note: in expansion of macro 'typ'
   if (typ(M) != t_MAT || lg(M[1]) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'mul_real':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2848:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2850:9: note: in expansion of macro 'typ'
     if (typ(y) == t_COMPLEX)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2859:12: note: in expansion of macro 'typ'
   else if (typ(y) == t_COMPLEX) y = (GEN)y[1];
            ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'hqfeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2911:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2915:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2917:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'poleval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2926:30: note: in expansion of macro 'typ'
   long av,tetpil,i,j,imin,tx=typ(x);
                              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2949:7: note: in expansion of macro 'typ'
   if (typ(y)!=t_COMPLEX)
       ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o galois.o ../pari-2.1.7/src/modules/galois.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/modules/galois.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/galois.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:877:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:878:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? subii(x,y) : subir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:879:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./pariinl.h: In function 'mpmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:885:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:886:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? mulii(x,y) : mulir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:887:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./pariinl.h: In function 'mpdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:893:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:894:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? divii(x,y) : divir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:895:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./pariinl.h: In function 'mpdivis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:905:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./pariinl.h: In function 'gtodouble':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:915:26: note: in expansion of macro 'evaltyp'
   static long reel4[4]={ evaltyp(t_REAL) | m_evallg(4),0,0,0 };
                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:917:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/galois.c: In function '_aux':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:277:10: note: in expansion of macro 'signe'
   return signe(z)? ((expo(z)+165) >> TWOPOTBITS_IN_LONG) - lg(z)
          ^~~~~
../pari-2.1.7/src/modules/galois.c: In function 'suffprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:286:7: note: in expansion of macro 'typ'
   if (typ(z)==t_COMPLEX)
       ^~~
../pari-2.1.7/src/modules/galois.c: In function 'preci':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:304:9: note: in expansion of macro 'typ'
     if (typ(x)==t_COMPLEX) { setlg(x[1],p); setlg(x[2],p); } else setlg(x,p);
         ^~~
../pari-2.1.7/src/modules/galois.c: In function 'getpreci':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:312:11: note: in expansion of macro 'typ'
   return (typ(x)==t_COMPLEX)? lg(x[1]): lg(x);
           ^~~
../pari-2.1.7/src/modules/galois.c: In function 'myroots':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:359:9: note: in expansion of macro 'signe'
     if (signe(y[2])) break; /* remaining roots are complex */
         ^~~~~
../pari-2.1.7/src/modules/galois.c: In function 'is_int':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:842:7: note: in expansion of macro 'typ'
   if (typ(g) == t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:845:9: note: in expansion of macro 'signe'
     if (signe(p1) && expo(p1) >= - (bit_accuracy(lg(p1))>>1)) return NULL;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:849:7: note: in expansion of macro 'signe'
   if (signe(p1) && expo(p1) >= - (bit_accuracy(lg(p1))>>1)) return NULL;
       ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o kummer.o ../pari-2.1.7/src/modules/kummer.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/modules/kummer.c:21:
./pariinl.h: In function 'mulll':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:124:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:125:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:131:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:132:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'addmul':
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:144:39: note: in expansion of macro 'HIGHWORD'
   const ulong xlo = LOWWORD(x), xhi = HIGHWORD(x);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:145:39: note: in expansion of macro 'HIGHWORD'
   const ulong ylo = LOWWORD(y), yhi = HIGHWORD(y);
                                       ^~~~~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:153:13: note: in expansion of macro 'HIGHWORD'
   xymidhi = HIGHWORD(xymid);
             ^~~~~~~~
./pariinl.h:154:19: warning: left shift count >= width of type [-Wshift-count-overflow]
   xymidlo = xymid << BITS_IN_HALFULONG;
                   ^~
./pariinl.h: In function 'bfffo':
./pariinl.h:173:44: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (x & 0xffffffff00000000) {sc -= 32; x >>= 32;}
                                            ^~~
./pariinl.h: In function 'divll':
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:199:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                   ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:186:54: note: in definition of macro 'GLUE'
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                                                      ^~
./pariinl.h:199:37: note: in expansion of macro 'HIGHWORD'
     hiremainder = GLUE(hiremainder, HIGHWORD(x));
                                     ^~~~~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:201:19: note: in expansion of macro 'GLUE'
     hiremainder = GLUE(hiremainder % y, LOWWORD(x));
                   ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:204:12: note: in expansion of macro 'GLUE'
     return GLUE(q1, q2);
            ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:213:3: note: in expansion of macro 'SPLIT'
   SPLIT(y, v1, v2);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:214:3: note: in expansion of macro 'SPLIT'
   SPLIT(x, u3, u4);
   ^~~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:219:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:223:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u3 - aux2));
                 ^~~~
./pariinl.h:102:26: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define HIGHWORD(a) ((a) >> BITS_IN_HALFULONG)
                          ^
./pariinl.h:187:28: note: in expansion of macro 'HIGHWORD'
 #define SPLIT(a, b, c) b = HIGHWORD(a); c = LOWWORD(a)
                            ^~~~~~~~
./pariinl.h:228:3: note: in expansion of macro 'SPLIT'
   SPLIT(aux, aux1, aux2);
   ^~~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:231:17: note: in expansion of macro 'GLUE'
   hiremainder = GLUE(hiremainder - aux1, LOWWORD(u4 - aux2)) >> k;
                 ^~~~
./pariinl.h:186:29: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE(hi, lo) (((hi) << BITS_IN_HALFULONG) + (lo))
                             ^
./pariinl.h:232:10: note: in expansion of macro 'GLUE'
   return GLUE(q1, q2);
          ^~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/kummer.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:386:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgeti':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:394:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'cgetr':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:402:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./pariinl.h: In function 'mpneg':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:442:15: note: in expansion of macro 'signe'
   setsigne(y,-signe(x)); return y;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:442:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h: In function 'mpabs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:449:7: note: in expansion of macro 'signe'
   if (signe(x)<0) setsigne(y,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:449:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./pariinl.h: In function 'smodis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:458:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./pariinl.h: In function 'utoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:467:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./pariinl.h: In function 'stoi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:479:21: note: in expansion of macro 'evalsigne'
   if (x>0) { y[1] = evalsigne(1) | evallgefint(3); y[2] = x; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./pariinl.h: In function 'itos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:487:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./pariinl.h: In function 'affsi':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:521:21: note: in expansion of macro 'evalsigne'
   if (s>0) { x[1] = evalsigne(1) | evallgefint(3); x[2] = s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:522:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./pariinl.h: In function 'affsr':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:535:21: note: in expansion of macro 'evalsigne'
   if (s<0) { x[1] = evalsigne(-1); s = -s; }
                     ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
./pariinl.h:536:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./pariinl.h: In function 'mpaff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:544:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:545:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affii(x,y); else affir(x,y); }
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:547:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./pariinl.h: In function 'cmpir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:566:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./pariinl.h: In function 'cmpsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:577:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./pariinl.h: In function 'addssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:585:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./pariinl.h: In function 'subii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:598:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addii(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:603:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:609:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:613:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addrr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:614:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:620:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:623:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:624:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:630:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:633:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addir(y,x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:634:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:640:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:643:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsi(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:644:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'subsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:650:16: note: in expansion of macro 'signe'
   const long s=signe(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:653:3: note: in expansion of macro 'setsigne'
   setsigne(y,-s); z=addsr(x,y);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
./pariinl.h:654:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./pariinl.h: In function 'mulssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:660:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./pariinl.h: In function 'vali':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
./pariinl.h:696:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./pariinl.h: In function 'divisz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:794:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./pariinl.h: In function 'divsiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:809:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./pariinl.h: In function 'divssz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:826:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./pariinl.h: In function 'mpcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:861:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:862:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? cmpii(x,y) : cmpir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:863:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./pariinl.h: In function 'mpadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:869:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:870:13: note: in expansion of macro 'typ'
     return (typ(y)==t_INT) ? addii(x,y) : addir(x,y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
./pariinl.h:871:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./pariinl.h: In function 'mpsub':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))