==> Creating clean working copy [build]...done
==> Making package: perl-math-pari 1:2.01080900-2 (Fri Mar 24 03:24:20 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 03:24:22 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.6 2.1.5 2.1.2 2.1.3 2.1.0 2.1.7 2.1.4'
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cp libPARI.pod blib/lib/Math/libPARI.pod
cp Pari.pm blib/lib/Math/Pari.pm
cp PariInit.pm blib/lib/Math/PariInit.pm
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-march=armv6 -mfloat-abi=hard -mfpu=vfp -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=armv6 -mfloat-abi=hard -mfpu=vfp -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 galconj.o ../pari-2.1.7/src/basemath/galconj.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/galconj.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/galconj.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/galconj.c: In function 'galoisconj':
../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/galconj.c:35:5: note: in expansion of macro 'setvarn'
     setvarn(x, 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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/galconj.c:43:5: note: in expansion of macro 'setvarn'
     setvarn(p1, v);
     ^~~~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisconj2pol':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:75:9: note: in expansion of macro 'signe'
     if (signe(p1[n + 1]))
         ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisconj2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:96:7: note: in expansion of macro 'typ'
   if (typ(nf) == 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/galconj.c:128:9: note: in expansion of macro 'signe'
     if (signe(p1[n + 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/galconj.c:131:7: note: in expansion of macro 'settyp'
       settyp(p1, t_COL);
       ^~~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'vectosmall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:162:8: note: in expansion of macro 'typ'
   if ( typ(H) == t_VECSMALL )
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:164:8: note: in expansion of macro 'typ'
   if ( typ(H) == 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/galconj.c:170:7: note: in expansion of macro 'typ'
   if (typ(H)!=t_VEC && typ(H)!=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/galconj.c:170:24: note: in expansion of macro 'typ'
   if (typ(H)!=t_VEC && typ(H)!=t_COL)
                        ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'initborne':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:229:9: note: in expansion of macro 'signe'
     if (signe(z[2]))
         ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'compoTS':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:332:9: note: in expansion of macro 'signe'
     if (signe((GEN) T[i + 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/galconj.c:367:9: note: in expansion of macro 'signe'
     if (signe((GEN) T[i + 2]))
         ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'calcTS':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:381:9: note: in expansion of macro 'signe'
     if (signe((GEN) P[i + 2]))
         ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'calcderivTS':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:397:9: note: in expansion of macro 'signe'
     if (signe((GEN) P[i + 2]))
         ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'applyperm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:813:20: note: in expansion of macro 'typ'
   u = cgetg(lg(s), typ(s));
                    ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'inittest':
../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/galconj.c:894:3: note: in expansion of macro 'settyp'
   settyp(td->TM, t_VEC);
   ^~~~~~
../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/galconj.c:896:5: note: in expansion of macro 'settyp'
     settyp(td->TM[i], t_VEC);
     ^~~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'permorbite':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:1267:7: note: in expansion of macro 'typ'
   if (typ(v) == t_VECSMALL)
       ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'vectopol':
../pari-2.1.7/src/headers/parigen.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/galconj.c:1431:8: note: in expansion of macro 'evalsigne'
   z[1]=evalsigne(1)|evalvarn(x)|evallgef(n+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/galconj.c:1431:21: note: in expansion of macro 'evalvarn'
   z[1]=evalsigne(1)|evalvarn(x)|evallgef(n+1);
                     ^~~~~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'permtopol':
../pari-2.1.7/src/headers/parigen.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/galconj.c:1458:8: note: in expansion of macro 'evalsigne'
   z[1]=evalsigne(1)|evalvarn(x)|evallgef(n+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/galconj.c:1458:21: note: in expansion of macro 'evalvarn'
   z[1]=evalsigne(1)|evalvarn(x)|evallgef(n+1);
                     ^~~~~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'corediscpartial':
../pari-2.1.7/src/headers/parigen.h:154: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/galconj.c:1515:7: note: in expansion of macro 'signe'
   if (signe(res) < 0)
       ^~~~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisconj4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2730:7: note: in expansion of macro 'typ'
   if (typ(T) != 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/galconj.c:2741:9: note: in expansion of macro 'typ'
     if (typ(T[k]) != 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/galconj.c:2770:9: note: in expansion of macro 'typ'
     if (typ(den) != t_INT)
         ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisconj0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2903:7: note: in expansion of macro 'typ'
   if (typ(nf) != 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/galconj.c:2915:9: note: in expansion of macro 'typ'
     if (typ(G) != t_INT) /* Success */
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2923:6: note: in expansion of macro 'typ'
  if (typ(nf) == 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/galconj.c:2941:9: note: in expansion of macro 'typ'
     if (typ(G) != t_INT)
         ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'checkgal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2976:7: note: in expansion of macro 'typ'
   if (typ(gal) == 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/galconj.c:2978:7: note: in expansion of macro 'typ'
   if (typ(gal) != t_VEC || lg(gal) != 9)
       ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisinit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2988:7: note: in expansion of macro 'typ'
   if (typ(G) == t_INT)
       ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoispermtopol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:2998:15: note: in expansion of macro 'typ'
   long    t = typ(perm);
               ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoisfixedfield':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:3106:7: note: in expansion of macro 'typ'
   if (typ(perm) == t_VEC)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:3112:13: note: in expansion of macro 'typ'
         if (typ(perm[i]) != t_VECSMALL || lg(perm[i])!=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/galconj.c:3115:12: note: in expansion of macro 'typ'
   else if (typ(perm) != t_VECSMALL || lg(perm)!=n+1)
            ^~~
../pari-2.1.7/src/basemath/galconj.c: In function 'galoissubcyclo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/galconj.c:3308:8: note: in expansion of macro 'typ'
   if ( typ(H)==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/galconj.c:3315:14: note: in expansion of macro 'typ'
     else if (typ(Z)!=t_VEC || lg(Z)!=4)
              ^~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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=armv6 -mfloat-abi=hard -mfpu=vfp -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 subgroup.o ../pari-2.1.7/src/basemath/subgroup.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/subgroup.c:16:
./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/subgroup.c:16:
./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/subgroup.c: In function 'subgroup_engine':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/subgroup.c:345:7: note: in expansion of macro 'typ'
   if (typ(cyc) != t_VEC)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/subgroup.c:347:9: note: in expansion of macro 'typ'
     if (typ(cyc) != t_MAT) err(typeer,"forsubgroup");
         ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/subgroup.c:354:8: note: in expansion of macro 'signe'
   if (!signe(cyc[1]))
        ^~~~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 polarit1.o ../pari-2.1.7/src/basemath/polarit1.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/polarit1.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/polarit1.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/polarit1.c: In function 'incpos':
../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/polarit1.c:50:8: note: in expansion of macro 'evaltyp'
   a[0]=evaltyp(1) | evallg(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/basemath/polarit1.c:51:8: note: in expansion of macro 'evalsigne'
   a[1]=evalsigne(1) | evallgefint(i);
        ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'incloop':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:60:10: note: in expansion of macro 'signe'
   switch(signe(a))
          ^~~~~
../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/polarit1.c:64:12: note: in expansion of macro 'evaltyp'
       a[0]=evaltyp(t_INT) | evallg(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/basemath/polarit1.c:65:12: note: in expansion of macro 'evalsigne'
       a[1]=evalsigne(1) | evallgefint(3);
            ^~~~~~~~~
../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/polarit1.c:75:16: note: in expansion of macro 'evaltyp'
         a[0] = evaltyp(t_INT) | evallg(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/basemath/polarit1.c:76:16: note: in expansion of macro 'evalsigne'
         a[1] = evalsigne(0) | evallgefint(2);
                ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'gred_simple':
../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/polarit1.c:122:34: note: in expansion of macro 'settyp'
   if (gcmp1(x2)) { x = gcopy(x); settyp(x, t_RFRAC); return gcopy(x); }
                                  ^~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'gred_rfrac':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:139:6: note: in expansion of macro 'typ'
   tx=typ(x1); ty=typ(x2);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:139:18: note: in expansion of macro 'typ'
   tx=typ(x1); ty=typ(x2);
                  ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:159:8: note: in expansion of macro 'signe'
   if (!signe(p1)) return gmul(x3,y);
        ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/basemath/polarit1.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:54:27: note: in definition of macro 'is_scalar_t'
 #define is_scalar_t(tx) ((tx) < t_POL)
                           ^~
../pari-2.1.7/src/headers/paritype.h:67:34: note: in expansion of macro 'typ'
 #define isscalar(x) (is_scalar_t(typ(x)) || (typ(x)==t_POL && lgef(x)<=3))
                                  ^~~
../pari-2.1.7/src/basemath/polarit1.c:162:8: note: in expansion of macro 'isscalar'
   if (!isscalar(p1)) { x1=gdeuc(x1,p1); x2=gdeuc(x2,p1); }
        ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/polarit1.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:67:46: note: in expansion of macro 'typ'
 #define isscalar(x) (is_scalar_t(typ(x)) || (typ(x)==t_POL && lgef(x)<=3))
                                              ^~~
../pari-2.1.7/src/basemath/polarit1.c:162:8: note: in expansion of macro 'isscalar'
   if (!isscalar(p1)) { x1=gdeuc(x1,p1); x2=gdeuc(x2,p1); }
        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'gred':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:172:11: note: in expansion of macro 'typ'
   long tx=typ(x),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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:182:44: note: in expansion of macro 'settyp'
     if (is_pm1(p1)) { avma=av; y=gcopy(x); settyp(y,t_FRAC); return y; }
                                            ^~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'poldivres':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:208:11: note: in expansion of macro 'typ'
   long ty=typ(y),tx,vx,vy,dx,dy,dz,i,j,avy,av,av1,sx,lrem;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:223:6: note: in expansion of macro 'typ'
   tx=typ(x); vy=gvar9(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/headers/paricom.h:119:20: note: in expansion of macro 'typ'
 #define gvar9(x) ((typ(x)==t_POLMOD)? gvar2(x): gvar(x))
                    ^~~
../pari-2.1.7/src/basemath/polarit1.c:223:17: note: in expansion of macro 'gvar9'
   tx=typ(x); vy=gvar9(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/headers/paricom.h:119:20: note: in expansion of macro 'typ'
 #define gvar9(x) ((typ(x)==t_POLMOD)? gvar2(x): gvar(x))
                    ^~~
../pari-2.1.7/src/basemath/polarit1.c:224:26: note: in expansion of macro 'gvar9'
   if (is_scalar_t(tx) || gvar9(x)>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/polarit1.c:243:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(talker,"euclidean division by zero (poldivres)");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:283:10: note: in expansion of macro 'typ'
   switch(typ(y_lead))
          ^~~
../pari-2.1.7/src/headers/parigen.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/polarit1.c:293:8: note: in expansion of macro 'evalsigne'
   z[1]=evalsigne(1) | evallgef(dz+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/polarit1.c:293:40: note: in expansion of macro 'evalvarn'
   z[1]=evalsigne(1) | evallgef(dz+3) | evalvarn(vx);
                                        ^~~~~~~~
../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/polarit1.c:331:10: note: in expansion of macro 'evaltyp'
   rem[0]=evaltyp(t_POL) | evallg(lrem);
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/polarit1.c:332:10: note: in expansion of macro 'evalsigne'
   rem[1]=evalsigne(1) | evalvarn(vx) | evallgef(lrem);
          ^~~~~~~~~
../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/polarit1.c:332:25: note: in expansion of macro 'evalvarn'
   rem[1]=evalsigne(1) | evalvarn(vx) | evallgef(lrem);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'factmod_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/basemath/polarit1.c:370:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL || typ(pp)!=t_INT) err(typeer,"factmod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:370:24: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL || typ(pp)!=t_INT) err(typeer,"factmod");
                        ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:378:8: note: in expansion of macro 'signe'
   if (!signe(f)) err(zeropoler,"factmod");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:381:9: note: in expansion of macro 'typ'
     if (typ(f[i])!=t_INT) err(impl,"factormod for general polynomials");
         ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'root_mod_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/polarit1.c:389:17: note: in expansion of macro 'signe'
   int z1, z0 = !signe(f[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/polarit1.c:394:9: note: in expansion of macro 'signe'
     if (signe(f[i])) n++;
         ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'root_mod_4':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:407:13: note: in expansion of macro 'signe'
   int z0 = !signe(f[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/polarit1.c:402:20: note: in expansion of macro 'signe'
 #define i_mod4(x) (signe(x)? mod4((GEN)(x)): 0)
                    ^~~~~
../pari-2.1.7/src/basemath/polarit1.c:408:14: note: in expansion of macro 'i_mod4'
   int z2 = ((i_mod4(f[2]) + 2*i_mod4(f[3])) & 3) == 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/polarit1.c:402:20: note: in expansion of macro 'signe'
 #define i_mod4(x) (signe(x)? mod4((GEN)(x)): 0)
                    ^~~~~
../pari-2.1.7/src/basemath/polarit1.c:408:31: note: in expansion of macro 'i_mod4'
   int z2 = ((i_mod4(f[2]) + 2*i_mod4(f[3])) & 3) == 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/polarit1.c:413:9: note: in expansion of macro 'signe'
     if (signe(f[i])) ne += mael(f,i,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/polarit1.c:415:9: note: in expansion of macro 'signe'
     if (signe(f[i])) no += mael(f,i,2);
         ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'rootmod2':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:462:9: note: in expansion of macro 'signe'
     if (signe(r)) avma = av1;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/polarit1.c:473:34: note: in expansion of macro 'setsigne'
     g = mpinvmod((GEN)f[3], pp); setsigne(g,-1);
                                  ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'rootmod':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:493:16: note: in expansion of macro 'signe'
   i=2; while (!signe(f[i])) 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/basemath/polarit1.c:505:13: note: in expansion of macro 'evalsigne'
     a[1] =  evalsigne(1) | evalvarn(varn(f)) | evallgef(j);
             ^~~~~~~~~
../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/polarit1.c:505:28: note: in expansion of macro 'evalvarn'
     a[1] =  evalsigne(1) | evalvarn(varn(f)) | evallgef(j);
                            ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'Fp_is_totally_split':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:626:56: note: in expansion of macro 'signe'
   avma = av; return lgef(z)==4 && gcmp1((GEN)z[3]) && !signe(z[2]);
                                                        ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'fqunclone':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:684:9: note: in expansion of macro 'typ'
     if (typ(p1) == t_POLMOD) { p1[1] = (long)a; p1 = (GEN)p1[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/polarit1.c:685:9: note: in expansion of macro 'typ'
     if (typ(p1) == t_INTMOD) p1[1] = (long)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/basemath/polarit1.c:690:13: note: in expansion of macro 'typ'
         if (typ(p2) == t_INTMOD) p2[1] = (long)p;
             ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'spec_Fp_pow_mod_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/polarit1.c:816:10: note: in expansion of macro 'signe'
     if (!signe(c)) continue;
          ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'mat_to_vecpol':
../pari-2.1.7/src/headers/parigen.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/polarit1.c:972:13: note: in expansion of macro 'evalsigne'
     p1[1] = evalsigne(1) | evallgef(i) | 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/polarit1.c:972:42: note: in expansion of macro 'evalvarn'
     p1[1] = evalsigne(1) | evallgef(i) | evalvarn(v);
                                          ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'vecpol_to_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/polarit1.c:986:7: note: in expansion of macro 'typ'
   if (typ(v) != t_VEC) err(typeer,"vecpol_to_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/polarit1.c:992:9: note: in expansion of macro 'typ'
     if (typ(w) != t_POL) { p1[1] = (long)w; i=2; }
         ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'mat_to_polpol':
../pari-2.1.7/src/headers/parigen.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/polarit1.c:1008:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evallgef(lx+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/polarit1.c:1008:40: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evallgef(lx+1) | 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/polarit1.c:1015:13: note: in expansion of macro 'evalsigne'
     p1[1] = evalsigne(1) | evallgef(i) | evalvarn(w);
             ^~~~~~~~~
../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/polarit1.c:1015:42: note: in expansion of macro 'evalvarn'
     p1[1] = evalsigne(1) | evallgef(i) | evalvarn(w);
                                          ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'polpol_to_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/polarit1.c:1029:7: note: in expansion of macro 'typ'
   if (typ(v) != t_POL) err(typeer,"polpol_to_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/polarit1.c:1035:9: note: in expansion of macro 'typ'
     if (typ(w) != t_POL) { p1[1] = (long)w; i=2; }
         ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'Fp_pol_addmul':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/polarit1.c:1063:13: note: in expansion of macro 'setsigne'
   if (i==1) setsigne(x,0); else { setsigne(x,1); setlgef(x,i+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/polarit1.c:1063:35: note: in expansion of macro 'setsigne'
   if (i==1) setsigne(x,0); else { setsigne(x,1); setlgef(x,i+1); }
                                   ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'split_berlekamp':
../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/polarit1.c:1121:7: note: in expansion of macro 'setvarn'
       setvarn(polt,vu);
       ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:1126:25: note: in expansion of macro 'signe'
       pol[1] = evallgef(signe(pol[2])? 3: 2) | evalvarn(vu);
                         ^~~~~
../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/polarit1.c:1126:48: note: in expansion of macro 'evalvarn'
       pol[1] = evallgef(signe(pol[2])? 3: 2) | evalvarn(vu);
                                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:1140:14: note: in expansion of macro 'signe'
         if (!signe(p2))
              ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'padic_pol_to_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/polarit1.c:1255:12: note: in expansion of macro 'typ'
     switch(typ(f[i]))
            ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'int_to_padic':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1271:7: note: in expansion of macro 'typ'
   if (typ(x) == t_PADIC)
       ^~~
../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/polarit1.c:1274:14: note: in expansion of macro 'precp'
     if (r >= precp(x) + v) return invlead? gmul(x, invlead): gcopy(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/polarit1.c:1280:10: note: in expansion of macro 'signe'
     sx = signe(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/polarit1.c:1295:10: note: in expansion of macro 'evalprecp'
   y[1] = evalprecp(r)|evalvalp(v);
          ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'apprgen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1341:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL) err(notpoler,"apprgen");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1343:7: note: in expansion of macro 'typ'
   if (typ(a) != t_PADIC) err(rootper1);
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/polarit1.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/headers/paricom.h:122:38: note: in definition of macro 'ggrandocp'
 #define ggrandocp(x,n) (grando0((x),(n),0))
                                      ^
../pari-2.1.7/src/basemath/polarit1.c:1365:30: note: in expansion of macro 'precp'
   x = ggrandocp(p, valp(a) | precp(a));
                              ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/polarit1.c:22:
../pari-2.1.7/src/basemath/polarit1.c: In function 'rootpadic':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1400:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL) err(notpoler,"rootpadic");
       ^~~
../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/polarit1.c:1414:14: note: in expansion of macro 'evalprecp'
       z[1] = evalprecp(1)|evalvalp(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/polarit1.c:1427:9: note: in expansion of macro 'signe'
     if (signe(p1))
         ^~~~~
../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/polarit1.c:1431:28: note: in expansion of macro 'evalprecp'
         z[1] = evalvalp(0)|evalprecp(r);
                            ^~~~~~~~~
../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/polarit1.c:1436:28: note: in expansion of macro 'evalprecp'
         z[1] = evalvalp(1)|evalprecp(r);
                            ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'rootpadicliftroots':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1537:13: note: in expansion of macro 'typ'
   y=cgetg(n,typ(S));
             ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'getprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1623:9: note: in expansion of macro 'typ'
     if (typ(p1)==t_PADIC)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:1625:23: note: in expansion of macro 'signe'
       e=valp(p1); if (signe(p1[4])) e += precp(p1);
                       ^~~~~
../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/polarit1.c:1625:42: note: in expansion of macro 'precp'
       e=valp(p1); if (signe(p1[4])) e += precp(p1);
                                          ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'apprgen9':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1642:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL) err(notpoler,"apprgen9");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1644:7: note: in expansion of macro 'typ'
   if (typ(a)==t_PADIC) return apprgen(f,a);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1645:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_POLMOD || typ(a[2])!=t_POL) err(rootper1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1645:27: note: in expansion of macro 'typ'
   if (typ(a)!=t_POLMOD || typ(a[2])!=t_POL) err(rootper1);
                           ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'factorpadic2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1771:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"factorpadic");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:1786:35: note: in expansion of macro 'signe'
     j++; w=gsub(w,derivpol(v)); f=signe(w);
                                   ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'polreverse':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1841:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) err(typeer,"polreverse");
       ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'factorpadic4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1853:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL) err(notpoler,"factorpadic");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1854:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'to_fq':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/polarit1.c:1967:16: note: in expansion of macro 'setsigne'
   if (lx == 2) setsigne(pol, 0);
                ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'Kronecker_powmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:1990:9: note: in expansion of macro 'typ'
     if (typ(p1) == t_POLMOD) { pol = (GEN)p1[1] ; 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/basemath/polarit1.c:1996:9: note: in expansion of macro 'typ'
     if (typ(p1) == t_INTMOD) { p = (GEN)p1[1] ; break; }
         ^~~
../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/polarit1.c:2012:7: note: in expansion of macro 'setvarn'
       setvarn(y, 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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2020:9: note: in expansion of macro 'setvarn'
         setvarn(y, 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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2034:3: note: in expansion of macro 'setvarn'
   setvarn(y, v); return gerepileupto(av0, y);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'FpX_rand':
../pari-2.1.7/src/headers/parigen.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/polarit1.c:2042:30: note: in expansion of macro 'evalsigne'
   y = cgetg(d,t_POL); y[1] = evalsigne(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/polarit1.c:2042:45: note: in expansion of macro 'evalvarn'
   y = cgetg(d,t_POL); y[1] = evalsigne(1) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'FqX_rand':
../pari-2.1.7/src/headers/parigen.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/polarit1.c:2054:30: note: in expansion of macro 'evalsigne'
   y = cgetg(d,t_POL); y[1] = evalsigne(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/polarit1.c:2054:45: note: in expansion of macro 'evalvarn'
   y = cgetg(d,t_POL); y[1] = evalsigne(1) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'cmp_coeff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2109:7: note: in expansion of macro 'typ'
   if (typ(x) == t_INTMOD) 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/polarit1.c:2110:7: note: in expansion of macro 'typ'
   if (typ(y) == t_INTMOD) y = (GEN)y[2];
       ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'cmp_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/polarit1.c:2120: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/polarit1.c:2121:7: note: in expansion of macro 'typ'
   if (typ(y) == t_POLMOD) y = (GEN)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/polarit1.c:2122:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL) lx = lgef(x); else { lx = 3; fx[2] = (long)x; x = fx; }
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2123:7: note: in expansion of macro 'typ'
   if (typ(y) == t_POL) ly = lgef(y); else { ly = 3; fy[2] = (long)y; y = fy; }
       ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'spec_Fq_pow_mod_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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2186:3: note: in expansion of macro 'setvarn'
   setvarn(z, varn(x)); return gerepileupto(av, z);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'isabsolutepol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2196:12: note: in expansion of macro 'typ'
     switch(typ(c))
            ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'factmod9':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2231:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(f)!=t_POL || gcmp0(a)) err(typeer,"factmod9");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2231:24: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(f)!=t_POL || gcmp0(a)) err(typeer,"factmod9");
                        ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:2255:26: note: in expansion of macro 'signe'
   f = gmul(unfq,f); if (!signe(f)) err(zeropoler,"factmod9");
                          ^~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'rootsold':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2380:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(typeer,"rootsold");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:2382:8: note: in expansion of macro 'signe'
   if (!signe(x)) err(zeropoler,"rootsold");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2392:8: note: in expansion of macro 'typ'
     ti=typ(x[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/basemath/polarit1.c:2402:30: note: in expansion of macro 'evalsigne'
   p11=cgetg(4,t_POL); p11[1]=evalsigne(1)+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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2403:3: note: in expansion of macro 'setvarn'
   setvarn(p11,v); p11[3]=un;
   ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/polarit1.c:2405:30: note: in expansion of macro 'evalsigne'
   p12=cgetg(5,t_POL); p12[1]=evalsigne(1)+evallgef(5);
                              ^~~~~~~~~
../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/polarit1.c:2406:3: note: in expansion of macro 'setvarn'
   setvarn(p12,v); p12[4]=un;
   ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/polarit1.c:2414:16: note: in expansion of macro 'evalsigne'
       pax[1] = evalsigne(1) | evalvarn(v) | evallgef(j);
                ^~~~~~~~~
../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/polarit1.c:2414:31: note: in expansion of macro 'evalvarn'
       pax[1] = evalsigne(1) | evalvarn(v) | evallgef(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/headers/paritype.h:68:25: note: in expansion of macro 'typ'
 #define isnonscalar(x) (typ(x) == t_POL && lgef(x) > 3)
                         ^~~
../pari-2.1.7/src/basemath/polarit1.c:2420:35: note: in expansion of macro 'isnonscalar'
     if (gg) { pp=ggcd(pax,xd0); h=isnonscalar(pp); if (h) pq=gdeuc(pax,pp); }
                                   ^~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:68:25: note: in expansion of macro 'typ'
 #define isnonscalar(x) (typ(x) == t_POL && lgef(x) > 3)
                         ^~~
../pari-2.1.7/src/basemath/polarit1.c:2426:50: note: in expansion of macro 'isnonscalar'
         pa=pp; pb=pq; pp=ggcd(pa,deriv(pa,v)); h=isnonscalar(pp);
                                                  ^~~~~~~~~~~
../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/polarit1.c:2496:33: note: in expansion of macro 'settyp'
               if (gcmp0(p14)) { settyp(p14,t_INT); p14[1]=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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2497:33: note: in expansion of macro 'settyp'
               if (gcmp0(p15)) { settyp(p15,t_INT); p15[1]=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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2500:15: note: in expansion of macro 'settyp'
               settyp(p14,t_REAL); settyp(p15,t_REAL);
               ^~~~~~
../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/polarit1.c:2500:35: note: in expansion of macro 'settyp'
               settyp(p14,t_REAL); settyp(p15,t_REAL);
                                   ^~~~~~
../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/polarit1.c:2507:29: note: in expansion of macro 'settyp'
           if (gcmp0(p14)) { settyp(p14,t_INT); p14[1]=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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2508:29: note: in expansion of macro 'settyp'
           if (gcmp0(p15)) { settyp(p15,t_INT); p15[1]=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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2514:31: note: in expansion of macro 'settyp'
             if (gcmp0(p14)) { settyp(p14,t_INT); p14[1]=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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/polarit1.c:2515:31: note: in expansion of macro 'settyp'
             if (gcmp0(p15)) { settyp(p15,t_INT); p15[1]=2; }
                               ^~~~~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'roots2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2587:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"roots2");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit1.c:2588:8: note: in expansion of macro 'signe'
   if (!signe(pol)) err(zeropoler,"roots2");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2601:8: note: in expansion of macro 'typ'
     ti=typ(pol[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/polarit1.c:2649:11: 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/polarit1.c:2654:16: note: in expansion of macro 'typ'
       else if (typ(x)!=t_COMPLEX) flagrealrac=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/polarit1.c:2672:17: note: in expansion of macro 'typ'
             if (typ(qolbis[i])==t_COMPLEX) mael(qolbis,i,2)=zero;
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2684:15: note: in expansion of macro 'typ'
           if (typ(qolbis[i])==t_COMPLEX) mael(qolbis,i,2)=zero;
               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2710:8: note: in expansion of macro 'typ'
     ti=typ(pol[i]);
        ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'gnorml1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:2784:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/polarit1.c: In function 'zrhqr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit1.c:3020:9: note: in expansion of macro 'typ'
     if (typ(rt[i])==t_REAL) { x=cgetr(prec); affrr((GEN)rt[i],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=armv6 -mfloat-abi=hard -mfpu=vfp -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 base2.o ../pari-2.1.7/src/basemath/base2.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/base2.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/base2.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/base2.c: In function 'allbase_check_args':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:41:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_POL) err(notpoler,"allbase");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:48:12: note: in expansion of macro 'signe'
       if (!signe(*y)) err(talker,"reducible polynomial in allbase");
            ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'rrmdr':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:85: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/base2.c:89:23: note: in expansion of macro 'signe'
   if (k>0 || (k==0 && signe(r)>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/base2.c:92:9: note: in expansion of macro 'signe'
     if (signe(y) == signe(r)) r = subii(r,y); else r = addii(r,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/base2.c:92:21: note: in expansion of macro 'signe'
     if (signe(y) == signe(r)) r = subii(r,y); else r = addii(r,y);
                     ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'rtran':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:161:7: note: in expansion of macro 'signe'
   if (signe(q))
       ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'mtran':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:177:7: note: in expansion of macro 'signe'
   if (signe(q))
       ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'rowred':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:245:14: note: in expansion of macro 'signe'
       while (signe(gcoeff(a,j,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/basemath/base2.c:251:9: note: in expansion of macro 'signe'
     if (signe(gcoeff(a,j,j)) < 0)
         ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'matinv':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:291:7: note: in expansion of macro 'setsigne'
       setsigne(h,-signe(h)); av1=avma;
       ^~~~~~~~
../pari-2.1.7/src/basemath/base2.c:291:19: note: in expansion of macro 'signe'
       setsigne(h,-signe(h)); av1=avma;
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/base2.c:291:7: note: in expansion of macro 'setsigne'
       setsigne(h,-signe(h)); av1=avma;
       ^~~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'allbase':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:514:16: note: in expansion of macro 'signe'
         while (signe(gcoeff(bt,s,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/base2.c:529:16: note: in expansion of macro 'signe'
         while (signe(gcoeff(at,j,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/basemath/base2.c:536:11: note: in expansion of macro 'signe'
       if (signe(gcoeff(at,j,j))<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/base2.c:564:12: note: in expansion of macro 'evalsigne'
     q[1] = evalsigne(1) | evallgef(2+k) | 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/base2.c:564:43: note: in expansion of macro 'evalvarn'
     q[1] = evalsigne(1) | evallgef(2+k) | evalvarn(v);
                                           ^~~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'fnz':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:607:9: note: in expansion of macro 'signe'
     if (signe(x[i])) return 0;
         ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'allbase4':
../pari-2.1.7/src/headers/parigen.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/base2.c:684:12: note: in expansion of macro 'evalsigne'
     q[1] = evalsigne(1) | evallgef(k+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/base2.c:684:43: note: in expansion of macro 'evalvarn'
     q[1] = evalsigne(1) | evallgef(k+2) | evalvarn(v);
                                           ^~~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'update_fact':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:717:7: note: in expansion of macro 'typ'
   if (typ(f)!=t_MAT || lg(f)!=3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'nfbasis00':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:741:7: note: in expansion of macro 'typ'
   if (typ(x0)!=t_POL) err(typeer,"nfbasis00");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:744:9: note: in expansion of macro 'typ'
     if (typ(x0[k])!=t_INT) err(talker,"polynomial not in Z[X] in nfbasis");
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'polmodiaux':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:905:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_INT)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'dbasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:951:8: note: in expansion of macro 'typ'
   dU = typ(U)==t_POL? lgef(U)-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/basemath/base2.c:971:13: note: in expansion of macro 'typ'
         if (typ(p2)==t_INT)
             ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'get_partial_order_as_pols':
../pari-2.1.7/src/headers/parigen.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/base2.c:999:10: note: in expansion of macro 'evalsigne'
     h[1]=evalsigne(1)|evallgef(i+2)|evalvarn(vf);
          ^~~~~~~~~
../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/base2.c:999:37: note: in expansion of macro 'evalvarn'
     h[1]=evalsigne(1)|evallgef(i+2)|evalvarn(vf);
                                     ^~~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'update_alpha':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:1205:9: note: in expansion of macro 'signe'
     if (signe(pdr)) 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/base2.c:1209:9: note: in expansion of macro 'signe'
     if (signe(pdr)) break;
         ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'nilord':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:1336:11: note: in expansion of macro 'signe'
       if (signe(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/base2.c:1447:13: note: in expansion of macro 'typ'
         if (typ(delt) == 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/base2.c:1476:12: note: in expansion of macro 'signe'
       if (!signe(modii((GEN)chie[2], pmr))) chie = mycaract(chi, eta);
            ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'eleval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:1598:7: note: in expansion of macro 'typ'
   if (typ(h) != t_POL) return gcopy(h);
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'shiftpol':
../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/base2.c:1615:3: note: in expansion of macro 'setvarn'
   setvarn(x,v); return x;
   ^~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'gcdpm':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:1645:9: note: in expansion of macro 'signe'
     if (signe(resii(gcoeff(a,c,c),pm))) break;
         ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'project':
../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/base2.c:1720:18: note: in expansion of macro 'evaltyp'
   x += k; x[0] = evaltyp(t_COL) | evallg(kbar+1);
                  ^~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'primedec':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:2044:7: note: in expansion of macro 'signe'
   if (signe(modii((GEN)nf[4],p))) /* p doesn't divide index */
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:2061:26: note: in expansion of macro 'signe'
     if (is_pm1(ex[i]) || signe(Fp_res(p1,(GEN)f[i],p)))
                          ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'nfreducemodpr_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/base2.c:2148:9: note: in expansion of macro 'signe'
     if (signe(p1) && is_pm1(t[i]))
         ^~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'nfreducemodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2166:9: note: in expansion of macro 'typ'
     if (typ(x[i]) == t_INTMOD) { x=lift_intern(x); break; }
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'nfreducemodpr2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2183:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL) x = algtobasis(nf,x);
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfjoinmodules':
../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/base2.c:2211:8: note: in expansion of macro 'evaltyp'
   *z = evaltyp(t_VEC)|evallg(3);
        ^~~~~~~
../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/base2.c:2212:35: note: in expansion of macro 'evaltyp'
   p1 =  z+3; z[1]=(long)p1; *p1 = evaltyp(t_MAT)|evallg(i);
                                   ^~~~~~~
../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/base2.c:2213:35: note: in expansion of macro 'evaltyp'
   p2 = p1+i; z[2]=(long)p2; *p2 = evaltyp(t_VEC)|evallg(i);
                                   ^~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfelementid_powmod':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:2301:8: note: in expansion of macro 'signe'
   if (!signe(n)) return unrnf;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:32:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define HIGHBIT      (0x8000000000000000UL)
                        ^
../pari-2.1.7/src/basemath/base2.c:2302:48: note: in expansion of macro 'HIGHBIT'
   y=(GEN)matId[h]; i = lgefint(n)-1; m=n[i]; j=HIGHBIT;
                                                ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:32:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define HIGHBIT      (0x8000000000000000UL)
                        ^
../pari-2.1.7/src/basemath/base2.c:2310:19: note: in expansion of macro 'HIGHBIT'
     for (m=n[i],j=HIGHBIT; j; j>>=1)
                   ^~~~~~~
../pari-2.1.7/src/basemath/base2.c: In function 'mymod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2321:19: note: in expansion of macro 'typ'
   long i,lx, tx = typ(x);
                   ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfordmax':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2401:12: note: in expansion of macro 'typ'
       tp = typ(p1);
            ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'check_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/base2.c:2507:10: note: in expansion of macro 'typ'
     tx = typ(x[i]);
          ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'fix_relative_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/base2.c:2516:14: note: in expansion of macro 'typ'
   GEN xnf = (typ(nf) == t_POL)? nf: (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/basemath/base2.c:2518:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL || varn(x) >= vnf)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2522:9: note: in expansion of macro 'typ'
     if (typ(x[i]) == t_POL)
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfsimplifybasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2621:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfdet':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2667:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfsteinitz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2691:7: note: in expansion of macro 'typ'
   if (typ(order)==t_POL) order=rnfpseudobasis(nf,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/base2.c:2692:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<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/base2.c:2696:7: note: in expansion of macro 'typ'
   if (typ(A) != t_MAT || typ(I) != t_VEC || lg(I) != 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/base2.c:2696:26: note: in expansion of macro 'typ'
   if (typ(A) != t_MAT || typ(I) != t_VEC || lg(I) != n+1)
                          ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfbasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2748:7: note: in expansion of macro 'typ'
   if (typ(order)==t_POL) order=rnfpseudobasis(nf,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/base2.c:2749:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfhermitebasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2784:7: note: in expansion of macro 'typ'
   if (typ(order)==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/base2.c:2791:9: note: in expansion of macro 'typ'
     if (typ(order)!=t_VEC || lg(order)<3)
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfisfree':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2819:7: note: in expansion of macro 'typ'
   if (typ(order)==t_POL) order=rnfpseudobasis(nf,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/base2.c:2820:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'polcompositum0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2861:7: note: in expansion of macro 'typ'
   if (typ(pol1)!=t_POL || typ(pol2)!=t_POL) err(typeer,"polcompositum0");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2861:27: note: in expansion of macro 'typ'
   if (typ(pol1)!=t_POL || typ(pol2)!=t_POL) err(typeer,"polcompositum0");
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2875:9: note: in expansion of macro 'typ'
     if (typ(rk)==t_POL && lgef(rk)==4 && issquarefree(p2)) break;
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfequation0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2916:7: note: in expansion of macro 'typ'
   if (typ(nf)==t_POL) pol1=nf; else { nf=checknf(nf); pol1=(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/basemath/base2.c:2937:9: note: in expansion of macro 'typ'
     if (typ(rk) == t_POL && lgef(rk)==4 && issquarefree(p2)) break;
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'nftocomplex':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:2985:9: note: in expansion of macro 'typ'
   p2 = (typ(x)==t_POLMOD)? (GEN)x[2]: gmul((GEN)nf[7],x);
         ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfvecmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:3045:14: note: in expansion of macro 'typ'
   y=cgetg(lx,typ(v));
              ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnflllgram':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:3102:7: note: in expansion of macro 'typ'
   if (typ(order)!=t_VEC || lg(order)<3)
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'rnfpolred':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:3269:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"rnfpolred");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base2.c:3270:7: note: in expansion of macro 'typ'
   if (typ(nf)!=t_VEC) err(idealer1);
       ^~~
../pari-2.1.7/src/basemath/base2.c: In function 'makebasis':
../pari-2.1.7/src/headers/parigen.h:154: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/base2.c:3341:7: 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=armv6 -mfloat-abi=hard -mfpu=vfp -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=armv6 -mfloat-abi=hard -mfpu=vfp -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 compat.o ../pari-2.1.7/src/language/compat.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/language/compat.c:16:
./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/compat.c:16:
./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);
       ^~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 gen1.o ../pari-2.1.7/src/basemath/gen1.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/gen1.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/gen1.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/gen1.c: In function 'addpadic':
../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/gen1.c:94:6: note: in expansion of macro 'precp'
   r1=precp(x); r2=precp(y);
      ^~~~~
../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/gen1.c:94:19: note: in expansion of macro 'precp'
   r1=precp(x); r2=precp(y);
                   ^~~~~
../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/gen1.c:109:10: note: in expansion of macro 'evalprecp'
     z[1]=evalprecp(r) | evalvalp(e); 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/gen1.c:113:8: note: in expansion of macro 'signe'
   if (!signe(p1) || (c = pvaluation(p1,p,&p2)) >=r)
        ^~~~~
../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/gen1.c:129:10: note: in expansion of macro 'evalprecp'
     z[1]=evalprecp(r-c) | evalvalp(e+c); return z;
          ^~~~~~~~~
../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/gen1.c:134:8: note: in expansion of macro 'evalprecp'
   z[1]=evalprecp(r) | evalvalp(e); return z;
        ^~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'gaddpex':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:146:28: note: in expansion of macro 'typ'
   av=avma; p=(GEN)y[2]; 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/gen1.c:151:25: note: in expansion of macro 'signe'
   e1 = valp(y)-e3; e2 = signe(y[4])? e1+precp(y): e1;
                         ^~~~~
../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/gen1.c:151:41: note: in expansion of macro 'precp'
   e1 = valp(y)-e3; e2 = signe(y[4])? e1+precp(y): e1;
                                         ^~~~~
../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/gen1.c:154:12: note: in expansion of macro 'evalprecp'
     z[1] = evalprecp(0) | evalvalp(e3);
            ^~~~~~~~~
../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/gen1.c:161:12: note: in expansion of macro 'evalprecp'
     z[1] = evalprecp(e2) | evalvalp(e3);
            ^~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'addfrac':
../pari-2.1.7/src/headers/parigen.h:154: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/gen1.c:197:8: note: in expansion of macro 'signe'
   if (!signe(n)) { avma = (long)(z+3); return gzero; }
        ^~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'to_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/gen1.c:300:13: note: in expansion of macro 'typ'
   long tx = typ(x);
             ^~~
../pari-2.1.7/src/basemath/gen1.c: In function 'gadd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:313:13: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), vx,vy,lx,ly,i,j,k,l,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/gen1.c:313:26: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), vx,vy,lx,ly,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/gen1.c:358:11: note: in expansion of macro 'signe'
      if (!signe(y[1])) return rcopy(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/gen1.c:359:18: note: in expansion of macro 'signe'
             if (!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/gen1.c:464:19: note: in expansion of macro 'signe'
      av=avma; l = signe(y[4])? precp(y): 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/gen1.c:464:32: note: in expansion of macro 'precp'
      av=avma; l = signe(y[4])? precp(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/gen1.c:493:19: note: in expansion of macro 'signe'
      av=avma; l = signe(x[4])? precp(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/gen1.c:493:32: note: in expansion of macro 'precp'
      av=avma; l = signe(x[4])? precp(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/basemath/gen1.c:551:9: note: in expansion of macro 'evalsigne'
    z[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/gen1.c:551:38: note: in expansion of macro 'evalvarn'
    z[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/gen1.c:557:5: note: in expansion of macro 'signe'
  p1=signe(y)? gadd(x,(GEN)y[2]): 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/gen1.c:560:32: note: in expansion of macro 'evalvarn'
           z[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/gen1.c:561:15: note: in expansion of macro 'signe'
           if (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/basemath/gen1.c:563:21: note: in expansion of macro 'evalsigne'
             z[1] |= evalsigne(1); z[2]=(long)p1;
                     ^~~~~~~~~
../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/gen1.c:572:51: note: in expansion of macro 'evalvarn'
         z=cgetg(ly-i+2,t_SER); z[1]=evalvalp(i-2)|evalvarn(vy)|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/gen1.c:572:64: note: in expansion of macro 'evalsigne'
         z=cgetg(ly-i+2,t_SER); z[1]=evalvalp(i-2)|evalvarn(vy)|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/gen1.c:609:16: note: in expansion of macro 'signe'
           ly = signe(y)? lg(y): 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/gen1.c:633:16: note: in expansion of macro 'signe'
           ly = signe(y)? lg(y): 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/gen1.c:657:22: note: in expansion of macro 'evaltyp'
                 z[0]=evaltyp(t_SER) | evallg(ly-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/basemath/gen1.c:658:46: note: in expansion of macro 'evalsigne'
                 z[1]=evalvalp(valp(x)+i-2) | evalsigne(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/gen1.c:658:61: note: in expansion of macro 'evalvarn'
                 z[1]=evalvalp(valp(x)+i-2) | evalsigne(1) | evalvarn(vx);
                                                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:675:16: note: in expansion of macro 'typ'
    av=avma; ty=typ(y[2]);
                ^~~
../pari-2.1.7/src/basemath/gen1.c: In function 'fix_rfrac_if_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/gen1.c:731:7: note: in expansion of macro 'typ'
   if (typ(y) != 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/gen1.c:733:9: note: in expansion of macro 'typ'
     if (typ(x) != t_POL || gvar2(y) > varn(x))
         ^~~
../pari-2.1.7/src/basemath/gen1.c: In function 'to_primitive':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:751:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL)
       ^~~
../pari-2.1.7/src/basemath/gen1.c: In function 'mulscalrfrac':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:769:22: note: in expansion of macro 'typ'
   y2=(GEN)y[2]; 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/headers/paritype.h:68:25: note: in expansion of macro 'typ'
 #define isnonscalar(x) (typ(x) == t_POL && lgef(x) > 3)
                         ^~~
../pari-2.1.7/src/basemath/gen1.c:774:26: note: in expansion of macro 'isnonscalar'
     p1 = ggcd(x,y2); if (isnonscalar(p1)) { x=gdeuc(x,p1); y2=gdeuc(y2,p1); }
                          ^~~~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'to_Kronecker':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:817:12: note: in expansion of macro 'typ'
     if ((l=typ(p1)) == t_POLMOD) { p1 = (GEN)p1[2]; l = 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/gen1.c:817:57: note: in expansion of macro 'typ'
     if ((l=typ(p1)) == t_POLMOD) { p1 = (GEN)p1[2]; l = typ(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/basemath/gen1.c:827:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1)|evalvarn(vQ)|evallgef(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/basemath/gen1.c:827:23: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1)|evalvarn(vQ)|evallgef(k);
                       ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'ff_poltype':
../pari-2.1.7/src/headers/parigen.h:154: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/gen1.c:837:8: note: in expansion of macro 'signe'
   if (!signe(P)) 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/gen1.c:841:25: note: in expansion of macro 'typ'
     p1 = (GEN)P[i]; if (typ(p1) != t_POLMOD) {Q=NULL;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/basemath/gen1.c:862:12: note: in expansion of macro 'typ'
     switch(typ(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/basemath/gen1.c:884:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1)|evalvarn(varn(P))|evallgef(lx);
          ^~~~~~~~~
../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/gen1.c:884:23: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1)|evalvarn(varn(P))|evallgef(lx);
                       ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'gmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:896:8: 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/gen1.c:896:21: note: in expansion of macro 'typ'
   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/gen1.c:914:18: 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/gen1.c:941:11: 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/gen1.c:1039:11: note: in expansion of macro 'signe'
      if (!signe(x[1])) 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/gen1.c:1069:17: note: in expansion of macro 'signe'
             if (signe(y[4])) l=precp(y);
                 ^~~~~
../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/gen1.c:1069:32: note: in expansion of macro 'precp'
             if (signe(y[4])) l=precp(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/gen1.c:1089:11: note: in expansion of macro 'signe'
      if (!signe(x[4])) { z=gcopy(x); setvalp(z,l); 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/gen1.c:1090:11: note: in expansion of macro 'signe'
      if (!signe(y[4])) { z=gcopy(y); setvalp(z,l); return z; }
           ^~~~~
../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/gen1.c:1092:12: note: in expansion of macro 'precp'
      p1 = (precp(x) > precp(y))? y: 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/basemath/gen1.c:1092:23: note: in expansion of macro 'precp'
      p1 = (precp(x) > precp(y))? y: 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/gen1.c:1105:17: note: in expansion of macro 'signe'
             l = signe(x[4])? precp(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/gen1.c:1105:30: note: in expansion of macro 'precp'
             l = signe(x[4])? precp(x): valp(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/gen1.c:1203:19: note: in expansion of macro 'typ'
               if (typ(p1) != t_COL) err(operi,"*",tx,ty);
                   ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/gen1.c:1283:15: note: in expansion of macro 'signe'
       return (signe(x)>0) ? gcopy(y): gneg(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/gen1.c:1298:7: note: in expansion of macro 'signe'
  if (!signe(y)) return gcopy(y);
       ^~~~~
../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/gen1.c:1348:11: note: in expansion of macro 'setvarn'
           setvarn(z,vx); return z;
           ^~~~~~~
../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/gen1.c:1372:39: note: in expansion of macro 'evalvarn'
    z[1] = evalvalp(valp(x)+valp(y)) | evalvarn(vx) | 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/gen1.c:1372:54: note: in expansion of macro 'evalsigne'
    z[1] = evalvalp(valp(x)+valp(y)) | evalvarn(vx) | evalsigne(1);
                                                      ^~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c: In function 'gdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen1.c:1444:13: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx,ly,vx,vy,i,j,k,l,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/gen1.c:1444:26: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx,ly,vx,vy,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/gen1.c:1450:13: note: in expansion of macro 'signe'
     switch (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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1479:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1479:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1479:9: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1479:9: 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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1504:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1504:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1504:9: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1504:9: 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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1515:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1515:9: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1515:9: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1515:9: 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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1625:11: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1625:11: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1625:11: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1625:11: 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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1653:15: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1653:15: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1653:15: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1653:15: 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/gen1.c:711:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1660:15: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:713:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen1.c:1660:15: 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/gen1.c:713:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1660:15: 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/gen1.c:714:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1660:15: 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/gen1.c:1674:11: note: in expansion of macro 'signe'
      if (!signe(x[1])) return gzero;
           ^~~~~
../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/gen1.c:1703:36: note: in expansion of macro 'precp'
      av=avma; p1=cvtop(x,(GEN)y[2],precp(y)); tetpil=avma;
                                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/gen1.c:1717:10: note: in expansion of macro 'signe'
      if (signe(x[4])) { p1=cgetp(x); gaffect(y,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/gen1.c:1729:11: 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/basemath/gen1.c:1735:10: note: in expansion of macro 'precp'
      p1=(precp(x)>precp(y)) ? y : 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/basemath/gen1.c:1735:19: note: in expansion of macro 'precp'
      p1=(precp(x)>precp(y)) ? y : 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/basemath/gen1.c:1764:35: note: in expansion of macro 'precp'
      l=avma; p1=cvtop(x,(GEN)y[2],precp(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/gen1.c:1844:17: note: in expansion of macro 'evaltyp'
         p1[0] = evaltyp(t_SER) | evallg(ly);
                 ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/gen1.c:1845:10: note: in expansion of macro 'evalsigne'
  p1[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/gen1.c:1845:39: note: in expansion of macro 'evalvarn'
  p1[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/gen1.c:1926:32: note: in expansion of macro 'evalvarn'
           z[1] = evalvalp(l) | evalvarn(vx) | 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/gen1.c:1926:47: note: in expansion of macro 'evalsigne'
           z[1] = evalvalp(l) | evalvarn(vx) | 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/gen1.c:1992:7: note: in expansion of macro 'signe'
     l=signe(y[2]); setsigne(y[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/gen1.c:1992:20: note: in expansion of macro 'setsigne'
     l=signe(y[2]); setsigne(y[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/gen1.c:1996:9: note: in expansion of macro 'setsigne'
         setsigne(y[2],l); 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/gen1.c:1998:11: note: in expansion of macro 'signe'
         k=signe(y[4]); setsigne(y[4],-k); z=compreal(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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1998:24: note: in expansion of macro 'setsigne'
         k=signe(y[4]); setsigne(y[4],-k); z=compreal(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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen1.c:1999:9: note: in expansion of macro 'setsigne'
         setsigne(y[2],l); setsigne(y[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/gen1.c:1999:27: note: in expansion of macro 'setsigne'
         setsigne(y[2],l); setsigne(y[4],k); return z;
                           ^~~~~~~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 buch3.o ../pari-2.1.7/src/basemath/buch3.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/buch3.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/buch3.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/buch3.c: In function 'buchnarrow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:90:7: note: in expansion of macro 'typ'
   if (typ(bnf)!=t_VEC || lg(bnf)!=11)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:104:16: note: in expansion of macro 'signe'
       p1[i] = (signe(gcoeff(matsign,i,j)) > 0)? (long)_0mod2: (long)_1mod2;
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:137:9: note: in expansion of macro 'signe'
     if (signe(p1)<0) p3=numer(p3);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:141:11: note: in expansion of macro 'signe'
       if (signe(p1))
           ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'too_big':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:179:11: note: in expansion of macro 'typ'
   switch (typ(x))
           ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'idealmodidele':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:203:9: note: in expansion of macro 'signe'
     if (signe(p2[i])) bet = element_mul(nf,bet,(GEN)p1[i]);
         ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'idealpowmodidele':
../pari-2.1.7/src/headers/parigen.h:32:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define HIGHBIT      (0x8000000000000000UL)
                        ^
../pari-2.1.7/src/basemath/buch3.c:231:31: note: in expansion of macro 'HIGHBIT'
   i = lgefint(n)-1; m=n[i]; j=HIGHBIT;
                               ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:32:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define HIGHBIT      (0x8000000000000000UL)
                        ^
../pari-2.1.7/src/basemath/buch3.c:241:19: note: in expansion of macro 'HIGHBIT'
     for (m=n[i],j=HIGHBIT; j; j>>=1)
                   ^~~~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'buchrayall':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:357:19: note: in expansion of macro 'signe'
         if (!(s = signe(p1))) continue;
                   ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'isprincipalrayall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:484:7: note: in expansion of macro 'typ'
   if (typ(x) == t_VEC && lg(x) == 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/buch3.c:494:9: note: in expansion of macro 'typ'
     if (typ(vecel[i]) != t_INT) /* <==> != 1 */
         ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'compute_M0':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:936:8: note: in expansion of macro 'signe'
        signe(S = greal((GEN)r[i])) <= 0) continue;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:981:8: note: in expansion of macro 'signe'
        signe(w = greal((GEN)r[i])) <= 0) continue;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:992:17: note: in expansion of macro 'signe'
              || signe(v = greal((GEN)r1[j])) <= 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/buch3.c:1003:19: note: in expansion of macro 'signe'
                || signe(u = greal((GEN)r2[l])) <= 0
                   ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'args_to_bnr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1293:7: note: in expansion of macro 'typ'
   if (typ(arg0)!=t_VEC)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1314:13: note: in expansion of macro 'typ'
     long tx=typ(*subgroup);
             ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'conductor':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:1401:9: note: in expansion of macro 'signe'
     if (signe(arch[k]))
         ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'rnfnormgroup':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1438:7: note: in expansion of macro 'typ'
   if (typ(polrel)!=t_POL) err(typeer,"rnfnormgroup");
       ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'rnfconductor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1491:7: note: in expansion of macro 'typ'
   if (typ(polrel)!=t_POL) err(typeer,"rnfconductor");
       ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'discrayrelall':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:1571:9: note: in expansion of macro 'signe'
     if (signe(arch[k]))
         ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'bnrconductorofchar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1668:9: note: in expansion of macro 'typ'
     if (typ(p1[1])!=t_INT) err(typeer,"conductorofchar");
         ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'rayclassnolist':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:1686:7: note: in expansion of macro 'typ'
   if (typ(listes)!=t_VEC || lg(listes)!=3) err(typeer,"rayclassnolist");
       ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'factordivexact':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:1774:52: note: in expansion of macro 'signe'
       p1=subii((GEN)listex1[i],(GEN)listex2[j]); k=signe(p1);
                                                    ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'discrayabslist':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:1861:6: note: in expansion of macro 'signe'
  if (signe(arch[k]))
      ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'rayclassnointernarch':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:2053:15: note: in expansion of macro 'signe'
           if (signe(p2[ii])) p3[i++]=mj[nc+ii];
               ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'decodemodule':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:2070:7: note: in expansion of macro 'typ'
   if (typ(fa)!=t_MAT || lg(fa)!=3)
       ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'discrayabslistarchintern':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:2148:31: note: in expansion of macro 'signe'
     for (i=1; i<=r1; i++) if (signe(arch[i])) nba++;
                               ^~~~~
../pari-2.1.7/src/headers/parigen.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/buch3.c:2155:20: note: in expansion of macro 'evalsigne'
   p=cgeti(3); p[1]=evalsigne(1)|evallgef(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/buch3.c:2395:17: note: in expansion of macro 'signe'
             if (signe(arch[k]))
                 ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'subgroupcond':
../pari-2.1.7/src/headers/parigen.h:154: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/buch3.c:2511:9: note: in expansion of macro 'signe'
     if (signe((GEN)arch[j]))
         ^~~~~
../pari-2.1.7/src/basemath/buch3.c: In function 'subgrouplist0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:2533:7: note: in expansion of macro 'typ'
   if (typ(bnr)!=t_VEC) err(typeer,"subgrouplist");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:2534:21: note: in expansion of macro 'typ'
   if (lg(bnr)!=1 && typ(bnr[1])!=t_INT)
                     ^~~
../pari-2.1.7/src/basemath/buch3.c: In function 'bnrdisclist0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch3.c:2545:7: note: in expansion of macro 'typ'
   if (typ(borne)==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=armv6 -mfloat-abi=hard -mfpu=vfp -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 buch4.o ../pari-2.1.7/src/basemath/buch4.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/buch4.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/buch4.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/buch4.c: In function 'zpsoluble':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:119:8: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=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/buch4.c:119:27: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=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/buch4.c:119:47: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=t_INT) || typ(p)!=t_INT )
                                               ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'qpsoluble':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:130:8: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=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/buch4.c:130:27: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=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/buch4.c:130:47: note: in expansion of macro 'typ'
   if ((typ(pol)!=t_POL && typ(pol)!=t_INT) || typ(p)!=t_INT )
                                               ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'check2':
../pari-2.1.7/src/headers/parigen.h:154: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/buch4.c:164:10: note: in expansion of macro 'mpodd'
     if (!mpodd((GEN)p1[i]) && mpodd((GEN)zlog[i])) 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/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/buch4.c:164:31: note: in expansion of macro 'mpodd'
     if (!mpodd((GEN)p1[i]) && mpodd((GEN)zlog[i])) return 0;
                               ^~~~~
../pari-2.1.7/src/basemath/buch4.c: In function 'qpsolublenf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:303:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(notpoler,"qpsolublenf");
       ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'zpsolublenf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:339:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(notpoler,"zpsolublenf");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:340:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_VEC || lg(p)!=6)
       ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'hilb2nf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:366:7: note: in expansion of macro 'typ'
   if (typ(a) != t_POLMOD) a = basistoalg(nf, a);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:367:7: note: in expansion of macro 'typ'
   if (typ(b) != t_POLMOD) b = basistoalg(nf, b);
       ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'nfhilbert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:423:7: note: in expansion of macro 'typ'
   if (typ(a) != t_POLMOD) a = basistoalg(nf, a);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:424:7: note: in expansion of macro 'typ'
   if (typ(b) != t_POLMOD) b = basistoalg(nf, 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/buch4.c:431:9: note: in expansion of macro 'signe'
     if (signe(poleval(al,(GEN)ro[i])) < 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/buch4.c:432:9: note: in expansion of macro 'signe'
         signe(poleval(bl,(GEN)ro[i])) < 0)
         ^~~~~
../pari-2.1.7/src/basemath/buch4.c: In function 'bnfsunit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:480:7: note: in expansion of macro 'typ'
   if (typ(S) != t_VEC) err(typeer,"bnfsunit");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:573:9: note: in expansion of macro 'typ'
     if (typ(p) == t_VEC) p = (GEN) p[1];
         ^~~
../pari-2.1.7/src/basemath/buch4.c: In function 'bnfissunit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:594:7: note: in expansion of macro 'typ'
   if (typ(suni)!=t_VEC || lg(suni)!=7) err(typeer,"bnfissunit");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:595:11: 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/buch4.c:628:9: note: in expansion of macro 'typ'
     if (typ(w) != t_INT) { avma = av; return cgetg(1,t_COL); }
         ^~~
../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/buch4.c:632:11: note: in expansion of macro 'evaltyp'
   p1[0] = evaltyp(t_COL) | evallg(lB);
           ^~~~~~~
../pari-2.1.7/src/basemath/buch4.c: In function 'vecconcat':
../pari-2.1.7/src/headers/parigen.h:154: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/buch4.c:656:9: note: in expansion of macro 'signe'
     if (signe(resii(*prod,(GEN)vec[i])))
         ^~~~~
../pari-2.1.7/src/basemath/buch4.c: In function 'rnfisnorm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:688:7: note: in expansion of macro 'typ'
   if (typ(ext)!=t_VEC || lg(ext)!=4) err (typeer,"bnfisnorm");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch4.c:689:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) x = basistoalg(bnf,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/buch4.c:713:31: note: in expansion of macro 'signe'
       if (isprime(stoi(i)) && signe(resis(prod,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/buch4.c:732:9: note: in expansion of macro 'signe'
     if (signe(resii(prod,gmael(vec,i,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/buch4.c:740:9: note: in expansion of macro 'signe'
     if (signe(resii(prod,gmael(vec,i,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/buch4.c:787:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POLMOD && (typ(x[2]) != t_POL || 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/buch4.c:787:30: note: in expansion of macro 'typ'
   if (typ(x) == t_POLMOD && (typ(x[2]) != t_POL || 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/buch4.c:790:9: note: in expansion of macro 'typ'
     if (typ(x) == t_POL) x = (GEN)x[2];
         ^~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 bibli2.o ../pari-2.1.7/src/basemath/bibli2.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/bibli2.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/bibli2.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/bibli2.c: In function 'tayl':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:119:20: note: in expansion of macro 'typ'
 #define gvar9(x) ((typ(x)==t_POLMOD)? gvar2(x): gvar(x))
                    ^~~
../pari-2.1.7/src/basemath/bibli2.c:33:22: note: in expansion of macro 'gvar9'
   long tetpil,i,vx = gvar9(x), 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/bibli2.c:38:19: note: in expansion of macro 'evaltyp'
     long p1[] = { evaltyp(t_SER)|m_evallg(2), 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/bibli2.c:39:32: note: in expansion of macro 'evalvarn'
     p1[1] = evalvalp(precdl) | evalvarn(v);
                                ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'grando0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:52:17: note: in expansion of macro 'typ'
   long m, v, tx=typ(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/bibli2.c:61:28: note: in expansion of macro 'evalprecp'
       y[1] = evalvalp(n) | evalprecp(0);
                            ^~~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'tchebi':
../pari-2.1.7/src/headers/parigen.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/bibli2.c:124:10: note: in expansion of macro 'evalsigne'
   q[1] = evalsigne(1) | evalvarn(v) | evallgef(n+3);
          ^~~~~~~~~
../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/bibli2.c:124:25: note: in expansion of macro 'evalvarn'
   q[1] = evalsigne(1) | evalvarn(v) | evallgef(n+3);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'legendre':
../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/bibli2.c:146:5: note: in expansion of macro 'setvarn'
     setvarn(p2,v);
     ^~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'cyclo':
../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/bibli2.c:188:3: note: in expansion of macro 'setvarn'
   setvarn(yn,v); return yn;
   ^~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'roots_to_pol_intern':
../pari-2.1.7/src/headers/parigen.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/bibli2.c:199:10: note: in expansion of macro 'evalsigne'
   code = evalsigne(1)|evalvarn(v)|evallgef(5);
          ^~~~~~~~~
../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/bibli2.c:199:23: note: in expansion of macro 'evalvarn'
   code = evalsigne(1)|evalvarn(v)|evallgef(5);
                       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.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/bibli2.c:211:20: note: in expansion of macro 'evalsigne'
     p2[1] = code = 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/bibli2.c:211:33: note: in expansion of macro 'evalvarn'
     p2[1] = code = evalsigne(1)|evalvarn(v)|evallgef(4);
                                 ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'roots_to_pol_r1r2':
../pari-2.1.7/src/headers/parigen.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/bibli2.c:232:10: note: in expansion of macro 'evalsigne'
   code = evalsigne(1)|evalvarn(v)|evallgef(5);
          ^~~~~~~~~
../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/bibli2.c:232:23: note: in expansion of macro 'evalvarn'
   code = evalsigne(1)|evalvarn(v)|evallgef(5);
                       ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'subcyclo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:261:7: note: in expansion of macro 'typ'
   if (typ(dd)!=t_INT || signe(dd)<=0) err(typeer,"subcyclo");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/bibli2.c:261:25: note: in expansion of macro 'signe'
   if (typ(dd)!=t_INT || signe(dd)<=0) err(typeer,"subcyclo");
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:263:7: note: in expansion of macro 'typ'
   if (typ(nn)!=t_INT || signe(nn)<=0) err(typeer,"subcyclo");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/bibli2.c:263:25: note: in expansion of macro 'signe'
   if (typ(nn)!=t_INT || signe(nn)<=0) err(typeer,"subcyclo");
                         ^~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'laplace':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:419:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_SER) err(talker,"not a series in laplace");
       ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'convol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:446:7: note: in expansion of macro 'typ'
   if (typ(x) != t_SER || typ(y) != t_SER)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:446:26: note: in expansion of macro 'typ'
   if (typ(x) != t_SER || typ(y) != t_SER)
                          ^~~
../pari-2.1.7/src/headers/parigen.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/bibli2.c:460:10: note: in expansion of macro 'evalsigne'
   z[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/bibli2.c:460:41: note: in expansion of macro 'evalvarn'
   z[1] = evalsigne(1) | evalvalp(i-3) | evalvarn(vx);
                                         ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:474:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),i,pr;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/bibli2.c:485:12: 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/basemath/bibli2.c:487:18: note: in expansion of macro 'precp'
  y[1]=evalvalp(l+precp(x)) | evalprecp(0);
                  ^~~~~
../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/bibli2.c:487:30: note: in expansion of macro 'evalprecp'
  y[1]=evalvalp(l+precp(x)) | evalprecp(0);
                              ^~~~~~~~~
../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/headers/parigen.h:176:41: note: in expansion of macro 'evalprecp'
          (((GEN)(x))[1]&(~PRECPBITS)) | evalprecp(s))
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c:490:18: note: in expansion of macro 'setprecp'
       y[1]=x[1]; setprecp(y,l);
                  ^~~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gprec_w':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:522:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'polrecip':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:557:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) err(typeer,"polrecip");
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/basemath/bibli2.c:22:
../pari-2.1.7/src/basemath/bibli2.c: In function 'binome':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:70:28: note: in definition of macro 'is_noncalc_t'
 #define is_noncalc_t(tx) ((tx) >= t_LIST)
                            ^~
../pari-2.1.7/src/basemath/bibli2.c:589:22: note: in expansion of macro 'typ'
     if (is_noncalc_t(typ(n))) err(typeer,"binomial");
                      ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/bibli2.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/basemath/bibli2.c:595:7: note: in expansion of macro 'typ'
   if (typ(n) == 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/bibli2.c:597:9: note: in expansion of macro 'signe'
     if (signe(n) > 0)
         ^~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'polint_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/bibli2.c:630:39: note: in expansion of macro 'typ'
   long av = avma,tetpil,i,m, ns=0, tx=typ(x);
                                       ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'polint':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:679:11: note: in expansion of macro 'typ'
   long tx=typ(xa), ty, lx=lg(xa);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:681:16: note: in expansion of macro 'typ'
   if (ya) ty = typ(ya); else { ya = xa; ty = tx; xa = NULL; }
                ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gtoset':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:717:8: note: in expansion of macro 'typ'
   tx = typ(x); lx = lg(x);
        ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'setisset':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:740:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC) 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/bibli2.c:743:9: note: in expansion of macro 'typ'
     if (typ(x[i]) != t_STR || gcmp((GEN)x[i+1],(GEN)x[i])<=0) 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/bibli2.c:744:10: note: in expansion of macro 'typ'
   return typ(x[i]) == t_STR;
          ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'setsearch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:751:38: note: in expansion of macro 'typ'
   long av = avma,lx,j,li,ri,fl, 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/bibli2.c:761:7: note: in expansion of macro 'typ'
   if (typ(y) != t_STR) y = gtostr(y);
       ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'setunion':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:779:7: note: in expansion of macro 'typ'
   if (typ(x) != t_VEC || typ(y) != t_VEC) err(talker,"not a set in setunion");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:779:26: note: in expansion of macro 'typ'
   if (typ(x) != t_VEC || typ(y) != t_VEC) err(talker,"not a set in setunion");
                          ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'dirmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:834:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || typ(y)!=t_VEC) err(talker,"not a dirseries in dirmul");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:834:24: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || typ(y)!=t_VEC) err(talker,"not a dirseries in dirmul");
                        ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'dirdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:870:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || typ(y)!=t_VEC) err(talker,"not a dirseries in dirmul");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:870:24: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || typ(y)!=t_VEC) err(talker,"not a dirseries in dirmul");
                        ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gp_rand':
../pari-2.1.7/src/basemath/bibli2.c:920:30: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define GLUE2(hi, lo) (((hi) << BITS_IN_HALFULONG) | (lo))
                              ^
../pari-2.1.7/src/basemath/bibli2.c:925:33: note: in expansion of macro 'GLUE2'
 #define GLUE4(hi1,hi2, lo1,lo2) GLUE2(((hi1)<<16)|(hi2), ((lo1)<<16)|(lo2))
                                 ^~~~~
../pari-2.1.7/src/basemath/bibli2.c:927:10: note: in expansion of macro 'GLUE4'
   return GLUE4((mymyrand()>>12)&LOWMASK2,
          ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/bibli2.c:22:
../pari-2.1.7/src/basemath/bibli2.c: In function 'genrand':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:941:7: note: in expansion of macro 'typ'
   if (typ(N)!=t_INT || signe(N)<=0) err(talker,"invalid bound in random");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/bibli2.c:941:24: note: in expansion of macro 'signe'
   if (typ(N)!=t_INT || signe(N)<=0) err(talker,"invalid bound in random");
                        ^~~~~
../pari-2.1.7/src/headers/parigen.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/bibli2.c:962:10: note: in expansion of macro 'evalsigne'
   x[1] = evalsigne(lx>2) | evallgefint(lx);
          ^~~~~~~~~
../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/bibli2.c:963:10: note: in expansion of macro 'evaltyp'
   x[0] = evaltyp(t_INT) | evallg(lx);
          ^~~~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'permute':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:992: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/bibli2.c:995:7: note: in expansion of macro 'signe'
   if (signe(x) <= 0) x = modii(x, mpfact(n));
       ^~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'permuteInv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:1010:53: note: in expansion of macro 'typ'
   long av=avma, lx=lg(x)-1, ini=lx, last, ind, 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/bibli2.c:1018:9: note: in expansion of macro 'typ'
     if (typ(res) != t_INT) err(typeer,"permuteInv");
         ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/bibli2.c:1029:8: note: in expansion of macro 'signe'
   if (!signe(res)) res=mpfact(ini);
        ^~~~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'polymodrecip':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:1045:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POLMOD) err(talker,"not a polymod in polymodrecip");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:1051:9: note: in expansion of macro 'typ'
     if (typ(phi)==t_POL) phi = (GEN)phi[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/basemath/bibli2.c:1058:15: note: in expansion of macro 'evalsigne'
       p1[1] = evalsigne(1) | evalvarn(n) | evallgef(3);
               ^~~~~~~~~
../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/bibli2.c:1058:30: note: in expansion of macro 'evalvarn'
       p1[1] = evalsigne(1) | evalvarn(n) | evallgef(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/bibli2.c:1064:21: note: in expansion of macro 'typ'
   if (gcmp0(phi) || typ(phi) != t_POL)
                     ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gen_sort':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:1130:26: note: in expansion of macro 'typ'
   long i,j,indxt,ir,l,tx=typ(x),lx=lg(x);
                          ^~~
../pari-2.1.7/src/basemath/bibli2.c: In function 'gen_vecsort':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/bibli2.c:1201:7: note: in expansion of macro 'typ'
   t = typ(k); vcmp_cmp = sort_fun(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/bibli2.c:1220:7: note: in expansion of macro 'typ'
   t = 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/bibli2.c:1224:9: note: in expansion of macro 'typ'
     t = typ(x[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=armv6 -mfloat-abi=hard -mfpu=vfp -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 elliptic.o ../pari-2.1.7/src/modules/elliptic.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/modules/elliptic.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/elliptic.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/elliptic.c: In function 'checkpt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:26:7: note: in expansion of macro 'typ'
   if (typ(z)!=t_VEC) err(elliper1);
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'checkell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:33:7: note: in expansion of macro 'typ'
   if (typ(e)!=t_VEC || lx<14) err(elliper1);
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'checkbell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:40:7: note: in expansion of macro 'typ'
   if (typ(e)!=t_VEC || lg(e)<20) err(elliper1);
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'checksell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:46:7: note: in expansion of macro 'typ'
   if (typ(e)!=t_VEC || lg(e)<6) err(elliper1);
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'checkch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:52:7: note: in expansion of macro 'typ'
   if (typ(z)!=t_VEC || lg(z)!=5) err(elliper1);
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'RHSpol':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/modules/elliptic.c:59:35: note: in expansion of macro 'evalsigne'
   GEN z = cgetg(6, t_POL); z[1] = evalsigne(1)|evallgef(6);
                                   ^~~~~~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellLHS0_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/modules/elliptic.c:87:10: note: in expansion of macro 'signe'
   return signe(e[1])? addii((GEN)e[3], mulii(x, (GEN)e[1])): (GEN)e[3];
          ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellprint':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:172:7: note: in expansion of macro 'typ'
   if (typ(e) != t_VEC || lg(e) < 6)
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'do_agm':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/elliptic.c:194:31: note: in expansion of macro 'setsigne'
     b1=gsqrt(gmul(a,b),prec); setsigne(b1,sw);
                               ^~~~~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'initell0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:297:9: note: in expansion of macro 'typ'
     if (typ(q)==t_PADIC)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:299:17: note: in expansion of macro 'signe'
       long e2 = signe(q[4])? precp(q)+valp(q): valp(q);
                 ^~~~~
../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/modules/elliptic.c:299:30: note: in expansion of macro 'precp'
       long e2 = signe(q[4])? precp(q)+valp(q): valp(q);
                              ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:310:24: note: in expansion of macro 'typ'
   D = (GEN)y[12]; ty = typ(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/modules/elliptic.c:325:27: note: in expansion of macro 'signe'
   b1 = gmul2n(w,-1); sw = signe(w);
                           ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'coordch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:402:11: note: in expansion of macro 'typ'
       if (typ(e[1])==t_PADIC)
           ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'pointch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:451:6: note: in expansion of macro 'typ'
   tx=typ(x[1]); v=ginv(u); v2=gsqr(v); v3=gmul(v,v2); mor=gneg_i(r);
      ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ordell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:545:27: note: in expansion of macro 'typ'
   long av=avma,td,i,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/modules/elliptic.c:558:35: note: in expansion of macro 'typ'
   D=gadd(gsqr(b),gmul2n(a,2)); td=typ(D);
                                   ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'CM_powell':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:608:7: note: in expansion of macro 'signe'
   if (signe(discsr(pol))>=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/modules/elliptic.c:633:10: note: in expansion of macro 'signe'
     if (!signe(z2)) 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/modules/elliptic.c:637:26: note: in expansion of macro 'signe'
   if (lgef(p1)-3 > vn || signe(z2))
                          ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'powell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:654:7: note: in expansion of macro 'typ'
   if (typ(n)==t_QUAD) return CM_powell(e,z,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/modules/elliptic.c:655:7: note: in expansion of macro 'typ'
   if (typ(n)!=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/elliptic.c:658:5: note: in expansion of macro 'signe'
   s=signe(n);
     ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'mathell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:682:39: note: in expansion of macro 'typ'
   long av=avma,tetpil,lx=lg(x),i,j,tx=typ(x);
                                       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'bilhells':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:710:30: note: in expansion of macro 'typ'
   if (lz1==1) return cgetg(1,typ(z1));
                              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:712:6: note: in expansion of macro 'typ'
   tx=typ(z1[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/elliptic.c:719:15: note: in expansion of macro 'typ'
   y=cgetg(lz1,typ(z1));
               ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'bilhell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:729:27: note: in expansion of macro 'typ'
   long av=avma,tetpil,tz1=typ(z1),tz2=typ(z2);
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:729:39: note: in expansion of macro 'typ'
   long av=avma,tetpil,tz1=typ(z1),tz2=typ(z2);
                                       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:735:7: note: in expansion of macro 'typ'
   tz1=typ(z1[1]); tz2=typ(z2[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/elliptic.c:735:23: note: in expansion of macro 'typ'
   tz1=typ(z1[1]); tz2=typ(z2[1]);
                       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'new_coords':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:750:13: note: in expansion of macro 'typ'
   long ty = typ(e[12]);
             ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'zell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:783:6: note: in expansion of macro 'typ'
   ty=typ(D);
      ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'getgamma':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:872:9: note: in expansion of macro 'signe'
     if (signe(n))
         ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'get_periods':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:904:13: note: in expansion of macro 'typ'
   long tx = typ(e);
             ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellsigma':
../pari-2.1.7/src/headers/parigen.h:154: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/modules/elliptic.c:1108:7: note: in expansion of macro 'mpodd'
   if (mpodd(x1) || mpodd(x2)) etnew=gadd(etnew,gmul2n(pii2,-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/modules/elliptic.c:1108:20: note: in expansion of macro 'mpodd'
   if (mpodd(x1) || mpodd(x2)) etnew=gadd(etnew,gmul2n(pii2,-1));
                    ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'weipell':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/modules/elliptic.c:1204:12: note: in expansion of macro 'evalsigne'
   res[1] = evalsigne(1) | evalvalp(-2) | 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/modules/elliptic.c:1204:42: note: in expansion of macro 'evalvarn'
   res[1] = evalsigne(1) | evalvalp(-2) | evalvarn(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/elliptic.c:1205:16: note: in expansion of macro 'setsigne'
   if (!prec) { setsigne(res,0); return res; }
                ^~~~~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellwp0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:1237:7: note: in expansion of macro 'typ'
   if (typ(z)==t_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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/modules/elliptic.c:1241:27: note: in expansion of macro 'setvarn'
     v = weipell(om,PREC); setvarn(v, varn(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/modules/elliptic.c:1248:11: note: in expansion of macro 'typ'
       if (typ(v)==t_VEC && lg(v)==2) { avma=av; v=gpuigs(z,-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/modules/elliptic.c:1251:11: note: in expansion of macro 'typ'
       if (typ(v)==t_VEC && lg(v)==2)
           ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'apell2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:1305:20: note: in expansion of macro 'typ'
   checkell(e); if (typ(pp)!=t_INT) err(elliper1);
                    ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'addsell':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:1352:10: note: in expansion of macro 'signe'
     if (!signe(y1) || !egalii(y1,y2)) return NULL;
          ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'negsell':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:1396:10: note: in expansion of macro 'signe'
   g[2] = signe(f[2])? lsubii(p, (GEN)f[2]): f[2];
          ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'powsell':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:1404:10: note: in expansion of macro 'signe'
   long s=signe(n),i,j;
          ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'apell1':
../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/modules/elliptic.c:1502:11: note: in expansion of macro 'evaltyp'
     *tx = evaltyp(t_VECSMALL) | evallg(s+1);
           ^~~~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'apell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:1825:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_INT || signe(p)<0) err(talker,"not a prime in apell");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:1825:24: note: in expansion of macro 'signe'
   if (typ(p)!=t_INT || signe(p)<0) err(talker,"not a prime in apell");
                        ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'anell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:1857:9: note: in expansion of macro 'typ'
     if (typ(e[i]) != t_INT) err(typeer,"anell");
         ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'akell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:1919:7: note: in expansion of macro 'typ'
   if (typ(n)!=t_INT) err(talker,"not an integer type in akell");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:1920:7: note: in expansion of macro 'signe'
   if (signe(n)<= 0) 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/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/modules/elliptic.c:1929:18: note: in expansion of macro 'mpodd'
       if (j<0 && mpodd((GEN)p2[i])) y = negi(y);
                  ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'hell2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2003:6: note: in expansion of macro 'typ'
   tx=typ(x[1]); 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/modules/elliptic.c:2009:6: note: in expansion of macro 'typ'
   tx=typ(x);
      ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ghell0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2058:36: note: in expansion of macro 'typ'
   long av=avma,lx,i,n,n2,grandn,tx=typ(a);
                                    ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2063:6: note: in expansion of macro 'typ'
   tx=typ(a[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/elliptic.c:2074:8: note: in expansion of macro 'signe'
   if (!signe(psi2)) { avma=av; 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/modules/elliptic.c:2079:8: note: in expansion of macro 'signe'
   if (!signe(psi3)) { avma=av; 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/modules/elliptic.c:2093:9: note: in expansion of macro 'signe'
     if (signe(resii((GEN)e[10],p)))
         ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'lseriesell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2169:7: note: in expansion of macro 'typ'
   if (typ(s)==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/elliptic.c:2171:9: note: in expansion of macro 'signe'
     if (signe(s)<=0) { avma=av; return gzero; }
         ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'localreduction_carac_not23':
../pari-2.1.7/src/headers/parigen.h:154: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/modules/elliptic.c:2247:9: note: in expansion of macro 'mpodd'
     if (mpodd((GEN)e[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/modules/elliptic.c:2263:9: note: in expansion of macro 'mpodd'
     if (mpodd(a3prime))
         ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'localreduction_carac_23':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:2397:11: note: in expansion of macro 'signe'
       if (signe(r)) t = modis(addii(addii((GEN)e[4], (GEN)e[5]), s), 2);
           ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'localreduction':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2504:7: note: in expansion of macro 'typ'
   if (typ(e[12]) != t_INT)
       ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'globalreduction':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:2585:13: note: in expansion of macro 'signe'
   for (k = (signe(e[12]) < 0) + 1; k < l; k++)
             ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'taniyama':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/modules/elliptic.c:2673:10: note: in expansion of macro 'evalsigne'
   v[1] = evalsigne(1) | evalvalp(-2) | 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/modules/elliptic.c:2673:40: note: in expansion of macro 'evalvarn'
   v[1] = evalsigne(1) | evalvalp(-2) | evalvarn(0);
                                        ^~~~~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'orderell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2726:5: note: in expansion of macro 'typ'
   k=typ(e[13]);
     ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellintegralmodel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:2748:12: note: in expansion of macro 'typ'
     switch(typ(a[i]))
            ^~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ratroot':
../pari-2.1.7/src/headers/parigen.h:154: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/elliptic.c:2770:16: note: in expansion of macro 'signe'
   i=2; while (!signe(p[i])) i++;
                ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellrootno_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/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/modules/elliptic.c:3249:9: note: in expansion of macro 'mpodd'
     {w2=mpodd(addii((GEN)e[2],(GEN)e[3])) ? 1 : -1; avma=av; return w2;}
         ^~~~~
../pari-2.1.7/src/modules/elliptic.c: In function 'ellrootno_all':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/elliptic.c:3410:7: note: in expansion of macro 'typ'
   if (typ(e[12]) != 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/modules/elliptic.c:3412:7: note: in expansion of macro 'typ'
   if (typ(p) != t_INT || 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/modules/elliptic.c:3412:26: note: in expansion of macro 'signe'
   if (typ(p) != t_INT || signe(p)<0)
                          ^~~~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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=armv6 -mfloat-abi=hard -mfpu=vfp -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 init.o ../pari-2.1.7/src/language/init.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/language/init.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/language/init.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/language/init.c: At top level:
../pari-2.1.7/src/language/init.c:397:8: warning: type defaults to 'int' in declaration of 'need_force_init_defaults' [-Wimplicit-int]
 static need_force_init_defaults = 0;
        ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/init.c:22:
../pari-2.1.7/src/language/init.c: In function 'pari_init':
../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/init.c:440:15: note: in expansion of macro 'evaltyp'
   polvar[0] = evaltyp(t_VEC) | evallg(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/init.c:447:24: note: in expansion of macro 'evaltyp'
   gzero[0] = gnil[0] = evaltyp(t_INT) | evallg(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/language/init.c:451:23: note: in expansion of macro 'evaltyp'
   gun[0] = gdeux[0] = evaltyp(t_INT) | evallg(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/init.c:452:23: note: in expansion of macro 'evalsigne'
   gun[1] = gdeux[1] = evalsigne(1) | evallgefint(3);
                       ^~~~~~~~~
../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/init.c:456:14: note: in expansion of macro 'evaltyp'
   ghalf[0] = evaltyp(t_FRAC) | evallg(3);
              ^~~~~~~
../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/init.c:459:11: note: in expansion of macro 'evaltyp'
   gi[0] = evaltyp(t_COMPLEX) | evallg(3);
           ^~~~~~~
../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/init.c:464:17: note: in expansion of macro 'evaltyp'
   primetab[0] = evaltyp(t_VEC) | evallg(1);
                 ^~~~~~~
../pari-2.1.7/src/language/init.c: In function 'inspect':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/init.c:594:10: note: in expansion of macro 'typ'
   switch(typ(x)) /* HACK: if x is not a GEN, we have typ(x)=0 */
          ^~~
../pari-2.1.7/src/language/init.c: In function 'changevar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/init.c:651:6: note: in expansion of macro 'typ'
   tx=typ(x); if (!is_recursive_t(tx)) 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/language/init.c:652:6: note: in expansion of macro 'typ'
   ty=typ(y); if (! is_vec_t(ty)) err(changer1);
      ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/init.c:674:10: 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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/language/init.c:677:19: note: in expansion of macro 'setvarn'
       z=gcopy(x); setvarn(z,vy); return z;
                   ^~~~~~~
../pari-2.1.7/src/language/init.c: In function 'reorder':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/init.c:705:6: note: in expansion of macro 'typ'
   tx=typ(x); lx=lg(x)-1;
      ^~~
../pari-2.1.7/src/language/init.c: In function 'stackdummy':
../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/init.c:1138:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_STR) | evallg(l);
          ^~~~~~~
../pari-2.1.7/src/language/init.c: In function 'ok_for_gerepileupto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/init.c:1261:26: note: in expansion of macro 'typ'
   long i,lx = lg(x),tx = typ(x);
                          ^~~
../pari-2.1.7/src/language/init.c: In function 'gerepile':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/init.c:1297:19: note: in expansion of macro 'typ'
     const long tl=typ(ll);
                   ^~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 polarit3.o ../pari-2.1.7/src/basemath/polarit3.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/polarit3.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/polarit3.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/polarit3.c: In function 'specpol':
../pari-2.1.7/src/headers/parigen.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/polarit3.c:46:8: note: in expansion of macro 'evalsigne'
   z[1]=evalsigne(1)|evallgef(nx+2);
        ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'addshiftw':
../pari-2.1.7/src/headers/parigen.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/polarit3.c:142:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgef(lz);
           ^~~~~~~~~
../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/polarit3.c:143:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_POL) | evallg(lz); return zd;
           ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'addshiftpol':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:150:8: note: in expansion of macro 'signe'
   if (!signe(x)) return y;
        ^~~~~
../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/polarit3.c:152:3: note: in expansion of macro 'setvarn'
   setvarn(x,v); return x;
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'addshiftwcopy':
../pari-2.1.7/src/headers/parigen.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/polarit3.c:179:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgef(lz);
           ^~~~~~~~~
../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/polarit3.c:180:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_POL) | evallg(lz); return zd;
           ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'shiftpol_ip':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:189:18: note: in expansion of macro 'signe'
   if (v <= 0 || !signe(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/basemath/polarit3.c:195:10: note: in expansion of macro 'evalsigne'
   *--x = evalsigne(1) | evallgef(lx);
          ^~~~~~~~~
../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/polarit3.c:196:10: note: in expansion of macro 'evaltyp'
   *--x = evaltyp(t_POL) | evallg(lx); return x;
          ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_neg':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:335:9: note: in expansion of macro 'signe'
     if (signe(x[i])) y[i]=lsubii(p,(GEN)x[i]);
         ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_mul':
../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/polarit3.c:399:3: note: in expansion of macro 'setvarn'
   setvarn(z,vx);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_sqr':
../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/polarit3.c:409:3: note: in expansion of macro 'setvarn'
   setvarn(z,vx);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_mul_mod_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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c:423:3: note: in expansion of macro 'setvarn'
   setvarn(z,vy);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_sqr_mod_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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c:437:3: note: in expansion of macro 'setvarn'
   setvarn(z,vy);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_add_pol_scal':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:447:8: note: in expansion of macro 'signe'
   if (!signe(x)) 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/basemath/polarit3.c:448:8: note: in expansion of macro 'signe'
   if (!signe(y))
        ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_mul_pol_scal':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:466:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_compo_mod_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/polarit3.c:511:8: note: in expansion of macro 'signe'
   if (!signe(T)) return zeropol(varn(T));
        ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_poleval':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:538:16: note: in expansion of macro 'signe'
     for (j=i; !signe((GEN)x[j]); j--)
                ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_pow_mod_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/polarit3.c:577:8: note: in expansion of macro 'signe'
   if (!signe(n)) return polun[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/polarit3.c:578:7: note: in expansion of macro 'signe'
   if (signe(n)<0)
       ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'FqX_red':
../pari-2.1.7/src/headers/parigen.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/polarit3.c:644:12: note: in expansion of macro 'evalsigne'
   res[1] = evalsigne(1) | evalvarn(varn(z)) | evallgef(lgef(z));
            ^~~~~~~~~
../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/polarit3.c:644:27: note: in expansion of macro 'evalvarn'
   res[1] = evalsigne(1) | evalvarn(varn(z)) | evallgef(lgef(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/polarit3.c:646:9: note: in expansion of macro 'typ'
     if (typ(z[i])!=t_INT)
         ^~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'FqX_mul':
../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/polarit3.c:664:3: note: in expansion of macro 'setvarn'
   setvarn(z,vx);/*quickmul and Fq_from_Kronecker are not varn-clean*/
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'FqX_sqr':
../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/polarit3.c:677:3: note: in expansion of macro 'setvarn'
   setvarn(z,vx);/*quickmul and Fq_from_Kronecker are nor varn-clean*/
   ^~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/polarit3.c:22:
../pari-2.1.7/src/basemath/polarit3.c: In function 'fflgen':
../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/polarit3.c:692:8: note: in expansion of macro 'VERYBIGINT'
     pp=VERYBIGINT;
        ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/polarit3.c:22:
../pari-2.1.7/src/basemath/polarit3.c: In function 'ffsqrtnmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit3.c:793:7: note: in expansion of macro 'typ'
   if (typ(a) != t_POL || typ(n) != t_INT || typ(T) != t_POL || 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/polarit3.c:793:26: note: in expansion of macro 'typ'
   if (typ(a) != t_POL || typ(n) != t_INT || typ(T) != t_POL || 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/polarit3.c:793:45: note: in expansion of macro 'typ'
   if (typ(a) != t_POL || typ(n) != t_INT || typ(T) != t_POL || 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/polarit3.c:793:64: note: in expansion of macro 'typ'
   if (typ(a) != t_POL || typ(n) != t_INT || typ(T) != t_POL || 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/polarit3.c:797:7: note: in expansion of macro 'signe'
   if(!signe(n))
       ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_factorgalois':
../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/polarit3.c:1067:3: note: in expansion of macro 'setvarn'
   setvarn(Pw,w);
   ^~~~~~~
../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/polarit3.c:1080:3: note: in expansion of macro 'setvarn'
   setvarn(Tmodulo,w);
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_vec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit3.c:1195:21: note: in expansion of macro 'typ'
   GEN a,x = cgetg(l,typ(z));
                     ^~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_vec_red':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit3.c:1240:19: note: in expansion of macro 'typ'
   GEN x = cgetg(l,typ(z));
                   ^~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_poldivres':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1446:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(talker,"division by zero in Fp_poldivres");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1453:50: note: in expansion of macro 'signe'
       if (pr == ONLY_DIVIDES) { avma=av0; return signe(x)? NULL: 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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c:1482:18: note: in expansion of macro 'setvarn'
       free(*pr); setvarn(rem, vx); *pr = rem;
                  ^~~~~~~
../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/polarit3.c:1485:33: note: in expansion of macro 'setvarn'
     free(zz); free(a); free(b); 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/polarit3.c:1490:8: note: in expansion of macro 'evalsigne'
   z[1]=evalsigne(1) | evallgef(dz+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/polarit3.c:1490:40: note: in expansion of macro 'evalvarn'
   z[1]=evalsigne(1) | evallgef(dz+3) | 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/polarit3.c:1511:40: note: in expansion of macro 'signe'
     tetpil=avma; p1 = modii(p1,p); if (signe(p1)) { sx = 1; break; }
                                        ^~~~~
../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/polarit3.c:1522:10: note: in expansion of macro 'evaltyp'
   rem[0]=evaltyp(t_POL) | evallg(lrem);
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/polarit3.c:1523:10: note: in expansion of macro 'evalsigne'
   rem[1]=evalsigne(1) | evalvarn(vx) | evallgef(lrem);
          ^~~~~~~~~
../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/polarit3.c:1523:25: note: in expansion of macro 'evalvarn'
   rem[1]=evalsigne(1) | evalvarn(vx) | evallgef(lrem);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_pol_gcd_long':
../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/polarit3.c:1556:3: note: in expansion of macro 'setvarn'
   setvarn(z, varn(x));
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_pol_gcd':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1571:10: note: in expansion of macro 'signe'
   while (signe(b))
          ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'Fp_pol_extgcd':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1594:10: note: in expansion of macro 'signe'
   while (signe(d1))
          ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'modulargcd':
../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/polarit3.c:1623:17: 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/basemath/polarit3.c:1623:44: note: in expansion of macro 'evalsigne'
   long prime[]={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/basemath/polarit3.c:1626:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(b)!=t_POL) err(notpoler,"modulargcd");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit3.c:1626:24: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(b)!=t_POL) err(notpoler,"modulargcd");
                        ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1627:8: note: in expansion of macro 'signe'
   if (!signe(a)) return gcopy(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/polarit3.c:1628:8: note: in expansion of macro 'signe'
   if (!signe(b)) return gcopy(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/polarit3.c:1651:13: note: in expansion of macro 'signe'
     while (!signe(resii(g,p)));
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1679:9: note: in expansion of macro 'signe'
    if (!signe(gres(A,H)) && !signe(gres(B,H)))
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1679:30: note: in expansion of macro 'signe'
    if (!signe(gres(A,H)) && !signe(gres(B,H)))
                              ^~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'stopoly':
../pari-2.1.7/src/headers/parigen.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/polarit3.c:1706:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1)|evallgef(l)|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/polarit3.c:1706:35: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1)|evallgef(l)|evalvarn(v);
                                   ^~~~~~~~
../pari-2.1.7/src/basemath/polarit3.c: In function 'stopoly_gen':
../pari-2.1.7/src/headers/parigen.h:154: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/polarit3.c:1716:53: note: in expansion of macro 'signe'
   do { y[l++] = lmodii(m,p); m=divii(m,p); } while (signe(m));
                                                     ^~~~~
../pari-2.1.7/src/headers/parigen.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/polarit3.c:1717:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1)|evallgef(l)|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/polarit3.c:1717:35: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1)|evallgef(l)|evalvarn(v);
                                   ^~~~~~~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 errmsg.o ../pari-2.1.7/src/language/errmsg.c
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 base3.o ../pari-2.1.7/src/basemath/base3.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/base3.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/base3.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/base3.c: In function 'element_mul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:76: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/base3.c:76:17: note: in expansion of macro 'typ'
   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/base3.c:96:11: note: in expansion of macro 'signe'
       if (signe(c))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:105:6: note: in expansion of macro 'signe'
  if (signe(c))
      ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_inv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:123:23: note: in expansion of macro 'typ'
   long av=avma,i,N,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/base3.c:141:9: note: in expansion of macro 'typ'
     if (typ(x[i])==t_INTMOD)
         ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_div':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:157:23: note: in expansion of macro 'typ'
   long av=avma,i,N,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/base3.c:157:33: note: in expansion of macro 'typ'
   long av=avma,i,N,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/base3.c:193:9: note: in expansion of macro 'typ'
     if (typ(x[i])==t_INTMOD)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:199:9: note: in expansion of macro 'typ'
     if (typ(y[i])==t_INTMOD)
         ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_muli':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:231:11: note: in expansion of macro 'signe'
       if (signe(c))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:240:6: note: in expansion of macro 'signe'
  if (signe(c))
      ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_sqri':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:271:11: note: in expansion of macro 'signe'
       if (signe(c))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:280:6: note: in expansion of macro 'signe'
  if (signe(c))
      ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_sqr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:297:46: note: in expansion of macro 'typ'
   long av = avma,i,j,k,N=lgef(nf[1])-3, 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/base3.c:319:11: note: in expansion of macro 'signe'
       if (signe(c))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:328:6: note: in expansion of macro 'signe'
  if (signe(c))
      ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_pow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:348:7: note: in expansion of macro 'typ'
   if (typ(n)!=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/base3.c:350:5: note: in expansion of macro 'signe'
   s=signe(n); if (!s) return gscalcol_i(gun,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/base3.c:351:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x=algtobasis(nf,x);
       ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_pow_mod_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/basemath/base3.c:381:7: note: in expansion of macro 'typ'
   if (typ(n)!=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/base3.c:383:5: note: in expansion of macro 'signe'
   s=signe(n); if (!s) return gscalcol_i(gun,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/base3.c:384:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x=algtobasis(nf,x);
       ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_powid_mod_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/basemath/base3.c:415:7: note: in expansion of macro 'typ'
   if (typ(n)!=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/base3.c:417:5: note: in expansion of macro 'signe'
   s=signe(n);
     ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_mulid':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:453:11: note: in expansion of macro 'signe'
       if (signe(c = gcoeff(tab,k,j)) && !gcmp0(p1 = (GEN)x[j]))
           ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'int_elt_val':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:483:11: note: in expansion of macro 'signe'
       if (signe(r)) return w;
           ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/base3.c:21:
../pari-2.1.7/src/basemath/base3.c: In function 'element_val':
../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/base3.c:496:24: note: in expansion of macro 'VERYBIGINT'
   if (gcmp0(x)) return VERYBIGINT;
                        ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base3.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/base3.c:499:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/base3.c:21:
../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/base3.c:514:37: note: in expansion of macro 'VERYBIGINT'
   w = int_elt_val(nf,x,p,(GEN)vp[5],VERYBIGINT);
                                     ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base3.c:21:
../pari-2.1.7/src/basemath/base3.c: In function 'basistoalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:546:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(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/base3.c:555:18: note: in expansion of macro 'typ'
         long t = typ(x[i]);
                  ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'mulmat_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/base3.c:598:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) return gscalcol(x, lg(A[1])-1);
       ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'algtobasis_intern':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:613:16: note: in expansion of macro 'typ'
   long i, tx = typ(x), N = lgef(P)-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/base3.c:615:39: note: in expansion of macro 'typ'
   if (tx==t_POLMOD) { x=(GEN)x[2]; tx=typ(x); }
                                       ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'algtobasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:631:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),av=avma,i,N;
           ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'zsigne':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:704: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/base3.c:717:9: note: in expansion of macro 'signe'
     if (signe(arch[i]))
         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'nfreducemodideal':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:738:9: note: in expansion of macro 'signe'
     if (signe(q)) { x=gsub(x,gmul(q,(GEN)ideal[i])); do_copy=0; }
         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'colreducemodmat':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:769:9: note: in expansion of macro 'signe'
     if (signe(q)) x = gadd(x, gmul(q, (GEN)y[i]));
         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'nfreducemodidele':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:810:17: note: in expansion of macro 'typ'
   if (!sarch || typ(idele)!=t_VEC || lg(idele)!=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/base3.c:820:9: note: in expansion of macro 'signe'
     if (signe(p2[i])) p1 = element_mul(nf,p1,(GEN)gen[i]);
         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_powmodideal':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:830:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=element_mulmodideal(nf,x,y,ideal);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:831:26: note: in expansion of macro 'signe'
     k=shifti(k,-1); if (!signe(k)) return y;
                          ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'element_powmodidele':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:842:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=element_mulmodidele(nf,x,y,idele,sarch);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:843:26: note: in expansion of macro 'signe'
     k=shifti(k,-1); if (!signe(k)) return y;
                          ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'zidealij':
../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/base3.c:870:11: note: in expansion of macro 'evaltyp'
   p3[0] = evaltyp(t_VEC) | evallg(c);
           ^~~~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'znlog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1057:7: note: in expansion of macro 'typ'
   if (typ(g0) != t_INTMOD)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1059: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/base3.c:1063:9: note: in expansion of macro 'typ'
     if (typ(x) != t_INTMOD)
         ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'zarchstar':
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:1248:9: note: in expansion of macro 'signe'
     if (signe(arch[i]))
         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'zinternallog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1317:5: note: in expansion of macro 'typ'
   i=typ(a); if (is_extscalar_t(i)) a = algtobasis(nf,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/base3.c:1358:13: note: in expansion of macro 'signe'
         if (signe(p3))
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:1360:15: note: in expansion of macro 'mpodd'
           if (mpodd((GEN)y[cp])) psigne = gadd(psigne,gmael(p1,4,i));
               ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'compute_gen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1394:10: note: in expansion of macro 'typ'
     x = (typ(module) == t_MAT)? module: (GEN)module[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/base3.c:1405:17: note: in expansion of macro 'signe'
       if (!(s = signe(p1))) continue;
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:1426:13: note: in expansion of macro 'signe'
         if (signe(p2[i])) p3=element_mul(nf,p3,(GEN)generator[i]);
             ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'zidealstarinitall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1442:7: note: in expansion of macro 'typ'
   if (typ(ideal)==t_VEC && lg(ideal)==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/base3.c:1445:9: note: in expansion of macro 'typ'
     i = typ(arch);
         ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:1449:11: note: in expansion of macro 'signe'
       if (signe(arch[i])) nba++;
           ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'zideallog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:1603:7: note: in expansion of macro 'typ'
   if (typ(ideal)==t_VEC && lg(ideal)==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/base3.c:1607:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/base3.c: In function 'ideallistzstarall':
../pari-2.1.7/src/headers/parigen.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/base3.c:1907:20: note: in expansion of macro 'evalsigne'
   p=cgeti(3); p[1]=evalsigne(1) | evallgefint(3);
                    ^~~~~~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'ideallist_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/base3.c:2016:7: note: in expansion of macro 'typ'
   if (typ(arch) != t_VEC) err(typeer,"ideallistarch");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/base3.c:2017:41: note: in expansion of macro 'signe'
   nba=0; for (i=1; i<lg(arch); i++) if (signe(arch[i])) nba++;
                                         ^~~~~
../pari-2.1.7/src/basemath/base3.c: In function 'ideallistarchall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:2036:7: note: in expansion of macro 'typ'
   if (typ(list) != t_VEC || (do_units && lg(list) != 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/base3.c:2043:27: note: in expansion of macro 'typ'
     lu= (GEN)list[2]; if (typ(lu) != t_VEC) err(typeer, "ideallistarch");
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base3.c:2050:7: note: in expansion of macro 'typ'
   if (typ(z) != t_VEC) err(typeer, "ideallistarch");
       ^~~
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=armv6 -mfloat-abi=hard -mfpu=vfp -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 alglin2.o ../pari-2.1.7/src/basemath/alglin2.c
In file included from ../pari-2.1.7/src/headers/pari.h:94:0,
                 from ../pari-2.1.7/src/basemath/alglin2.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/alglin2.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