==> Creating clean working copy [build]...done
==> Making package: perl-math-pari 1:2.010808-3 (Sun May 29 20:58:51 EDT 2016)
==> Retrieving sources...
  -> Found Math-Pari-2.010808.zip
==> Validating source files with sha512sums...
    Math-Pari-2.010808.zip ... Passed
==> Making package: perl-math-pari 1:2.010808-3 (Sun May 29 20:58:52 EDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Math-Pari-2.010808.zip
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    Math-Pari-2.010808.zip ... Passed
==> Extracting sources...
  -> Extracting Math-Pari-2.010808.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.3 2.1.2 2.1.5 2.1.1 2.1.0 2.1.4 2.1.7 2.1.6'
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.022002 on linux version 4.5.2-1-arch;
   cc=cc, gccversion=5.3.0, 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 -D_FORTIFY_SOURCE=2',
   optimize='-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong',
   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.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE }\\b{}/ at libPARI/gphelp line 680.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{}\\b{ <-- HERE }/ at libPARI/gphelp line 680.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\`{ <-- HERE a}/ at libPARI/gphelp line 693.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\"{ <-- HERE o}/ at libPARI/gphelp line 695.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\"{ <-- HERE u}/ at libPARI/gphelp line 697.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\'{ <-- HERE e}/ at libPARI/gphelp line 699.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\kbd{ <-- HERE \n\s*/ at libPARI/gphelp line 705.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\d?frac{ <-- HERE \s*((?:[^{}]|\{[^{}]*\})*)}{\s*((?:[^{}]|\{[^{}]*\})*)}/ at libPARI/gphelp line 716.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\d?frac{\s*((?:[^{}]|\{[^{}]*\})*)}{ <-- HERE \s*((?:[^{}]|\{[^{}]*\})*)}/ at libPARI/gphelp line 716.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE ([^}]*)}/ at libPARI/gphelp line 825.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\var\s*{f{ <-- HERE }lag}/ at libPARI/gphelp line 1033.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE }\\b{}/ at libPARI/gphelp line 680.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{}\\b{ <-- HERE }/ at libPARI/gphelp line 680.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\`{ <-- HERE a}/ at libPARI/gphelp line 693.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\"{ <-- HERE o}/ at libPARI/gphelp line 695.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\"{ <-- HERE u}/ at libPARI/gphelp line 697.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\'{ <-- HERE e}/ at libPARI/gphelp line 699.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\kbd{ <-- HERE \n\s*/ at libPARI/gphelp line 705.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\d?frac{ <-- HERE \s*((?:[^{}]|\{[^{}]*\})*)}{\s*((?:[^{}]|\{[^{}]*\})*)}/ at libPARI/gphelp line 716.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\d?frac{\s*((?:[^{}]|\{[^{}]*\})*)}{ <-- HERE \s*((?:[^{}]|\{[^{}]*\})*)}/ at libPARI/gphelp line 716.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\b{ <-- HERE ([^}]*)}/ at libPARI/gphelp line 825.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\var\s*{f{ <-- HERE }lag}/ at libPARI/gphelp line 1033.
...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 `x86_64' detected
Checking if your kit is complete...
Looks good
...Via command-line: processor family `ix86'
...I will use assembler build of type 'ix86'.
...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 Pari.pm blib/lib/Math/Pari.pm
cp libPARI.pod blib/lib/Math/libPARI.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
"/usr/bin/perl" -wle0 > pariinl.h
"/usr/bin/perl" -pe1 ../pari-2.1.7/src/kernel/ix86/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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o stark.o ../pari-2.1.7/src/modules/stark.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/stark.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/stark.c: In function 'ConjChar':
../pari-2.1.7/src/headers/parigen.h:154: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/stark.c:58:10: note: in expansion of macro 'signe'
     if (!signe((GEN)chi[i]))
          ^~~~~
../pari-2.1.7/src/modules/stark.c: In function 'FindModulus':
../pari-2.1.7/src/headers/parigen.h:154: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/stark.c:566:8: note: in expansion of macro 'signe'
    if (signe(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/modules/stark.c:581:12: note: in expansion of macro 'signe'
        if (signe(p1))
            ^~~~~
../pari-2.1.7/src/modules/stark.c: In function 'bnrrootnumber':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/stark.c:855:8: note: in expansion of macro 'typ'
   if ((typ(chi) != t_VEC) || (lg(chi) != l))
        ^~~
../pari-2.1.7/src/modules/stark.c: In function 'ppgamma':
../pari-2.1.7/src/headers/parigen.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/stark.c:1786:14: note: in expansion of macro 'evalsigne'
   gamun[1] = evalsigne(1) | evalvalp(0) | 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/stark.c:1786:43: note: in expansion of macro 'evalvarn'
   gamun[1] = evalsigne(1) | evalvalp(0) | 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/modules/stark.c:1796:14: note: in expansion of macro 'evalsigne'
   gamdm[1] = evalsigne(1) | evalvalp(0) | 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/stark.c:1796:43: note: in expansion of macro 'evalvarn'
   gamdm[1] = evalsigne(1) | evalvalp(0) | evalvarn(0);
                                           ^~~~~~~~
../pari-2.1.7/src/modules/stark.c: In function 'RecCoeff2':
../pari-2.1.7/src/headers/parigen.h:154: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/stark.c:2229:9: note: in expansion of macro 'signe'
     if (signe((GEN)p1[1]))
         ^~~~~
../pari-2.1.7/src/modules/stark.c: In function 'quadhilbertreal':
../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/stark.c:3102:3: note: in expansion of macro 'setvarn'
   setvarn(pol, fetch_var());
   ^~~~~~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o kummer.o ../pari-2.1.7/src/modules/kummer.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/kummer.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/kummer.c: In function 'get_listx':
../pari-2.1.7/src/headers/parigen.h:154: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/kummer.c:89:34: note: in expansion of macro 'signe'
         j=1; while (j<lg(p4) && !signe(p4[j])) j++;
                                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/kummer.c:101:30: note: in expansion of macro 'signe'
       j=1; while (j<lker && !signe(y[j])) j++;
                              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/kummer.c:108:36: note: in expansion of macro 'signe'
           j=1; while (j<lg(p4) && !signe(p4[j])) j++;
                                    ^~~~~
../pari-2.1.7/src/modules/kummer.c: In function 'reducealpha':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/kummer.c:136:11: note: in expansion of macro 'typ'
   long tx=typ(x),i;
           ^~~
../pari-2.1.7/src/modules/kummer.c: In function 'vectau':
../pari-2.1.7/src/headers/parigen.h:154: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/kummer.c:668:9: note: in expansion of macro 'signe'
     if (signe((GEN)listfl[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/kummer.c:675:6: note: in expansion of macro 'signe'
  if (signe((GEN)listfl[j])&&gegal((GEN)listz[j],(GEN)listz[i]))
      ^~~~~
../pari-2.1.7/src/modules/kummer.c: In function 'rnfkummer':
../pari-2.1.7/src/headers/parigen.h:154: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/kummer.c:973:7: note: in expansion of macro 'signe'
   if (signe(leadingcoeff(R))<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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base1.o ../pari-2.1.7/src/basemath/base1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base1.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkrnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:28:7: note: in expansion of macro 'typ'
   if (typ(rnf)!=t_VEC) err(idealer1);
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkbnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:35:7: note: in expansion of macro 'typ'
   if (typ(bnf)!=t_VEC) err(idealer1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:40:11: note: in expansion of macro 'typ'
       if (typ(bnf[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/base1.c:47:11: note: in expansion of macro 'typ'
       if (typ(bnf[2])==t_POLMOD)
           ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checknf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:66:7: note: in expansion of macro 'typ'
   if (typ(nf)==t_POL) err(talker,"please apply nfinit first");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:67:7: note: in expansion of macro 'typ'
   if (typ(nf)!=t_VEC) err(idealer1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:73:17: note: in expansion of macro 'typ'
     case 3: if (typ(nf[2]) == t_POLMOD) return checknf((GEN)nf[1]);
                 ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkbnr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:82:7: note: in expansion of macro 'typ'
   if (typ(bnr)!=t_VEC || lg(bnr)!=7)
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkid':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:109:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(idealer2);
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkbid':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:117:7: note: in expansion of macro 'typ'
   if (typ(bid)!=t_VEC || lg(bid)!=6 || lg(bid[1])!=3)
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkprimeid':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:124:7: note: in expansion of macro 'typ'
   if (typ(id) != t_VEC || lg(id) != 6)
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'checkprhall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:131:7: note: in expansion of macro 'typ'
   if (typ(prhall) != t_VEC || lg(prhall) != 3 || typ(prhall[1]) != 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/base1.c:131:50: note: in expansion of macro 'typ'
   if (typ(prhall) != t_VEC || lg(prhall) != 3 || typ(prhall[1]) != t_MAT)
                                                  ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'check_pol_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/base1.c:140:9: note: in expansion of macro 'typ'
     if (typ(x[k])!=t_INT) err(talker,"polynomial not in Z[X]");
         ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'get_primeid':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:146:7: note: in expansion of macro 'typ'
   if (typ(x) != t_VEC) return NULL;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:148:21: note: in expansion of macro 'typ'
   if (lg(x) != 6 || typ(x[3]) != t_INT) return NULL;
                     ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'get_bnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:155: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/base1.c:163:15: note: in expansion of macro 'typ'
           if (typ(x[2]) != t_POLMOD) 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/base1.c:169:30: note: in expansion of macro 'typ'
           x = (GEN)x[1]; if (typ(x)!=t_VEC || lg(x)!=11) break;
                              ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'get_nf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:186: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/base1.c:194:15: note: in expansion of macro 'typ'
           if (typ(x[2]) != t_POLMOD) 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/base1.c:198:30: note: in expansion of macro 'typ'
           x = (GEN)x[7]; if (typ(x)!=t_VEC || lg(x)!=10) 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/base1.c:201:30: note: in expansion of macro 'typ'
           x = (GEN)x[1]; if (typ(x)!=t_VEC || lg(x)!=11) 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/base1.c:202:30: note: in expansion of macro 'typ'
           x = (GEN)x[7]; if (typ(x)!=t_VEC || lg(x)!=10) 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/base1.c:206:15: note: in expansion of macro 'typ'
           if (typ(x) == t_VEC && lg(x) == 4) *t = typ_GAL;
               ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'tschirnhaus':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:245:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"tschirnhaus");
       ^~~
../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/base1.c:247:28: note: in expansion of macro 'setvarn'
   if (v) { u=dummycopy(x); setvarn(u,0); x=u; }
                            ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base1.c:248:11: note: in expansion of macro 'evalsigne'
   p1[1] = evalsigne(1)|evalvarn(0)|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/base1.c:248:24: note: in expansion of macro 'evalvarn'
   p1[1] = evalsigne(1)|evalvarn(0)|evallgef(5);
                        ^~~~~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'primitive_pol_to_monic':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:286:7: note: in expansion of macro 'signe'
   if (signe(lead) < 0) { POL = gneg_i(POL); a = POL+2; lead = negi(lead); }
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:299:12: note: in expansion of macro 'signe'
       if (!signe(a[j])) continue;
            ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'galois':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:348:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"galois");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:353:9: note: in expansion of macro 'typ'
     if (typ(x[i])!=t_INT) err(polrationer,"galois");
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:397:6: note: in expansion of macro 'typ'
  if (typ(p6)==t_POL && lgef(p6)>3) goto tchi;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:445:8: note: in expansion of macro 'typ'
    if (typ(p6)==t_POL && lgef(p6)>3) goto tchi;
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:508:8: note: in expansion of macro 'typ'
    if (typ(p6)==t_POL && lgef(p6)>3) goto tchi;
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:531:7: note: in expansion of macro 'typ'
   if (typ(p6)==t_POL && lgef(p6)>3) goto tchi;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:617:6: note: in expansion of macro 'typ'
  if (typ(p6)==t_POL && lgef(p6)>3) goto tchi;
      ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'galoisapply':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:649:7: note: in expansion of macro 'typ'
   if (typ(aut)==t_POL) aut = gmodulcp(aut,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/base1.c:652:9: note: in expansion of macro 'typ'
     if (typ(aut)!=t_POLMOD || !gegal((GEN)aut[1],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/base1.c:655: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/base1.c:663:11: note: in expansion of macro 'typ'
       if (typ(p1)!=t_POLMOD || !gegal((GEN)p1[1],pol)) p1 = gmodulcp(p1,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/base1.c:679:14: note: in expansion of macro 'signe'
    p1[1] =  (signe(p1[1]) > 0)? lsub((GEN)p1[1], p)
              ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'get_nfpol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:710:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL) { *nf = NULL; return x; }
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'nfiso0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:750:11: note: in expansion of macro 'typ'
       if (typ(p1)==t_FRAC) p1=mulii((GEN)p1[1],(GEN)p1[2]);
           ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/base1.c:763:21: note: in expansion of macro 'setvarn'
   a = dummycopy(a); setvarn(a,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/base1.c:772:18: note: in expansion of macro 'setvarn'
     if (vb == 0) setvarn(b, fetch_var());
                  ^~~~~~~
../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/base1.c:780:5: note: in expansion of macro 'settyp'
     settyp(y, 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/base1.c:787:9: note: in expansion of macro 'typ'
     if (typ(p1) == t_POL) setvarn(p1, vb); else p1 = scalarpol(p1, vb);
         ^~~
../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/base1.c:787:27: note: in expansion of macro 'setvarn'
     if (typ(p1) == t_POL) setvarn(p1, vb); else p1 = scalarpol(p1, vb);
                           ^~~~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'quicktrace':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:824:7: note: in expansion of macro 'signe'
   if (signe(x))
       ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'trace_col':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:842:9: note: in expansion of macro 'signe'
     if (signe(x[i])) t = addii(t, mulii((GEN)x[i],(GEN)T[i]));
         ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'get_roots':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1011:14: note: in expansion of macro 'typ'
   GEN roo = (typ(x)==t_VEC)? dummycopy(x): roots(x,prec);
              ^~~
../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/base1.c:1016:10: note: in expansion of macro 'evaltyp'
   roo[0]=evaltyp(t_VEC)|evallg(ru+1); return roo;
          ^~~~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'initalgall0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1160:7: note: in expansion of macro 'typ'
   if (typ(x)==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/base1.c:1187: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/base1.c:1187: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/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1190:11: note: in expansion of macro 'typ'
       if (typ(bas) == t_MAT) { mat = bas; bas = mat_to_vecpol(mat,varn(x)); }
           ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'nfgetprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1279:11: note: in expansion of macro 'typ'
   return (typ(ro)==t_VEC)?precision((GEN)ro[1]): DEFAULTPREC;
           ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'nfnewprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1288:7: note: in expansion of macro 'typ'
   if (typ(nf) != t_VEC) err(talker,"incorrect nf in nfnewprec");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1304:7: note: in expansion of macro 'typ'
   if (typ(nf[8]) != t_INT) mat[2]=(long)MC; /* not a small nf */
       ^~~
../pari-2.1.7/src/basemath/base1.c: In function 'nf_pm1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:1317:9: note: in expansion of macro 'signe'
     if (signe(y[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/basemath/base1.c:1318:10: note: in expansion of macro 'signe'
   return signe(y[1]);
          ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'rootsof1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:1349:7: note: in expansion of macro 'signe'
   if (signe(R1))
       ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'dirzetak0':
../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/base1.c:1408:19: note: in expansion of macro 'evaltyp'
   long court[] = {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/base1.c:1408:47: note: in expansion of macro 'evalsigne'
   long court[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3),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/base1.c:1413:14: note: in expansion of macro 'evaltyp'
   c2[0]=c[0]=evaltyp(t_VEC) | evallg(N0+1);
              ^~~~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'dirzetak':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1457:7: note: in expansion of macro 'typ'
   if (typ(b)!=t_INT) err(talker,"not an integer type in dirzetak");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:1458:7: note: in expansion of macro 'signe'
   if (signe(b)<=0) return cgetg(1,t_VEC);
       ^~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'initzeta':
../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/base1.c:1474:19: note: in expansion of macro 'evaltyp'
   long court[] = {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/base1.c:1474:47: note: in expansion of macro 'evalsigne'
   long court[] = {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/base1.c:1575:34: note: in expansion of macro 'evalsigne'
   serie_even[1] = serie_odd[1] = evalsigne(1)+evalvalp(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/base1.c:1630:40: note: in expansion of macro 'setsigne'
       p1 = glog((GEN)tabcstn[i],prec); setsigne(p1, -signe(p1));
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/base1.c:1630:54: note: in expansion of macro 'signe'
       p1 = glog((GEN)tabcstn[i],prec); 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/base1.c:1630:40: note: in expansion of macro 'setsigne'
       p1 = glog((GEN)tabcstn[i],prec); 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/base1.c:1648:7: note: in expansion of macro 'setsigne'
       setsigne(p1,-1); coeflog[i]=(long)p1;
       ^~~~~~~~
../pari-2.1.7/src/basemath/base1.c: In function 'gzetakall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1702:13: note: in expansion of macro 'typ'
   long ts = typ(s), r1,r2,ru,imax,i,j,k,N0,sl,prec,bigprec, av = avma;
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base1.c:1704:7: note: in expansion of macro 'typ'
   if (typ(nfz)!=t_VEC || lg(nfz)!=10 || typ(nfz[1]) != 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/base1.c:1704:41: note: in expansion of macro 'typ'
   if (typ(nfz)!=t_VEC || lg(nfz)!=10 || typ(nfz[1]) != 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/base1.c:1715:60: note: in expansion of macro 'typ'
   if (ts==t_COMPLEX && gcmp0(gimag(s))) { s=greal(s); ts = typ(s); }
                                                            ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base1.c:1716:22: note: in expansion of macro 'signe'
   if (ts==t_REAL && !signe(gfrac(s))) { s=mptrunc(s); ts = 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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o helpmsg.o ../pari-2.1.7/src/language/helpmsg.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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o gen2.o ../pari-2.1.7/src/basemath/gen2.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/gen2.c: At top level:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:69:27: note: in expansion of macro 'evaltyp'
 static long court_p[] = { evaltyp(t_INT) | m_evallg(3),0,0 };
                           ^~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'cgetp2':
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:114:20: note: in expansion of macro 'precp'
   y[1] = evalprecp(precp(x)) | evalvalp(v);
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:114:10: note: in expansion of macro 'evalprecp'
   y[1] = evalprecp(precp(x)) | evalvalp(v);
          ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:152:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:158:25: note: in expansion of macro 'signe'
     if (tx == t_INT && !signe(x)) return gzero; /* very common case */
                         ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcopy_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:177:11: note: in expansion of macro 'typ'
   long tx=typ(x),i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'forcecopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:196:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:202:25: note: in expansion of macro 'signe'
     if (tx == t_INT && !signe(x)) return gzero; /* very common case */
                         ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'dummycopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:219:11: note: in expansion of macro 'typ'
   long tx=typ(x), lx=lg(x),i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'taille':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:249:24: note: in expansion of macro 'typ'
   long i,n,lx=lg(x),tx=typ(x);
                        ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'glength':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:263:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:267:25: note: in expansion of macro 'signe'
     case t_REAL: return signe(x)? lg(x)-2: 0;
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:270:23: note: in expansion of macro 'typ'
   return lg(x)-lontyp[typ(x)];
                       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'matsize':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:278:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'brutcopy':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:298:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x);
                ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'greffe':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:340:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"greffe");
       ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:345:12: note: in expansion of macro 'evaltyp'
     y[0] = evaltyp(t_SER) | evallg(l);
            ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:349:26: note: in expansion of macro 'evalvarn'
     y[1]=evalvalp(l-2) | evalvarn(varn(x));
                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:354:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(e) | evalvarn(vx);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:354:37: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(e) | evalvarn(vx);
                                     ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gtolong':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:371:13: note: in expansion of macro 'typ'
   long y,tx=typ(x),av=avma;
             ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:398:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:401:15: note: in expansion of macro 'signe'
       return !signe(x);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:407:15: note: in expansion of macro 'signe'
       return !signe(x[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:416:6: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:416:27: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:421:6: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:421:27: note: in expansion of macro 'typ'
  if (typ(x[1])!=t_REAL || typ(x[2])!=t_REAL) return 0;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:427:15: note: in expansion of macro 'signe'
       return !signe(x[4]);
               ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:456:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:459:27: note: in expansion of macro 'signe'
       return is_pm1(x) && signe(x)==1;
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:462:11: note: in expansion of macro 'signe'
       if (signe(x) > 0 && expo(x)==0 && x[2]==HIGHBIT)
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp_1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:501:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:504:27: note: in expansion of macro 'signe'
       return is_pm1(x) && signe(x)== -1;
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:507:11: note: in expansion of macro 'signe'
       if (signe(x) < 0 && expo(x)==0 && x[2]==HIGHBIT)
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:520:11: note: in expansion of macro 'signe'
       l = signe(x[1]);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:521:25: note: in expansion of macro 'signe'
       return l && l == -signe(x[2]) && !absi_cmp((GEN)x[1],(GEN)x[2]);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:534:11: note: in expansion of macro 'signe'
       y = signe(p1) && !gegal(p1,(GEN)x[1]); avma=l; return !y;
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:554:6: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:554:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y);
                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'lexcmp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:574:17: note: in expansion of macro 'typ'
   const long tx=typ(x), ty=typ(y);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:574:28: note: in expansion of macro 'typ'
   const long tx=typ(x), ty=typ(y);
                            ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'vecegal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:647:16: note: in expansion of macro 'typ'
   long i, tx = typ(x);
                ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gegal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:682:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:683:11: note: in expansion of macro 'typ'
   if (tx==typ(y))
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'minval':
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:749:19: note: in expansion of macro 'VERYBIGINT'
   long i,k, val = VERYBIGINT;
                   ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'ggval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:761:11: note: in expansion of macro 'typ'
   long tx=typ(x), tp=typ(p), av, limit,vx,v,i,val;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:761:22: note: in expansion of macro 'typ'
   long tx=typ(x), tp=typ(p), av, limit,vx,v,i,val;
                      ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:764:30: note: in expansion of macro 'VERYBIGINT'
   if (isexactzero(x)) return VERYBIGINT;
                              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'pvaluation':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:867:10: note: in expansion of macro 'signe'
     v = (signe(p) < 0 && signe(x) < 0);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:867:26: note: in expansion of macro 'signe'
     v = (signe(p) < 0 && signe(x) < 0);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:877:11: note: in expansion of macro 'signe'
       if (signe(x) < 0) y = -y;
           ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gneg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:905:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gneg_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:963:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:981:24: note: in expansion of macro 'precp'
       y[1] = evalprecp(precp(x)) | evalvalp(valp(x));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:981:14: note: in expansion of macro 'evalprecp'
       y[1] = evalprecp(precp(x)) | evalvalp(valp(x));
              ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gabs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1022:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,l,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1036:14: note: in expansion of macro 'typ'
       switch(typ(p1))
              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1060:14: note: in expansion of macro 'typ'
       switch(typ(p1))
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1068:22: note: in expansion of macro 'signe'
      if (valp(x) || !signe(x) || lg(x)<3)
                      ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'vecmax':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1098:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,lx2,i,j;
           ^~~
../pari-2.1.7/src/basemath/gen2.c:1102:36: warning: overflow in implicit constant conversion [-Woverflow]
   lx=lg(x); if (lx==1) return stoi(-VERYBIGINT);
                                    ^
../pari-2.1.7/src/basemath/gen2.c:1112:29: warning: overflow in implicit constant conversion [-Woverflow]
     if (lx2==1) return stoi(-VERYBIGINT);
                             ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'vecmin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1128:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,lx2,i,j;
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:1132:36: note: in expansion of macro 'VERYBIGINT'
   lx=lg(x); if (lx==1) return stoi(VERYBIGINT);
                                    ^~~~~~~~~~
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen2.c:1142:29: note: in expansion of macro 'VERYBIGINT'
     if (lx2==1) return stoi(VERYBIGINT);
                             ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'padicaff0':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1165:7: note: in expansion of macro 'signe'
   if (signe(x[4]))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:172:49: note: in definition of macro 'setvalp'
          (((GEN)(x))[1]&(~VALPBITS)) | evalvalp(s))
                                                 ^
../pari-2.1.7/src/basemath/gen2.c:1167:24: note: in expansion of macro 'precp'
     setvalp(x, valp(x)|precp(x));
                        ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gaffsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1177:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1211:34: note: in expansion of macro 'evalvarn'
       if (!s) x[1]=evallgef(2) | evalvarn(v);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1214:14: note: in expansion of macro 'evalsigne'
         x[1]=evalsigne(1) | evallgef(3) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1214:43: note: in expansion of macro 'evalvarn'
         x[1]=evalsigne(1) | evallgef(3) | evalvarn(v);
                                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1222:32: note: in expansion of macro 'evalvarn'
         x[1] = evalvalp(l-2) | evalvarn(v);
                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1224:16: note: in expansion of macro 'evalsigne'
         x[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1224:45: note: in expansion of macro 'evalvarn'
         x[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1232:40: note: in expansion of macro 'typ'
       if (lg(x)!=2) err(operi,"",t_INT,typ(x));
                                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1235:33: note: in expansion of macro 'typ'
     default: err(operf,"",t_INT,typ(x));
                                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gaffect':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1266:6: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); lx=lg(x); ly=lg(y);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1266:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); lx=lg(x); ly=lg(y);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1305:20: note: in expansion of macro 'signe'
               if (!signe(x)) { padicaff0(y); break; }
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1381:13: note: in expansion of macro 'signe'
        if (!signe(x[1])) { padicaff0(y); break; }
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1416:13: note: in expansion of macro 'signe'
        if (!signe(x[1])) { padicaff0(y); break; }
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1459:19: note: in expansion of macro 'signe'
               k = signe(x[4])? (precp(x)+valp(x)): valp(x)+1;
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen2.c:1459:33: note: in expansion of macro 'precp'
               k = signe(x[4])? (precp(x)+valp(x)): valp(x)+1;
                                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1528:33: note: in expansion of macro 'evalvarn'
  if (gcmp0(x)) y[1]=evallgef(2)+evalvarn(v);
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1529:12: note: in expansion of macro 'evalsigne'
  else y[1]=evalsigne(1)+evallgef(3)+evalvarn(v);
            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1529:37: note: in expansion of macro 'evalvarn'
  else y[1]=evalsigne(1)+evallgef(3)+evalvarn(v);
                                     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1535:35: note: in expansion of macro 'evalvarn'
           y[1] = evalvalp(ly-2) | evalvarn(v);
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1537:11: note: in expansion of macro 'evalsigne'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1537:40: note: in expansion of macro 'evalvarn'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(v);
                                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1556:28: note: in expansion of macro 'typ'
         x = geval(x); tx = typ(x);
                            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1564:28: note: in expansion of macro 'typ'
         x = geval(x); tx = typ(x);
                            ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1588:10: note: in expansion of macro 'signe'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1588:25: note: in expansion of macro 'evalsigne'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
                         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1588:50: note: in expansion of macro 'evalvarn'
      if (signe(x)) y[1]=evalsigne(1)+evallgef(3)+evalvarn(vy);
                                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1589:28: note: in expansion of macro 'evalvarn'
      else y[1]=evallgef(2)+evalvarn(vy);
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1595:9: note: in expansion of macro 'signe'
    if (!signe(x)) { gaffsg(0,y); return; }
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1598:24: note: in expansion of macro 'evalvarn'
      i=gval(x,v); y[1]=evalvarn(v) | evalvalp(i) | evalsigne(1);
                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1598:52: note: in expansion of macro 'evalsigne'
      i=gval(x,v); y[1]=evalvarn(v) | evalvalp(i) | evalsigne(1);
                                                    ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1606:11: note: in expansion of macro 'signe'
      if (!signe(x))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1607:39: note: in expansion of macro 'evalvarn'
               y[1] = evalvalp(ly-2) | evalvarn(vy);
                                       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1609:15: note: in expansion of macro 'evalsigne'
        y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1609:44: note: in expansion of macro 'evalvarn'
        y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
                                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1636:7: note: in expansion of macro 'signe'
  if (!signe(x))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1637:35: note: in expansion of macro 'evalvarn'
           y[1] = evalvalp(ly-2) | evalvarn(vy);
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1639:11: note: in expansion of macro 'evalsigne'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1639:40: note: in expansion of macro 'evalvarn'
    y[1] = evalsigne(1) | evalvalp(0) | evalvarn(vy);
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'co8':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1697:7: note: in expansion of macro 'signe'
   if (signe(p1) > 0)
       ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'cvtop':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1718:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1721:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1745:14: note: in expansion of macro 'typ'
       switch(typ(p2))
              ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gcvtop':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1770:17: note: in expansion of macro 'typ'
   long i,lx, tx=typ(x);
                 ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gexpo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1804:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,e,i,y,av;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1812:12: note: in expansion of macro 'signe'
       if (!signe(x[1])) return -HIGHEXPOBIT;
            ^~~~~
../pari-2.1.7/src/basemath/gen2.c:1812:32: warning: overflow in implicit constant conversion [-Woverflow]
       if (!signe(x[1])) return -HIGHEXPOBIT;
                                ^
../pari-2.1.7/src/basemath/gen2.c:1827:11: warning: overflow in implicit constant conversion [-Woverflow]
       y = -HIGHEXPOBIT;
           ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen2.c:22:
../pari-2.1.7/src/basemath/gen2.c: In function 'normalize':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1850:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_SER) err(typeer,"normalize");
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1851:16: note: in expansion of macro 'setsigne'
   if (lx==2) { setsigne(x,0); avma = (long) x; return x; }
                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1852:35: note: in expansion of macro 'setsigne'
   if (! isexactzero((GEN)x[2])) { setsigne(x,1); return x; }
                                   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1859:15: note: in expansion of macro 'evalsigne'
       p1[1] = evalsigne(1) | evalvalp(valp(x)+i-2) | evalvarn(varn(x));
               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:1859:54: note: in expansion of macro 'evalvarn'
       p1[1] = evalsigne(1) | evalvalp(valp(x)+i-2) | evalvarn(varn(x));
                                                      ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'normalizepol_i':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1874:32: note: in expansion of macro 'setsigne'
     if (! gcmp0((GEN)x[i]) ) { setsigne(x,1); return x; }
                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1875:3: note: in expansion of macro 'setsigne'
   setsigne(x,0); return x;
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'normalizepol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1882:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(typeer,"normalizepol");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gsigne':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1889:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1892:14: note: in expansion of macro 'signe'
       return signe(x);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:15: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:32: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1895:47: note: in expansion of macro 'signe'
       return (signe(x[2])>0) ? signe(x[1]) : -signe(x[1]);
                                               ^~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gsqr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:1906:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j,k,l,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen2.c:1941:35: note: in expansion of macro 'signe'
  i = (egalii((GEN)x[2], gdeux) && signe(x[4]))? 1: 0;
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen2.c:1942:18: note: in expansion of macro 'precp'
         if (i && precp(x) == 1) i = 2; /* (1 + O(2))^2 = 1 + O(2^3) */
                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen2.c:1943:26: note: in expansion of macro 'precp'
         z[1] = evalprecp(precp(x)+i) | evalvalp(2*valp(x));
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:1943:16: note: in expansion of macro 'evalprecp'
         z[1] = evalprecp(precp(x)+i) | evalvalp(2*valp(x));
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c:1995:7: note: in expansion of macro 'setvarn'
       setvarn(z, vx); return z;
       ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen2.c:2001:14: note: in expansion of macro 'evalsigne'
       z[1] = evalsigne(1) | evalvalp(2*valp(x)) | evalvarn(varn(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:2001:51: note: in expansion of macro 'evalvarn'
       z[1] = evalsigne(1) | evalvalp(2*valp(x)) | evalvarn(varn(x));
                                                   ^~~~~~~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listkill':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2079:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listkill");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listput':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2091:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listput");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listinsert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2109:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_LIST) err(typeer,"listinsert");
       ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'gtolist':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2126:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listconcat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2148:7: note: in expansion of macro 'typ'
   if (typ(list1)!=t_LIST || typ(list2)!=t_LIST)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2148:29: note: in expansion of macro 'typ'
   if (typ(list1)!=t_LIST || typ(list2)!=t_LIST)
                             ^~~
../pari-2.1.7/src/basemath/gen2.c: In function 'listsort':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen2.c:2163:7: note: in expansion of macro 'typ'
   if (typ(list) != t_LIST) err(typeer,"listsort");
       ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen2.c:2165:12: note: in expansion of macro 'evaltyp'
   vec[0] = evaltyp(t_VEC) | evallg(lx);
            ^~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o sumiter.o ../pari-2.1.7/src/language/sumiter.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
../pari-2.1.7/src/language/sumiter.c: In function 'forstep':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:52:24: note: in definition of macro 'is_vec_t'
 #define is_vec_t(t) ( (t) == t_VEC || (t) == t_COL )
                        ^
../pari-2.1.7/src/language/sumiter.c:67:16: note: in expansion of macro 'typ'
   if (is_vec_t(typ(s)))
                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:52:40: note: in definition of macro 'is_vec_t'
 #define is_vec_t(t) ( (t) == t_VEC || (t) == t_COL )
                                        ^
../pari-2.1.7/src/language/sumiter.c:67:16: note: in expansion of macro 'typ'
   if (is_vec_t(typ(s)))
                ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/sumiter.c:21:
../pari-2.1.7/src/language/sumiter.c: In function 'update_p':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:118:7: note: in expansion of macro 'typ'
   if (typ(z) == t_INT) a = 1; else { z = gceil(z); a = 0; }
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prime_loop_init':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:138:7: note: in expansion of macro 'typ'
   if (typ(ga) != t_INT || typ(gb) != t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:138:27: note: in expansion of macro 'typ'
   if (typ(ga) != t_INT || typ(gb) != t_INT)
                           ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'forprime':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:156:19: note: in expansion of macro 'evaltyp'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                   ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:156:47: note: in expansion of macro 'evalsigne'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                               ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'forvec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:269:27: note: in expansion of macro 'typ'
   long i, av = avma, tx = typ(x), n = fv_n, fl = fv_fl;
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:288:12: note: in expansion of macro 'typ'
       tx = typ(c);
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:293:11: note: in expansion of macro 'typ'
       if (typ(c[1]) != t_INT) fv_fun = fvloop;
           ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'somme':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:320:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sum");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'suminf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:349:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in suminf");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'produit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:430:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sum");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodinf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:471:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in prodinf");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodinf1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:498:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in prodinf1");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'prodeuler':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:522:19: note: in expansion of macro 'evaltyp'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                   ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:522:47: note: in expansion of macro 'evalsigne'
   long prime[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                               ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'direulerall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:565:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(c) != t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:565:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(c) != t_INT)
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:583:10: note: in expansion of macro 'typ'
     tx = typ(polnum);
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:608:8: note: in expansion of macro 'typ'
     tx=typ(polden);
        ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'vecteur':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:660:13: note: in expansion of macro 'evaltyp'
   long c[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:660:41: note: in expansion of macro 'evalsigne'
   long c[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:662:7: note: in expansion of macro 'typ'
   if (typ(nmax)!=t_INT || signe(nmax) < 0)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:662:27: note: in expansion of macro 'signe'
   if (typ(nmax)!=t_INT || signe(nmax) < 0)
                           ^~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'vvecteur':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/language/sumiter.c:684:3: note: in expansion of macro 'settyp'
   settyp(y,t_COL); return y;
   ^~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'matrice':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:692:14: note: in expansion of macro 'evaltyp'
   long c1[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
              ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:692:42: note: in expansion of macro 'evalsigne'
   long c1[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/language/sumiter.c:693:14: note: in expansion of macro 'evaltyp'
   long c2[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
              ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:693:42: note: in expansion of macro 'evalsigne'
   long c2[]={evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 1};
                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:695:5: note: in expansion of macro 'signe'
   s=signe(ncol);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:696:7: note: in expansion of macro 'typ'
   if (typ(ncol)!=t_INT || s<0) err(talker,"bad number of columns in matrix");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:699:5: note: in expansion of macro 'signe'
   s=signe(nlig);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:700:7: note: in expansion of macro 'typ'
   if (typ(nlig)!=t_INT || s<0) err(talker,"bad number of rows in matrix");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumalt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:769:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumalt");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumalt2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:794:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumalt");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumpos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:818:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumpos");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'sumpos2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/sumiter.c:862:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(talker,"non integral index in sumpos2");
       ^~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromb':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:942:25: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig=signe(qlint);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:944:16: note: in expansion of macro 'setsigne'
   if (sig<0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromo':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:990:25: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig=signe(qlint);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:992:16: note: in expansion of macro 'setsigne'
   if (sig<0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'qromi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/sumiter.c:1042:27: note: in expansion of macro 'signe'
   qlint=subrr(b,a); sig= -signe(qlint);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/sumiter.c:1044:16: note: in expansion of macro 'setsigne'
   if (sig>0) { setsigne(qlint,1); s=a; a=b; b=s; }
                ^~~~~~~~
../pari-2.1.7/src/language/sumiter.c: In function 'polzagreel':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:1174:29: note: in expansion of macro 'evalsigne'
   h=cgetg(d1+3,t_POL); h[1]=evalsigne(1)+evallgef(d1+3);
                             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/language/sumiter.c:1182:32: note: in expansion of macro 'evalsigne'
       h=cgetg(n+3,t_POL); h[1]=evalsigne(1)+evallgef(n+3);
                                ^~~~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o gen3.o ../pari-2.1.7/src/basemath/gen3.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gvar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:33:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,v,w;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gvar2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:46:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,v,w;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gpolvar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:72:7: note: in expansion of macro 'typ'
   if (typ(x)==t_PADIC) x = (GEN)x[2];
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'precision':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:91:11: note: in expansion of macro 'typ'
   long tx=typ(x),k,l;
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gprecision':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:111:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),i,k,l;
           ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:118:9: note: in expansion of macro 'VERYBIGINT'
       k=VERYBIGINT;
         ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/basemath/gen3.c: In function 'padicprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:156:26: note: in expansion of macro 'typ'
   long i,s,t,lx=lg(x),tx=typ(x);
                          ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:161:14: note: in expansion of macro 'VERYBIGINT'
       return VERYBIGINT;
              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/gen3.c:169:14: note: in expansion of macro 'precp'
       return precp(x)+valp(x);
              ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/gen3.c:176:14: note: in expansion of macro 'VERYBIGINT'
       for (s=VERYBIGINT, i=lontyp[tx]; i<lx; i++)
              ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/basemath/gen3.c: In function 'poldegree':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:193:11: note: in expansion of macro 'typ'
   long tx=typ(x), av, w, d;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:201:25: note: in expansion of macro 'signe'
       if (v < w) return signe(x)? 0: -1;
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'pollead':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:226:15: note: in expansion of macro 'typ'
   long l,tx = typ(x),av,tetpil,w;
               ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:248:37: note: in expansion of macro 'signe'
       if (v < 0 || v == w) return (!signe(x))? gzero: gcopy((GEN)x[2]);
                                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:253:12: note: in expansion of macro 'signe'
       if (!signe(x)) { avma = av; return gzero;}
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'isinexactreal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:265:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:275:17: note: in expansion of macro 'typ'
         return (typ(x[1])==t_REAL || typ(x[2])==t_REAL);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:275:38: note: in expansion of macro 'typ'
         return (typ(x[1])==t_REAL || typ(x[2])==t_REAL);
                                      ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'isexactzero':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:298:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:301:15: note: in expansion of macro 'signe'
       return !signe(g);
               ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'iscomplex':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:328:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:335:14: note: in expansion of macro 'signe'
       return signe(mael(x,1,2)) > 0;
              ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ismonome':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:345:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL || !signe(x)) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:345:25: note: in expansion of macro 'signe'
   if (typ(x)!=t_POL || !signe(x)) return 0;
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmulsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:369:11: note: in expansion of macro 'typ'
   long ty=typ(y),ly=lg(y),i,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:426:18: note: in expansion of macro 'signe'
       if (!s || !signe(y)) return zeropol(varn(y));
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivgs':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:479:27: note: in expansion of macro 'evaltyp'
   static long court[] = { evaltyp(t_INT) | m_evallg(3),0,0 };
                           ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:480:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),i,av;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:500:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:517:7: note: in expansion of macro 'fix_frac'
       fix_frac(z);
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:356:25: note: in expansion of macro 'signe'
 #define fix_frac(z) if (signe(z[2])<0)\
                         ^~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:18: note: in expansion of macro 'signe'
   setsigne(z[1],-signe(z[1]));\
                  ^~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:358:3: note: in expansion of macro 'setsigne'
   setsigne(z[1],-signe(z[1]));\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:359:3: note: in expansion of macro 'setsigne'
   setsigne(z[2],1);\
   ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:523:7: note: in expansion of macro 'fix_frac'
       fix_frac(z); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:551:11: note: in expansion of macro 'typ'
       if (typ(p1) == t_INT)
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:596:24: note: in expansion of macro 'typ'
   long av,tetpil,i, tx=typ(x), ty = typ(y);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:596:37: note: in expansion of macro 'typ'
   long av,tetpil,i, tx=typ(x), ty = typ(y);
                                     ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:629:24: note: in expansion of macro 'evaltyp'
           long p1[] = {evaltyp(t_INTMOD)|m_evallg(3),0,0};
                        ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulsg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:693:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:701:23: note: in expansion of macro 'typ'
   err(operf,"%",t_INT,typ(y)); return NULL; /* not reached */
                       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:723:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:732:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:737:12: note: in expansion of macro 'signe'
       if (!signe(y)) err(talker,"zero modulus in gmodulo");
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:738:22: note: in expansion of macro 'setsigne'
       y = gclone(y); setsigne(y,1);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:748:20: note: in expansion of macro 'typ'
   err(operf,"%",tx,typ(y)); return NULL; /* not reached */
                    ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmodulcp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:754:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:763:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:781:20: note: in expansion of macro 'typ'
   err(operf,"%",tx,typ(y)); return NULL; /* not reached */
                    ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivent':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:806:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:806:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdiventres':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:823:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:823:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:849:14: note: in expansion of macro 'typ'
   long ty,tx=typ(x);
              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:853:8: note: in expansion of macro 'typ'
     ty=typ(y);
        ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gdivround':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:869:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:869:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:884:19: note: in expansion of macro 'signe'
         long sz = signe(x)*signe(y);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:884:28: note: in expansion of macro 'signe'
         long sz = signe(x)*signe(y);
                            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gshift':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:909:21: note: in expansion of macro 'typ'
   long i,l,lx, tx = typ(x);
                     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gmul2n':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:937:6: note: in expansion of macro 'typ'
   tx=typ(x);
      ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:942:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gzero;
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ginv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1029:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,tetpil,s;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1036:12: note: in expansion of macro 'signe'
       if (!signe(x)) err(gdiver2);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1038:15: note: in expansion of macro 'signe'
       z[1] = (signe(x)<0)? lnegi(gun): un;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1049:11: note: in expansion of macro 'signe'
       s = signe(x[1]);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1058:2: note: in expansion of macro 'setsigne'
  setsigne(z[1],-signe(z[1]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1058:17: note: in expansion of macro 'signe'
  setsigne(z[1],-signe(z[1]));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1058:2: note: in expansion of macro 'setsigne'
  setsigne(z[1],-signe(z[1]));
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1059:2: note: in expansion of macro 'setsigne'
  setsigne(z[2],1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1068:12: note: in expansion of macro 'signe'
       if (!signe(x[4])) err(gdiver2);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1069:24: note: in expansion of macro 'precp'
       z[1] = evalprecp(precp(x)) | evalvalp(-valp(x));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1069:14: note: in expansion of macro 'evalprecp'
       z[1] = evalprecp(precp(x)) | evalvalp(-valp(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1092:9: note: in expansion of macro 'signe'
       l=signe(x[2]); setsigne(x[2],-l);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1092:22: note: in expansion of macro 'setsigne'
       l=signe(x[2]); setsigne(x[2],-l);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1093:9: note: in expansion of macro 'signe'
       k=signe(x[4]); setsigne(x[4],-k); z=redreal(x);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1093:22: note: in expansion of macro 'setsigne'
       k=signe(x[4]); setsigne(x[4],-k); z=redreal(x);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1094:7: note: in expansion of macro 'setsigne'
       setsigne(x[2],l); setsigne(x[4],k); return z;
       ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1094:25: note: in expansion of macro 'setsigne'
       setsigne(x[2],l); setsigne(x[4],k); return z;
                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/gen3.c:1099:2: note: in expansion of macro 'setsigne'
  setsigne(y[2],-signe(y[2]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1099:17: note: in expansion of macro 'signe'
  setsigne(y[2],-signe(y[2]));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1099:2: note: in expansion of macro 'setsigne'
  setsigne(y[2],-signe(y[2]));
  ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gconvsp':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1122:28: note: in expansion of macro 'settyp'
   av=avma; y=dummycopy(x); settyp(y,t_POL);
                            ^~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gsubst':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1133:13: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx = lg(x), ly = lg(y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1133:26: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y), lx = lg(x), ly = lg(y);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1155:9: note: in expansion of macro 'typ'
     if (typ(p1)!=t_POL)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1197:14: note: in expansion of macro 'signe'
         if (!signe(x)) return gcopy(x);
              ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'recip':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1298:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_SER) err(talker,"not a series in serreverse");
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1311:19: note: in expansion of macro 'evalsigne'
     u[1] = y[1] = evalsigne(1) | evalvalp(1) | evalvarn(v);
                   ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1311:48: note: in expansion of macro 'evalvarn'
     u[1] = y[1] = evalsigne(1) | evalvalp(1) | evalvarn(v);
                                                ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'derivser':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1376:31: note: in expansion of macro 'evalsigne'
     y=cgetg(lx,t_SER); y[1] = evalsigne(1) | evalvalp(e-1) | evalvarn(vx);
                               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1376:62: note: in expansion of macro 'evalvarn'
     y=cgetg(lx,t_SER); y[1] = evalsigne(1) | evalvalp(e-1) | evalvarn(vx);
                                                              ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1384:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(i-3) | evalvarn(vx);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1384:39: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(i-3) | evalvarn(vx);
                                       ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'deriv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1395:6: note: in expansion of macro 'typ'
   tx=typ(x); if (is_const_t(tx)) return gzero;
      ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1411:16: note: in expansion of macro 'evalvarn'
         y[1] = evalvarn(vx);
                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1420:14: note: in expansion of macro 'signe'
         if (!signe(x)) return gcopy(x);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1430:16: note: in expansion of macro 'evalsigne'
         y[1] = evalsigne(1) | evalvalp(e+i-2) | evalvarn(vx);
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1430:49: note: in expansion of macro 'evalvarn'
         y[1] = evalsigne(1) | evalvalp(e+i-2) | evalvarn(vx);
                                                 ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'integ':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1475:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1486:30: note: in expansion of macro 'evalsigne'
     y=cgetg(4,t_POL); y[1] = evalsigne(1) | evallgef(4) | evalvarn(v);
                              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1486:59: note: in expansion of macro 'evalvarn'
     y=cgetg(4,t_POL); y[1] = evalsigne(1) | evallgef(4) | evalvarn(v);
                                                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1498:9: note: in expansion of macro 'signe'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1498:33: note: in expansion of macro 'evalvarn'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1498:47: note: in expansion of macro 'evalsigne'
  y[1] = signe(x)? evallgef(4) | evalvarn(v) | evalsigne(1)
                                               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1499:33: note: in expansion of macro 'evalvarn'
                 : evallgef(4) | evalvarn(v);
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1506:14: note: in expansion of macro 'signe'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1506:41: note: in expansion of macro 'evalvarn'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
                                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1506:55: note: in expansion of macro 'evalsigne'
       y[1] = signe(x)? evallgef(lx+1) | evalvarn(v) | evalsigne(1)
                                                       ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1507:41: note: in expansion of macro 'evalvarn'
                      : evallgef(lx+1) | evalvarn(v);
                                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1512:12: note: in expansion of macro 'signe'
       if (!signe(x))
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1520:30: note: in expansion of macro 'evalvarn'
         y[1] = evallgef(4) | evalvarn(v) | evalsigne(1);
                              ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1520:44: note: in expansion of macro 'evalsigne'
         y[1] = evallgef(4) | evalvarn(v) | evalsigne(1);
                                            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1542:9: note: in expansion of macro 'signe'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1542:36: note: in expansion of macro 'evalvarn'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1542:50: note: in expansion of macro 'evalsigne'
  y[1] = signe(x[1])? evallgef(4) | evalvarn(v) | evalsigne(1)
                                                  ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1543:36: note: in expansion of macro 'evalvarn'
                    : evallgef(4) | evalvarn(v);
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1556:12: note: in expansion of macro 'typ'
       tx = typ(x[1]); i = is_scalar_t(tx)? 0: lgef(x[1])-3;
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1557:12: note: in expansion of macro 'typ'
       tx = typ(x[2]); j = is_scalar_t(tx)? 0: lgef(x[2])-3;
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1561:11: note: in expansion of macro 'typ'
       if (typ(y)==t_RFRAC && lgef(y[1]) == lgef(y[2]))
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1564:5: note: in expansion of macro 'typ'
  tx=typ(y[1]); p1=is_scalar_t(tx)? (GEN)y[1]: leading_term(y[1]);
     ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1565:5: note: in expansion of macro 'typ'
  tx=typ(y[2]); p2=is_scalar_t(tx)? (GEN)y[2]: leading_term(y[2]);
     ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gfloor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1589:19: note: in expansion of macro 'typ'
   long i,lx, tx = typ(x);
                   ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gceil':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1627:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x),av,tetpil;
                ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'ground':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1674:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x),av,tetpil;
                ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1683:20: note: in expansion of macro 'signe'
       long ex, s = signe(x);
                    ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'grndtoi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1718:13: note: in expansion of macro 'typ'
   long i,tx=typ(x), lx,av,ex,e1;
             ^~~
../pari-2.1.7/src/basemath/gen3.c:1720:8: warning: overflow in implicit constant conversion [-Woverflow]
   *e = -HIGHEXPOBIT;
        ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1731:6: note: in expansion of macro 'signe'
  if (signe(p1)>=0) { *e=expo(x); avma=av; return gzero; }
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1735:7: note: in expansion of macro 'settyp'
       settyp(p1,t_INT); setlgefint(p1,lx);
       ^~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1736:28: note: in expansion of macro 'signe'
       y=shifti(p1,e1); if (signe(x)<0) y=addsi(-1,y);
                            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gcvtoi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1766:11: note: in expansion of macro 'typ'
   long tx=typ(x), lx,i,ex,av,e1;
           ^~~
../pari-2.1.7/src/basemath/gen3.c:1769:8: warning: overflow in implicit constant conversion [-Woverflow]
   *e = -HIGHEXPOBIT;
        ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/gen3.c:22:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1775:23: note: in expansion of macro 'settyp'
     x0=x[0]; x1=x[1]; settyp(x,t_INT); setlgefint(x,lx);
                       ^~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtrunc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1796:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,tetpil,i,v;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:1811:12: note: in expansion of macro 'signe'
       if (!signe(x[4])) return gzero;
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'zeropol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1860:24: note: in expansion of macro 'evalvarn'
   x[1] = evallgef(2) | evalvarn(v); return x;
                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'coefs_to_pol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1872:26: note: in expansion of macro 'evalvarn'
   x[1] = evallgef(n+2) | evalvarn(0);
                          ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'scalarpol':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1881:34: note: in expansion of macro 'evalvarn'
   y[1] = gcmp0(x)? evallgef(3) | evalvarn(v)
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1882:34: note: in expansion of macro 'evalvarn'
                  : evallgef(3) | evalvarn(v) | evalsigne(1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1882:48: note: in expansion of macro 'evalsigne'
                  : evallgef(3) | evalvarn(v) | evalsigne(1);
                                                ^~~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'deg1pol':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1891:10: note: in expansion of macro 'evalsigne'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1891:25: note: in expansion of macro 'evalvarn'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtopoly0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1898:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1911:11: note: in expansion of macro 'typ'
       if (typ(y) != t_POL)
           ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1922:43: note: in expansion of macro 'evalsigne'
  y[1]=evallgef(i); if (!gcmp0(x)) y[1] |= evalsigne(1);
                                           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1929:43: note: in expansion of macro 'evalsigne'
  y[1]=evallgef(i); if (!gcmp0(x)) y[1] |= evalsigne(1);
                                           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1937:3: note: in expansion of macro 'setvarn'
   setvarn(y,v); return y;
   ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'zeroser':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1950:24: note: in expansion of macro 'evalvarn'
   x[1]=evalvalp(val) | evalvarn(v); return x;
                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'scalarser':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1959:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvalp(0) | evalvarn(v);
        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1959:37: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvalp(0) | evalvarn(v);
                                     ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtoser':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:1967:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,j,l,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c:1971:32: note: in expansion of macro 'setvarn'
   if (tx==t_SER) { y=gcopy(x); setvarn(y,v); return y; }
                                ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1981:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(i-2) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1981:45: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(i-2) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:1993:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(i-1) | evalvarn(v);
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:1993:45: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(i-1) | evalvarn(v);
                                             ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gtovec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2010:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2040:8: note: in expansion of macro 'signe'
   if (!signe(x)) { y=cgetg(2,t_VEC); y[1]=zero; return y; }
        ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'compo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2049:13: note: in expansion of macro 'typ'
   long l,tx=typ(x);
             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2052:21: note: in expansion of macro 'signe'
   if (tx==t_SER && !signe(x)) return gzero;
                     ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'polcoeff0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2067:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,ex,w,av,tetpil;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2087:11: note: in expansion of macro 'typ'
       if (typ(x) == t_POL)
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2100:7: note: in expansion of macro 'signe'
  if (!signe(x)) return gzero;
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2110:11: note: in expansion of macro 'typ'
       if (typ(x) == t_SER)
           ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'denom':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2143:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'numer':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2189:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2196:15: note: in expansion of macro 'signe'
       return (signe(x[2])>0)? gcopy((GEN)x[1]): gneg((GEN)x[1]);
               ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'lift0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2219:14: note: in expansion of macro 'typ'
   long lx,tx=typ(x),i;
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2237:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'lift_intern0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2273:16: note: in expansion of macro 'typ'
   long i,lx,tx=typ(x);
                ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2289:22: note: in expansion of macro 'signe'
     case t_SER: if (!signe(x)) return x; /* fall through */
                      ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'centerlift0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2305:14: note: in expansion of macro 'typ'
   long lx,tx=typ(x),i,av;
              ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2324:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'op_ReIm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2361:24: note: in expansion of macro 'typ'
   long lx,i,j,av, tx = typ(x);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/gen3.c:2372:29: note: in expansion of macro 'evalsigne'
       z=cgetg(i+1,tx); z[1]=evalsigne(1)|evallgef(1+i)|evalvarn(varn(x));
                             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/gen3.c:2372:56: note: in expansion of macro 'evalvarn'
       z=cgetg(i+1,tx); z[1]=evalsigne(1)|evallgef(1+i)|evalvarn(varn(x));
                                                        ^~~~~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'greal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2408:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2425:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'geval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2488:29: note: in expansion of macro 'typ'
   long av,tetpil,lx,i, tx = typ(x);
                             ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'simplify_i':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2538:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,lx;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2566:11: note: in expansion of macro 'typ'
       i = typ(y[1]);
           ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/gen3.c:2569:25: note: in expansion of macro 'settyp'
         if (i == t_INT) settyp(y, t_INTMOD);
                         ^~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/gen3.c:2582:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gcopy(x);
            ^~~~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qfeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2676:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2680:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2682:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qfbeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2762:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1 || lg(y) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2766:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2768:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n || typ(y) != t_COL || lg(y) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2768:40: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n || typ(y) != t_COL || lg(y) != n)
                                        ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'qf_base_change':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2788:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || k != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2792:7: note: in expansion of macro 'typ'
   if (typ(M) != t_MAT || k == 1 || lg(M[1]) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'gram_matrix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2815:9: note: in expansion of macro 'typ'
     if (typ(M) != t_MAT)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2819:7: note: in expansion of macro 'typ'
   if (typ(M) != t_MAT || lg(M[1]) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'mul_real':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2848:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2850:9: note: in expansion of macro 'typ'
     if (typ(y) == t_COMPLEX)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2859:12: note: in expansion of macro 'typ'
   else if (typ(y) == t_COMPLEX) y = (GEN)y[1];
            ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'hqfeval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2911:9: note: in expansion of macro 'typ'
     if (typ(q) != t_MAT || lg(x) != 1)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2915:7: note: in expansion of macro 'typ'
   if (typ(q) != t_MAT || lg(q[1]) != n)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2917:7: note: in expansion of macro 'typ'
   if (typ(x) != t_COL || lg(x) != n)
       ^~~
../pari-2.1.7/src/basemath/gen3.c: In function 'poleval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2926:30: note: in expansion of macro 'typ'
   long av,tetpil,i,j,imin,tx=typ(x);
                              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/gen3.c:2949:7: note: in expansion of macro 'typ'
   if (typ(y)!=t_COMPLEX)
       ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base5.o ../pari-2.1.7/src/basemath/base5.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'matbasistoalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:31:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT)
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'matalgtobasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:50:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT)
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfinitalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:117:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(notpoler,"rnfinitalg");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:125:9: note: in expansion of macro 'typ'
     tp1=typ(p1);
         ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:56:26: note: in definition of macro 'is_const_t'
 #define is_const_t(tx) ((tx) < t_POLMOD)
                          ^~
../pari-2.1.7/src/basemath/base5.c:132:24: note: in expansion of macro 'typ'
       if (! is_const_t(typ(p1)))
                        ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base5.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base5.c:188:9: note: in expansion of macro 'mpodd'
     if (mpodd((GEN)fac2[i])) err(bugparier,"rnfinitalg (odd exponent)");
         ^~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfbasistoalg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:240:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),av=avma,tetpil,i,n;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:252:6: note: in expansion of macro 'typ'
  if (typ(x[i])==t_COL) p1[i]=(long)basistoalg(nf,(GEN)x[i]);
      ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'lift_to_pol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:279:11: note: in expansion of macro 'typ'
   return (typ(y) != t_POL)? gtopoly(y,varn(x[1])): y;
           ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfalgtobasis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:285:26: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx=typ(x),lx=lg(x),i,N;
                          ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementreltoabs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:316:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x); va=varn((GEN)rnf[1]);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:329:40: note: in expansion of macro 'evalvarn'
  if (gcmp0(x)) {x=cgetg(2,t_POL); x[1]=evalvarn(va) | evallgef(2);}
                                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:332:29: note: in expansion of macro 'evalvarn'
    p1=cgetg(3,t_POL); p1[1]=evalvarn(va) | evallgef(3) | evalsigne(1);
                             ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:332:58: note: in expansion of macro 'evalsigne'
    p1=cgetg(3,t_POL); p1[1]=evalvarn(va) | evallgef(3) | evalsigne(1);
                                                          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:337:11: note: in expansion of macro 'typ'
       if (typ(alpha) == t_INT)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:344:20: note: in expansion of macro 'typ'
  p3=(GEN)x[i]; tp3=typ(p3);
                    ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementabstorel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:371:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementup':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:400:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfelementdown':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:424:21: note: in expansion of macro 'typ'
   checkrnf(rnf); tx=typ(x); lx=lg(x);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:438:11: note: in expansion of macro 'typ'
       if (typ(p1)==t_POLMOD && varn(p1[1])==varn(rnf[1])) p1=(GEN)p1[2];
           ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfprincipaltohermite':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base5.c:466:3: note: in expansion of macro 'settyp'
   settyp(p1,t_MAT); z[1]=(long)matalgtobasis(nf,p1);
   ^~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfidealhermite':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:475:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx=lg(x),av=avma,tetpil,i,j,n,m;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:502:8: note: in expansion of macro 'typ'
    if (typ(x1)!=t_MAT || lg(x1) < n+1 || lg(x1[1]) != n+1)
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:510:20: note: in expansion of macro 'typ'
               tx = typ(x1j[i]);
                    ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:524:8: note: in expansion of macro 'typ'
    if (typ(x2)!=t_VEC || lg(x2)!=lg(x1))
        ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'rnfidealabstorel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:615:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT || lg(x)!=(n*m+1) || lg(x[1])!=(n*m+1))
       ^~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfmulscal':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:727:42: note: in expansion of macro 'evalvarn'
     z=cgetg(2,t_POL); z[1]=evallgef(2) | evalvarn(varn(x));
                                          ^~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfmul':
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:743:42: note: in expansion of macro 'evalvarn'
     z=cgetg(2,t_POL); z[1]=evallgef(2) | evalvarn(varn(x));
                                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:750:27: note: in expansion of macro 'evalvarn'
   z[1] = evallgef(lz+3) | evalvarn(x) | evalsigne(1);
                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:750:41: note: in expansion of macro 'evalsigne'
   z[1] = evallgef(lz+3) | evalvarn(x) | evalsigne(1);
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfdeuc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:777:8: note: in expansion of macro 'typ'
     tx=typ(x[i]);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:783:8: note: in expansion of macro 'typ'
     tx=typ(y[i]);
        ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:789:42: note: in expansion of macro 'evalvarn'
   z=cgetg(lz,t_POL); z[1]=evallgef(lz) | evalvarn(x) | evalsigne(1);
                                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:789:56: note: in expansion of macro 'evalsigne'
   z=cgetg(lz,t_POL); z[1]=evallgef(lz) | evalvarn(x) | evalsigne(1);
                                                        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:809:28: note: in expansion of macro 'evalvarn'
       r[1] = evallgef(d) | evalvarn(varn(x)) | evalsigne(1);
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:809:48: note: in expansion of macro 'evalsigne'
       r[1] = evallgef(d) | evalvarn(varn(x)) | evalsigne(1);
                                                ^~~~~~~~~
../pari-2.1.7/src/basemath/base5.c: In function 'polnfpow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base5.c:827:7: note: in expansion of macro 'typ'
   if (typ(k)!=t_INT) err(talker,"not an integer exponent in nfpow");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base5.c:828:5: note: in expansion of macro 'signe'
   s=signe(k); if (s<0) err(impl,"polnfpow for negative exponents");
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base5.c:831:24: note: in expansion of macro 'evalvarn'
   y[1] = evallgef(3) | evalvarn(varn(x)) | evalsigne(1);
                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/base5.c:831:44: note: in expansion of macro 'evalsigne'
   y[1] = evallgef(3) | evalvarn(varn(x)) | evalsigne(1);
                                            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base5.c:835:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=polnfmul(nf,z,y);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base5.c:837:10: note: in expansion of macro 'signe'
     if (!signe(k)) { cgiv(k); return gerepileupto(av,y); }
          ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o ifactor1.o ../pari-2.1.7/src/basemath/ifactor1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/ifactor1.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'init_miller':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:36:7: note: in expansion of macro 'signe'
   if (signe(n) < 0) n = absi(n);
       ^~~~~
../pari-2.1.7/src/headers/parigen.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/ifactor1.c:38:32: note: in expansion of macro 'evalsigne'
   sqrt1=cgeti(lg(t)); sqrt1[1]=evalsigne(0)|evallgefint(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/ifactor1.c:39:32: note: in expansion of macro 'evalsigne'
   sqrt2=cgeti(lg(t)); sqrt2[1]=evalsigne(0)|evallgefint(2);
                                ^~~~~~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'bad_for_base':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:68:9: note: in expansion of macro 'signe'
     if (signe(sqrt1))  /* we saw one earlier: compare */
         ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'millerrabin':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:84:8: note: in expansion of macro 'signe'
   if (!signe(n)) return 0;
        ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'plisprime':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:226:8: note: in expansion of macro 'typ'
   if ( typ(N) != t_INT ) err(arither1);
        ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'nextprime':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:316:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) n=gceil(n); /* accept arguments in R --GN */
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:317:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:318:7: note: in expansion of macro 'signe'
   if (signe(n) <= 0) { avma=av; return gdeux; }
       ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'precprime':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:357:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) n=gfloor(n); /* accept arguments in R --GN */
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:358:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:359:7: note: in expansion of macro 'signe'
   if (signe(n)<=0) { avma=av; return gzero; }
       ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'snextpr':
../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/ifactor1.c:411:7: note: in expansion of macro 'evaltyp'
     { 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/ifactor1.c:411:35: note: in expansion of macro 'evalsigne'
     { evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0 };
                                   ^~~~~~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'elldouble':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:712:9: note: in expansion of macro 'signe'
     if (signe(lambda))  /* half of zero is still zero */
         ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ellfacteur':
../pari-2.1.7/src/basemath/ifactor1.c:1014:59: warning: large integer implicitly truncated to unsigned type [-Woverflow]
       2221009800UL,2692906700UL,3265067200UL,3958794400UL,4799917500UL,
                                                           ^~~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/ifactor1.c:21:
../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/ifactor1.c:1159:28: note: in expansion of macro 'evaltyp'
     long tw = evallg(tf) | evaltyp(t_INT);
                            ^~~~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'is_odd_power':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:2498:7: note: in expansion of macro 'signe'
   if (signe(x) < 0) x=absi(x);
       ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_start':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:2969:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(typeer, "ifac_start");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:2970:7: note: in expansion of macro 'signe'
   if (signe(n) == 0)
       ^~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_find':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3011:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != t_VEC)
                      ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_realloc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3080:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != t_VEC)
                      ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_sort_one':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3152:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != t_VEC)
                      ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_whoiswho':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3285:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != t_VEC)
                      ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_divide':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3353:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != t_VEC)
                      ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_crack':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3449:22: note: in expansion of macro 'typ'
     if (!*partial || typ(*partial) != 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/ifactor1.c:3457:23: note: in expansion of macro 'typ'
     if (!(**where) || typ((GEN)(**where)) != 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/ifactor1.c:3610:7: note: in expansion of macro 'typ'
   if (typ(factor) == t_VEC) /* delegate this case */
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/ifactor1.c:3613:12: note: in expansion of macro 'typ'
   else if (typ(factor) != t_INT)
            ^~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_insert_multiplet':
../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/ifactor1.c:3786:13: note: in expansion of macro 'evaltyp'
   *sorted = evaltyp(t_INT) | evallg(nf+1);
             ^~~~~~~
../pari-2.1.7/src/basemath/ifactor1.c: In function 'ifac_decomp_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/ifactor1.c:3977:13: note: in expansion of macro 'typ'
   if (!n || typ(n) != t_INT) err(typeer, "ifac_decomp");
             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/ifactor1.c:3978:8: note: in expansion of macro 'signe'
   if (!signe(n) || tf < 3) err(talker, "factoring 0 in ifac_decomp");
        ^~~~~
../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/ifactor1.c:4004:14: note: in expansion of macro 'evaltyp'
     *pairs = evaltyp(t_INT) | evallg(lf);
              ^~~~~~~
../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/ifactor1.c:4007:14: note: in expansion of macro 'evaltyp'
     *pairs = evaltyp(t_INT) | evallg(3);
              ^~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o trans3.o ../pari-2.1.7/src/basemath/trans3.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/trans3.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'fix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:35:7: note: in expansion of macro 'typ'
   if (typ(x) == t_REAL) return x;
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'kbessel':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:63:7: note: in expansion of macro 'typ'
   if (typ(nu)==t_COMPLEX) return kbessel2(nu,gx,prec);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:64:8: note: in expansion of macro 'typ'
   l = (typ(gx)==t_REAL)? lg(gx): prec;
        ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'hyperu':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:157:8: note: in expansion of macro 'typ'
   l = (typ(gx)==t_REAL)? lg(gx): prec;
        ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'kbessel2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:231:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) prec = lg(x);
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'incgam':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:248:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) { gaffect(x,z); x=z; }
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'incgam1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:279:7: note: in expansion of macro 'typ'
   if (typ(x) != t_REAL) { gaffect(x,z); x=z; }
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'incgam2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:302:7: note: in expansion of macro 'typ'
   if (typ(x) != t_REAL) { gaffect(x,z); x=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/trans3.c:306:7: note: in expansion of macro 'typ'
   i = typ(a);
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'incgam3':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:333:7: note: in expansion of macro 'typ'
   if (typ(x) != t_REAL) { gaffect(x,z); x=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/trans3.c:337:7: note: in expansion of macro 'typ'
   i = typ(s);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:345:7: note: in expansion of macro 'signe'
   if (signe(s) <= 0)
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'incgam4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:369:7: note: in expansion of macro 'typ'
   if (typ(x) != t_REAL) { gaffect(x,z); x=z; }
       ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'eint1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:390:7: note: in expansion of macro 'typ'
   if (typ(x) != t_REAL) { gaffect(x,p1=cgetr(prec)); x = 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/trans3.c:391:7: note: in expansion of macro 'signe'
   if (signe(x) >= 0)
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'veceint1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:462:7: note: in expansion of macro 'signe'
   if (signe(nmax)<=0) return cgetg(1,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/trans3.c:464:7: note: in expansion of macro 'typ'
   if (typ(C) != t_REAL || lg(C) > prec)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:466:7: note: in expansion of macro 'signe'
   if (signe(C) <= 0) err(talker,"negative or zero constant in veceint1");
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'gerfc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:532:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) { p1=cgetr(prec); gaffect(x,p1); x=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/trans3.c:536:7: note: in expansion of macro 'signe'
   if (signe(x) < 0) p1 = subsr(2,p1);
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'czeta':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:554:7: note: in expansion of macro 'typ'
   if (typ(s)==t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:566:7: note: in expansion of macro 'signe'
   if (signe(sig)>0 && expo(sig)>-2) flag1 = 0;
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'izeta':
../pari-2.1.7/src/headers/parigen.h:154: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/trans3.c:710:21: note: in expansion of macro 'setsigne'
       if ((n>>1)&1) setsigne(p1,-signe(p1));
                     ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c:710:34: note: in expansion of macro 'signe'
       if ((n>>1)&1) 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/trans3.c:710:21: note: in expansion of macro 'setsigne'
       if ((n>>1)&1) setsigne(p1,-signe(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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans3.c:731:21: note: in expansion of macro 'setsigne'
     y = addrr(y,z); setsigne(y,-signe(y));
                     ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c:731:33: note: in expansion of macro 'signe'
     y = addrr(y,z); setsigne(y,-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/trans3.c:731:21: note: in expansion of macro 'setsigne'
     y = addrr(y,z); setsigne(y,-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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans3.c:742:21: note: in expansion of macro 'setsigne'
       if ((n>>1)&1) setsigne(p1,-signe(p1));
                     ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c:742:34: note: in expansion of macro 'signe'
       if ((n>>1)&1) 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/trans3.c:742:21: note: in expansion of macro 'setsigne'
       if ((n>>1)&1) setsigne(p1,-signe(p1));
                     ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'gzeta':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:773:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'gpolylog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1018: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/trans3.c:1054:28: note: in expansion of macro 'typ'
       lx=lg(x); y=cgetg(lx,typ(x));
                            ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'qq':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1089:11: note: in expansion of macro 'typ'
   long tx=typ(x);
           ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'inteta':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1113:11: note: in expansion of macro 'typ'
   long tx=typ(q);
           ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'trueeta':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1172:11: note: in expansion of macro 'typ'
   long tx=typ(x), av=avma, tetpil,l;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:1187:9: note: in expansion of macro 'signe'
     if (signe(n)) {x=gsub(x,n); m=gmul(m,powgi(z,n));}
         ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'jell':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1206:28: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx = typ(x);
                            ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'sagm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1280:10: note: in expansion of macro 'typ'
   switch(typ(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/trans3.c:1310:32: note: in expansion of macro 'precp'
       av=avma; a1=x; b1=gun; l=precp(x);
                                ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'agm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1341:22: note: in expansion of macro 'typ'
   long av,tetpil, 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/trans3.c:1346:8: note: in expansion of macro 'typ'
     ty=typ(x);
        ^~~
../pari-2.1.7/src/basemath/trans3.c: In function 'logagm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1361:7: note: in expansion of macro 'typ'
   if (typ(q)!=t_REAL) err(typeer,"logagm");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:1362:7: note: in expansion of macro 'signe'
   if (signe(q)<=0) err(talker,"non positive argument in logagm");
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans3.c:1370:39: note: in expansion of macro 'setsigne'
   tetpil=avma; y=gmul2n(y,-n); if (s) setsigne(y,-1);
                                       ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'glogagm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1380: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/trans3.c:1383:11: note: in expansion of macro 'signe'
       if (signe(x)>=0) return logagm(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/trans3.c:1386:7: note: in expansion of macro 'setsigne'
       setsigne(x,1); y[1]=(long)logagm(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/trans3.c:1387:7: note: in expansion of macro 'setsigne'
       setsigne(x,-1); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'theta':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans3.c:1439:7: note: in expansion of macro 'signe'
   if (signe(k))
       ^~~~~
../pari-2.1.7/src/basemath/trans3.c: In function 'jbesselh':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1480:7: note: in expansion of macro 'typ'
   if (typ(n)!=t_INT) err(talker,"not an integer index in jbesselh");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans3.c:1483:10: note: in expansion of macro 'typ'
   switch(typ(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/trans3.c:1504:28: note: in expansion of macro 'typ'
       lz=lg(z); y=cgetg(lz,typ(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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o buch1.o ../pari-2.1.7/src/basemath/buch1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadclassunit0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:60:9: note: in expansion of macro 'typ'
     if (typ(data)!=t_VEC || lx > 7)
         ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'isoforder2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:84:11: note: in expansion of macro 'signe'
   return !signe(b) || absi_equal(a,b) || egalii(a,c);
           ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'get_pq':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:123:7: note: in expansion of macro 'typ'
   if (typ(flag)==t_VEC)
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadhilbertimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:214:15: note: in expansion of macro 'typ'
   int raw = ((typ(flag)==t_INT && signe(flag)));
               ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:214:35: note: in expansion of macro 'signe'
   int raw = ((typ(flag)==t_INT && signe(flag)));
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:264:11: note: in expansion of macro 'typ'
       if (typ(flag)==t_VEC && !issquarefree(P)) { avma=av; return gzero; }
           ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadhilbert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:279:7: note: in expansion of macro 'typ'
   if (typ(D)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:291:11: note: in expansion of macro 'signe'
   return (signe(D)>0)? quadhilbertreal(D,flag,prec)
           ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'getallelts':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/buch1.c:327:21: note: in expansion of macro 'settyp'
   c = dummycopy(c); settyp(c, t_VECSMALL);
                     ^~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'findbezk':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:365:8: note: in expansion of macro 'signe'
   if (!signe(b)) return a;
        ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'form_to_ideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:383:13: note: in expansion of macro 'typ'
   long tx = typ(x);
             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/buch1.c:390:7: note: in expansion of macro 'mpodd'
   if (mpodd(b)) b = addis(b,1);
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'computeP2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:483:7: note: in expansion of macro 'typ'
   if (typ(la) != t_COL) la = algtobasis(nf,la);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'findquad':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:548:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POLMOD) x = (GEN)x[2];
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:549:7: note: in expansion of macro 'typ'
   if (typ(a) == t_POLMOD) a = (GEN)a[2];
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:551:25: note: in expansion of macro 'typ'
   u = simplify(u); tu = typ(u);
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:552:25: note: in expansion of macro 'typ'
   v = simplify(v); tv = typ(v);
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:557:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL) x = gmodulcp(x,p);
       ^~~
../pari-2.1.7/src/basemath/buch1.c: In function 'isZ':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:610:7: note: in expansion of macro 'signe'
   if (signe(gcoeff(I,1,2)) || !egalii(x, gcoeff(I,2,2))) return 0;
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'quadray':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:744:7: note: in expansion of macro 'typ'
   if (typ(flag)==t_INT) lambda = NULL;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:747:9: note: in expansion of macro 'typ'
     if (typ(flag)!=t_VEC || lg(flag)!=3) err(flagerr,"quadray");
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:749:9: note: in expansion of macro 'typ'
     if (typ(flag)!=t_INT) err(flagerr,"quadray");
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:751:7: note: in expansion of macro 'typ'
   if (typ(D)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:762:24: note: in expansion of macro 'setvarn'
     pol = quadpoly(D); setvarn(pol, fetch_user_var("y"));
                        ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:763:24: note: in expansion of macro 'signe'
     bnf = bnfinit0(pol,signe(D)>0?1:0,NULL,prec);
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/buch1.c:765:10: note: in expansion of macro 'mpodd'
   raw = (mpodd(flag) && signe(D) < 0);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:765:25: note: in expansion of macro 'signe'
   raw = (mpodd(flag) && signe(D) < 0);
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:774:7: note: in expansion of macro 'signe'
   if (signe(D) > 0)
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'fix_signs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:823:7: note: in expansion of macro 'signe'
   if (signe(a) < 0)
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:826:5: note: in expansion of macro 'setsigne'
     setsigne(a,1); setsigne(c,-1);
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:826:20: note: in expansion of macro 'setsigne'
     setsigne(a,1); setsigne(c,-1);
                    ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'factorisequad':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:902:7: note: in expansion of macro 'signe'
   if (signe(x) < 0) x = absi(x);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:906:10: note: in expansion of macro 'signe'
     if (!signe(r))
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:908:20: note: in expansion of macro 'signe'
       k=0; while (!signe(r)) { x=q; k++; q=dvmdis(x,p,&r); }
                    ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'badmod8':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:962:7: note: in expansion of macro 'signe'
   if (signe(Disc) < 0) r = 8-r;
       ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'real_relations':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1441:31: note: in expansion of macro 'signe'
                && (!narrow || signe(form0[1])==signe(form[1]))) findecycle=1;
                               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1441:48: note: in expansion of macro 'signe'
                && (!narrow || signe(form0[1])==signe(form[1]))) findecycle=1;
                                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1454:15: note: in expansion of macro 'setsigne'
             { setsigne(form[1],1); setsigne(form[3],-1); }
               ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1454:36: note: in expansion of macro 'setsigne'
             { setsigne(form[1],1); setsigne(form[3],-1); }
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1489:11: note: in expansion of macro 'setsigne'
           setsigne(form2[1],1);
           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1490:11: note: in expansion of macro 'setsigne'
           setsigne(form2[3],-1);
           ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
../pari-2.1.7/src/headers/paricom.h:79:18: warning: overflow in implicit constant conversion [-Woverflow]
 #  define EXP220 (1099511627776L)          /* 2^40   */
                  ^
../pari-2.1.7/src/basemath/buch1.c:1553:30: note: in expansion of macro 'EXP220'
       p1 = mpadd(mulir(mulsi(EXP220,p1), glog2), mplog(absr(p2)));
                              ^~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch1.c:22:
../pari-2.1.7/src/basemath/buch1.c: In function 'real_be_honest':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1595:2: note: in expansion of macro 'setsigne'
  setsigne(form[1],1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/buch1.c:1596:2: note: in expansion of macro 'setsigne'
  setsigne(form[3],-1);
  ^~~~~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'gcdrealnoer':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1612:7: note: in expansion of macro 'typ'
   if (typ(a)==t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1614:9: note: in expansion of macro 'typ'
     if (typ(b)==t_INT) return mppgcd(a,b);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1617:12: note: in expansion of macro 'typ'
   else if (typ(b)==t_INT)
            ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1622:28: note: in expansion of macro 'signe'
   while (expo(b) >= -5  && signe(b))
                            ^~~~~
../pari-2.1.7/src/basemath/buch1.c: In function 'buchquad':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch1.c:1661:17: note: in expansion of macro 'typ'
   Disc = D; if (typ(Disc)!=t_INT) err(typeer,"buchquad");
                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch1.c:1664:10: note: in expansion of macro 'signe'
   switch(signe(Disc))
          ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o buch2.o ../pari-2.1.7/src/basemath/buch2.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch2.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'FBgen':
../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/buch2.c:237:19: note: in expansion of macro 'evaltyp'
   long prim[] = { 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/buch2.c:237:47: note: in expansion of macro 'evalsigne'
   long prim[] = { evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3),0 };
                                               ^~~~~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'factorgen':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:329:16: note: in expansion of macro 'signe'
     for (k=0; !signe(r); k++) { x=q; q=dvmdis(x,p,&r); }
                ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'factorelt':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:388:16: note: in expansion of macro 'signe'
     for (k=0; !signe(r); k++) { Nx=q; q=dvmdis(Nx,p,&r); }
                ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'cleancol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:439:25: note: in expansion of macro 'typ'
   long i,j,av,tetpil,tx=typ(x),R1,RU;
                         ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'expgexpo':
../pari-2.1.7/src/basemath/buch2.c:490:19: warning: overflow in implicit constant conversion [-Woverflow]
   long i,j,e, E = -HIGHEXPOBIT;
                   ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch2.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/buch2.c:497:11: note: in expansion of macro 'typ'
       if (typ(p1)==t_COMPLEX) p1 = (GEN)p1[1];
           ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'split_realimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:517:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COL) return split_realimag_col(x,r1,r2);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'gauss_realimag':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:530:12: note: in expansion of macro 'typ'
   GEN M = (typ(x)==t_VEC)? gmael(checknf(x),5,1): x;
            ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'get_norm_fact_primes':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:636:14: note: in expansion of macro 'signe'
     if ((s = signe(ex[i])))
              ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'get_norm_fact':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:662:9: note: in expansion of macro 'signe'
     if (signe(ex[i]))
         ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'factorgensimple':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:681:7: note: in expansion of macro 'typ'
   if (typ(ideal) != t_MAT) ideal = (GEN)ideal[1]; /* idele */
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/buch2.c:22:
../pari-2.1.7/src/basemath/buch2.c: In function 'split_ideal':
../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/buch2.c:846:25: note: in expansion of macro 'VERYBIGINT'
       else nbtest_lim = VERYBIGINT; /* don't increase further */
                         ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch2.c:22:
../pari-2.1.7/src/basemath/buch2.c: In function 'red_mod_units':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:910:7: note: in expansion of macro 'signe'
   if (signe(x[RU]) < 0) x = gneg_i(x);
       ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'act_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/buch2.c:951:7: note: in expansion of macro 'typ'
   if (typ(A) == t_MAT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:963:9: note: in expansion of macro 'signe'
     if (signe(A[i])) a = gadd(a, gmul((GEN)A[i], (GEN)x[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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/buch2.c:964:3: note: in expansion of macro 'settyp'
   settyp(a, t_VEC); return a;
   ^~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'isprincipalarch':
../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/buch2.c:991:31: note: in expansion of macro 'settyp'
   col = cleancol(col,N,prec); settyp(col, t_COL);
                               ^~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'fact_ok':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:1014:9: note: in expansion of macro 'signe'
     if (signe(e[i])) z = idealmul(nf, z, idealpow(nf, (GEN)g[i], (GEN)e[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/buch2.c:1015:7: note: in expansion of macro 'typ'
   if (typ(z) != t_MAT) z = idealhermite(nf,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/buch2.c:1016:7: note: in expansion of macro 'typ'
   if (typ(y) != t_MAT) y = idealhermite(nf,y);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'isprincipalall0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:1032:21: note: in expansion of macro 'typ'
   int old_format = (typ(clg2[2]) == t_MAT);
                     ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'triv_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/buch2.c:1110:8: note: in expansion of macro 'typ'
   x = (typ(x) == t_COL)? gcopy(x): algtobasis(nf,x);
        ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'isprincipalall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:1118:29: note: in expansion of macro 'typ'
   long av = avma,c,pr, tx = typ(x);
                             ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'isprincipalfact':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:1167:9: note: in expansion of macro 'signe'
     if (signe(e[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/buch2.c:1185:11: note: in expansion of macro 'typ'
       if (typ(y) == t_VEC && gen)
           ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'isunit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:1233:28: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx = typ(x),i,R1,RU,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/buch2.c:1262:7: note: in expansion of macro 'typ'
   if (typ(p1) != t_POLMOD) p1 = gmodulcp(p1,(GEN)nf[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/buch2.c:1276:18: note: in expansion of macro 'settyp'
   setlg(p1, RU); settyp(p1, t_VEC);
                  ^~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'signunits':
../pari-2.1.7/src/headers/parigen.h:154: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/buch2.c:1312:15: note: in expansion of macro 'mpodd'
       p1[i] = mpodd(p2)? mun: un;
               ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'small_norm_for_buchall':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/buch2.c:1472:54: note: in expansion of macro 'setsigne'
               Nx = ground(norm_by_embed(R1,xembed)); setsigne(Nx, 1);
                                                      ^~~~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'random_relation':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:1724:12: note: in expansion of macro 'typ'
     while (typ(ideal)==t_MAT); /* If ex  = 0, try another */
            ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'trunc_error':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:1848:10: note: in expansion of macro 'typ'
   return typ(x)==t_REAL && 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/buch2.c:1848:28: note: in expansion of macro 'signe'
   return typ(x)==t_REAL && signe(x)
                            ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'class_group_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/buch2.c:1989:7: note: in expansion of macro 'typ'
   if (typ(vperm) == t_VECSMALL)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/buch2.c:2001:9: note: in expansion of macro 'signe'
     if (signe(p1)<0) I[1] = lmul((GEN)I[1],denom((GEN)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/buch2.c:2004:33: note: in expansion of macro 'signe'
       p1 = gcoeff(Uir,i,j); s = signe(p1);
                                 ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'get_matal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2187:7: note: in expansion of macro 'typ'
   if (typ(v) == 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/buch2.c:2190:9: note: in expansion of macro 'typ'
     if (typ(ma) != t_INT) return ma;
         ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'get_cycgen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2198:7: note: in expansion of macro 'typ'
   if (typ(v) == 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/buch2.c:2201:9: note: in expansion of macro 'typ'
     if (typ(h) == t_VEC) return h;
         ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'makecycgen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2227:9: note: in expansion of macro 'typ'
     if (typ(y) != t_INT)
         ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'makematal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2274:9: note: in expansion of macro 'typ'
     if (typ(y) != t_INT)
         ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'bnfinsert':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2296:7: note: in expansion of macro 'typ'
   if (typ(v) != t_VEC)
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'smallbuchinit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2343:7: note: in expansion of macro 'typ'
   if (typ(pol)==t_VEC) bnf = checkbnf(pol);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'get_arch2_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/buch2.c:2408:7: note: in expansion of macro 'typ'
   if (typ(a[1]) == t_COL) a = gmul((GEN)nf[7], a);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'bnfmake':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2512:7: note: in expansion of macro 'typ'
   if (typ(sbnf)!=t_VEC || lg(sbnf)!=13)
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'classgroupall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2577:9: note: in expansion of macro 'typ'
     if (typ(data)!=t_VEC || lx > 7)
         ^~~
../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/buch2.c:2580:12: note: in expansion of macro 'evaltyp'
   court[0]=evaltyp(t_INT) | evallg(3); affsi(5,court);
            ^~~~~~~
../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/buch2.c:2581:12: note: in expansion of macro 'evaltyp'
   doubl[0]=evaltyp(t_REAL)| evallg(4); affrr(dbltor(0.3),doubl);
            ^~~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'bnfclassunit0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2610:7: note: in expansion of macro 'typ'
   if (typ(P)==t_INT) return quadclassunit0(P,0,data,prec);
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'classgrouponly':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2636:7: note: in expansion of macro 'typ'
   if (typ(P)==t_INT)
       ^~~
../pari-2.1.7/src/basemath/buch2.c: In function 'regulator':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2652:7: note: in expansion of macro 'typ'
   if (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/buch2.c:2654:9: note: in expansion of macro 'signe'
     if (signe(P)>0)
         ^~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'col_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/buch2.c:2685:11: note: in expansion of macro 'evaltyp'
    c[0] = evaltyp(t_VECSMALL) | evallg(n);
           ^~~~~~~
../pari-2.1.7/src/basemath/buch2.c: In function 'buchall_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/buch2.c:2719:3: note: in expansion of macro 'settyp'
   settyp(vperm, 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/basemath/buch2.c:2721:33: note: in expansion of macro 'evaltyp'
   z[7]=(long)nf; RES+=4; RES[0]=evaltyp(t_VEC) | evallg(l-4);
                                 ^~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/buch2.c:22:
../pari-2.1.7/src/basemath/buch2.c: In function 'buchall_for_degree_one_pol':
../pari-2.1.7/src/headers/paricom.h:79:18: warning: overflow in implicit constant conversion [-Woverflow]
 #  define EXP220 (1099511627776L)          /* 2^40   */
                  ^
../pari-2.1.7/src/basemath/buch2.c:2732:23: note: in expansion of macro 'EXP220'
   long av = avma, k = EXP220;
                       ^~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/buch2.c:22:
../pari-2.1.7/src/basemath/buch2.c: In function 'buchall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2778:7: note: in expansion of macro 'typ'
   if (typ(P)==t_POL) nf = NULL;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/buch2.c:2783:7: note: in expansion of macro 'typ'
   if (typ(gRELSUP)!=t_INT) gRELSUP=gtrunc(gRELSUP);
       ^~~
../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/buch2.c:3126:37: note: in expansion of macro 'evaltyp'
   i = lg(C)-sreg; C += sreg; C[0] = evaltyp(t_MAT)|evallg(i);
                                     ^~~~~~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o highlvl.o ../pari-2.1.7/src/gp/highlvl.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/gp/highlvl.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/gp/highlvl.c: In function 'type0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/gp/highlvl.c:201:25: note: in expansion of macro 'typ'
     char *s = type_name(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/gp/highlvl.c:204:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/gp/highlvl.c:218:12: note: in expansion of macro 'typ'
       tx = typ(x);
            ^~~
../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/gp/highlvl.c:233:3: note: in expansion of macro 'settyp'
   settyp(x, t); return 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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o mpqs.o ../pari-2.1.7/src/modules/mpqs.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_div_rem':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1578:7: note: in expansion of macro 'signe'
   if (signe(r)) return (ulong)(r[2]);
       ^~~~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_eval_candidates':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1704:10: note: in expansion of macro 'signe'
     if (!signe(Qx))
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:1718:10: note: in expansion of macro 'signe'
     if (!signe(Qx))  /* this shouldn't happen */
          ^~~~~
../pari-2.1.7/src/modules/mpqs.c: At top level:
../pari-2.1.7/src/modules/mpqs.c:2154:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x8000000000000000UL, 0x4000000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2154:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x8000000000000000UL, 0x4000000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2155:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x2000000000000000UL, 0x1000000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2155:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x2000000000000000UL, 0x1000000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2156:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0800000000000000UL, 0x0400000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2156:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0800000000000000UL, 0x0400000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2157:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0200000000000000UL, 0x0100000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2157:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0200000000000000UL, 0x0100000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2158:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0080000000000000UL, 0x0040000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2158:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0080000000000000UL, 0x0040000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2159:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0020000000000000UL, 0x0010000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2159:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0020000000000000UL, 0x0010000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2160:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0008000000000000UL, 0x0004000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2160:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0008000000000000UL, 0x0004000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2161:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0002000000000000UL, 0x0001000000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2161:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0002000000000000UL, 0x0001000000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2162:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000800000000000UL, 0x0000400000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2162:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000800000000000UL, 0x0000400000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2163:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000200000000000UL, 0x0000100000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2163:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000200000000000UL, 0x0000100000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2164:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000080000000000UL, 0x0000040000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2164:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000080000000000UL, 0x0000040000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2165:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000020000000000UL, 0x0000010000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2165:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000020000000000UL, 0x0000010000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2166:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000008000000000UL, 0x0000004000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2166:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000008000000000UL, 0x0000004000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2167:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000002000000000UL, 0x0000001000000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2167:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000002000000000UL, 0x0000001000000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2168:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000800000000UL, 0x0000000400000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2168:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000800000000UL, 0x0000000400000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2169:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000200000000UL, 0x0000000100000000UL,
   ^~~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:2169:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
   0x0000000200000000UL, 0x0000000100000000UL,
                         ^~~~~~~~~~~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs_solve_linear_system':
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/modules/mpqs.c:2541:15: note: in expansion of macro 'VERYBIGINT'
     res_max = VERYBIGINT; /* this, unfortunately, is the common case */
               ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/mpqs.c:22:
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:2599:11: note: in expansion of macro 'signe'
       if (signe(modii(subii(sqri(X), sqri(Y_prod)), N_or_kN)))
           ^~~~~
../pari-2.1.7/src/modules/mpqs.c: In function 'mpqs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/mpqs.c:3311:11: note: in expansion of macro 'signe'
       if (signe(B) < 0)
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:3313:2: note: in expansion of macro 'setsigne'
  setsigne(B,1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/modules/mpqs.c:3316:2: note: in expansion of macro 'setsigne'
  setsigne(B,-1);
  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/mpqs.c:3502:6: note: in expansion of macro 'typ'
  if (typ(fact) == t_INT)
      ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o plotgnuplot.o ../pari-2.1.7/src/graph/plotgnuplot.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/graph/plotgnuplot.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
In file included from ../pari-2.1.7/src/graph/plotgnuplot.c:28:0:
../pari-2.1.7/src/graph/Gnuplot.h: At top level:
../pari-2.1.7/src/graph/Gnuplot.h:72:8: warning: type defaults to 'int' in declaration of 'outfile_set' [-Wimplicit-int]
 static outfile_set;
        ^~~~~~~~~~~
In file included from ../pari-2.1.7/src/graph/plotgnuplot.c:28:0:
../pari-2.1.7/src/graph/Gnuplot.h:377:1: warning: return type defaults to 'int' [-Wimplicit-int]
 UNKNOWN_null()
 ^~~~~~~~~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o polarit2.o ../pari-2.1.7/src/basemath/polarit2.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/polarit2.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'polsym':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:31:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) err(typeer,"polsym");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:32:8: note: in expansion of macro 'signe'
   if (!signe(x)) err(zeropoler,"polsym");
        ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'centermod_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/polarit2.c:100:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'polidivis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:218:45: note: in expansion of macro 'typ'
     if (y_lead) { p1 = gdiv(p1,y_lead); if (typ(p1)!=t_INT) return NULL; }
                                             ^~~
../pari-2.1.7/src/headers/parigen.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/polarit2.c:235: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/polarit2.c:235:40: note: in expansion of macro 'evalvarn'
   z[1]=evalsigne(1) | evallgef(dz+3) | evalvarn(vx);
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'polhensellift':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:364:7: note: in expansion of macro 'typ'
   if (typ(pol) != 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/polarit2.c:366:8: note: in expansion of macro 'typ'
   if ((typ(fct) != t_COL && typ(fct) != t_VEC) || (lg(fct) < 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/polarit2.c:366:29: note: in expansion of macro 'typ'
   if ((typ(fct) != t_COL && typ(fct) != t_VEC) || (lg(fct) < 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/polarit2.c:368:7: note: in expansion of macro 'typ'
   if (typ(p) != t_INT || !isprime(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/polarit2.c:378:9: note: in expansion of macro 'typ'
     if (typ(p2) != 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/polarit2.c:380:11: note: in expansion of macro 'typ'
       if (typ(p2) != t_INT)
           ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'two_factor_bound':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:514:25: note: in expansion of macro 'signe'
     c = (GEN)x[i]; if (!signe(c)) continue;
                         ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'cmbf':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:603:12: note: in expansion of macro 'signe'
       if (!signe(y) || resii((GEN)lctarget[2], y) != 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/polarit2.c:620:11: note: in expansion of macro 'signe'
       if (signe(leading_term(y)) < 0) cont = negi(cont);
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:667:9: note: in expansion of macro 'signe'
     if (signe(leading_term(target)) < 0) target = gneg_i(target);
         ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'polsym_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/polarit2.c:755:7: note: in expansion of macro 'typ'
   if (typ(P) != t_POL) err(typeer,"polsym");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:756:8: note: in expansion of macro 'signe'
   if (!signe(P)) err(zeropoler,"polsym");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:760:9: note: in expansion of macro 'typ'
     if (typ(y0) != t_COL) err(typeer,"polsym_gen");
         ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'special_pivot':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:879:12: note: in expansion of macro 'signe'
       if (!signe(p2[j])) 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/polarit2.c:888:11: note: in expansion of macro 'signe'
       if (signe(gcoeff(x,i,j))) 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/polarit2.c:904:12: note: in expansion of macro 'signe'
       if (!signe(p2[j])) continue;
            ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'LLL_cmbf':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1092:13: note: in expansion of macro 'signe'
         if (signe(p1[j]))
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1097:11: note: in expansion of macro 'signe'
       if (signe(leading_term(y)) < 0) y = gneg(y);
           ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'combine_factors':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1145:9: note: in expansion of macro 'signe'
     if (signe(lt) < 0) { a = gneg_i(a); lt = leading_term(a); }
         ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'deflate':
../pari-2.1.7/src/headers/parigen.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/polarit2.c:1322:12: note: in expansion of macro 'evalsigne'
     y[1] = evalsigne(1)|evallgef(ly)|evalvarn(varn(x0));
            ^~~~~~~~~
../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/polarit2.c:1322:38: note: in expansion of macro 'evalvarn'
     y[1] = evalsigne(1)|evallgef(ly)|evalvarn(varn(x0));
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'inflate':
../pari-2.1.7/src/headers/parigen.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/polarit2.c:1337:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(1)|evallgef(ly)|evalvarn(varn(x0));
          ^~~~~~~~~
../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/polarit2.c:1337:36: note: in expansion of macro 'evalvarn'
   y[1] = evalsigne(1)|evallgef(ly)|evalvarn(varn(x0));
                                    ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'factpol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1386:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"factpol");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1387:8: note: in expansion of macro 'signe'
   if (!signe(x)) err(zeropoler,"factpol");
        ^~~~~
../pari-2.1.7/src/headers/parigen.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/polarit2.c:1398:12: note: in expansion of macro 'evalsigne'
     x[1] = evalsigne(1)|evalvarn(vx)|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/polarit2.c:1398:25: note: in expansion of macro 'evalvarn'
     x[1] = evalsigne(1)|evalvarn(vx)|evallgef(lx);
                         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1414:45: note: in expansion of macro 'signe'
     ex++; w=gadd(w, gneg_i(derivpol(x))); k=signe(w);
                                             ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'poltype':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1459:13: note: in expansion of macro 'typ'
   long tx = typ(x),lx,i,j,s,pa=BIGINT;
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1472: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/polarit2.c:1486:20: note: in expansion of macro 'evalsigne'
           pcx[1] = evalsigne(1)|evalvarn(0)|m_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/polarit2.c:1486:33: note: in expansion of macro 'evalvarn'
           pcx[1] = evalsigne(1)|evalvarn(0)|m_evallgef(5),
                                 ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1492:11: note: in expansion of macro 'typ'
    switch(typ(p2))
           ^~~
../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/polarit2.c:1505:12: note: in expansion of macro 'precp'
        s = precp(p2) + valp(p2); if (s < pa) pa = s;
            ^~~~~
../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/polarit2.c:1514:13: note: in expansion of macro 'precp'
         s = precp(p1) + valp(p1); if (s < pa) pa = s;
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1521:11: note: in expansion of macro 'typ'
    switch(typ(p2))
           ^~~
../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/polarit2.c:1535:12: note: in expansion of macro 'precp'
        s = precp(p2) + valp(p2); if (s < pa) pa = s;
            ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'factor0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1600:11: note: in expansion of macro 'typ'
   long tx=typ(x);
           ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'poldeg1':
../pari-2.1.7/src/headers/parigen.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/polarit2.c:1613:10: note: in expansion of macro 'evalsigne'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
          ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/polarit2.c:1613:25: note: in expansion of macro 'evalvarn'
   x[1] = evalsigne(1) | evalvarn(v) | evallgef(4);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'factor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1632:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,av,tetpil,i,j,pa,v,r1;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:1680:17: note: in expansion of macro 'signe'
             if (signe(gmael(p1,r1,2))) break;
                 ^~~~~
../pari-2.1.7/src/headers/parigen.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/polarit2.c:1688:13: note: in expansion of macro 'evalsigne'
      p[1] = 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/polarit2.c:1688:28: note: in expansion of macro 'evalvarn'
      p[1] = evalsigne(1) | evalvarn(v) | evallgef(5);
                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/polarit2.c:1690:34: note: in expansion of macro 'setsigne'
      p[3] = lmul2n((GEN)a[1],1); setsigne(p[3],-signe(p[3]));
                                  ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c:1690:49: note: in expansion of macro 'signe'
      p[3] = lmul2n((GEN)a[1],1); setsigne(p[3],-signe(p[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/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c:1690:34: note: in expansion of macro 'setsigne'
      p[3] = lmul2n((GEN)a[1],1); setsigne(p[3],-signe(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/polarit2.c:1708:20: note: in expansion of macro 'typ'
             switch(typ(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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c:1718:22: note: in expansion of macro 'setvarn'
           if (killv) setvarn(pol, fetch_var());
                      ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1745:18: note: in expansion of macro 'typ'
               if(typ(p4)==t_POLMOD) p3[j]=lsubst((GEN)p4[2],v,p5);
                  ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'factorback_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/polarit2.c:1815:7: note: in expansion of macro 'typ'
   if (typ(fa)!=t_MAT || lg(fa)!=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/polarit2.c:1840:9: note: in expansion of macro 'signe'
     if (signe(ex[k]))
         ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'gisirreducible':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1855:22: note: in expansion of macro 'typ'
   long av=avma, tx = typ(x),l,i;
                      ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'triv_cont_gcd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1895:13: note: in expansion of macro 'typ'
   GEN p1 = (typ(x)==t_COMPLEX)? ggcd((GEN)x[1],(GEN)x[2])
             ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'ggcd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1927:34: note: in expansion of macro 'typ'
   long l,av,tetpil,i,vx,vy, 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/polarit2.c:1927:47: note: in expansion of macro 'typ'
   long l,av,tetpil,i,vx,vy, 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/polarit2.c:1985:18: note: in expansion of macro 'typ'
           switch(typ(p1))
                  ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:1995:13: note: in expansion of macro 'typ'
         if (typ(p1[1])==t_INT && typ(p1[2])==t_INT) return gcopy(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/polarit2.c:1995:34: note: in expansion of macro 'typ'
         if (typ(p1[1])==t_INT && typ(p1[2])==t_INT) return gcopy(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/polarit2.c:1997:13: note: in expansion of macro 'typ'
         if (typ(p1[1])==t_INT && typ(p1[2])==t_INT) 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/polarit2.c:1997:34: note: in expansion of macro 'typ'
         if (typ(p1[1])==t_INT && typ(p1[2])==t_INT) 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/polarit2.c:2009:15: note: in expansion of macro 'typ'
           if (typ(p1)==t_INT) { avma=av; return gcopy(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/polarit2.c:2013:13: note: in expansion of macro 'typ'
         if (typ(p1[2])==t_INT && typ(p1[3])==t_INT) return gcopy(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/polarit2.c:2013:34: note: in expansion of macro 'typ'
         if (typ(p1[2])==t_INT && typ(p1[3])==t_INT) return gcopy(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/polarit2.c:2015:13: note: in expansion of macro 'typ'
         if (typ(p1[2])==t_INT && typ(p1[3])==t_INT) 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/polarit2.c:2015:34: note: in expansion of macro 'typ'
         if (typ(p1[2])==t_INT && typ(p1[3])==t_INT) 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/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/polarit2.c:2083:6: note: in expansion of macro 'gvar9'
   vx=gvar9(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/polarit2.c:2083:19: note: in expansion of macro 'gvar9'
   vx=gvar9(x); vy=gvar9(y);
                   ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'glcm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2170:8: note: in expansion of macro 'typ'
   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/polarit2.c:2177:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2190:10: note: in expansion of macro 'typ'
   switch(typ(p2))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2192:21: note: in expansion of macro 'signe'
     case t_INT: if (signe(p2)<0) setsigne(p2,1);
                     ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c:2192:34: note: in expansion of macro 'setsigne'
     case t_INT: if (signe(p2)<0) setsigne(p2,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/polarit2.c:2197:11: note: in expansion of macro 'typ'
       if (typ(p1)==t_INT && signe(p1)<0) p2=gneg(p2);
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2197:29: note: in expansion of macro 'signe'
       if (typ(p1)==t_INT && signe(p1)<0) p2=gneg(p2);
                             ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'issimplefield':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2232:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'isrational':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2252:12: note: in expansion of macro 'typ'
     switch(typ(x[i]))
            ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'isinexactfield':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2265:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'polinvmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2330:6: note: in expansion of macro 'typ'
   tx=typ(x);
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2338:9: note: in expansion of macro 'typ'
     if (typ(d)==t_POL && varn(d)==vx)
         ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'gbezout':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2353:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2353:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'content':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2385:26: note: in expansion of macro 'typ'
   long av,tetpil,lx,i,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/polarit2.c:2405:12: 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/polarit2.c:2408:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gzero;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2417:9: note: in expansion of macro 'typ'
     if (typ(x[i]) != t_INT) break;
         ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'gdivexact':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2450: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/polarit2.c:2453:11: note: in expansion of macro 'typ'
       if (typ(y)==t_INT) return divii(x,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/polarit2.c:2454:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gzero;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2459:14: note: in expansion of macro 'typ'
       switch(typ(y))
              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2470:33: note: in expansion of macro 'typ'
       lx = lg(x); z = cgetg(lx, typ(x));
                                 ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'init_resultant':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2483: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/polarit2.c:2483:21: note: in expansion of macro 'typ'
   tx = typ(x); ty = typ(y);
                     ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'pseudorem':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2512:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(talker,"euclidean division by zero (pseudorem)");
        ^~~~~
../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/polarit2.c:2534:8: note: in expansion of macro 'evaltyp'
   x[0]=evaltyp(t_POL) | evallg(lx);
        ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/polarit2.c:2535:8: note: in expansion of macro 'evalsigne'
   x[1]=evalsigne(1) | evalvarn(vx) | 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/polarit2.c:2535:23: note: in expansion of macro 'evalvarn'
   x[1]=evalsigne(1) | evalvarn(vx) | evallgef(lx);
                       ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'subresext':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2627: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/polarit2.c:2627:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y);
                 ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'bezoutpol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2716:6: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); av=avma;
      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2716:17: note: in expansion of macro 'typ'
   tx=typ(x); ty=typ(y); av=avma;
                 ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'reductum':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2781:7: note: in expansion of macro 'signe'
   if (signe(P)==0) return P;
       ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'addshift':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2813: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/polarit2.c:2815:3: note: in expansion of macro 'setvarn'
   setvarn(x,v); return x;
   ^~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'resultantducos':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:2887:8: note: in expansion of macro 'signe'
   if (!signe(Q)) { avma = av; return gzero; }
        ^~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'sylvestermatrix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2935:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL || typ(y)!=t_POL) err(typeer,"sylvestermatrix");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:2935:24: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL || typ(y)!=t_POL) err(typeer,"sylvestermatrix");
                        ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'fix_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/polarit2.c:2959:7: note: in expansion of macro 'typ'
   if (typ(x) == 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/basemath/polarit2.c:2966:15: note: in expansion of macro 'evalvarn'
       p1[1] = evalvarn(0)|evalsigne(signe(x))|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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/polarit2.c:2966:37: note: in expansion of macro 'signe'
       p1[1] = evalvarn(0)|evalsigne(signe(x))|evallgef(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/polarit2.c:2966:27: note: in expansion of macro 'evalsigne'
       p1[1] = evalvarn(0)|evalsigne(signe(x))|evallgef(3);
                           ^~~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'srgcd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3011:25: note: in expansion of macro 'typ'
   long av,av1,tetpil,tx=typ(x),ty=typ(y),dx,dy,vx,lim;
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3011:35: note: in expansion of macro 'typ'
   long av,av1,tetpil,tx=typ(x),ty=typ(y),dx,dy,vx,lim;
                                   ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/polarit2.c:3014:8: note: in expansion of macro 'signe'
   if (!signe(y)) return 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/polarit2.c:3015:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gcopy(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/polarit2.c:3074:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) x = gmul(polun[vx],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/polarit2.c:3077:28: note: in expansion of macro 'typ'
     p1=leading_term(x); ty=typ(p1);
                            ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'poldisc0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3088:14: note: in expansion of macro 'typ'
   long av,tx=typ(x),i;
              ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'reduceddiscsmith':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3133:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"reduceddiscsmith");
       ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'sturmpart':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3164:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) err(typeer,"sturm");
       ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'quadpoly0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3245:32: note: in expansion of macro 'typ'
   long res,l,tetpil,i,sx, 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/polarit2.c:3256: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/basemath/polarit2.c:3259:8: note: in expansion of macro 'evalsigne'
   y[1]=evalsigne(1) | evalvarn(v) | evallgef(5); y[4]=un;
        ^~~~~~~~~
../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/polarit2.c:3259:23: note: in expansion of macro 'evalvarn'
   y[1]=evalsigne(1) | evalvarn(v) | evallgef(5); y[4]=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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/polarit2.c:3263:28: note: in expansion of macro 'setsigne'
   l=avma; p1=shifti(x,-2); setsigne(p1,-signe(p1));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c:3263:41: note: in expansion of macro 'signe'
   l=avma; p1=shifti(x,-2); 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/polarit2.c:3263:28: note: in expansion of macro 'setsigne'
   l=avma; p1=shifti(x,-2); setsigne(p1,-signe(p1));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'ginvmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3296:11: note: in expansion of macro 'typ'
   long 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/polarit2.c:3298:10: note: in expansion of macro 'typ'
   switch(typ(y))
          ^~~
../pari-2.1.7/src/basemath/polarit2.c: In function 'newtonpoly':
../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/polarit2.c:3324:24: note: in expansion of macro 'evaltyp'
   long *vval, num[] = {evaltyp(t_INT) | m_evallg(3), 0, 0};
                        ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3326:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(typeer,"newtonpoly");
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/polarit2.c:22:
../pari-2.1.7/src/headers/paricom.h:78:22: warning: overflow in implicit constant conversion [-Woverflow]
 #  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
                      ^
../pari-2.1.7/src/basemath/polarit2.c:3334:22: note: in expansion of macro 'VERYBIGINT'
     y[ind++] = lstoi(VERYBIGINT);
                      ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/polarit2.c:22:
../pari-2.1.7/src/basemath/polarit2.c: In function 'polfnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3360:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(t)!=t_POL) err(typeer,"polfnf");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3360:24: note: in expansion of macro 'typ'
   if (typ(a)!=t_POL || typ(t)!=t_POL) err(typeer,"polfnf");
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/polarit2.c:3385:14: note: in expansion of macro 'typ'
     p1[i] = (typ(pro)==t_POL)? ldiv(pro,leading_term(pro)): (long)pro;
              ^~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o plotport.o ../pari-2.1.7/src/graph/plotport.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/graph/plotport.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectpoints':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:666:17: note: in expansion of macro 'typ'
   long i,lx, tx=typ(listx), ty=typ(listy);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:666:32: note: in expansion of macro 'typ'
   long i,lx, tx=typ(listx), ty=typ(listy);
                                ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectlines':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:718:11: note: in expansion of macro 'typ'
   long tx=typ(listx), ty=typ(listy), lx=lg(listx), i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:718:26: note: in expansion of macro 'typ'
   long tx=typ(listx), ty=typ(listy), lx=lg(listx), i;
                          ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'gtodblList':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1205:11: note: in expansion of macro 'typ'
   long tx=typ(data), ty, nl=lg(data)-1, lx1,lx;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1220:30: note: in expansion of macro 'typ'
     x = (GEN)data[u];   tx = typ(x);
                              ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1221:30: note: in expansion of macro 'typ'
     y = (GEN)data[u+1]; ty = typ(y);
                              ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'rectplothin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1378:34: note: in expansion of macro 'typ'
   av2=avma; p1=READ_EXPR(ch); tx=typ(p1);
                                  ^~~
../pari-2.1.7/src/graph/plotport.c: In function 'plothraw0':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/graph/plotport.c:1785:18: note: in expansion of macro 'evaltyp'
   long data[] = {evaltyp(t_VEC) | m_evallg(3), 0, 0};
                  ^~~~~~~
../pari-2.1.7/src/graph/plotport.c: In function 'gendraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1911:7: note: in expansion of macro 'typ'
   if (typ(list) != t_VEC) err(talker,"not a vector in rectdraw");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:9: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:39: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
                                       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/graph/plotport.c:1923:57: note: in expansion of macro 'typ'
     if (typ(win)!=t_INT || (!flag && (typ(x0)!=t_INT || typ(y0)!= t_INT)))
                                                         ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o arith1.o ../pari-2.1.7/src/basemath/arith1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/arith1.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'garith_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:32:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:48:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:64:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:74:6: note: in expansion of macro 'typ'
   tx=typ(n);
      ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'arith_proto2gs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:88:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'garith_proto2gs':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:104:17: note: in expansion of macro 'typ'
   long l,i,tx = typ(x);
                 ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'order':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:129:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INTMOD || !gcmp1(mppgcd((GEN) x[1],(GEN) x[2])))
       ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gener':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:164:7: note: in expansion of macro 'typ'
   if (typ(m) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:165:7: note: in expansion of macro 'signe'
   e = signe(m);
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'znstar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:212:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:213:8: note: in expansion of macro 'signe'
   if (!signe(n))
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'racine_i':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:328:18: note: in expansion of macro 'signe'
   if (roundup && signe(x))
                  ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'racine':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:341:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:342:11: note: in expansion of macro 'signe'
   switch (signe(a))
           ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'carrecomplet':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:400:10: note: in expansion of macro 'signe'
   switch(signe(x))
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'polcarrecomplet':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:425:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gun;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:430:11: note: in expansion of macro 'typ'
   switch (typ(a))
           ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gcarrecomplet':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:458:13: note: in expansion of macro 'typ'
   long tx = typ(x),l,i;
             ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'gcarreparfait':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:482:11: note: in expansion of macro 'typ'
   long tx=typ(x),l,i,av,v;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:490:15: note: in expansion of macro 'signe'
       return (signe(x)>=0)? gun: gzero;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:493:12: note: in expansion of macro 'signe'
       if (!signe(x[2])) return gun;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:522:26: note: in expansion of macro 'signe'
       p4=(GEN)x[4]; if (!signe(p4)) return gun;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:527:9: note: in expansion of macro 'precp'
       v=precp(x); /* here p=2 */
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:536:12: note: in expansion of macro 'signe'
       if (!signe(x)) return gun;
            ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'kronecker':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:577:11: note: in expansion of macro 'signe'
   switch (signe(y))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:579:29: note: in expansion of macro 'signe'
     case -1: y=negi(y); if (signe(x)<0) s= -1; break;
                             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:585:9: note: in expansion of macro 'mpodd'
     if (mpodd(x))
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:593:10: note: in expansion of macro 'signe'
   while (signe(x))
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'krogs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:622:26: note: in expansion of macro 'signe'
     if (y) { y = -y; if (signe(x)<0) s = -1; }
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:628:9: note: in expansion of macro 'mpodd'
     if (mpodd(x))
         ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'hil':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:706:15: note: in expansion of macro 'typ'
   av=avma; tx=typ(x); ty=typ(y);
               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:706:26: note: in expansion of macro 'typ'
   av=avma; tx=typ(x); ty=typ(y);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:714:8: note: in expansion of macro 'signe'
    if (signe(p)<=0)
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:715:14: note: in expansion of macro 'signe'
      return (signe(x)<0 && signe(y)<0)? -1: 1;
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:715:28: note: in expansion of macro 'signe'
      return (signe(x)<0 && signe(y)<0)? -1: 1;
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:720:11: note: in expansion of macro 'eps'
      z = (eps(u) && eps(v))? -1: 1;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:720:21: note: in expansion of macro 'eps'
      z = (eps(u) && eps(v))? -1: 1;
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:698:19: note: in expansion of macro 'signe'
 #define eps(t) (((signe(t)*(t[lgefint(t)-1]))&3)==3)
                   ^~~~~
../pari-2.1.7/src/basemath/arith1.c:726:21: note: in expansion of macro 'eps'
      z = (a && b && eps(p))? -1: 1;
                     ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:732:12: note: in expansion of macro 'signe'
    return (signe(x)<0 && signe(y)<0)? -1: 1;
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:732:26: note: in expansion of macro 'signe'
    return (signe(x)<0 && signe(y)<0)? -1: 1;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:742:27: note: in expansion of macro 'precp'
    if (egalii(gdeux,p) && precp(y) <= 1) err(hiler1);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:750:11: note: in expansion of macro 'signe'
       if (signe(x) > 0) return 1;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:751:14: note: in expansion of macro 'signe'
       return signe(y[1])*signe(y[2]);
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:751:26: note: in expansion of macro 'signe'
       return signe(y[1])*signe(y[2]);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:784:32: note: in expansion of macro 'precp'
       if (egalii(p, gdeux) && (precp(x) <= 1 || precp(y) <= 1)) err(hiler1);
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/basemath/arith1.c:784:49: note: in expansion of macro 'precp'
       if (egalii(p, gdeux) && (precp(x) <= 1 || precp(y) <= 1)) err(hiler1);
                                                 ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpsqrtmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:810:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(p) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:810:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(p) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:811:7: note: in expansion of macro 'signe'
   if (signe(p) <= 0 || is_pm1(p)) err(talker,"not a prime in mpsqrtmod");
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:818:10: note: in expansion of macro 'signe'
     if (!signe(a) || !mod2(a)) return gzero;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:842:8: note: in expansion of macro 'signe'
   if (!signe(p1)) { avma=av; return gzero; }
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpsqrtnmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:981:45: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(n) != t_INT || typ(p)!=t_INT)
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:983:7: note: in expansion of macro 'signe'
   if(!signe(n))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1007:20: note: in expansion of macro 'signe'
  if (!is_pm1(a) || signe(a)<0)
                    ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mppgcd_cgcd':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1127:10: note: in expansion of macro 'evalsigne'
   r[1] = evalsigne(1)|evallgefint(3);
          ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mppgcd':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1148:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1148:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1154:8: note: in expansion of macro 'signe'
   if (!signe(b)) return absi(a);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1168:8: note: in expansion of macro 'signe'
   if (!signe(t)) { avma=av; return absi(b); }
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1171:34: note: in expansion of macro 'setsigne'
   v = vali(a); a = shifti(a,-v); setsigne(a,1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1172:34: note: in expansion of macro 'setsigne'
   w = vali(b); b = shifti(b,-w); setsigne(b,1);
                                  ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/arith1.c:1199:17: note: in expansion of macro 'evaltyp'
     long r[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                 ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1199:45: note: in expansion of macro 'evalsigne'
     long r[] = {evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3), 0};
                                             ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'mpppcm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1209:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1209:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1210:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gzero;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1214:7: note: in expansion of macro 'signe'
   if (signe(p2) < 0) setsigne(p2,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1214:22: note: in expansion of macro 'setsigne'
   if (signe(p2) < 0) setsigne(p2,1);
                      ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'cbezout':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1239:28: note: in expansion of macro 'signe'
       p1 = mulss(a,u); s = signe(p1);
                            ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'bezout':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1271:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1271:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1278:8: note: in expansion of macro 'signe'
   if (!signe(b))
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1281:12: note: in expansion of macro 'signe'
     switch(signe(a))
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1310:12: note: in expansion of macro 'signe'
   } while (signe(y));
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1313:7: note: in expansion of macro 'signe'
   if (signe(x) < 0)
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1315:5: note: in expansion of macro 'setsigne'
     setsigne(x,1);
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith1.c:1316:5: note: in expansion of macro 'setsigne'
     setsigne(u,-signe(u));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1316:17: note: in expansion of macro 'signe'
     setsigne(u,-signe(u));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1316:5: note: in expansion of macro 'setsigne'
     setsigne(u,-signe(u));
     ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith1.c:1317:5: note: in expansion of macro 'setsigne'
     setsigne(v,-signe(v));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1317:17: note: in expansion of macro 'signe'
     setsigne(v,-signe(v));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1317:5: note: in expansion of macro 'setsigne'
     setsigne(v,-signe(v));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'chinois':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1351:32: note: in expansion of macro 'typ'
   long i,lx,vx,av,tetpil, tx = typ(x);
                                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1355:13: note: in expansion of macro 'typ'
   if (tx == typ(y)) switch(tx)
             ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1378:12: note: in expansion of macro 'evalsigne'
       z[1]=evalsigne(1)|evallgef(lx)|evalvarn(vx);
            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/arith1.c:1378:38: note: in expansion of macro 'evalvarn'
       z[1]=evalsigne(1)|evallgef(lx)|evalvarn(vx);
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'powmodulo':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:7: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:26: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1454:45: note: in expansion of macro 'typ'
   if (typ(A) != t_INT || typ(N) != t_INT || typ(M) != t_INT) err(arither1);
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1455:7: note: in expansion of macro 'signe'
   s = signe(N);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1458:9: note: in expansion of macro 'signe'
     k = signe(resii(A,M)); avma=av;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1465:10: note: in expansion of macro 'signe'
     if (!signe(A)) { avma=av; return gzero; }
          ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'isfundamental':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1594:9: note: in expansion of macro 'signe'
     if (signe(x)<0) r=4-r;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1598:7: note: in expansion of macro 'signe'
   if (signe(x)<0) r=4-r;
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'quaddisc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1605:35: note: in expansion of macro 'typ'
   long av=avma,tetpil=avma,i,r,tx=typ(x);
                                   ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'contfrac0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1756:8: note: in expansion of macro 'typ'
   tb = typ(b);
        ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'sfcont':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1771:24: note: in expansion of macro 'typ'
   long  av,lx=lg(x),tx=typ(x),e,i,j,l,l1,lx1,tetpil,f;
                        ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/arith1.c:1783:17: note: in expansion of macro 'settyp'
  p2 = rcopy(x); settyp(p2,t_INT); setlgefint(p2,lx);
                 ^~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/arith1.c:1788:9: note: in expansion of macro 'evalsigne'
  p2[1]= evalsigne(1)|evallgefint(l1);
         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1793:15: note: in expansion of macro 'signe'
  p3[1]=laddsi(signe(x),(GEN)p1[1]);
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:1809:8: note: in expansion of macro 'signe'
    if (signe(p3)>=0) affii(p3,p1);
        ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'sfcont2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1871:25: note: in expansion of macro 'typ'
   long l1 = lg(b), tx = typ(x), i,tetpil, av = avma;
                         ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'pnqn':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1907:32: note: in expansion of macro 'typ'
   long av=avma,tetpil,lx,ly,tx=typ(x),i;
                                ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'bestappr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1949:29: note: in expansion of macro 'typ'
   long av=avma,tetpil,tx,tk=typ(k),lx,i,e;
                             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:1959:6: note: in expansion of macro 'typ'
   tx=typ(x); if (tx == t_FRACN) x = gred(x);
      ^~~
../pari-2.1.7/src/basemath/arith1.c: In function 'fundunit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2038:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2039:7: note: in expansion of macro 'signe'
   if (signe(x)<=0) err(arither2);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2065:7: note: in expansion of macro 'signe'
   if (signe(y[3]) < 0) { tetpil=avma; y=gneg(y); }
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'regula':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2081:7: note: in expansion of macro 'signe'
   if (signe(x)<=0) err(arither2);
       ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'end_classno':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2193:9: note: in expansion of macro 'signe'
     if (signe(p1[2]) == signe(b)) com = -com;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2193:25: note: in expansion of macro 'signe'
     if (signe(p1[2]) == signe(b)) com = -com;
                         ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'conductor_part':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2209:16: note: in expansion of macro 'signe'
   long n,i,k,s=signe(x),fl2;
                ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'classno':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2294:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2295:5: note: in expansion of macro 'signe'
   s=signe(x); if (s>=0) return classno2(x);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2307:7: note: in expansion of macro 'signe'
   if (signe(p2))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2363:15: note: in expansion of macro 'signe'
           if (signe(p1[2]) == signe(b)) com = -com;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2363:31: note: in expansion of macro 'signe'
           if (signe(p1[2]) == signe(b)) com = -com;
                               ^~~~~
../pari-2.1.7/src/basemath/arith1.c: In function 'classno2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith1.c:2385:18: note: in expansion of macro 'signe'
   long n,i,k,s = signe(x);
                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith1.c:2388:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT) err(arither1);
       ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'caract2_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/alglin2.c:50:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gpowgs(polx[v], 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/alglin2.c:51:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL) x = scalarpol(x,v);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:54:7: note: in expansion of macro 'typ'
   if (typ(p1) == t_POL && varn(p1)==MAXVARN)
       ^~~
../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/alglin2.c:55:5: note: in expansion of macro 'setvarn'
     setvarn(p1,v);
     ^~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'easychar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:82: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/basemath/alglin2.c:87:13: note: in expansion of macro 'evalsigne'
       p1[1]=evalsigne(1) | evallgef(4) | evalvarn(v);
             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/alglin2.c:87:42: note: in expansion of macro 'evalvarn'
       p1[1]=evalsigne(1) | evallgef(4) | 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/alglin2.c:101:13: note: in expansion of macro 'evalsigne'
       p1[1]=evalsigne(1) | evallgef(5) | 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/alglin2.c:101:42: note: in expansion of macro 'evalvarn'
       p1[1]=evalsigne(1) | evallgef(5) | evalvarn(v);
                                          ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'caract':
../pari-2.1.7/src/headers/parigen.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/alglin2.c:135:24: note: in expansion of macro 'evalsigne'
   p6=cgeti(3); p6[1] = evalsigne(-1) | evallgefint(3);
                        ^~~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'caradj':
../pari-2.1.7/src/headers/parigen.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/alglin2.c:168:28: note: in expansion of macro 'evalsigne'
   p=cgetg(l+2,t_POL); p[1]=evalsigne(1) | evallgef(l+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/alglin2.c:168:59: note: in expansion of macro 'evalvarn'
   p=cgetg(l+2,t_POL); p[1]=evalsigne(1) | evallgef(l+2) | evalvarn(v);
                                                           ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hess':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:237:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(mattype1,"hess");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'gnorm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:301:26: note: in expansion of macro 'typ'
   long l,lx,i,tetpil, tx=typ(x);
                          ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'gnorml2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:349:13: note: in expansion of macro 'typ'
   long i,tx=typ(x),lx,av,lim;
             ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'fastnorml2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:372:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POL)
       ^~~
../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/alglin2.c:373:12: note: in expansion of macro 'evaltyp'
     *++y = evaltyp(t_VEC) | evallg(lgef(x)-1);
            ^~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'gconj':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:386:16: note: in expansion of macro 'typ'
   long lx,i,tx=typ(x);
                ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'conjvec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:434:28: note: in expansion of macro 'typ'
   long lx,s,av,tetpil,i,tx=typ(x);
                            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:460:5: note: in expansion of macro 'typ'
  tx=typ(y[i]);
     ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'assmat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:500:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_POL) err(notpoler,"assmat");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'gtrace':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:529:17: note: in expansion of macro 'typ'
   long i,l,n,tx=typ(x),lx,tetpil;
                 ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'sqred1intern':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:598:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(typeer,"sqred1");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'sqred3':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:646:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(typeer,"sqred3");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'sqred2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:686:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(typeer,"sqred2");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'jacobi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:764:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(mattype1,"jacobi");
       ^~~
../pari-2.1.7/src/headers/parigen.h:122:24: warning: overflow in implicit constant conversion [-Woverflow]
 #  define HIGHEXPOBIT  (0x0000800000000000L)
                        ^
../pari-2.1.7/src/basemath/alglin2.c:766:6: note: in expansion of macro 'HIGHEXPOBIT'
   e1=HIGHEXPOBIT-1;
      ^~~~~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c:783:6: warning: overflow in implicit constant conversion [-Woverflow]
   e2=-HIGHEXPOBIT;p=q=1;
      ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/alglin2.c:22:
../pari-2.1.7/src/basemath/alglin2.c: In function 'matrixqz0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:870:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_INT) err(typeer,"matrixqz0");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:871:7: note: in expansion of macro 'signe'
   if (signe(p)>=0)  return matrixqz(x,p);
       ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'matrixqz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:883:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"matrixqz");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:899:9: note: in expansion of macro 'typ'
       t=typ(p3[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/alglin2.c:913:10: note: in expansion of macro 'signe'
     if (!signe(p3))
          ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'matrixqz2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:994:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"matrixqz2");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'matrixqz3':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1006:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"matrixqz3");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'intersect':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1036:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT || typ(y)!=t_MAT) err(typeer,"intersect");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1036:24: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT || typ(y)!=t_MAT) err(typeer,"intersect");
                        ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'init_hnf':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1068:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"mathnf");
       ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'lincomb_integral':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1097:8: note: in expansion of macro 'signe'
   if (!signe(u)) return int_col_mul(v,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/alglin2.c:1098:8: note: in expansion of macro 'signe'
   if (!signe(v)) return int_col_mul(u,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/alglin2.c:1105:17: note: in expansion of macro 'signe'
       if      (!signe(p1)) A[i] = lmulii(v,p2);
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1106:17: note: in expansion of macro 'signe'
       else if (!signe(p2)) A[i] = licopy(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/alglin2.c:1119:17: note: in expansion of macro 'signe'
       if      (!signe(p1)) A[i] = lmulii(v,p2);
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1120:17: note: in expansion of macro 'signe'
       else if (!signe(p2)) A[i] = lmulii(u,p1);
                 ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnf_special':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1138:7: note: in expansion of macro 'typ'
   if (typ(x) != t_VEC || lg(x) !=3) err(typeer,"hnf_special");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1154:20: note: in expansion of macro 'signe'
       while (j && !signe(gcoeff(x,i,j))) j--;
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1174:31: note: in expansion of macro 'signe'
     p1 = gcoeff(x,i,def); s = signe(p1);
                               ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnf0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1228:7: note: in expansion of macro 'typ'
   if (typ(x) == t_VEC) return hnf_special(x,remove);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1238:20: note: in expansion of macro 'signe'
       while (j && !signe(gcoeff(x,i,j))) j--;
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1242:31: note: in expansion of macro 'signe'
       b = gcoeff(x,i,k); if (!signe(b)) { swap(x[j],x[k]); 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/alglin2.c:1255:31: note: in expansion of macro 'signe'
     p1 = gcoeff(x,i,def); s = signe(p1);
                               ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'allhnfmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1299:7: note: in expansion of macro 'typ'
   if (typ(dm)!=t_INT) err(typeer,"allhnfmod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1300:8: note: in expansion of macro 'signe'
   if (!signe(dm)) return hnf(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/alglin2.c:1301:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"allhnfmod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1327:20: note: in expansion of macro 'signe'
       while (j && !signe(gcoeff(x,i,j))) j--;
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1332:31: note: in expansion of macro 'signe'
       b = gcoeff(x,i,k); if (!signe(b)) { swap(x[j], x[k]); 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/alglin2.c:1356:10: note: in expansion of macro 'signe'
     if (!signe(gcoeff(w,i,i))) coeff(w,i,i)=(long)d;
          ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnfhavas':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1404:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"hnfhavas");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1443:23: note: in expansion of macro 'signe'
       while (k>=1 && !signe(lil2[k])) 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/alglin2.c:1448:15: note: in expansion of macro 'signe'
  j=1; while (!signe(gcoeff(x,vpk,j))) j++;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1458:8: note: in expansion of macro 'signe'
    if (signe(gcoeff(x,vpk,j)) && com <=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/alglin2.c:1488:11: note: in expansion of macro 'signe'
       if (signe(gcoeff(x,vi,def))<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/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/alglin2.c:1499:9: note: in expansion of macro 'setsigne'
         setsigne(p2,-signe(p2));
         ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c:1499:22: note: in expansion of macro 'signe'
         setsigne(p2,-signe(p2));
                      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/alglin2.c:1499:9: note: in expansion of macro 'setsigne'
         setsigne(p2,-signe(p2));
         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1503:20: note: in expansion of macro 'signe'
       j=1; while (!signe(gcoeff(x,vi,j))) j++;
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1510:8: note: in expansion of macro 'signe'
    if (signe(gcoeff(x,vi,j)))
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/alglin2.c:1536:38: note: in expansion of macro 'setsigne'
       p2=gdivent(gcoeff(x,vi,j),p1); setsigne(p2,-signe(p2));
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c:1536:51: note: in expansion of macro 'signe'
       p2=gdivent(gcoeff(x,vi,j),p1); setsigne(p2,-signe(p2));
                                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/alglin2.c:1536:38: note: in expansion of macro 'setsigne'
       p2=gdivent(gcoeff(x,vi,j),p1); setsigne(p2,-signe(p2));
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'mynegi':
../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/alglin2.c:1586:22: note: in expansion of macro 'evaltyp'
   static long mun[]={evaltyp(t_INT)|m_evallg(3),evalsigne(-1)|evallgefint(3),1};
                      ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/alglin2.c:1586:49: note: in expansion of macro 'evalsigne'
   static long mun[]={evaltyp(t_INT)|m_evallg(3),evalsigne(-1)|evallgefint(3),1};
                                                 ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1587:12: note: in expansion of macro 'signe'
   long s = 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/alglin2.c:1592:3: note: in expansion of macro 'setsigne'
   setsigne(x,-s); return x;
   ^~~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'divnearest':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1600:21: note: in expansion of macro 'signe'
   long av = avma, s=signe(r), t;
                     ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'elt_col':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1635:9: note: in expansion of macro 'signe'
     if (signe(q) > 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/alglin2.c:1638:13: note: in expansion of macro 'signe'
         if (signe(Mi[j])) Mk[j] = laddii((GEN)Mk[j], (GEN)Mi[j]);
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1643:13: note: in expansion of macro 'signe'
         if (signe(Mi[j])) Mk[j] = lsubii((GEN)Mk[j], (GEN)Mi[j]);
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1648:11: note: in expansion of macro 'signe'
       if (signe(Mi[j])) Mk[j] = laddii((GEN)Mk[j], mulii(q, (GEN)Mi[j]));
           ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'findi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1657:9: note: in expansion of macro 'signe'
     if (signe(M[i])) return i;
         ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'reduce2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1668:15: note: in expansion of macro 'signe'
   if (row0 && signe(gcoeff(A,row0,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/alglin2.c:1675:15: note: in expansion of macro 'signe'
   if (row1 && signe(gcoeff(A,row1,k)) < 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/alglin2.c:1689:7: note: in expansion of macro 'signe'
   if (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/alglin2.c:1698:11: note: in expansion of macro 'signe'
       if (signe(q) > 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/alglin2.c:1701:15: note: in expansion of macro 'signe'
           if (signe(Lj[i])) Lk[i] = addii(Lk[i], Lj[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/alglin2.c:1706:15: note: in expansion of macro 'signe'
           if (signe(Lj[i])) Lk[i] = subii(Lk[i], Lj[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/alglin2.c:1712:13: note: in expansion of macro 'signe'
         if (signe(Lj[i])) Lk[i] = addii(Lk[i], mulii(q,Lj[i]));
             ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnflll':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1771:7: note: in expansion of macro 'typ'
   if (typ(A) != t_MAT) err(typeer,"hnflll");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1777:14: note: in expansion of macro 'signe'
     if (i && signe(gcoeff(A,i,1)) < 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/alglin2.c:1821:23: note: in expansion of macro 'evaltyp'
   i--; A += i; A[0] = evaltyp(t_MAT)|evallg(n-i);
                       ^~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'reduce1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1836:7: note: in expansion of macro 'signe'
   if (signe(A[j]))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1850:11: note: in expansion of macro 'signe'
       if (signe(lambda[j][i]))
           ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'extendedgcd':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1874:9: note: in expansion of macro 'signe'
     if (signe(A[k-1])) do_swap = 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/alglin2.c:1875:15: note: in expansion of macro 'signe'
     else if (!signe(A[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/alglin2.c:1897:7: note: in expansion of macro 'signe'
   if (signe(A[n-1])<0)
       ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnfperm':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:1916:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(typeer,"hnfperm");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1938:11: note: in expansion of macro 'signe'
       if (signe(b) == 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/alglin2.c:1951:13: note: in expansion of macro 'signe'
         if (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/alglin2.c:1959:32: note: in expansion of macro 'signe'
     t=m; while (t && (c[t] || !signe(gcoeff(A,t,k)))) t--;
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1966:6: note: in expansion of macro 'signe'
  if (signe(q) && absi_cmp(p,q) > 0) { p=q; t=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/alglin2.c:1969:11: note: in expansion of macro 'signe'
       if (signe(p) < 0)
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:1978:6: note: in expansion of macro 'signe'
  if (signe(q))
      ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'colint_copy':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2025:31: note: in expansion of macro 'signe'
   for (i=1; i<lx; i++) y[i] = signe(x[i])? licopy((GEN)x[i]): zero;
                               ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'hnfall0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2049:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(typeer,"hnfall");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2069:6: note: in expansion of macro 'signe'
  if (signe(b))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2085:10: note: in expansion of macro 'signe'
      if (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/alglin2.c:2103:11: 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/alglin2.c:2112:13: note: in expansion of macro 'signe'
         if (signe(gcoeff(A,li,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/alglin2.c:2121:15: note: in expansion of macro 'signe'
           if (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/alglin2.c:2143:11: note: in expansion of macro 'signe'
       if (signe(b=gcoeff(A,i,j)))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2159:8: note: in expansion of macro 'signe'
    if (signe(q))
        ^~~~~
../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/alglin2.c:2179:20: note: in expansion of macro 'evaltyp'
     A += r; A[0] = evaltyp(t_MAT) | evallg(n-r+1);
                    ^~~~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'col_mul':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2197:12: note: in expansion of macro 'signe'
   long s = signe(x);
            ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'smithall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2254:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"smithall");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2261:11: note: in expansion of macro 'typ'
       if (typ(coeff(x,i,j)) != 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/alglin2.c:2270:9: note: in expansion of macro 'signe'
     if (signe(mdet))
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2301:7: note: in expansion of macro 'signe'
   if (signe(mdet))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2327:25: note: in expansion of macro 'signe'
  p1=gcoeff(x,i,j); s1 = signe(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/alglin2.c:2333:16: note: in expansion of macro 'signe'
             s2=signe(p2);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2367:25: note: in expansion of macro 'signe'
  p1=gcoeff(x,j,i); s1 = signe(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/alglin2.c:2373:18: note: in expansion of macro 'signe'
             s2 = signe(p2);
                  ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2398:6: note: in expansion of macro 'signe'
  if (signe(b))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2402:19: note: in expansion of macro 'signe'
        fl = (int)!signe(resii(gcoeff(x,k,l),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/alglin2.c:2430:11: note: in expansion of macro 'signe'
       if (signe(gcoeff(x,k,k))<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/alglin2.c:2438:9: note: in expansion of macro 'signe'
     if (signe(gcoeff(x,k,k))) z[j--]=labsi(gcoeff(x,k,k));
         ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'smithclean':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2456:7: note: in expansion of macro 'typ'
   if (typ(z) != t_VEC) err(typeer,"smithclean");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2459:17: note: in expansion of macro 'typ'
   if (l != 4 || typ(u) != 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/alglin2.c:2461:9: note: in expansion of macro 'typ'
     if (typ(u) != t_INT) err(typeer,"smithclean");
         ^~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'gsmithall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2489:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"gsmithall");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2504:6: note: in expansion of macro 'signe'
  if (signe(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/alglin2.c:2507:16: note: in expansion of macro 'signe'
           if (!signe(p2))
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2531:6: note: in expansion of macro 'signe'
  if (signe(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/alglin2.c:2534:16: note: in expansion of macro 'signe'
           if (!signe(p2))
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2559:6: note: in expansion of macro 'signe'
  if (signe(b))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2562:12: note: in expansion of macro 'signe'
        if (signe(gmod(gcoeff(x,k,l),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/alglin2.c:2587:11: note: in expansion of macro 'signe'
       if (signe(gcoeff(x,k,k)) < 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/alglin2.c:2595:35: note: in expansion of macro 'signe'
     for (j=0,k=1; k<=n; k++) if (!signe(gcoeff(x,k,k))) z[++j]=zero;
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin2.c:2597:11: note: in expansion of macro 'signe'
       if (signe(p1=gcoeff(x,k,k))) z[++j]=(long)gabs(p1,0);
           ^~~~~
../pari-2.1.7/src/basemath/alglin2.c: In function 'matsnf0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin2.c:2607:7: note: in expansion of macro 'typ'
   if (typ(x) == t_VEC && flag & 4) return smithclean(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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o subfield.o ../pari-2.1.7/src/modules/subfield.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/subfield.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/subfield.c: In function 'polsimplify':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/subfield.c:407:9: note: in expansion of macro 'typ'
     if (typ(x[i]) == t_POL) x[i] = signe(x[i])? mael(x,i,2): zero;
         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/subfield.c:407:36: note: in expansion of macro 'signe'
     if (typ(x[i]) == t_POL) x[i] = signe(x[i])? mael(x,i,2): zero;
                                    ^~~~~
../pari-2.1.7/src/modules/subfield.c: In function 'cand_for_subfields':
../pari-2.1.7/src/headers/parigen.h:154: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/subfield.c:468:8: note: in expansion of macro 'signe'
   if (!signe(dg)) return stoi(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/modules/subfield.c:469:8: note: in expansion of macro 'signe'
   if (!signe(resii(dg,p))) return gdeux;
        ^~~~~
../pari-2.1.7/src/modules/subfield.c: In function 'subfields_of_given_degree':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/subfield.c:713:9: note: in expansion of macro 'typ'
     if (typ(CSF)==t_INT)
         ^~~
../pari-2.1.7/src/modules/subfield.c: In function 'subfields':
../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/subfield.c:781:24: note: in expansion of macro 'setvarn'
       { p2=(GEN)p1[i]; setvarn(p2[1],v0); setvarn(p2[2],v0); }
                        ^~~~~~~
../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/subfield.c:781:43: note: in expansion of macro 'setvarn'
       { p2=(GEN)p1[i]; setvarn(p2[1],v0); setvarn(p2[2],v0); }
                                           ^~~~~~~
../pari-2.1.7/src/modules/subfield.c: In function 'subfieldsall':
../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/subfield.c:835:25: note: in expansion of macro 'setvarn'
       { p2=(GEN)LSB[i]; setvarn(p2[1],v0); setvarn(p2[2],v0); }
                         ^~~~~~~
../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/subfield.c:835:44: note: in expansion of macro 'setvarn'
       { p2=(GEN)LSB[i]; setvarn(p2[1],v0); setvarn(p2[2],v0); }
                                            ^~~~~~~
../pari-2.1.7/src/modules/subfield.c: In function 'ffinit':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/subfield.c:856:7: note: in expansion of macro 'typ'
   if (typ(p) != t_INT) err(typeer,"ffinit");
       ^~~
../pari-2.1.7/src/modules/subfield.c: In function 'lift_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/modules/subfield.c:873:7: note: in expansion of macro 'typ'
   if (typ(x) == t_POLMOD) { r = x; x = (GEN)x[2]; }
       ^~~
../pari-2.1.7/src/modules/subfield.c: In function 'special_lift':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/subfield.c:888:7: note: in expansion of macro 'typ'
   if (typ(a)==t_POL)
       ^~~
../pari-2.1.7/src/modules/subfield.c: In function 'conjugates':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/subfield.c:1221:7: note: in expansion of macro 'typ'
   if (typ(pol)==t_POL) nf = NULL; else { nf = checknf(pol); pol=(GEN)nf[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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari-2.1.7/src/language/es.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/es.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/language/es.c: In function 'GENtostr0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:634:7: note: in expansion of macro 'typ'
   if (typ(x) == t_STR) return pari_strdup(GSTR(x));
       ^~~
../pari-2.1.7/src/language/es.c: In function 'wr_int':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:727:23: note: in expansion of macro 'signe'
   long *res,*re,i, sx=signe(x);
                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:730:3: note: in expansion of macro 'setsigne'
   setsigne(x,1); re = res = convi(x);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:731:3: note: in expansion of macro 'setsigne'
   setsigne(x,sx);
   ^~~~~~~~
../pari-2.1.7/src/language/es.c: In function 'wr_float':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:777:26: note: in expansion of macro 'signe'
   p1 = gcvtoi(x,&e); s = signe(p1);
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/language/es.c:782:22: note: in expansion of macro 'setsigne'
     x = subri(x,p1); setsigne(p1,1);
                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:789:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/language/es.c: In function 'wr_real':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:829:19: note: in expansion of macro 'signe'
   long ltop, sx = signe(x), ex = expo(x);
                   ^~~~~
../pari-2.1.7/src/language/es.c: In function 'ecrire':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:859:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/language/es.c: In function 'sorstring':
../pari-2.1.7/src/language/es.c:878:23: warning: right shift count >= width of type [-Wshift-count-overflow]
   pariputsf(b,(ulong)x>>32,x & MAXHALFULONG);
                       ^~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/es.c:21:
../pari-2.1.7/src/language/es.c: In function 'vsigne':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:909:12: note: in expansion of macro 'signe'
   long s = signe(x);
            ^~~~~
../pari-2.1.7/src/language/es.c: In function 'voir2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:917:11: note: in expansion of macro 'typ'
   long tx=typ(x),i,j,e,dx,lx=lg(x);
           ^~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:944:40: note: in expansion of macro 'precp'
     pariputsf("(precp=%ld,valp=%ld):", precp(x), valp(x));
                                        ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isnull':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1165:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1170:15: note: in expansion of macro 'signe'
       return !signe(g);
               ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isone':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1192:11: note: in expansion of macro 'typ'
   switch (typ(g))
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1202:15: note: in expansion of macro 'signe'
       return (signe(g) && is_pm1(g))? signe(g): 0;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1202:39: note: in expansion of macro 'signe'
       return (signe(g) && is_pm1(g))? signe(g): 0;
                                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1210:12: note: in expansion of macro 'signe'
       if (!signe(g)) return 0;
            ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isfactor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1223:10: note: in expansion of macro 'typ'
   switch(typ(g))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1226:15: note: in expansion of macro 'signe'
       return (signe(g)<0)? -1: 1;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1234:15: note: in expansion of macro 'signe'
       return !signe((GEN)g[4]);
               ^~~~~
../pari-2.1.7/src/language/es.c: In function 'isdenom':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1259:10: note: in expansion of macro 'typ'
   switch(typ(g))
          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1264:27: note: in expansion of macro 'signe'
     case t_PADIC: return !signe((GEN)g[4]);
                           ^~~~~
../pari-2.1.7/src/language/es.c: In function 'bruti':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1385:8: note: in expansion of macro 'typ'
   tg = typ(g);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1425:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_monome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1425:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_monome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1431:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1438:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_monome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1438:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_monome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1447:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1452:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
../pari-2.1.7/src/language/es.c: In function 'matbruti':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1533:7: note: in expansion of macro 'typ'
   if (typ(g) != t_MAT) { bruti(g,flag); return; }
       ^~~
../pari-2.1.7/src/language/es.c: In function 'sori':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1581:11: note: in expansion of macro 'typ'
   long tg=typ(g), i,j,r,l,close_paren;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1611:29: note: in expansion of macro 'signe'
       if (tg == t_INTMOD && signe(a) < 0) a = addii(a,b);
                             ^~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1627:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1632:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1648:12: note: in expansion of macro 'signe'
       if (!signe(g)) { pariputc('0'); break; }
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1654:29: note: in expansion of macro 'isnull_for_pol'
         a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                             ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1654:29: note: in expansion of macro 'isnull_for_pol'
         a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                             ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1660:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1666:31: note: in expansion of macro 'isnull_for_pol'
           a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                               ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1666:31: note: in expansion of macro 'isnull_for_pol'
           a = (GEN)g[i]; if (!isnull_for_pol(a)) sor_monome(a,v,i);
                               ^~~~~~~~~~~~~~
../pari-2.1.7/src/language/es.c: In function 'texi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1774:8: note: in expansion of macro 'typ'
   tg = typ(g);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1806:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_texnome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1806:14: note: in expansion of macro 'isnull_for_pol'
         if (!isnull_for_pol(a)) wr_texnome(a,v,i);
              ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1812:11: note: in expansion of macro 'signe'
       if (signe(g))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/es.c:1158:30: note: in expansion of macro 'typ'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                              ^~~
../pari-2.1.7/src/language/es.c:1819:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_texnome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1158:50: note: in expansion of macro 'signe'
 #define isnull_for_pol(g)  ((typ(g)==t_INTMOD)? !signe(g[2]): isnull(g))
                                                  ^~~~~
../pari-2.1.7/src/language/es.c:1819:16: note: in expansion of macro 'isnull_for_pol'
           if (!isnull_for_pol(a)) wr_texnome(a,v,i);
                ^~~~~~~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/language/es.c:1828:24: note: in expansion of macro 'precp'
       i = valp(g); l = precp(g)+i;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/es.c:1833:6: note: in expansion of macro 'signe'
  if (signe(a))
      ^~~~~
../pari-2.1.7/src/language/es.c: In function 'hit_return':
../pari-2.1.7/src/language/es.c:41:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
   do fgets(tmp,16,stdin); while (tmp[strlen(tmp)-1] != '\n');
      ^~~~~~~~~~~~~~~~~~~
../pari-2.1.7/src/language/es.c: In function 'os_read':
../pari-2.1.7/src/language/es.c:2222:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd,ch,s);
   ^~~~~~~~~~~~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o arith2.o ../pari-2.1.7/src/basemath/arith2.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/arith2.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/arith2.c: At top level:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/arith2.c:28:24: note: in expansion of macro 'evaltyp'
 static long court_p[]={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/arith2.c:28:51: note: in expansion of macro 'evalsigne'
 static long court_p[]={evaltyp(t_INT)|m_evallg(3),evalsigne(1)|evallgefint(3),0};
                                                   ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'addprimes':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:262:8: note: in expansion of macro 'typ'
   tx = typ(prime);
        ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:270:7: note: in expansion of macro 'signe'
   i = signe(prime);
       ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'removeprime':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:298:7: note: in expansion of macro 'typ'
   if (typ(prime) != t_INT) err(typeer,"removeprime");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'removeprimes':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:315:8: note: in expansion of macro 'typ'
   tx = typ(prime);
        ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/arith2.c:22:
../pari-2.1.7/src/basemath/arith2.c: In function 'tridiv_bound':
../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/arith2.c:357:12: note: in expansion of macro 'VERYBIGINT'
     return VERYBIGINT;  /* smallfact() case */
            ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/arith2.c:22:
../pari-2.1.7/src/basemath/arith2.c: In function 'auxdecomp1':
../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/arith2.c:432:17: note: in expansion of macro 'evaltyp'
   long pp[] = { evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3),2,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/arith2.c:432:45: note: in expansion of macro 'evalsigne'
   long pp[] = { evaltyp(t_INT)|m_evallg(3), evalsigne(1)|evallgefint(3),2,0 };
                                             ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:436:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:437:5: note: in expansion of macro 'signe'
   i=signe(n); if (!i) err(arither2);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:442:19: note: in expansion of macro 'setsigne'
   n = gclone(n);  setsigne(n,1);
                   ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'boundfact':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:598:10: note: in expansion of macro 'typ'
   switch(typ(n))
          ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'mu':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:664:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:665:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'issquarefree':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:706:6: note: in expansion of macro 'typ'
   tx=typ(x);
      ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'omega':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:749:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:750:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'bigomega':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:786:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:787:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'phi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:821:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:822:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'numbdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:862:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:863:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'sumdiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:899:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:900:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'sumdivk':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:942:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:943:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(arither2);
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'divisors':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:990:7: note: in expansion of macro 'typ'
   if (typ(n) != t_MAT || lg(n) != 3) n = auxdecomp(n,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/arith2.c:993:14: note: in expansion of macro 'signe'
   if (l>1 && signe(n[1]) < 0) { e++; n++; l--; } /* skip -1 */
              ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'coredisc':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1054:19: note: in expansion of macro 'signe'
   r=mod4(p1); if (signe(p1)<0) r = 4-r;
                   ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'coredisc2':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1065:34: note: in expansion of macro 'signe'
   p1=(GEN)p2[1]; r=mod4(p1); if (signe(p1)<0) r=4-r;
                                  ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'qf_create':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1095:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_INT || typ(y)!=t_INT || typ(z)!=t_INT) err(typeer,"Qfb");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1095:24: note: in expansion of macro 'typ'
   if (typ(x)!=t_INT || typ(y)!=t_INT || typ(z)!=t_INT) err(typeer,"Qfb");
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1095:41: note: in expansion of macro 'typ'
   if (typ(x)!=t_INT || typ(y)!=t_INT || typ(z)!=t_INT) err(typeer,"Qfb");
                                         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1098:23: note: in expansion of macro 'signe'
     long av=avma; s = signe(qf_disc(x,y,z)); avma=av;
                       ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'qfr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1116:7: note: in expansion of macro 'typ'
   if (typ(d) != t_REAL)
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'Qfb0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1127:7: note: in expansion of macro 'typ'
   if (typ(d) == t_REAL)
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'sq_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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1147:28: note: in expansion of macro 'setsigne'
   m = mulii((GEN)x[3],x2); setsigne(m,-signe(m));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1147:40: note: in expansion of macro 'signe'
   m = mulii((GEN)x[3],x2); setsigne(m,-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/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1147:28: note: in expansion of macro 'setsigne'
   m = mulii((GEN)x[3],x2); setsigne(m,-signe(m));
                            ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'comp_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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1177:3: note: in expansion of macro 'setsigne'
   setsigne(m,-signe(m));
   ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1177:15: note: in expansion of macro 'signe'
   setsigne(m,-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/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1177:3: note: in expansion of macro 'setsigne'
   setsigne(m,-signe(m));
   ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'compimag0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1188:13: note: in expansion of macro 'typ'
   long tx = typ(x), av = avma, 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/arith2.c:1191:7: note: in expansion of macro 'typ'
   if (typ(y) != tx || tx!=t_QFI) err(typeer,"composition");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'compreal0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1200:13: note: in expansion of macro 'typ'
   long tx = typ(x), av = avma, 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/arith2.c:1203:7: note: in expansion of macro 'typ'
   if (typ(y) != tx || tx!=t_QFR) err(typeer,"composition");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'compraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1224:11: note: in expansion of macro 'typ'
   return (typ(x)==t_QFI)? compimagraw(x,y): comprealraw(x,y);
           ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'sqcompimag0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1233:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_QFI) err(typeer,"composition");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'sqcompreal0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1244:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_QFR) err(typeer,"composition");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'real_unit_form_by_disc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1267:7: note: in expansion of macro 'typ'
   if (typ(D) != t_INT || signe(D) <= 0) err(typeer,"real_unit_form_by_disc");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1267:26: note: in expansion of macro 'signe'
   if (typ(D) != t_INT || signe(D) <= 0) err(typeer,"real_unit_form_by_disc");
                          ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'real_unit_form':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1287:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFR) err(typeer,"real_unit_form");
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'imag_unit_form_by_disc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1300:7: note: in expansion of macro 'typ'
   if (typ(D) != t_INT || signe(D) >= 0) err(typeer,"real_unit_form_by_disc");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1300:26: note: in expansion of macro 'signe'
   if (typ(D) != t_INT || signe(D) >= 0) err(typeer,"real_unit_form_by_disc");
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/arith2.c:1306:22: note: in expansion of macro 'mpodd'
   y[1] = un; isodd = mpodd(D);
                      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:1309:25: note: in expansion of macro 'setsigne'
   y[3] = lshifti(D,-2); setsigne(y[3],1);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'imag_unit_form':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1323:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFI) err(typeer,"imag_unit_form");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/arith2.c:1325:10: note: in expansion of macro 'mpodd'
   y[2] = mpodd((GEN)x[2])? un: zero;
          ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'powrealraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1338:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFR)
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'powimagraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1361:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFI)
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'powraw':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1381:11: note: in expansion of macro 'typ'
   return (typ(x)==t_QFI)? powimagraw(x,n): powrealraw(x,n);
           ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'nucomp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1393:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFI || typ(y) != t_QFI)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1393:26: note: in expansion of macro 'typ'
   if (typ(x) != t_QFI || typ(y) != t_QFI)
                          ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'nudupl':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1456:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFI)
       ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'nupow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1497:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"not an integer exponent in nupow");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1500:8: note: in expansion of macro 'signe'
   if (!signe(n)) 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/arith2.c:1515:7: note: in expansion of macro 'signe'
   if (signe(n)<0 && !egalii((GEN)y[1],(GEN)y[2])
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1517:5: note: in expansion of macro 'setsigne'
     setsigne(y[2],-signe(y[2]));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1517:20: 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/arith2.c:1517:5: note: in expansion of macro 'setsigne'
     setsigne(y[2],-signe(y[2]));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'abs_dvmdii':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:1526:12: note: in expansion of macro 'setsigne'
   if (s<0) setsigne(b, 1); p1 = dvmdii(b,p1,pt);
            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:1527:12: note: in expansion of macro 'setsigne'
   if (s<0) setsigne(b,-1); return p1;
            ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'rhoimag0':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1534:16: note: in expansion of macro 'signe'
   long fl, s = signe(x[2]);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1550:5: note: in expansion of macro 'setsigne'
     setsigne(d,-signe(d));
     ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1550:17: note: in expansion of macro 'signe'
     setsigne(d,-signe(d));
                 ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:1550:5: note: in expansion of macro 'setsigne'
     setsigne(d,-signe(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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1551:32: note: in expansion of macro 'setsigne'
     if (cmpii(b,(GEN)x[3])<=0) setsigne(b,-signe(b));
                                ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1551:44: note: in expansion of macro 'signe'
     if (cmpii(b,(GEN)x[3])<=0) setsigne(b,-signe(b));
                                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1551:32: note: in expansion of macro 'setsigne'
     if (cmpii(b,(GEN)x[3])<=0) setsigne(b,-signe(b));
                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1559:7: note: in expansion of macro 'signe'
   if (signe(b)<0 && !fl) setsigne(b,1);
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1559:26: note: in expansion of macro 'setsigne'
   if (signe(b)<0 && !fl) setsigne(b,1);
                          ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'rhoreal_aux':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:1585:3: note: in expansion of macro 'setsigne'
   setsigne(p1,1); /* |2c| */
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1597:9: note: in expansion of macro 'signe'
     if (signe(b))
         ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'decodeform':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1641:7: note: in expansion of macro 'signe'
   if (signe(p2))
       ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/arith2.c:22:
../pari-2.1.7/src/headers/paricom.h:79:18: warning: overflow in implicit constant conversion [-Woverflow]
 #  define EXP220 (1099511627776L)          /* 2^40   */
                  ^
../pari-2.1.7/src/headers/paricom.h:124:33: note: in definition of macro 'addis'
 #define addis(x,s)  (addsi((s),(x)))
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1645:22: note: in expansion of macro 'EXP220'
     p2 = addis(mulsi(EXP220,p2), e);
                      ^~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/arith2.c:22:
../pari-2.1.7/src/basemath/arith2.c: In function 'real_isreduced':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1673:7: note: in expansion of macro 'signe'
   if (signe(b) > 0 && cmpii(b,isqrtD) <= 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/arith2.c:1677:29: note: in expansion of macro 'signe'
     if (l > 0 || (l == 0 && signe(p1) < 0)) return 1;
                             ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'redreal0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1696:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFR) err(talker,"not a real quadratic form in redreal");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1701:9: note: in expansion of macro 'typ'
     if (typ(D) != t_INT) err(arither1);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1712:16: note: in expansion of macro 'typ'
       long l = typ(sqrtD);
                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1719:9: note: in expansion of macro 'typ'
     if (typ(isqrtD) != t_INT) err(arither1);
         ^~~
../pari-2.1.7/src/basemath/arith2.c: In function 'powrealform':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1754:7: note: in expansion of macro 'typ'
   if (typ(x) != t_QFR)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1763:7: note: in expansion of macro 'signe'
   if (signe(n) < 0) { x = ginv(x); d0 = (GEN)x[4]; }
       ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'redimag':
../pari-2.1.7/src/headers/parigen.h:154: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/arith2.c:1786:16: note: in expansion of macro 'setsigne'
   if (fl == 2) setsigne(x[2], -signe(x[2]));
                ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1786:32: note: in expansion of macro 'signe'
   if (fl == 2) setsigne(x[2], -signe(x[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/arith2.c:1786:16: note: in expansion of macro 'setsigne'
   if (fl == 2) setsigne(x[2], -signe(x[2]));
                ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'qfbred0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1817:11: note: in expansion of macro 'typ'
   long tx=typ(x),av,tetpil,fl;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1821:10: note: in expansion of macro 'signe'
   switch(signe(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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/arith2.c:1831:20: note: in expansion of macro 'setsigne'
       if (fl == 2) setsigne(x[2], -signe(x[2]));
                    ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:1831:36: note: in expansion of macro 'signe'
       if (fl == 2) setsigne(x[2], -signe(x[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/arith2.c:1831:20: note: in expansion of macro 'setsigne'
       if (fl == 2) setsigne(x[2], -signe(x[2]));
                    ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'primeform':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1842:20: note: in expansion of macro 'signe'
   long av,tetpil,s=signe(x);
                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1845:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || !s) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1846:7: note: in expansion of macro 'typ'
   if (typ(p) != t_INT || signe(p) <= 0) 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/arith2.c:1846:26: note: in expansion of macro 'signe'
   if (typ(p) != t_INT || signe(p) <= 0) err(arither1);
                          ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'binaire':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:1899:22: note: in expansion of macro 'typ'
   long i,lx,ex,ly,tx=typ(x);
                      ^~~
../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/arith2.c:1907:30: note: in expansion of macro 'HIGHBIT'
       ly = BITS_IN_LONG+1; m=HIGHBIT; u=x[2];
                              ^~~~~~~
../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/arith2.c:1913:4: note: in expansion of macro 'HIGHBIT'
  m=HIGHBIT; u=x[i];
    ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1920:12: note: in expansion of macro 'signe'
       if (!signe(x))
            ^~~~~
../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/arith2.c:1932:27: note: in expansion of macro 'HIGHBIT'
       ly = -ex; ex++; m = 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/arith2.c:1943:6: note: in expansion of macro 'HIGHBIT'
    m=HIGHBIT; u=x[i];
      ^~~~~~~
../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/arith2.c:1949:21: note: in expansion of macro 'HIGHBIT'
  if (m) i--; else m=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/arith2.c:1955:4: note: in expansion of macro 'HIGHBIT'
  m=HIGHBIT;
    ^~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'bittest':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/arith2.c:1975:8: note: in expansion of macro 'signe'
   if (!signe(x) || n<0) return 0;
        ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'inormalize':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:2021:2: note: in expansion of macro 'setsigne'
  setsigne(x,0);
  ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'gbitneg':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:2092:9: note: in expansion of macro 'typ'
     if (typ(x) != 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/arith2.c:2100:9: note: in expansion of macro 'signe'
     if (signe(x) == -1) {  /* Consider as if mod big power of 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/arith2.c:2102:2: 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/arith2.c:2123:2: note: in expansion of macro 'setsigne'
  setsigne(out,1);
  ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'ibitand':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:2154:3: note: in expansion of macro 'setsigne'
   setsigne(out,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/arith2.c:2157:7: note: in expansion of macro 'setsigne'
       setsigne(out,0);
       ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'ibitor':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:2195:3: note: in expansion of macro 'setsigne'
   setsigne(out,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/arith2.c:2198:7: note: in expansion of macro 'setsigne'
       setsigne(out,0);
       ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'ibitnegimply':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:2243:3: note: in expansion of macro 'setsigne'
   setsigne(out,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/arith2.c:2246:7: note: in expansion of macro 'setsigne'
       setsigne(out,0);
       ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'inegate_inplace':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/arith2.c:2259:3: note: in expansion of macro 'setsigne'
   setsigne(z, -1);
   ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/arith2.c:2263:7: note: in expansion of macro 'setsigne'
       setsigne(z, 0);
       ^~~~~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'gbitor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:2277:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2277:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2279:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) return icopy(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/arith2.c:2280:6: note: in expansion of macro 'signe'
   sy=signe(y); if (!sy) return icopy(x);
      ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'gbitand':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:2309:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2309:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2311:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) 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/arith2.c:2312:6: note: in expansion of macro 'signe'
   sy=signe(y); if (!sy) return gzero;
      ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'gbitxor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:2343:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2343:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2345:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) return icopy(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/arith2.c:2346:6: note: in expansion of macro 'signe'
   sy=signe(y); if (!sy) return icopy(x);
      ^~~~~
../pari-2.1.7/src/basemath/arith2.c: In function 'gbitnegimply':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/arith2.c:2376:7: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2376:26: note: in expansion of macro 'typ'
   if (typ(x) != t_INT || typ(y) != 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/arith2.c:2378:6: note: in expansion of macro 'signe'
   sx=signe(x); if (!sx) 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/arith2.c:2379:6: note: in expansion of macro 'signe'
   sy=signe(y); if (!sy) return icopy(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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o nffactor.o ../pari-2.1.7/src/modules/nffactor.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/nffactor.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'unifpol0':
../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/nffactor.c:65:14: note: in expansion of macro 'evaltyp'
     vun[0] = evaltyp(t_COL) | evallg(n+1); vun[1]=un;
              ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:70:10: note: in expansion of macro 'typ'
   switch(typ(pol))
          ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'unifpol':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:92:7: note: in expansion of macro 'typ'
   if (typ(pol)==t_POL && varn(pol) < varn(nf[1]))
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'random_pol':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/modules/nffactor.c:123:11: note: in expansion of macro 'evalsigne'
   pl[1] = evalsigne(1) | evallgef(d+3) | 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/nffactor.c:123:42: note: in expansion of macro 'evalvarn'
   pl[1] = evalsigne(1) | evallgef(d+3) | evalvarn(0);
                                          ^~~~~~~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nfmod_pol_reduce':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/nffactor.c:156:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) return nfreducemodpr(nf,pol,prhall);
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nfmod_pol_divres':
../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/nffactor.c:236:24: note: in expansion of macro 'evalvarn'
     z[1]=evallgef(2) | evalvarn(varn(px));
                        ^~~~~~~~
../pari-2.1.7/src/headers/parigen.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/nffactor.c:241:29: note: in expansion of macro 'evalsigne'
   z=cgetg(dz+3,t_POL); z[1]=evalsigne(1) | evallgef(3+dz);
                             ^~~~~~~~~
../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/nffactor.c:242:3: note: in expansion of macro 'setvarn'
   setvarn(z,varn(px));
   ^~~~~~~
../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/nffactor.c:270:27: note: in expansion of macro 'evalvarn'
     p3[1] = evallgef(2) | evalvarn(varn(px));
                           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.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/nffactor.c:275:9: note: in expansion of macro 'evalsigne'
   p3[1]=evalsigne(1) | evallgef(i+3) | evalvarn(varn(px));
         ^~~~~~~~~
../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/nffactor.c:275:40: note: in expansion of macro 'evalvarn'
   p3[1]=evalsigne(1) | evallgef(i+3) | evalvarn(varn(px));
                                        ^~~~~~~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nffactormod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:356:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"nffactormod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154: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/nffactor.c:366:8: note: in expansion of macro 'signe'
   if (!signe(f)) err(zeropoler,"nffactormod");
        ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/modules/nffactor.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/modules/nffactor.c:374:28: note: in expansion of macro 'VERYBIGINT'
     q = (GEN)pr[1]; psim = VERYBIGINT;
                            ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/nffactor.c:21:
../pari-2.1.7/src/headers/parigen.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/nffactor.c:423:14: note: in expansion of macro 'evalsigne'
        v3[1]=evalsigne(1)+evallgef(2+N); setvarn(v3,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/headers/parigen.h:180:40: note: in expansion of macro 'evalvarn'
          (((GEN)(x))[1]&(~VARNBITS)) | evalvarn(s))
                                        ^~~~~~~~
../pari-2.1.7/src/modules/nffactor.c:423:42: note: in expansion of macro 'setvarn'
        v3[1]=evalsigne(1)+evallgef(2+N); setvarn(v3,vf);
                                          ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/nffactor.c:465:15: note: in expansion of macro 'evalsigne'
       f1[1] = evalsigne(1) | evallgef(j) | 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/modules/nffactor.c:465:44: note: in expansion of macro 'evalvarn'
       f1[1] = evalsigne(1) | evallgef(j) | evalvarn(vf);
                                            ^~~~~~~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nfroots':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:556:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(talker,"not a polynomial in nfroots");
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nffactor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:665:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"nffactor");
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'T2_matrix_pow':
../pari-2.1.7/src/headers/parigen.h:154: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/nffactor.c:775:19: note: in expansion of macro 'signe'
   int tot_real = !signe(gmael(nf,2,2));
                   ^~~~~
../pari-2.1.7/src/modules/nffactor.c: In function 'nfsqff':
../pari-2.1.7/src/headers/parigen.h:154: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/nffactor.c:860:11: note: in expansion of macro 'signe'
       if (signe(p1) < 0) break;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/nffactor.c:863:9: note: in expansion of macro 'signe'
     if (signe(p1) > 0) 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/modules/nffactor.c:990:20: note: in expansion of macro 'evaltyp'
     long x_a[] = { evaltyp(t_POL)|m_evallg(4), 0,0,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/nffactor.c:1005:12: note: in expansion of macro 'signe'
       if (!signe(rem)) { polbase = p2; p1[m++] = (long)p3; }
            ^~~~~
../pari-2.1.7/src/modules/nffactor.c: In function 'rnfcharpoly':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:1114:7: note: in expansion of macro 'typ'
   if (typ(alpha) == t_POLMOD) alpha = lift_to_pol(alpha);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:1116:7: note: in expansion of macro 'typ'
   if (typ(alpha) != t_POL || varn(alpha) == vnf)
       ^~~
../pari-2.1.7/src/modules/nffactor.c: In function 'rnfdedekind':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/nffactor.c:1162:7: note: in expansion of macro 'typ'
   if (typ(pr)==t_VEC && lg(pr)==3)
       ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o galois.o ../pari-2.1.7/src/modules/galois.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/modules/galois.c:21:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/modules/galois.c: In function '_aux':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:277:10: note: in expansion of macro 'signe'
   return signe(z)? ((expo(z)+165) >> TWOPOTBITS_IN_LONG) - lg(z)
          ^~~~~
../pari-2.1.7/src/modules/galois.c: In function 'suffprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:286:7: note: in expansion of macro 'typ'
   if (typ(z)==t_COMPLEX)
       ^~~
../pari-2.1.7/src/modules/galois.c: In function 'preci':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:304:9: note: in expansion of macro 'typ'
     if (typ(x)==t_COMPLEX) { setlg(x[1],p); setlg(x[2],p); } else setlg(x,p);
         ^~~
../pari-2.1.7/src/modules/galois.c: In function 'getpreci':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:312:11: note: in expansion of macro 'typ'
   return (typ(x)==t_COMPLEX)? lg(x[1]): lg(x);
           ^~~
../pari-2.1.7/src/modules/galois.c: In function 'myroots':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:359:9: note: in expansion of macro 'signe'
     if (signe(y[2])) break; /* remaining roots are complex */
         ^~~~~
../pari-2.1.7/src/modules/galois.c: In function 'is_int':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/modules/galois.c:842:7: note: in expansion of macro 'typ'
   if (typ(g) == t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:845:9: note: in expansion of macro 'signe'
     if (signe(p1) && expo(p1) >= - (bit_accuracy(lg(p1))>>1)) return NULL;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/modules/galois.c:849:7: note: in expansion of macro 'signe'
   if (signe(p1) && expo(p1) >= - (bit_accuracy(lg(p1))>>1)) return NULL;
       ^~~~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o trans1.o ../pari-2.1.7/src/basemath/trans1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/trans1.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'constpi':
../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/trans1.c:55:12: note: in expansion of macro 'evaltyp'
   *tmppi = evaltyp(t_REAL) | evallg(prec);
            ^~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'consteuler':
../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/trans1.c:114:15: note: in expansion of macro 'evaltyp'
   *tmpeuler = evaltyp(t_REAL) | evallg(prec);
               ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:119:39: note: in expansion of macro 'setsigne'
   a=cgetr(l); affsr(x,a); u=mplog(a); setsigne(u,-1); affrr(u,a);
                                       ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'transc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:168: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/trans1.c:183:28: note: in expansion of macro 'typ'
       lx=lg(x); y=cgetg(lx,typ(x));
                            ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'puiss0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:216:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'puissii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:270:8: note: in expansion of macro 'signe'
   if (!signe(a)) return gzero; /* a==0 */
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:274:54: note: in expansion of macro 'setsigne'
     if (a[2] == 2) { a = shifti(gun, labs(itos(n))); setsigne(a,s); return a; }
                                                      ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:278:36: note: in expansion of macro 'setsigne'
     if (n[2] == 1) { a = icopy(a); setsigne(a,s); return a; }
                                    ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:302:3: note: in expansion of macro 'setsigne'
   setsigne(y,s); return gerepileupto(av,y);
   ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gpowgs':
../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/trans1.c:309:24: note: in expansion of macro 'evaltyp'
   static long gn[3] = {evaltyp(t_INT)|m_evallg(3), 0, 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/trans1.c:315:22: note: in expansion of macro 'evalsigne'
   if (n>0) { gn[1] = evalsigne( 1) | evallgefint(3); gn[2]= n; }
                      ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.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/trans1.c:316:22: note: in expansion of macro 'evalsigne'
   else     { gn[1] = evalsigne(-1) | evallgefint(3); gn[2]=-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/trans1.c:324:14: note: in expansion of macro 'typ'
   switch((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/trans1.c:328:15: note: in expansion of macro 'signe'
       long sx=signe(x), sr = (sx<0 && (n&1))? -1: 1;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:333:26: note: in expansion of macro 'setsigne'
       y=cgetg(3,t_FRAC); setsigne(gn,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/trans1.c:345:26: note: in expansion of macro 'signe'
       long sr = (n&1 && (signe(a)!=signe(b))) ? -1 : 1;
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:345:36: note: in expansion of macro 'signe'
       long sr = (n&1 && (signe(a)!=signe(b))) ? -1 : 1;
                                    ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:346:25: note: in expansion of macro 'signe'
       if (n > 0) { if (!signe(a)) return gzero; }
                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:349:14: note: in expansion of macro 'signe'
         if (!signe(a)) err(talker, "division by zero fraction in gpowgs");
              ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'pow_monome':
../pari-2.1.7/src/headers/parigen.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/trans1.c:399:11: note: in expansion of macro 'evalsigne'
   p1[1] = evalsigne(1) | evallgef(dd) | evalvarn(varn(x));
           ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:399:41: note: in expansion of macro 'evalvarn'
   p1[1] = evalsigne(1) | evallgef(dd) | evalvarn(varn(x));
                                         ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'powgi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:415:28: note: in expansion of macro 'signe'
   long lim,av,i,j,m,tx, sn=signe(n);
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:418:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"not an integral exponent in powgi");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:421:13: note: in expansion of macro 'typ'
   switch(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/trans1.c:429:15: note: in expansion of macro 'signe'
       long sx=signe(x), sr = (sx<0 && mod2(n))? -1: 1;
               ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:434:26: note: in expansion of macro 'setsigne'
       y=cgetg(3,t_FRAC); setsigne(n,1); /* temporarily replace n by abs(n) */
                          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:437:7: note: in expansion of macro 'setsigne'
       setsigne(n,-1); 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/trans1.c:446:30: note: in expansion of macro 'signe'
       long sr = (mod2(n) && (signe(a)!=signe(b))) ? -1 : 1;
                              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:446:40: note: in expansion of macro 'signe'
       long sr = (mod2(n) && (signe(a)!=signe(b))) ? -1 : 1;
                                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:447:26: note: in expansion of macro 'signe'
       if (sn > 0) { if (!signe(a)) return gzero; }
                          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:450:14: note: in expansion of macro 'signe'
         if (!signe(a)) err(talker, "division by zero fraction in powgi");
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:464: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/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:478:24: note: in expansion of macro 'precp'
       y[1] = evalprecp(precp(x)+i) | evalvalp(itos(n) * valp(x));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:134:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                     ^
../pari-2.1.7/src/basemath/trans1.c:478:14: note: in expansion of macro 'evalprecp'
       y[1] = evalprecp(precp(x)+i) | evalvalp(itos(n) * valp(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:485:11: note: in expansion of macro 'signe'
       if (signe(x[4])) return powrealform(x,n);
           ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'ser_pui':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/trans1.c:524:7: note: in expansion of macro 'gvar9'
   if (gvar9(n) > varn(x))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/trans1.c:531:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:531:43: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
                                           ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gpow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:559:7: note: in expansion of macro 'typ'
   if (typ(n)==t_INT) return powgi(x,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/trans1.c:560:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:577:15: note: in expansion of macro 'typ'
     long tn = typ(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/trans1.c:592:23: note: in expansion of macro 'typ'
   if (tx==t_INTMOD && typ(n)==t_FRAC)
                       ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpsqrt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:622:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpsqrt");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:623:5: note: in expansion of macro 'signe'
   s=signe(x); if (s<0) err(talker,"negative argument in mpsqrt");
     ^~~~~
../pari-2.1.7/src/headers/parigen.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/trans1.c:637:38: note: in expansion of macro 'evalsigne'
   p2=cgetr(l+1); p2[1]=evalexpo(0) | evalsigne(1);
                                      ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:32:24: warning: overflow in implicit constant conversion [-Woverflow]
 #  define HIGHBIT      (0x8000000000000000UL)
                        ^
../pari-2.1.7/src/basemath/trans1.c:640:23: note: in expansion of macro 'HIGHBIT'
   if (!p2[2]) { p2[2]=HIGHBIT; setexpo(p2,1); }
                       ^~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'padic_sqrt':
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:670:36: note: in expansion of macro 'precp'
     y[1] = evalvalp(e) | evalprecp(precp(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/trans1.c:670:26: note: in expansion of macro 'evalprecp'
     y[1] = evalvalp(e) | evalprecp(precp(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/trans1.c:675:8: note: in expansion of macro 'precp'
   pp = precp(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/headers/parigen.h:176:41: note: in expansion of macro 'evalprecp'
          (((GEN)(x))[1]&(~PRECPBITS)) | evalprecp(s))
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:680:32: note: in expansion of macro 'setprecp'
     if (pp <= lp) { y[4] = un; setprecp(y,1); return 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/headers/parigen.h:176:41: note: in expansion of macro 'evalprecp'
          (((GEN)(x))[1]&(~PRECPBITS)) | evalprecp(s))
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:692:7: note: in expansion of macro 'setprecp'
       setprecp(y,lp); y = gdiv(gadd(y, gdiv(x,y)), gdeux);
       ^~~~~~~~
../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/trans1.c:710:21: note: in expansion of macro 'setprecp'
     if (pp <= lp) { setprecp(y,1); return 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/headers/parigen.h:176:41: note: in expansion of macro 'evalprecp'
          (((GEN)(x))[1]&(~PRECPBITS)) | evalprecp(s))
                                         ^~~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:720:7: note: in expansion of macro 'setprecp'
       setprecp(y,lp); y = gdiv(gadd(y, gdiv(x,y)), gdeux);
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gsqrt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:739: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/trans1.c:742:11: note: in expansion of macro 'signe'
       if (signe(x)>=0) return mpsqrt(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/trans1.c:744:7: note: in expansion of macro 'setsigne'
       setsigne(x,1); y[2]=lmpsqrt(x); 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/trans1.c:744:39: note: in expansion of macro 'setsigne'
       setsigne(x,1); y[2]=lmpsqrt(x); setsigne(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/trans1.c:757:10: note: in expansion of macro 'typ'
  long tx=typ(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/trans1.c:805:11: note: in expansion of macro 'typ'
       if (typ(y) == t_SER) /* generic case */
           ^~~
../pari-2.1.7/src/headers/parigen.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/trans1.c:806:16: note: in expansion of macro 'evalsigne'
         y[1] = evalsigne(1) | evalvalp(e>>1) | evalvarn(varn(x));
                ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:806:48: note: in expansion of macro 'evalvarn'
         y[1] = evalsigne(1) | evalvalp(e>>1) | evalvarn(varn(x));
                                                ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'rootsof1complex':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:836:5: note: in expansion of macro 'setsigne'
     setsigne(a,-1);
     ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'rootsof1padic':
../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/trans1.c:857:47: note: in expansion of macro 'precp'
   r[4]=(long)padicsqrtnlift(gun,n,z,(GEN)y[2],precp(y));
                                               ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'padic_sqrtn_ram':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:873:9: note: in expansion of macro 'signe'
     if (signe(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/trans1.c:879:52: note: in expansion of macro 'signe'
   if (lgefint(p)==3 && p[2]==2 && mod8((GEN)x[4])!=signe((GEN)x[4]))
                                                    ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'padic_sqrtn_unram':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:902:9: note: in expansion of macro 'signe'
     if (signe(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/trans1.c:914:45: note: in expansion of macro 'precp'
   r[4]=(long)padicsqrtnlift((GEN)x[4],n,a,p,precp(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/trans1.c:922:46: note: in expansion of macro 'precp'
     z[4]=(long)padicsqrtnlift(gun,n,*zetan,p,precp(x));
                                              ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'padic_sqrtn':
../pari-2.1.7/src/headers/parigen.h:174:57: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define precp(x)      ((long) (((ulong) ((GEN) (x))[1]) >> PRECPSHIFT))
                                                         ^
../pari-2.1.7/src/headers/parigen.h:134:33: note: in definition of macro 'evalprecp'
 #define evalprecp(x)   (((long)(x)) << PRECPSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:945:36: note: in expansion of macro 'precp'
     y[1] = evalvalp(e) | evalprecp(precp(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/trans1.c:945:26: note: in expansion of macro 'evalprecp'
     y[1] = evalvalp(e) | evalprecp(precp(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/trans1.c:958:9: note: in expansion of macro 'signe'
     if (signe(q)<0)
         ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gsqrtn':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:998:7: note: in expansion of macro 'typ'
   if (typ(n)!=t_INT) err(talker,"second arg must be integer in gsqrtn");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:999:8: note: in expansion of macro 'signe'
   if (!signe(n)) err(talker,"1/0 exponent in gsqrtn");
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1003:9: note: in expansion of macro 'signe'
     if (signe(n)>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/trans1.c:1007:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1027:9: note: in expansion of macro 'typ'
     if (typ(y) == t_SER) /* generic case */
         ^~~
../pari-2.1.7/src/headers/parigen.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/trans1.c:1028:14: note: in expansion of macro 'evalsigne'
       y[1] = evalsigne(1) | evalvalp(e/m) | evalvarn(varn(x));
              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:1028:45: note: in expansion of macro 'evalvarn'
       y[1] = evalsigne(1) | evalvalp(e/m) | evalvarn(varn(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/trans1.c:1056:35: note: in expansion of macro 'signe'
     if (tx==t_INT && is_pm1(x) && signe(x)>0)
                                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1061:11: note: in expansion of macro 'signe'
       if (signe(n) < 0) err(gdiver2);
           ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpexp1':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1099:40: note: in expansion of macro 'signe'
   long l,l1,l2,i,n,m,ex,s,av,av2, sx = signe(x);
                                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1104:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpexp1");
       ^~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1130:30: note: in expansion of macro 'setsigne'
   p4=cgetr(l2); affrr(x,p4); setsigne(p4,1);
                              ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpexp':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1169:17: note: in expansion of macro 'signe'
   long av, 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/trans1.c:1173: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/trans1.c:1175:31: note: in expansion of macro 'setsigne'
   if (sx<0) { y = divsr(1,y); setsigne(x,-1); }
                               ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'paexp':
../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/trans1.c:1182:32: note: in expansion of macro 'precp'
   long k,av, e = valp(x), pp = precp(x), n = e + pp;
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1198:10: note: in expansion of macro 'signe'
     if (!signe(r)) k--;
          ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gexp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1210: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/basemath/trans1.c:1236:9: note: in expansion of macro 'evalsigne'
  y[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
         ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:1236:38: note: in expansion of macro 'evalvarn'
  y[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
                                      ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mplog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1281:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mplog");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1282:7: note: in expansion of macro 'signe'
   if (signe(x)<=0) err(talker,"non positive argument in mplog");
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1336:16: note: in expansion of macro 'setsigne'
   if (sgn > 0) setsigne(y, -1);
                ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'teich':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1346:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_PADIC) err(talker,"not a p-adic argument in teichmuller");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1347:8: note: in expansion of macro 'signe'
   if (!signe(x[4])) return gcopy(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/trans1.c:1359:44: note: in expansion of macro 'precp'
   aux = divii(addsi(-1,(GEN)x[3]),p1); n = precp(x);
                                            ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'palogaux':
../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/trans1.c:1382:53: note: in expansion of macro 'precp'
   y=gdiv(gaddgs(x,-1),gaddgs(x,1)); e=valp(y); pp=e+precp(y);
                                                     ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'palog':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1408:8: note: in expansion of macro 'signe'
   if (!signe(x[4])) err(talker,"zero argument in palog");
        ^~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'glog':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1438: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/trans1.c:1441:11: note: in expansion of macro 'signe'
       if (signe(x)>=0) return mplog(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/trans1.c:1443:7: note: in expansion of macro 'setsigne'
       setsigne(x,1); y[1]=lmplog(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/trans1.c:1444:7: note: in expansion of macro 'setsigne'
       setsigne(x,-1); return y;
       ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpsc1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1496:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpsc1");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1497:8: 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/trans1.c:1510:7: note: in expansion of macro 'signe'
   if (signe(p2)) x = subrr(x, mulir(p2,pitemp));
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1513:14: note: in expansion of macro 'signe'
   *ptmod8 = (signe(p1) < 0)? 4: 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/trans1.c:1514:7: note: in expansion of macro 'signe'
   if (signe(p2))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1517:9: note: in expansion of macro 'signe'
     if (signe(p2) < 0 && mod4) mod4 = 4-mod4;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/trans1.c:1571:27: note: in expansion of macro 'setsigne'
   setexpo(p4,expo(p4)-1); setsigne(p4, -signe(p4));
                           ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1571:41: note: in expansion of macro 'signe'
   setexpo(p4,expo(p4)-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/trans1.c:1571:27: note: in expansion of macro 'setsigne'
   setexpo(p4,expo(p4)-1); setsigne(p4, -signe(p4));
                           ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpaut':
../pari-2.1.7/src/headers/parigen.h:154: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/trans1.c:1591:3: note: in expansion of macro 'setsigne'
   setsigne(p1,-signe(p1));
   ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1591:16: note: in expansion of macro 'signe'
   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/trans1.c:1591:3: note: in expansion of macro 'setsigne'
   setsigne(p1,-signe(p1));
   ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpcos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1607:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpcos");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1608:8: note: in expansion of macro 'signe'
   if (!signe(x)) return addsr(1,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/trans1.c:1616:20: note: in expansion of macro 'setsigne'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                    ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1616:32: note: in expansion of macro 'signe'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1616:20: note: in expansion of macro 'setsigne'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                    ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gcos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1631:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpsin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1681:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpsin");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1682:8: 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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:1696:20: note: in expansion of macro 'setsigne'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                    ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1696:32: note: in expansion of macro 'signe'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1696:20: note: in expansion of macro 'setsigne'
       y=mpaut(p1); setsigne(y,-signe(y)); break;
                    ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gsin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1709:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'mpsincos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1759:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"mpsincos");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/trans1.c:1760:8: 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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:1770:44: note: in expansion of macro 'setsigne'
     case 1: *s=addsr( 1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1770:57: note: in expansion of macro 'signe'
     case 1: *s=addsr( 1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1770:44: note: in expansion of macro 'setsigne'
     case 1: *s=addsr( 1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:1771:44: note: in expansion of macro 'setsigne'
     case 2: *c=subsr(-1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1771:57: note: in expansion of macro 'signe'
     case 2: *c=subsr(-1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1771:44: note: in expansion of macro 'setsigne'
     case 2: *c=subsr(-1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:1773:44: note: in expansion of macro 'setsigne'
     case 4: *c=addsr( 1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1773:57: note: in expansion of macro 'signe'
     case 4: *c=addsr( 1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1773:44: note: in expansion of macro 'setsigne'
     case 4: *c=addsr( 1,p1); *s=mpaut(p1); setsigne(*s,-signe(*s)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/basemath/trans1.c:1776:44: note: in expansion of macro 'setsigne'
     case 7: *s=subsr(-1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c:1776:57: note: in expansion of macro 'signe'
     case 7: *s=subsr(-1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                                         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/trans1.c:1776:44: note: in expansion of macro 'setsigne'
     case 7: *s=subsr(-1,p1); *c=mpaut(p1); setsigne(*c,-signe(*c)); break;
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gsincos':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1789: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/basemath/trans1.c:1842:15: note: in expansion of macro 'evalsigne'
       pc[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
               ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/trans1.c:1842:44: note: in expansion of macro 'evalvarn'
       pc[1] = evalsigne(1) | evalvalp(0) | evalvarn(varn(x));
                                            ^~~~~~~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gtan':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1903:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/trans1.c: In function 'gcotan':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/trans1.c:1946: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base4.o ../pari-2.1.7/src/basemath/base4.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
./pariinl.h: In function 'cgetg':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
./pariinl.h:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealtyp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:58:18: note: in expansion of macro 'typ'
   long t,lx,tx = typ(x);
                  ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:61:44: note: in expansion of macro 'typ'
   { *arch = (GEN)x[2]; x = (GEN)x[1]; tx = typ(x); }
                                            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_is_zk':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:93:7: note: in expansion of macro 'typ'
   if (typ(ideal) != t_MAT || lx==1) return 0;
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'prime_to_ideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:119:7: note: in expansion of macro 'typ'
   if (typ(vp) == t_INT) return gscalmat(vp, lgef(nf[1])-3);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'principalideal0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:196:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_arch':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:246:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x = algtobasis_intern(nf,x);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_arch_real':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:271:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_COL) x = algtobasis_intern(nf,x);
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:276:9: note: in expansion of macro 'signe'
     i = signe(u);
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'check_elt':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:393:8: note: in expansion of macro 'signe'
   if (!signe(a)) return NULL;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:405:9: note: in expansion of macro 'typ'
     if (typ(yZ) == t_FRAC) /* should be exceedingly rare */
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'setprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:429:11: note: in expansion of macro 'typ'
       if (typ(p2) == t_REAL) setlg(p2, prec);
           ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_better_basis':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:443:7: note: in expansion of macro 'typ'
   if (typ(nf[5]) != t_VEC) return x;
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_two_elt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:550:12: note: in expansion of macro 'typ'
     switch(typ(x))
            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'factor_norm':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base4.c:598:3: note: in expansion of macro 'settyp'
   settyp(e, t_VECSMALL); return f;
   ^~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealval':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:685:49: note: in expansion of macro 'typ'
   long N,v,vd,w,av=avma,av1,lim,e,f,i,j,k, tx = typ(ix);
                                                 ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:723:11: note: in expansion of macro 'signe'
       if (signe(r)) { avma = av; return vd; }
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:741:13: note: in expansion of macro 'signe'
         if (signe(r)) { avma = av; return w + vd; }
             ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'get_p1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:817:11: note: in expansion of macro 'typ'
       if (typ(v1)!=t_INT || typ(v2)!=t_INT)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:817:29: note: in expansion of macro 'typ'
       if (typ(v1)!=t_INT || typ(v2)!=t_INT)
                             ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideleaddone_aux':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:890:7: note: in expansion of macro 'typ'
   if (typ(arch)!=t_VEC && lg(arch)!=R1+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:893:9: note: in expansion of macro 'signe'
     if (signe(arch[i])) nba++;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:904:9: note: in expansion of macro 'signe'
     if (signe(p1[i])) { nba=1; p3=element_mul(nf,p3,(GEN)p2[i]); }
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_invmodideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:979:7: note: in expansion of macro 'typ'
   if (typ(y)!=t_MAT || i==1 || i != lg(y[1])) yh=idealhermite_aux(nf,y);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:982:11: note: in expansion of macro 'typ'
   switch (typ(x))
           ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealaddmultoone':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1009:7: note: in expansion of macro 'typ'
   if (typ(list)!=t_VEC && typ(list)!=t_COL)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1009:27: note: in expansion of macro 'typ'
   if (typ(list)!=t_VEC && typ(list)!=t_COL)
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1016:9: note: in expansion of macro 'typ'
     if (typ(p1)!=t_MAT || lg(p1)!=lg(p1[1]))
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1034:26: note: in expansion of macro 'typ'
   tetpil=avma; v=cgetg(k,typ(list));
                          ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulh':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1085:7: note: in expansion of macro 'typ'
   if (typ(ix)==t_VEC) {f=1;  x=(GEN)ix[1];} else x=ix;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1086:7: note: in expansion of macro 'typ'
   if (typ(iy)==t_VEC && typ(iy[1]) != t_INT) {f+=2; y=(GEN)iy[1];} else y=iy;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1086:25: note: in expansion of macro 'typ'
   if (typ(iy)==t_VEC && typ(iy[1]) != t_INT) {f+=2; y=(GEN)iy[1];} else y=iy;
                         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1089:7: note: in expansion of macro 'typ'
   if (typ(y) != t_VEC) y = ideal_two_elt(nf,y);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmul':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1190:9: note: in expansion of macro 'typ'
     if (typ(ax) == t_POLMOD) ax = gmul(ax,ay);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealinv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1296:29: note: in expansion of macro 'typ'
     case id_PRINCIPAL: tx = typ(x);
                             ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowprime_spec':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1320:12: note: in expansion of macro 'signe'
   long s = signe(n);
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1327:7: note: in expansion of macro 'signe'
   if (signe(r)) n1 = addis(n1,1); /* n1 = ceil(n/e) */
       ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowprime':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1346:12: note: in expansion of macro 'signe'
   long s = signe(n);
            ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulpowprime':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1362:8: note: in expansion of macro 'signe'
   if (!signe(n)) return x;
        ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpow':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1382:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"non-integral exponent in idealpow");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1386:31: note: in expansion of macro 'signe'
   av=avma; N=lgef(nf[1])-3; s=signe(n);
                               ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1391:31: note: in expansion of macro 'typ'
       case id_PRINCIPAL: tx = typ(x);
                               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1416:9: note: in expansion of macro 'typ'
   ax = (typ(ax) == t_POLMOD)? powgi(ax,n): gmul(n,ax);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpows':
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/basemath/base4.c:1426:19: note: in expansion of macro 'evaltyp'
   long court[] = {evaltyp(t_INT) | m_evallg(3),0,0};
                   ^~~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealpowred':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1443:27: note: in expansion of macro 'signe'
   long i,j,m,av=avma, s = signe(n);
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1446:7: note: in expansion of macro 'typ'
   if (typ(n) != t_INT) err(talker,"non-integral exponent in idealpowred");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1447:7: note: in expansion of macro 'signe'
   if (signe(n) == 0) return idealpow(nf,x,n);
       ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'isideal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1477:22: note: in expansion of macro 'typ'
   long N,av,i,j,k,tx=typ(x),lx;
                      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1481:45: note: in expansion of macro 'typ'
   if (tx==t_VEC && lx==3) { x=(GEN)x[1]; tx=typ(x); lx=lg(x); }
                                             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1485:7: note: in expansion of macro 'typ'
   if (typ(x)==t_VEC) return (lx==6);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1486:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) return 0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1499:6: note: in expansion of macro 'typ'
  if (typ(p1[k])!=t_INT) { avma=av; return 0; }
      ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealdivexact':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1554:28: note: in expansion of macro 'typ'
   if (!gcmp1(denom(x1)) || typ(detq) != t_INT)
                            ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'computet2twist':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1614:14: note: in expansion of macro 'typ'
     else if (typ(v) == t_INT)
              ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'chk_vdir':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1626:7: note: in expansion of macro 'typ'
   if (typ(vdir)!=t_VEC || lg(vdir) != lg(nf[6])) err(idealer5);
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideallllredall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1701:11: note: in expansion of macro 'typ'
       if (typ(aI) == t_POLMOD)
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1729:9: note: in expansion of macro 'typ'
     if (typ(aI) == t_POLMOD)
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1746:9: note: in expansion of macro 'typ'
   aI = (typ(aI)==t_POLMOD)? gmul(aI,y): gadd(aI,y);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealappr0':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1817:9: note: in expansion of macro 'typ'
     if (typ(x)!=t_MAT || lg(x)!=3)
         ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1823:11: note: in expansion of macro 'signe'
       if (signe(ep[i]) < 0) break;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1828:19: note: in expansion of macro 'signe'
         ep1[i] = (signe(ep[i])>=0)? zero: lnegi((GEN)ep[i]);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1836:19: note: in expansion of macro 'signe'
         ep1[i] = (signe(ep[i])<=0)? zero: licopy((GEN)ep[i]);
                   ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1861:11: note: in expansion of macro 'signe'
       if (signe(ep[i]))
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1925:9: note: in expansion of macro 'signe'
     if (signe(ep[i]))
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealchinese':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1944:11: note: in expansion of macro 'typ'
   long ty=typ(y),av=avma,i,j,k,l,N,r,r2;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:1954:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT ||(lg(x)!=3))
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1980:9: note: in expansion of macro 'signe'
     if (signe(ep[i])<0) ep[i] = zero;
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:1985:9: note: in expansion of macro 'signe'
     if (signe(p4))
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'ideal_two_elt2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2033:11: note: in expansion of macro 'typ'
   long ta=typ(a), av=avma,tetpil,i,r;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2037:30: note: in expansion of macro 'typ'
   if (!is_extscalar_t(ta) && typ(a)!=t_COL)
                              ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_mulvec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2448:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COL)
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_reduce':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2480:11: note: in expansion of macro 'typ'
   long tx=typ(x),av=avma,tetpil,N,i;
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2486:7: note: in expansion of macro 'typ'
   if (typ(ideal) != t_MAT || lg(ideal) != N) err(typeer,"element_reduce");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfhermite':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2513:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || lg(x)!=3) err(talker,"not a module in nfhermite");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2515:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(talker,"not a matrix in nfhermite");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2516:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=k+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2528:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfsmith':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2613:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || lg(x)!=4) err(talker,"not a module in nfsmith");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2615:7: note: in expansion of macro 'typ'
   if (typ(A)!=t_MAT) err(talker,"not a matrix in nfsmith");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2617:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n+1 || typ(J)!=t_VEC || lg(J)!=n+1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2617:38: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n+1 || typ(J)!=t_VEC || lg(J)!=n+1)
                                      ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2628:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2630:9: note: in expansion of macro 'typ'
     if (typ(J[j])!=t_MAT) J[j]=(long)idealhermite_aux(nf,(GEN)J[j]);
         ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
../pari-2.1.7/src/basemath/base4.c: In function 'element_divmodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paricom.h:266:39: note: in definition of macro 'lift_intern'
 #define lift_intern(x) (lift_intern0((x),-1))
                                       ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2755:48: note: in expansion of macro 'trivlift'
   p1=lift_intern(gdiv(gmodulcp(gmul((GEN)nf[7],trivlift(x)), (GEN)nf[1]),
                                                ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paricom.h:266:39: note: in definition of macro 'lift_intern'
 #define lift_intern(x) (lift_intern0((x),-1))
                                       ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2756:48: note: in expansion of macro 'trivlift'
                       gmodulcp(gmul((GEN)nf[7],trivlift(y)), (GEN)nf[1])));
                                                ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/base4.c:22:
../pari-2.1.7/src/basemath/base4.c: In function 'element_invmodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2731:23: note: in expansion of macro 'typ'
 #define trivlift(x) ((typ(x)==t_POLMOD)? (GEN)x[2]: lift_intern(x))
                       ^~~
../pari-2.1.7/src/basemath/base4.c:2767:30: note: in expansion of macro 'trivlift'
   p1=ginvmod(gmul((GEN)nf[7],trivlift(y)), (GEN)nf[1]);
                              ^~~~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'element_powmodpr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:2780:5: note: in expansion of macro 'signe'
   s=signe(k); k=(s>=0)?k:negi(k);
     ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/paricom.h:250:19: note: in expansion of macro 'signe'
 #define mpodd(x) (signe(x) && mod2(x))
                   ^~~~~
../pari-2.1.7/src/basemath/base4.c:2784:9: note: in expansion of macro 'mpodd'
     if (mpodd(k)) y=element_mulmodpr(nf,z,y,prhall);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/base4.c:2786:9: note: in expansion of macro 'signe'
     if (signe(k)) z=element_sqrmodpr(nf,z,prhall);
         ^~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfkermodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2805:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"nfkermodpr");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfsolvemodpr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2865:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(typeer,"nfsolvemodpr");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2867:7: note: in expansion of macro 'typ'
   if (typ(b)!=t_COL) err(typeer,"nfsolvemodpr");
       ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfdetint':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2979:7: note: in expansion of macro 'typ'
   if (typ(pseudo)!=t_VEC || lg(pseudo)!=3)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2982:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(talker,"not a matrix in nfdetint");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:2986:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=n1)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3027:17: note: in expansion of macro 'typ'
         det1 = (typ(det1)==t_INT)? p1: idealadd(nf,p1,det1);
                 ^~~
../pari-2.1.7/src/basemath/base4.c: In function 'idealmulelt':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3137:12: note: in expansion of macro 'typ'
   long t = typ(elt);
            ^~~
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/base4.c:3142:3: note: in expansion of macro 'settyp'
   settyp(z, t_MAT); return z;
   ^~~~~~
../pari-2.1.7/src/basemath/base4.c: In function 'nfhermitemod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3152:7: note: in expansion of macro 'typ'
   if (typ(pseudo)!=t_VEC || lg(pseudo)!=3)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3155:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(talker,"not a matrix in nfhermitemod");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3157:7: note: in expansion of macro 'typ'
   if (typ(I)!=t_VEC || lg(I)!=co)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/base4.c:3164:9: note: in expansion of macro 'typ'
     if (typ(I[j])!=t_MAT) I[j]=(long)idealhermite_aux(nf,(GEN)I[j]);
         ^~~
cc -c  -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o rootpol.o ../pari-2.1.7/src/basemath/rootpol.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/rootpol.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'quickmulcc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:41:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:41:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y);
                     ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mysquare':
../pari-2.1.7/src/headers/parigen.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/rootpol.c:103:10: note: in expansion of macro 'evalsigne'
   s[1] = evalsigne(1) | evalvarn(varn(p)) | evallgef(nn+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/rootpol.c:103:25: note: in expansion of macro 'evalvarn'
   s[1] = evalsigne(1) | evalvarn(varn(p)) | evallgef(nn+3);
                         ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'karasquare':
../pari-2.1.7/src/headers/parigen.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/rootpol.c:147:7: note: in expansion of macro 'evalsigne'
   var=evalsigne(1)+evalvarn(varn(p)); n0=n>>1; n1=n-n0-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/rootpol.c:147:20: note: in expansion of macro 'evalvarn'
   var=evalsigne(1)+evalvarn(varn(p)); n0=n>>1; n1=n-n0-1;
                    ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'cook_square':
../pari-2.1.7/src/headers/parigen.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/rootpol.c:181:7: note: in expansion of macro 'evalsigne'
   var=evalsigne(1)|evalvarn(varn(p));
       ^~~~~~~~~
../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/rootpol.c:181:20: note: in expansion of macro 'evalvarn'
   var=evalsigne(1)|evalvarn(varn(p));
                    ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'graeffe':
../pari-2.1.7/src/headers/parigen.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/rootpol.c:257:8: note: in expansion of macro 'evalsigne'
   auxi=evalsigne(1)|evalvarn(varn(p));
        ^~~~~~~~~
../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/rootpol.c:257:21: note: in expansion of macro 'evalvarn'
   auxi=evalsigne(1)|evalvarn(varn(p));
                     ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'square_free_factorization':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:290:7: note: in expansion of macro 'typ'
   if (typ(pol)!=t_POL) err(typeer,"square_free_factorization");
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/basemath/rootpol.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/rootpol.c:299:9: note: in expansion of macro 'isscalar'
     if (isscalar(t1)) deg = 1;
         ^~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/rootpol.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/rootpol.c:299:9: note: in expansion of macro 'isscalar'
     if (isscalar(t1)) deg = 1;
         ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/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/rootpol.c:315:9: note: in expansion of macro 'isnonscalar'
     if (isnonscalar(A[j]))
         ^~~~~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'log2ir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:335:7: note: in expansion of macro 'signe'
   if (signe(x)==0) return (double) -pariINFINITY;
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:336:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT)
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mylog2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:352:7: note: in expansion of macro 'typ'
   if (typ(z)!=t_COMPLEX) return log2ir(z);
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'myshiftrc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:422:7: note: in expansion of macro 'typ'
   if (typ(z)==t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:424:9: note: in expansion of macro 'signe'
     if (signe(z[1])!=0) setexpo(z[1], expo(z[1])+e);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:425:9: note: in expansion of macro 'signe'
     if (signe(z[2])!=0) setexpo(z[2], expo(z[2])+e);
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:428:9: note: in expansion of macro 'signe'
     if (signe(z)!=0) setexpo(z,expo(z)+e);
         ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'myshiftic':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:435:7: note: in expansion of macro 'typ'
   if (typ(z)==t_COMPLEX)
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:437:10: note: in expansion of macro 'signe'
     z[1]=signe(z[1])? lmpshift((GEN) z[1],e): 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/headers/pariport.h:35:28: note: in expansion of macro 'typ'
 #define mpshift(x,s)     ((typ(x)==t_INT)?shifti((x),(s)):shiftr((x),(s)))
                            ^~~
../pari-2.1.7/src/headers/paricast.h:158:24: note: in expansion of macro 'mpshift'
 #define lmpshift (long)mpshift
                        ^~~~~~~
../pari-2.1.7/src/basemath/rootpol.c:437:23: note: in expansion of macro 'lmpshift'
     z[1]=signe(z[1])? lmpshift((GEN) z[1],e): 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/headers/pariport.h:35:28: note: in expansion of macro 'typ'
 #define mpshift(x,s)     ((typ(x)==t_INT)?shifti((x),(s)):shiftr((x),(s)))
                            ^~~
../pari-2.1.7/src/headers/paricast.h:158:24: note: in expansion of macro 'mpshift'
 #define lmpshift (long)mpshift
                        ^~~~~~~
../pari-2.1.7/src/basemath/rootpol.c:438:10: note: in expansion of macro 'lmpshift'
     z[2]=lmpshift((GEN) z[2],e);
          ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:441:10: note: in expansion of macro 'signe'
   return signe(z)? mpshift(z,e): gzero;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/pariport.h:35:28: note: in expansion of macro 'typ'
 #define mpshift(x,s)     ((typ(x)==t_INT)?shifti((x),(s)):shiftr((x),(s)))
                            ^~~
../pari-2.1.7/src/basemath/rootpol.c:441:20: note: in expansion of macro 'mpshift'
   return signe(z)? mpshift(z,e): gzero;
                    ^~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygprecrc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:457:11: note: in expansion of macro 'typ'
   long tx=typ(x);
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:465:12: note: in expansion of macro 'signe'
       if (!signe(x)) setexpo(y,-bitprec+e);
            ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygprec':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:482:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,e = gexpo(x);
           ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygfloor':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:502:7: note: in expansion of macro 'typ'
   if (typ(z)!=t_COMPLEX) return gfloor(z);
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'max_modulus':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:663:8: note: in expansion of macro 'signe'
   if (!signe(r)) { avma = ltop; return realun(DEFAULTPREC); }
        ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'gmulbyi':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:824:7: note: in expansion of macro 'typ'
   if (typ(z)!=t_COMPLEX)
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'exp_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/rootpol.c:901:8: note: in expansion of macro 'signe'
   if (!signe(x)) return realun(lg(x)); /* should not happen */
        ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'isreal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:939:18: note: in expansion of macro 'typ'
   while (i<=n && typ(p[i+2])!=t_COMPLEX) i++;
                  ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'split_fromU':
../pari-2.1.7/src/headers/parigen.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/rootpol.c:1219:30: note: in expansion of macro 'evalsigne'
   H =cgetg(k+2,t_POL); H[1] =evalsigne(1) | evalvarn(varn(p)) | evallgef(k+2);
                              ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:132:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalvarn(x)    (((ulong)(x)) << VARNSHIFT)
                                      ^
../pari-2.1.7/src/basemath/rootpol.c:1219:45: note: in expansion of macro 'evalvarn'
   H =cgetg(k+2,t_POL); H[1] =evalsigne(1) | evalvarn(varn(p)) | evallgef(k+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/rootpol.c:1220:30: note: in expansion of macro 'evalsigne'
   FF=cgetg(k+3,t_POL); FF[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(k+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/rootpol.c:1220:45: note: in expansion of macro 'evalvarn'
   FF=cgetg(k+3,t_POL); FF[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(k+3);
                                             ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'conformal_pol':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/basemath/rootpol.c:1304:12: note: in expansion of macro 'evalsigne'
   pui[1] = evalsigne(1) | evalvarn(varn(p)) | 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/rootpol.c:1304:27: note: in expansion of macro 'evalvarn'
   pui[1] = evalsigne(1) | evalvarn(varn(p)) | evallgef(4);
                           ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'compute_radius':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:1327:27: note: in expansion of macro 'signe'
     i=k-1; while (i>0 && !signe(radii[i])) 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/rootpol.c:1336:28: note: in expansion of macro 'signe'
     i=k+2; while (i<=n && !signe(radii[i])) 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/rootpol.c:1346:10: note: in expansion of macro 'signe'
     if (!signe(radii[i]) || cmprr(radii[i], p1) > 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/rootpol.c:1354:10: note: in expansion of macro 'signe'
     if (!signe(radii[i]) || cmprr(radii[i], p1) < 0)
          ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'conformal_mapping':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:1397:9: note: in expansion of macro 'signe'
     if (signe(radius[i])) /* updating array radius */
         ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'split_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/rootpol.c:1496:11: note: in expansion of macro 'signe'
       if (signe(radius[i])) affrr(mulrr(radius[i],invrho), radius[i]);
           ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'split_0_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/rootpol.c:1594:32: note: in expansion of macro 'evalsigne'
     FF=cgetg(k+3,t_POL); FF[1]=evalsigne(1)|evalvarn(varn(p))|evallgef(k+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/rootpol.c:1594:45: note: in expansion of macro 'evalvarn'
     FF=cgetg(k+3,t_POL); FF[1]=evalsigne(1)|evalvarn(varn(p))|evallgef(k+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/rootpol.c:1597:34: note: in expansion of macro 'evalsigne'
     GG=cgetg(n-k+3,t_POL); GG[1]=evalsigne(1)|evalvarn(varn(p))|evallgef(n-k+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/rootpol.c:1597:47: note: in expansion of macro 'evalvarn'
     GG=cgetg(n-k+3,t_POL); GG[1]=evalsigne(1)|evalvarn(varn(p))|evallgef(n-k+3);
                                               ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'split_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/rootpol.c:1645:11: note: in expansion of macro 'evalsigne'
     FF[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(k+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/rootpol.c:1645:26: note: in expansion of macro 'evalvarn'
     FF[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(k+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/rootpol.c:1649:11: note: in expansion of macro 'evalsigne'
     GG[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(n-k+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/rootpol.c:1649:26: note: in expansion of macro 'evalvarn'
     GG[1]=evalsigne(1) | evalvarn(varn(p)) | evallgef(n-k+3);
                          ^~~~~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygprec_absolute':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1724:11: note: in expansion of macro 'typ'
   long tx=typ(x),e;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:1731:26: note: in expansion of macro 'signe'
       if (e<-bitprec || !signe(x)) { y=dbltor(0.); setexpo(y,-bitprec); }
                          ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygprecrc_special':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1841:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,ex;
           ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/rootpol.c:1851:12: note: in expansion of macro 'signe'
       if (!signe(x) && expo(x)>ex) setexpo(y,ex);
            ^~~~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'mygprec_special':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1867:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i,e;
           ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'isexactscalar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1915:11: note: in expansion of macro 'typ'
   long tx=typ(x);
           ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'isvalidcoeff':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1932:11: note: in expansion of macro 'typ'
   long tx=typ(x);
           ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'roots_com':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1981:7: note: in expansion of macro 'typ'
   if (typ(p)!=t_POL)
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'tocomplex':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:1999:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COMPLEX)
       ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'isrealappr':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:2010:11: note: in expansion of macro 'typ'
   long tx=typ(x),lx,i;
           ^~~
../pari-2.1.7/src/basemath/rootpol.c: In function 'roots':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/rootpol.c:2063:9: note: in expansion of macro 'typ'
     if (typ(p2) != t_COMPLEX) { p1[++s]=(long)p2; r[i]=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/rootpol.c:2072:9: note: in expansion of macro 'typ'
     if (typ(c) == 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/rootpol.c:2078:13: note: in expansion of macro 'typ'
         if (typ(c2) == t_COMPLEX && isconj(c,c2,e))
             ^~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o anal.o ../pari-2.1.7/src/language/anal.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/anal.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'readlong':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:642:7: note: in expansion of macro 'typ'
   if (typ(arg) != t_INT) err(caseer,old,mark.start);
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'readvar':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:670:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL || lgef(x) != 4 ||
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'facteur':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/language/anal.c:724:27: note: in expansion of macro 'gvar9'
  analyseur++; x = deriv(x,gvar9(x)); break;
                           ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/anal.c:732:8: note: in expansion of macro 'typ'
    if (typ(x) != t_INT) err(caseer,old,mark.start);
        ^~~
../pari-2.1.7/src/language/anal.c: In function 'matrix_block':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:862:32: note: in expansion of macro 'typ'
     analyseur++; p = *pt; tx = typ(p);
                                ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/anal.c:980:9: note: in expansion of macro 'typ'
     if (typ(res) != t_VEC || lg(res) != lg(p))
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/anal.c:998:9: note: in expansion of macro 'typ'
     if (typ(res) != t_COL || lg(res) != lg(cpt))
         ^~~
../pari-2.1.7/src/language/anal.c: In function 'fix':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:1287:7: note: in expansion of macro 'typ'
   if (typ(x) == t_COMPLEX)
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/language/anal.c:21:
../pari-2.1.7/src/language/anal.c: In function 'num_deriv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:56:26: note: in definition of macro 'is_const_t'
 #define is_const_t(tx) ((tx) < t_POLMOD)
                          ^~
../pari-2.1.7/src/language/anal.c:1312:19: note: in expansion of macro 'typ'
   if (!is_const_t(typ(x)))
                   ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/anal.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/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/language/anal.c:1315:37: note: in expansion of macro 'gvar9'
     return gerepileupto(av, deriv(a,gvar9(a)));
                                     ^~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:68:0,
                 from ../pari-2.1.7/src/language/anal.c:21:
../pari-2.1.7/src/language/anal.c: In function 'num_derivU':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/headers/paritype.h:56:26: note: in definition of macro 'is_const_t'
 #define is_const_t(tx) ((tx) < t_POLMOD)
                          ^~
../pari-2.1.7/src/language/anal.c:1339:19: note: in expansion of macro 'typ'
   if (!is_const_t(typ(x)))
                   ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/anal.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/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/language/anal.c:1342:37: note: in expansion of macro 'gvar9'
     return gerepileupto(av, deriv(a,gvar9(a)));
                                     ^~~~~
../pari-2.1.7/src/language/anal.c: In function 'constante':
../pari-2.1.7/src/headers/parigen.h:154: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/anal.c:1877:14: note: in expansion of macro 'signe'
         if (!signe(y)) { avma = av; return realzero(prec); }
              ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/language/anal.c:1891:12: 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/language/anal.c:1895:16: note: in expansion of macro 'evalsigne'
         y[1] = evalsigne(0) | evalexpo(n);
                ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'manage_var':
../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/anal.c:2035:10: note: in expansion of macro 'evaltyp'
   p[0] = evaltyp(t_POL) | evallg(4);
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.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/anal.c:2036:10: note: in expansion of macro 'evalsigne'
   p[1] = evalsigne(1) | evallgef(4) | evalvarn(var);
          ^~~~~~~~~
../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/language/anal.c:2036:39: note: in expansion of macro 'evalvarn'
   p[1] = evalsigne(1) | evallgef(4) | evalvarn(var);
                                       ^~~~~~~~
../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/anal.c:2042:10: note: in expansion of macro 'evaltyp'
   p[0] = evaltyp(t_POL) | 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/anal.c:2043:10: note: in expansion of macro 'evalsigne'
   p[1] = evalsigne(1) | evallgef(3) | evalvarn(var);
          ^~~~~~~~~
../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/language/anal.c:2043:39: note: in expansion of macro 'evalvarn'
   p[1] = evalsigne(1) | evallgef(3) | evalvarn(var);
                                       ^~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'doskipseq':
../pari-2.1.7/src/language/anal.c:2169:9: warning: implicit declaration of function 'term_width' [-Wimplicit-function-declaration]
     L = term_width();
         ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/language/anal.c:21:
../pari-2.1.7/src/language/anal.c: In function 'disc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2719:13: note: in expansion of macro 'typ'
         if (typ(x) != t_VEC || lg(x) != 3) break;
             ^~~
../pari-2.1.7/src/language/anal.c: In function '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/language/anal.c:2741:9: note: in expansion of macro 'typ'
     if (typ(x)==t_POLMOD) return (GEN)x[2];
         ^~~
../pari-2.1.7/src/language/anal.c: In function 'mod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2753:10: note: in expansion of macro 'typ'
   switch(typ(x))
          ^~~
../pari-2.1.7/src/language/anal.c: In function 'nfmats':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2780:7: note: in expansion of macro 'typ'
   if (typ(y) == t_VEC && lg(y) != 8) return NULL;
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'mroots':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:2814:25: note: in expansion of macro 'is_bigell'
     if (t == typ_ELL && is_bigell(x)) return (GEN)x[14];
                         ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'check_RES':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2826:7: note: in expansion of macro 'typ'
   if (typ(y) != t_VEC || lg(y) < 4)
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'clgp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2845:9: note: in expansion of macro 'typ'
     if (typ(x)==t_VEC)
         ^~~
../pari-2.1.7/src/language/anal.c: In function 'fu':
../pari-2.1.7/src/headers/parigen.h:154: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/anal.c:2888:17: note: in expansion of macro 'signe'
         return (signe(x)<0)? cgetg(1,t_VEC): fundunit(x);
                 ^~~~~
../pari-2.1.7/src/language/anal.c: In function 'tu':
../pari-2.1.7/src/headers/parigen.h:154: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/anal.c:2908:13: note: in expansion of macro 'signe'
         if (signe(y)<0 && cmpis(y,-4)>=0)
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/anal.c:2918:15: note: in expansion of macro 'typ'
           if (typ(y) == t_VEC || lg(y) == 3) break;
               ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/language/anal.c:2927:9: note: in expansion of macro 'typ'
     if (typ(y) == t_VEC && lg(y) > 5) y = (GEN)y[4];
         ^~~
../pari-2.1.7/src/language/anal.c: In function 'zkst':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2957:7: note: in expansion of macro 'typ'
   if (typ(bid)==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/language/anal.c:2962:13: note: in expansion of macro 'typ'
         if (typ(bid) == t_VEC && lg(bid) > 2)
             ^~~
../pari-2.1.7/src/language/anal.c: In function 'no':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2973:7: note: in expansion of macro 'typ'
   if (typ(clg)!=t_VEC  || (lg(clg)!=3 && lg(clg)!=4))
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'cyc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2982:7: note: in expansion of macro 'typ'
   if (typ(clg)!=t_VEC  || (lg(clg)!=3 && lg(clg)!=4))
       ^~~
../pari-2.1.7/src/language/anal.c: In function '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/language/anal.c:3006:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_VEC || lg(x)!=4)
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:3008:7: note: in expansion of macro 'typ'
   if (typ(x[1]) == t_COL) return (GEN)x[2]; /* from bnfisprincipal */
       ^~~
../pari-2.1.7/src/language/anal.c: In function 'a1':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3035:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"a1",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'a2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3042:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"a2",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'a3':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3049:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"a3",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'a4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3056:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"a4",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'a6':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3063:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"a6",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'b2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3070:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"b2",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'b4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3077:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"b4",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'b6':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3084:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"b6",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'b8':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3091:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"b8",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'c4':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3098:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"c4",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'c6':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3105:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"c6",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function '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/language/anal.c:2645:20: note: in expansion of macro 'typ'
 #define is_ell(x) (typ(x) == t_VEC && lg(x)>=14)
                    ^~~
../pari-2.1.7/src/language/anal.c:3112:8: note: in expansion of macro 'is_ell'
   if (!is_ell(x)) err(member,"j",mark.member,mark.start);
        ^~~~~~
../pari-2.1.7/src/language/anal.c: In function 'momega':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:3121:8: note: in expansion of macro 'is_bigell'
   if (!is_bigell(x)) err(member,"omega",mark.member,mark.start);
        ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'meta':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:3132:8: note: in expansion of macro 'is_bigell'
   if (!is_bigell(x)) err(member,"eta",mark.member,mark.start);
        ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'area':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:3141:8: note: in expansion of macro 'is_bigell'
   if (!is_bigell(x)) err(member,"area",mark.member,mark.start);
        ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'tate':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:3150:8: note: in expansion of macro 'is_bigell'
   if (!is_bigell(x)) err(member,"tate",mark.member,mark.start);
        ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function '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/language/anal.c:2646:23: note: in expansion of macro 'typ'
 #define is_bigell(x) (typ(x) == t_VEC && lg(x)>=20)
                       ^~~
../pari-2.1.7/src/language/anal.c:3160:8: note: in expansion of macro 'is_bigell'
   if (!is_bigell(x)) err(member,"w",mark.member,mark.start);
        ^~~~~~~~~
../pari-2.1.7/src/language/anal.c: In function 'alias0':
../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/anal.c:3334:10: note: in expansion of macro 'evaltyp'
   x[0] = evaltyp(t_STR)|evallg(2); /* for getheap */
          ^~~~~~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -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: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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875: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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o alglin1.o ../pari-2.1.7/src/basemath/alglin1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/alglin1.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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gtrans':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:33:22: note: in expansion of macro 'typ'
   long i,j,lx,dx, tx=typ(x);
                      ^~~
../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/alglin1.c:40:19: note: in expansion of macro 'settyp'
       y=gcopy(x); settyp(y,t_COL); 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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
../pari-2.1.7/src/basemath/alglin1.c:43:19: note: in expansion of macro 'settyp'
       y=gcopy(x); settyp(y,t_VEC); break;
                   ^~~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'strconcat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:72:7: note: in expansion of macro 'typ'
   if (typ(x)==t_STR) sx = GSTR(x); else { flx=1; sx = GENtostr(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/alglin1.c:73:7: note: in expansion of macro 'typ'
   if (typ(y)==t_STR) sy = GSTR(y); else { fly=1; sy = GENtostr(y); }
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'concatsp':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:92:11: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y),lx=lg(x),ly=lg(y),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/alglin1.c:92:21: note: in expansion of macro 'typ'
   long tx=typ(x),ty=typ(y),lx=lg(x),ly=lg(y),i;
                     ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'concat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:201:13: note: in expansion of macro 'typ'
   long tx = typ(x), lx,ty,ly,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/alglin1.c:221:8: note: in expansion of macro 'typ'
   ty = typ(y);
        ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'vecextract_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/alglin1.c:370:21: note: in expansion of macro 'typ'
   GEN B = cgetg(lB, typ(A));
                     ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'rowextract_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/alglin1.c:379:21: note: in expansion of macro 'typ'
   GEN B = cgetg(lB, typ(A));
                     ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'vecextract_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/alglin1.c:388:21: note: in expansion of macro 'typ'
   GEN B = cgetg(lB, typ(A));
                     ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'rowextract_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/alglin1.c:397:21: note: in expansion of macro 'typ'
   GEN B = cgetg(lB, typ(A));
                     ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'extract':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:405:21: note: in expansion of macro 'typ'
   long av,i,j, tl = typ(l), tx = typ(x), lx = lg(x);
                     ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:405:34: note: in expansion of macro 'typ'
   long av,i,j, tl = typ(l), tx = typ(x), lx = lg(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/alglin1.c:412:10: note: in expansion of macro 'signe'
     if (!signe(l)) return cgetg(1,tx);
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/alglin1.c:414:24: note: in expansion of macro 'mpodd'
     i = j = 1; while (!mpodd(l)) { l=shifti(l,-1); 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/alglin1.c:415:12: note: in expansion of macro 'signe'
     while (signe(l) && i<lx)
            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin1.c:420:9: note: in expansion of macro 'signe'
     if (signe(l)) err(talker,"mask too large in vecextract");
         ^~~~~
../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/alglin1.c:421:12: note: in expansion of macro 'evaltyp'
     y[0] = evaltyp(tx) | evallg(j);
            ^~~~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'matextract':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:493:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"matextract");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gtomat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:589:8: note: in expansion of macro 'typ'
   tx = typ(x);
        ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'isdiagonal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:618:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"isdiagonal");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'diagonal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:635:18: note: in expansion of macro 'typ'
   long i,j,lx,tx=typ(x);
                  ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'matmuldiagonal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:658:10: note: in expansion of macro 'typ'
   long j=typ(d),lx=lg(m);
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:661:7: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT) err(typeer,"matmuldiagonal");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'matmultodiagonal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:676:7: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT || typ(n)!=t_MAT) err(typeer,"matmultodiagonal");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:676:24: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT || typ(n)!=t_MAT) err(typeer,"matmultodiagonal");
                        ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'mattodiagonal':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:699:7: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT) err(typeer,"mattodiagonal");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gaddmat':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:718:38: note: in expansion of macro 'typ'
   ly=lg(y); if (ly==1) err(operf,"+",typ(x),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/alglin1.c:720:7: note: in expansion of macro 'typ'
   if (typ(y)!=t_MAT || ly!=dy) err(mattype1,"gaddmat");
       ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:73:0,
                 from ../pari-2.1.7/src/basemath/alglin1.c:22:
../pari-2.1.7/src/basemath/alglin1.c: In function 'matprec':
../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/alglin1.c:744:22: note: in expansion of macro 'VERYBIGINT'
   long tx,i,j,l, k = VERYBIGINT, lx = lg(x), ly = lg(x[1]);
                      ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/alglin1.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/alglin1.c:749:31: note: in expansion of macro 'typ'
       p1 = gmael(x,i,j); tx = typ(p1);
                               ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'use_maximal_pivot':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:765:31: note: in expansion of macro 'typ'
       p1 = gmael(x,i,j); tx = typ(p1);
                               ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'check_b':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:777:10: note: in expansion of macro 'typ'
   col = (typ(b) == t_MAT)? (GEN)b[1]: b;
          ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gauss':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:845:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(mattype1,"gauss");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:846:12: note: in expansion of macro 'typ'
   if (b && typ(b)!=t_COL && typ(b)!=t_MAT) err(typeer,"gauss");
            ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:846:29: note: in expansion of macro 'typ'
   if (b && typ(b)!=t_COL && typ(b)!=t_MAT) err(typeer,"gauss");
                             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:858:14: note: in expansion of macro 'typ'
   iscol   = (typ(b)==t_COL);
              ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'detint':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:943:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"detint");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:955:11: note: in expansion of macro 'typ'
       if (typ(gcoeff(x,j,k)) != 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/alglin1.c:968:27: note: in expansion of macro 'signe'
  v[i]=(long)vi; if (!t && signe(vi)) t=i;
                           ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'keri':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1098:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"keri");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin1.c:1109:30: note: in expansion of macro 'signe'
     while (j<=m && (c[j] || !signe(gcoeff(x,j,k))) ) j++;
                              ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'deplin':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1172:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"deplin");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'approx_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/alglin1.c:1262:13: note: in expansion of macro 'typ'
   long tx = typ(x);
             ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gauss_get_pivot_max':
../pari-2.1.7/src/basemath/alglin1.c:1272:26: warning: overflow in implicit constant conversion [-Woverflow]
   long i,e, k = i0, ex = -HIGHEXPOBIT, lx = lg(x);
                          ^
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/basemath/alglin1.c:22:
../pari-2.1.7/src/basemath/alglin1.c: In function 'gauss_pivot_ker':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1303:7: note: in expansion of macro 'typ'
   if (typ(x0)!=t_MAT) err(typeer,"gauss_pivot");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gauss_pivot':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1357:7: note: in expansion of macro 'typ'
   if (typ(x0)!=t_MAT) err(typeer,"gauss_pivot");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'inverseimage':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1534:24: note: in expansion of macro 'typ'
   long av=avma,j,lv,tv=typ(v);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1537:7: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT) err(typeer,"inverseimage");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'suppl_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/alglin1.c:1566:7: note: in expansion of macro 'typ'
   if (typ(x) != t_MAT) err(typeer,"suppl");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'image2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1599:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"image2");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'ker_mod_p_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/alglin1.c:1797:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"ker_mod_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/alglin1.c:1813:13: note: in expansion of macro 'signe'
         if (signe(coeff(x,j,k))) 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/alglin1.c:1832:15: note: in expansion of macro 'signe'
           if (signe(piv))
               ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gauss_pivot_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/alglin1.c:1869:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"gauss_pivot_mod_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/alglin1.c:1882:13: note: in expansion of macro 'signe'
         if (signe(coeff(x,j,k))) 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/alglin1.c:1894:15: note: in expansion of macro 'signe'
           if (signe(piv))
               ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'inverseimage_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/alglin1.c:1969:24: note: in expansion of macro 'typ'
   long av=avma,j,lv,tv=typ(v);
                        ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1972:7: note: in expansion of macro 'typ'
   if (typ(m)!=t_MAT) err(typeer,"inverseimage");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'Fq_add':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:1995:11: note: in expansion of macro 'typ'
   switch((typ(x)==t_POL)|((typ(y)==t_POL)<<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/alglin1.c:1995:28: note: in expansion of macro 'typ'
   switch((typ(x)==t_POL)|((typ(y)==t_POL)<<1))
                            ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'Fq_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/alglin1.c:2010:11: note: in expansion of macro 'typ'
   switch((typ(x)==t_POL)|((typ(y)==t_POL)<<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/alglin1.c:2010:28: note: in expansion of macro 'typ'
   switch((typ(x)==t_POL)|((typ(y)==t_POL)<<1))
                            ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'Fq_neg_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/alglin1.c:2025:10: note: in expansion of macro 'typ'
   switch(typ(x)==t_POL)
          ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'Fq_res':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2038:10: note: in expansion of macro 'typ'
   switch(typ(x)==t_POL)
          ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'Fq_ker_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/alglin1.c:2079:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"ker_mod_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/alglin1.c:2095:13: note: in expansion of macro 'signe'
         if (signe(coeff(x,j,k))) 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/alglin1.c:2114:15: note: in expansion of macro 'signe'
           if (signe(piv))
               ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'eigen':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2163:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_MAT) err(typeer,"eigen");
       ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin1.c:2173:10: note: in expansion of macro 'signe'
     if (!signe(p1[2]) || gexpo((GEN)p1[2]) - gexpo(p1) < ex) rr[i] = p1[1];
          ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'det_mod_P_n':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin1.c:2285:13: note: in expansion of macro 'signe'
         if (signe(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/alglin1.c:2303:11: note: in expansion of macro 'signe'
       if (signe(m))
           ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'det2':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2321:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(mattype1,"det2");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'mydiv':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2330:13: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y);
             ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2330:26: note: in expansion of macro 'typ'
   long tx = typ(x), ty = typ(y);
                          ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'det':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:2345:7: note: in expansion of macro 'typ'
   if (typ(a)!=t_MAT) err(mattype1,"det");
       ^~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'hnfspec':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/basemath/alglin1.c:2652:19: note: in expansion of macro 'signe'
               if (signe((GEN)p1[i])) { p1[i] = lnegi((GEN)p1[i]); 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/alglin1.c:2777:16: note: in expansion of macro 'signe'
       if (! (s=signe(p2)) ) continue;
                ^~~~~
../pari-2.1.7/src/basemath/alglin1.c: In function 'gaussmoduloall':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:3071:7: note: in expansion of macro 'typ'
   if (typ(M)!=t_MAT) err(typeer,"gaussmodulo");
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:3075:10: note: in expansion of macro 'typ'
     if ((typ(Y)!=t_INT && lg(Y)!=1)
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:3076:10: note: in expansion of macro 'typ'
      || (typ(D)!=t_INT && lg(D)!=1)) err(consister,"gaussmodulo");
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:3080:10: note: in expansion of macro 'typ'
   switch(typ(D))
          ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/basemath/alglin1.c:3088:7: note: in expansion of macro 'typ'
   if (typ(Y) == 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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o mp.o ../pari-2.1.7/src/kernel/none/mp.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
./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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addsispec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:86:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:87:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addiispec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:120:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:121:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'subisspec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:149:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:150:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'subiispec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:182:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:183:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: At top level:
../pari-2.1.7/src/headers/parigen.h:131:38: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evaltyp(x)     (((ulong)(x)) << TYPSHIFT)
                                      ^
../pari-2.1.7/src/kernel/none/mp.c:191:3: note: in expansion of macro 'evaltyp'
   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/kernel/none/mp.c:191:33: note: in expansion of macro 'evalsigne'
   evaltyp(t_INT) | m_evallg(3), evalsigne(1) | evallgefint(3), 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/kernel/none/mp.c:195:3: note: in expansion of macro 'evaltyp'
   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/kernel/none/mp.c:195:33: note: in expansion of macro 'evalsigne'
   evaltyp(t_INT) | m_evallg(3), evalsigne(-1) | evallgefint(3), 0 };
                                 ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'affir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:200:16: note: in expansion of macro 'signe'
   const long s=signe(x),ly=lg(y);
                ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:210:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(s) | evalexpo(bit_accuracy(lx)-sh-1);
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'affrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:237:21: note: in expansion of macro 'signe'
   y[1] = x[1]; if (!signe(x)) { y[2]=0; return; }
                     ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'shifti':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:252:16: note: in expansion of macro 'signe'
   const long s=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/kernel/none/mp.c:294:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(s)|evallgefint(ly);
          ^~~~~~~~~
../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/kernel/none/mp.c:295:10: note: in expansion of macro 'evaltyp'
   y[0] = evaltyp(t_INT)|evallg(ly); return y;
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mptrunc':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:304:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT) return icopy(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/kernel/none/mp.c:305:10: note: in expansion of macro 'signe'
   if ((s=signe(x)) == 0 || (e=expo(x)) < 0) return gzero;
          ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:310:22: note: in expansion of macro 'evalsigne'
   y=cgeti(d); y[1] = evalsigne(s) | evallgefint(d);
                      ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mpent':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:328:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT) return icopy(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/kernel/none/mp.c:329:7: note: in expansion of macro 'signe'
   if (signe(x) >= 0) return mptrunc(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/kernel/none/mp.c:355:10: note: in expansion of macro 'evalsigne'
   y[1] = evalsigne(-1) | evallgefint(d);
          ^~~~~~~~~
../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/kernel/none/mp.c:356:10: note: in expansion of macro 'evaltyp'
   y[0] = evaltyp(t_INT) | evallg(d); return y;
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'cmpsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:364:19: note: in expansion of macro 'signe'
   if (!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)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:368:9: note: in expansion of macro 'signe'
     if (signe(y)<=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/kernel/none/mp.c:374:7: note: in expansion of macro 'signe'
   if (signe(y)>=0) return -1;
       ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'cmpii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:383:19: note: in expansion of macro 'signe'
   const long 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/kernel/none/mp.c:383:34: note: in expansion of macro 'signe'
   const long sx = signe(x), sy = signe(y);
                                  ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'cmprr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:401:19: note: in expansion of macro 'signe'
   const long 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/kernel/none/mp.c:401:34: note: in expansion of macro 'signe'
   const long sx = signe(x), sy = signe(y);
                                  ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:439:6: note: in expansion of macro 'signe'
   sy=signe(y); if (!sy) return stoi(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/kernel/none/mp.c:444:5: note: in expansion of macro 'setsigne'
     setsigne(z,sy); 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/kernel/none/mp.c:453:14: note: in expansion of macro 'evalsigne'
       z[1] = evalsigne(sy) | evallgefint(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/kernel/none/mp.c:457:14: note: in expansion of macro 'evalsigne'
       z[1] = evalsigne(-sy) | evallgefint(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/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:463:3: note: in expansion of macro 'setsigne'
   setsigne(z,sy); return z;
   ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:469:13: note: in expansion of macro 'signe'
   long sx = 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/kernel/none/mp.c:470:13: note: in expansion of macro 'signe'
   long 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/kernel/none/mp.c:491:3: note: in expansion of macro 'setsigne'
   setsigne(z,sx); return z;
   ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:508:8: note: in expansion of macro 'signe'
   if (!signe(x)) return rcopy(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/kernel/none/mp.c:510:8: note: in expansion of macro 'signe'
   if (!signe(y))
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:536:11: note: in expansion of macro 'signe'
   long sx=signe(x),sy=signe(y),ex=expo(x),ey=expo(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/kernel/none/mp.c:536:23: note: in expansion of macro 'signe'
   long sx=signe(x),sy=signe(y),ex=expo(x),ey=expo(y);
                       ^~~~~
../pari-2.1.7/src/kernel/none/mp.c:52:38: warning: left shift count >= width of type [-Wshift-count-overflow]
   *t2++ = (_l>>(ulong)sh) | ((ulong)f<<(ulong)m);\
                             ~~~~~~~~~^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:60:3: note: in expansion of macro 'shift_right2'
   shift_right2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:605:11: note: in expansion of macro 'shift_right'
           shift_right(z,z, 2,lz, 1,1);
           ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:54:12: warning: left shift count >= width of type [-Wshift-count-overflow]
     _k = _l<<(ulong)m; _l = *t1++;\
            ^
../pari-2.1.7/src/kernel/none/mp.c:60:3: note: in expansion of macro 'shift_right2'
   shift_right2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:605:11: note: in expansion of macro 'shift_right'
           shift_right(z,z, 2,lz, 1,1);
           ^~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:607:18: note: in expansion of macro 'evalsigne'
           z[1] = evalsigne(sx) | ey; 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/kernel/none/mp.c:612:12: note: in expansion of macro 'evalsigne'
     z[1] = evalsigne(sx) | evalexpo(ey); 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/kernel/none/mp.c:651:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(sx) | e;
          ^~~~~~~~~
../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/kernel/none/mp.c:652:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(lz);
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulss':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:669:24: note: in expansion of macro 'evalsigne'
     z=cgeti(4); z[1] = evalsigne(s) | evallgefint(4);
                        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:672:22: note: in expansion of macro 'evalsigne'
   z=cgeti(3); z[1] = evalsigne(s) | evallgefint(3);
                      ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'muluu':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:688:24: note: in expansion of macro 'evalsigne'
     z=cgeti(4); z[1] = evalsigne(1) | evallgefint(4);
                        ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:691:22: note: in expansion of macro 'evalsigne'
   z=cgeti(3); z[1] = evalsigne(1) | evallgefint(3);
                      ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulsispec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:710:10: note: in expansion of macro 'evalsigne'
   *--z = evalsigne(1) | evallgefint(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/kernel/none/mp.c:711:10: note: in expansion of macro 'evaltyp'
   *--z = evaltyp(t_INT) | evallg(lz);
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mului':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:718:12: note: in expansion of macro 'signe'
   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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:723:3: note: in expansion of macro 'setsigne'
   setsigne(z,s); return z;
   ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'addsmulsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:735:8: note: in expansion of macro 'signe'
   if (!signe(Y)) return stoi(a);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:746:10: note: in expansion of macro 'evalsigne'
   *--z = evalsigne(1) | evallgefint(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/kernel/none/mp.c:747:10: note: in expansion of macro 'evaltyp'
   *--z = evaltyp(t_INT) | evallg(lz);
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:756:12: note: in expansion of macro 'signe'
   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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:762:3: note: in expansion of macro 'setsigne'
   setsigne(z,s); return z;
   ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:773:7: note: in expansion of macro 'signe'
   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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:782:27: note: in expansion of macro 'setsigne'
   if (x==1) { z=rcopy(y); setsigne(z,s); 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/kernel/none/mp.c:792:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(s) | e; return z;
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:798:13: note: in expansion of macro 'signe'
   long 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/kernel/none/mp.c:798:28: note: in expansion of macro 'signe'
   long 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/kernel/none/mp.c:810:23: note: in expansion of macro 'evalsigne'
   z=cgetr(lz); z[1] = evalsigne(sx) | e;
                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:821:40: warning: right shift count >= width of type [-Wshift-count-overflow]
     else z[2]=(hiremainder<<1) | (garde>>(BITS_IN_LONG-1));
                                        ^~
../pari-2.1.7/src/kernel/none/mp.c:34:36: warning: right shift count >= width of type [-Wshift-count-overflow]
   register ulong _l,_k = ((ulong)f)>>m;\
                                    ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:860:5: note: in expansion of macro 'shift_left'
     shift_left(z,z,2,lzz,garde, 1);
     ^~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:39:12: warning: right shift count >= width of type [-Wshift-count-overflow]
     _k = _l>>(ulong)m;\
            ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:860:5: note: in expansion of macro 'shift_left'
     shift_left(z,z,2,lzz,garde, 1);
     ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:867:11: note: in expansion of macro 'signe'
   long sx=signe(x),sy,lz,lzz,ey,e,p1,i,j;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:875:6: note: in expansion of macro 'signe'
   sy=signe(y); ey=expo(y);
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:887:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(sx) | e;
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:893:40: warning: right shift count >= width of type [-Wshift-count-overflow]
     else z[2]=(hiremainder<<1) | (garde>>(BITS_IN_LONG-1));
                                        ^~
../pari-2.1.7/src/kernel/none/mp.c:34:36: warning: right shift count >= width of type [-Wshift-count-overflow]
   register ulong _l,_k = ((ulong)f)>>m;\
                                    ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:932:5: note: in expansion of macro 'shift_left'
     shift_left(z,z,2,lzz,garde, 1);
     ^~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:39:12: warning: right shift count >= width of type [-Wshift-count-overflow]
     _k = _l>>(ulong)m;\
            ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:932:5: note: in expansion of macro 'shift_left'
     shift_left(z,z,2,lzz,garde, 1);
     ^~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'vals':
../pari-2.1.7/src/kernel/none/mp.c:947:37: warning: right shift count >= width of type [-Wshift-count-overflow]
   if (! (z&0xffffffff)) { s = 32; z >>=32; } else s = 0;
                                     ^~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../pari-2.1.7/src/kernel/none/mp.c: In function 'divsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:985:16: note: in expansion of macro 'signe'
   long p1, s = signe(y);
                ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'modui':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1005:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(diver2);
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'modiu':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1017:11: note: in expansion of macro 'signe'
   long sy=signe(y),ly,i;
           ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'modsi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1038:12: note: in expansion of macro 'signe'
   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))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:1052:7: note: in expansion of macro 'setsigne'
     { setsigne(y,1); p1=addsi(hiremainder,y); 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/kernel/none/mp.c:1052:47: note: in expansion of macro 'setsigne'
     { setsigne(y,1); p1=addsi(hiremainder,y); setsigne(y,-1); }
                                               ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divis':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1061:11: note: in expansion of macro 'signe'
   long sy=signe(y),ly,s,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/kernel/none/mp.c:1076:43: note: in expansion of macro 'evalsigne'
   z = cgeti(ly); z[1] = evallgefint(ly) | evalsigne(s);
                                           ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divir':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1088:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(diver5);
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1089:8: note: in expansion of macro 'signe'
   if (!signe(x)) return gzero;
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divri':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1098:16: note: in expansion of macro 'signe'
   long av,lx,s=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/kernel/none/mp.c:1101:8: note: in expansion of macro 'signe'
   if (!signe(x))
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'diviiz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1121:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) { affii(divii(x,y),z); avma=av; return; }
       ^~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mpdivz':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1131:7: note: in expansion of macro 'typ'
   if (typ(z)==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/kernel/none/mp.c:1133:9: note: in expansion of macro 'typ'
     if (typ(x)==t_REAL || typ(y)==t_REAL) err(divzer1);
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1133:27: note: in expansion of macro 'typ'
     if (typ(x)==t_REAL || typ(y)==t_REAL) err(divzer1);
                           ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1136: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))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1141:9: note: in expansion of macro 'typ'
     if (typ(y)==t_REAL) { affrr(divir(x,y),z); avma=av; return; }
         ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:1145:7: note: in expansion of macro 'typ'
   if (typ(y)==t_REAL) { affrr(divrr(x,y),z); avma=av; return; }
       ^~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divsr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1155:8: note: in expansion of macro 'signe'
   if (!signe(y)) err(diver3);
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'modii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1165:10: note: in expansion of macro 'signe'
   switch(signe(x))
          ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divrs':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1190:27: note: in expansion of macro 'signe'
   long i,lx,ex,garde,sh,s=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/kernel/none/mp.c:1202:27: note: in expansion of macro 'setsigne'
   if (y==1) { z=rcopy(x); setsigne(z,s); 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/kernel/none/mp.c:1210:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(s) | ex;
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'divrr':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1217:11: note: in expansion of macro 'signe'
   long sx=signe(x), sy=signe(y), lx,ly,lz,e,i,j;
           ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1217:24: note: in expansion of macro 'signe'
   long sx=signe(x), sy=signe(y), lx,ly,lz,e,i,j;
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1225:7: note: in expansion of macro 'evalsigne'
   e = evalsigne(sx) | e;
       ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:30:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define MAXULONG     (0xffffffffffffffffUL)
                        ^
../pari-2.1.7/src/kernel/none/mp.c:1253:12: note: in expansion of macro 'MAXULONG'
       qp = MAXULONG; k=addll(si,x1[2]);
            ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:52:38: warning: left shift count >= width of type [-Wshift-count-overflow]
   *t2++ = (_l>>(ulong)sh) | ((ulong)f<<(ulong)m);\
                             ~~~~~~~~~^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:60:3: note: in expansion of macro 'shift_right2'
   shift_right2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:1301:13: note: in expansion of macro 'shift_right'
   if (*x) { shift_right(x,x, 2,lz, 1,1); } else e--;
             ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:54:12: warning: left shift count >= width of type [-Wshift-count-overflow]
     _k = _l<<(ulong)m; _l = *t1++;\
            ^
../pari-2.1.7/src/kernel/none/mp.c:60:3: note: in expansion of macro 'shift_right2'
   shift_right2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:1301:13: note: in expansion of macro 'shift_right'
   if (*x) { shift_right(x,x, 2,lz, 1,1); } else e--;
             ^~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../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/kernel/none/mp.c:1302:8: note: in expansion of macro 'evaltyp'
   x[0]=evaltyp(t_REAL)|evallg(lz);
        ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'dvmdii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1319:11: note: in expansion of macro 'signe'
   long 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/kernel/none/mp.c:1319:23: note: in expansion of macro 'signe'
   long 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/kernel/none/mp.c:1368:14: note: in expansion of macro 'evalsigne'
       r[1] = evalsigne(sx) | evallgefint(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/kernel/none/mp.c:1371:12: note: in expansion of macro 'evalsigne'
     q[1] = evalsigne(sy) | 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/kernel/none/mp.c:1372:12: note: in expansion of macro 'evaltyp'
     q[0] = evaltyp(t_INT) | evallg(lx);
            ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1376:12: note: in expansion of macro 'evalsigne'
     r[1] = evalsigne(sx) | evallgefint(3);
            ^~~~~~~~~
../pari-2.1.7/src/headers/parigen.h:30:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define MAXULONG     (0xffffffffffffffffUL)
                        ^
../pari-2.1.7/src/kernel/none/mp.c:1400:12: note: in expansion of macro 'MAXULONG'
       qp = MAXULONG; k=addll(si,x1[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/kernel/none/mp.c:1434:13: note: in expansion of macro 'evalsigne'
     *--qd = evalsigne(sy) | evallgefint(lq);
             ^~~~~~~~~
../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/kernel/none/mp.c:1435:13: note: in expansion of macro 'evaltyp'
     *--qd = evaltyp(t_INT) | evallg(lq);
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1460:13: note: in expansion of macro 'evalsigne'
     *--rd = evalsigne(sx) | evallgefint(lr);
             ^~~~~~~~~
../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/kernel/none/mp.c:1461:13: note: in expansion of macro 'evaltyp'
     *--rd = evaltyp(t_INT) | evallg(lr);
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1489:13: note: in expansion of macro 'evalsigne'
     *--rd = evalsigne(sx) | evallgefint(lr);
             ^~~~~~~~~
../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/kernel/none/mp.c:1490:13: note: in expansion of macro 'evaltyp'
     *--rd = evaltyp(t_INT) | evallg(lr);
             ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1497:11: note: in expansion of macro 'evalsigne'
   *--qd = evalsigne(sy) | evallgefint(lq);
           ^~~~~~~~~
../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/kernel/none/mp.c:1498:11: note: in expansion of macro 'evaltyp'
   *--qd = evaltyp(t_INT) | evallg(lq);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mppgcd_plus_minus':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1550:12: note: in expansion of macro 'evalsigne'
   res[1] = evalsigne(1)|evallgefint(lt);
            ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'convi':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1582:10: note: in expansion of macro 'signe'
     if (!signe(x)) { avma=av; return p1; }
          ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'truedvmdii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1634:7: note: in expansion of macro 'signe'
   if (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/kernel/none/mp.c:1646:14: note: in expansion of macro 'signe'
   q = addsi(-signe(y),q);
              ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'diviuexact':
../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/kernel/none/mp.c:1716:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT)|evallg(lz);
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1717:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(1)|evallg(lz);
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'diviiexact':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1727:33: note: in expansion of macro 'signe'
   long av,lx,ly,lz,vy,i,ii,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/kernel/none/mp.c:1727:48: note: in expansion of macro 'signe'
   long av,lx,ly,lz,vy,i,ii,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/kernel/none/mp.c:1750:9: note: in expansion of macro 'signe'
     if (signe(x)) setsigne(x,sx*sy); /* should have x != 0 at this point */
         ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/kernel/none/mp.c:1750:19: note: in expansion of macro 'setsigne'
     if (signe(x)) setsigne(x,sx*sy); /* should have x != 0 at this point */
                   ^~~~~~~~
../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/kernel/none/mp.c:1797:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT)|evallg(lz);
          ^~~~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1798:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(sx*sy)|evallg(lz);
          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'absi_equal':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1815: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)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1815:26: 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)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1816:8: note: in expansion of macro 'signe'
   if (!signe(y)) return 0;
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'absi_cmp':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1829:8: note: in expansion of macro 'signe'
   if (!signe(x)) return signe(y)? -1: 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/kernel/none/mp.c:1829:25: note: in expansion of macro 'signe'
   if (!signe(x)) return signe(y)? -1: 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/kernel/none/mp.c:1830:8: note: in expansion of macro 'signe'
   if (!signe(y)) return 1;
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'absr_cmp':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:1846:8: note: in expansion of macro 'signe'
   if (!signe(x)) return signe(y)? -1: 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/kernel/none/mp.c:1846:25: note: in expansion of macro 'signe'
   if (!signe(x)) return signe(y)? -1: 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/kernel/none/mp.c:1847:8: note: in expansion of macro 'signe'
   if (!signe(y)) return 1;
        ^~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'muliispec':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1931:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:1932:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'sqrispec':
../pari-2.1.7/src/kernel/none/mp.c:34:36: warning: right shift count >= width of type [-Wshift-count-overflow]
   register ulong _l,_k = ((ulong)f)>>m;\
                                    ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:1979:3: note: in expansion of macro 'shift_left'
   shift_left(zd, zd, 0, (nx<<1)-3, 0, 1);
   ^~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:39:12: warning: right shift count >= width of type [-Wshift-count-overflow]
     _k = _l>>(ulong)m;\
            ^
../pari-2.1.7/src/kernel/none/mp.c:45:3: note: in expansion of macro 'shift_left2'
   shift_left2((z2),(z1),(imin),(imax),(f),(sh),(_m));\
   ^~~~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:1979:3: note: in expansion of macro 'shift_left'
   shift_left(zd, zd, 0, (nx<<1)-3, 0, 1);
   ^~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:1995:11: note: in expansion of macro 'evalsigne'
   *--zd = evalsigne(1) | evallgefint(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/kernel/none/mp.c:1996:11: note: in expansion of macro 'evaltyp'
   *--zd = evaltyp(t_INT) | evallg(lz);
           ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.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/kernel/none/mp.c:2025:10: note: in expansion of macro 'evalsigne'
   z[1] = evalsigne(1) | evallgefint(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/kernel/none/mp.c:2026:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(lz); return z;
          ^~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mulii':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:2088:6: note: in expansion of macro 'signe'
   sa=signe(a); if (!sa) 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/kernel/none/mp.c:2089:6: note: in expansion of macro 'signe'
   sb=signe(b); if (!sb) return gzero;
      ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/kernel/none/mp.c:2092:3: note: in expansion of macro 'setsigne'
   setsigne(z,sa); return z;
   ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'resmod2n':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:2129:8: note: in expansion of macro 'signe'
   if (!signe(x) || !n) return gzero;
        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:2150:11: note: in expansion of macro 'evalsigne'
   *++zd = evalsigne(1) | evallgefint(ly);
           ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'dbltor':
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/kernel/none/mp.c:2331:26: note: in expansion of macro 'evalsigne'
     z[1] = evalexpo(e) | evalsigne(x<0? -1: 1);
                          ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'rtodbl':
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:2339:13: note: in expansion of macro 'signe'
   long ex,s=signe(x);
             ^~~~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:2347:7: note: in expansion of macro 'typ'
   if (typ(x)==t_INT && !s) return 0.0;
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:2348:7: note: in expansion of macro 'typ'
   if (typ(x)!=t_REAL) err(typeer,"rtodbl");
       ^~~
../pari-2.1.7/src/kernel/none/mp.c:2355:26: warning: left shift count >= width of type [-Wshift-count-overflow]
   fi.i = ((ex + exp_mid) << mant_len) | (a >> expo_len);
          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/mp.c:23:
../pari-2.1.7/src/kernel/none/mp.c: In function 'invmod':
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:3227:7: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
       ^~~
../pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
../pari-2.1.7/src/kernel/none/mp.c:3227:26: note: in expansion of macro 'typ'
   if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
                          ^~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:3228:8: note: in expansion of macro 'signe'
   if (!signe(b)) { *res=absi(a); 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/kernel/none/mp.c:3261:28: note: in expansion of macro 'signe'
   while (lgefint(d) > 3 && signe(d1))
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/kernel/none/mp.c:3293:11: note: in expansion of macro 'setsigne'
           setsigne(d,-signe(d));
           ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3293:23: note: in expansion of macro 'signe'
           setsigne(d,-signe(d));
                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/kernel/none/mp.c:3293:11: note: in expansion of macro 'setsigne'
           setsigne(d,-signe(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/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/kernel/none/mp.c:3294:11: note: in expansion of macro 'setsigne'
           setsigne(v,-signe(v));
           ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3294:23: note: in expansion of macro 'signe'
           setsigne(v,-signe(v));
                       ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3294:11: note: in expansion of macro 'setsigne'
           setsigne(v,-signe(v));
           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/headers/parigen.h:133:33: note: in definition of macro 'evalsigne'
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                 ^
../pari-2.1.7/src/kernel/none/mp.c:3297:11: note: in expansion of macro 'setsigne'
           setsigne(d1,-signe(d1));
           ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3297:24: note: in expansion of macro 'signe'
           setsigne(d1,-signe(d1));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/kernel/none/mp.c:3297:11: note: in expansion of macro 'setsigne'
           setsigne(d1,-signe(d1));
           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/kernel/none/mp.c:3298:11: note: in expansion of macro 'setsigne'
           setsigne(v1,-signe(v1));
           ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3298:24: note: in expansion of macro 'signe'
           setsigne(v1,-signe(v1));
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(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/kernel/none/mp.c:3298:11: note: in expansion of macro 'setsigne'
           setsigne(v1,-signe(v1));
           ^~~~~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:3309:24: note: in expansion of macro 'signe'
     if (lhmres <= 0 && signe(d1))
                        ^~~~~
../pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
../pari-2.1.7/src/kernel/none/mp.c:3329:7: note: in expansion of macro 'signe'
   if (signe(d1))
       ^~~~~
../pari-2.1.7/src/headers/parigen.h:154: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/kernel/none/mp.c:3349:16: note: in expansion of macro 'setsigne'
     if (s > 0) setsigne(v,-signe(v));
                ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3349:28: note: in expansion of macro 'signe'
     if (s > 0) setsigne(v,-signe(v));
                            ^~~~~
../pari-2.1.7/src/headers/parigen.h:133:37: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define evalsigne(x)   (((long)(x)) << SIGNSHIFT)
                                     ^
../pari-2.1.7/src/headers/parigen.h:156:55: note: in expansion of macro 'evalsigne'
                         (((GEN)(x))[1]&(~SIGNBITS)) | evalsigne(s))
                                                       ^~~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c:3349:16: note: in expansion of macro 'setsigne'
     if (s > 0) setsigne(v,-signe(v));
                ^~~~~~~~
../pari-2.1.7/src/kernel/none/mp.c: In function 'mpsqrtl':
../pari-2.1.7/src/headers/parigen.h:30:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #  define MAXULONG     (0xffffffffffffffffUL)
                        ^
../pari-2.1.7/src/kernel/none/mp.c:3407:9: note: in expansion of macro 'MAXULONG'
     x = MAXULONG;
         ^~~~~~~~
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o mpinl.o ../pari-2.1.7/src/kernel/none/level1.c
In file included from ../pari-2.1.7/src/headers/pari.h:70:0,
                 from ../pari-2.1.7/src/kernel/none/level1.c:17:
./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:344: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:352: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:360: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:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./pariinl.h:400: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:400: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:407: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:407: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:416: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:425: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:437: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:438: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:445: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:479: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:480: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:493: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:494: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:502: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:503: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:505: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:524: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:524: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:535: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:543: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:556: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:560: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:561: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:567: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:571: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:572: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:578: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:581: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:582: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:588: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:591: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:592: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: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:601: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:602: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:608: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:611: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:612: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:618: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:654: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:752: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:767: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:784: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:819: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:820: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:821: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:827: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:828: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:829: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:835: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:836: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:837: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:843: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:844: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:845: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:851: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:852: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:853: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:863: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:873: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:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
cc  -E -I . -I ../pari-2.1.7/src -I ../pari-2.1.7/src/headers -I ../pari-2.1.7/src/graph -I . -I ../pari-2.1.7/src/kernel/ix86/ -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING  ../pari-2.1.7/src/kernel/ix86/l0asm.c | perl -ne "s/%\s+/%/g; print unless /^\s*#/" > kernel1.s
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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC  -o kernel.o kernel1.s
rm -f libPARI.a
ar  cr libPARI.a stark.o kummer.o base1.o helpmsg.o gen2.o sumiter.o gen3.o bibli2.o base5.o ifactor1.o trans3.o bibli1.o thue.o buch1.o buch2.o highlvl.o mpqs.o init.o plotgnuplot.o buch3.o polarit2.o plotport.o base3.o arith1.o base2.o alglin2.o subfield.o es.o elliptic.o trans2.o arith2.o subgroup.o polarit3.o errmsg.o nffactor.o galois.o gen1.o trans1.o base4.o rootpol.o anal.o polarit1.o buch4.o compat.o galconj.o alglin1.o mp.o mpinl.o kernel.o
: libPARI.a
make[1]: Leaving directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
make[1]: Entering directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
Running Mkbootstrap for Math::Pari ()
chmod 644 "Pari.bs"
"/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap"  Pari.xs > Pari.xsc && mv Pari.xsc Pari.c
cc -c  -I pari-2.1.7/src -I pari-2.1.7/src/headers -I pari-2.1.7/src -I ./libPARI -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 -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong   -DVERSION=\"2.010808\" -DXS_VERSION=\"2.010808\" -fPIC "-I/usr/lib/perl5/core_perl/CORE"  -DPARI_VERSION_EXP=2001007 -DDEBUG_PARI -DUSE_SLOW_ARRAY_ACCESS -DUSE_SLOW_NARGS_ACCESS -DLSB_in_U32=0 -Derr=pari_err -DGCC_INLINE Pari.c
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
./libPARI/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)
                                      ^
./libPARI/pariinl.h:344:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(y) | evallg(x);
          ^~~~~~~
./libPARI/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)
                                      ^
./libPARI/pariinl.h:352:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_INT) | evallg(x);
          ^~~~~~~
./libPARI/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)
                                      ^
./libPARI/pariinl.h:360:10: note: in expansion of macro 'evaltyp'
   z[0] = evaltyp(t_REAL) | evallg(x);
          ^~~~~~~
./libPARI/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)
                                 ^
./libPARI/pariinl.h:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./libPARI/pariinl.h:400: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:400:3: note: in expansion of macro 'setsigne'
   setsigne(y,-signe(x)); return y;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:407: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:407:19: note: in expansion of macro 'setsigne'
   if (signe(x)<0) setsigne(y,1);
                   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:416:11: note: in expansion of macro 'signe'
   return (signe(x)>0) ? hiremainder: labs(y)+hiremainder;
           ^~~~~
./libPARI/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)
                                     ^
./libPARI/pariinl.h:425:22: note: in expansion of macro 'evalsigne'
   y=cgeti(3); y[1] = evalsigne(1) | evallgefint(3); y[2] = x;
                      ^~~~~~~~~
./libPARI/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)
                                     ^
./libPARI/pariinl.h:437: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)
                                     ^
./libPARI/pariinl.h:438:17: note: in expansion of macro 'evalsigne'
   else { y[1] = evalsigne(-1) | evallgefint(3); y[2] = -x; }
                 ^~~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:445:16: note: in expansion of macro 'signe'
   const long s=signe(x);
                ^~~~~
./libPARI/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)
                                     ^
./libPARI/pariinl.h:479: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)
                                     ^
./libPARI/pariinl.h:480:17: note: in expansion of macro 'evalsigne'
   else { x[1] = evalsigne(-1) | evallgefint(3); x[2] = -s; }
                 ^~~~~~~~~
./libPARI/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)
                                     ^
./libPARI/pariinl.h:493: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)
                                     ^
./libPARI/pariinl.h:494:15: note: in expansion of macro 'evalsigne'
   else x[1] = evalsigne(1);
               ^~~~~~~~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:502: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))
                                                                            ^
./libPARI/pariinl.h:503: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))
                                                                            ^
./libPARI/pariinl.h:505:10: note: in expansion of macro 'typ'
    { if (typ(y)==t_INT) affri(x,y); else affrr(x,y); }
          ^~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:524: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)
                                                ^
./libPARI/pariinl.h:524:26: note: in expansion of macro 'signe'
   if (!signe(x)) return -signe(y);
                          ^~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:535:19: note: in expansion of macro 'signe'
   if (!x) return -signe(y);
                   ^~~~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:543:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(addss,x,y,z);
       ^~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:556: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:560: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:561:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:567: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:571: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:572:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:578: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:581: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:582:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:588: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:591: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:592:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:601: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:602:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:608: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:611: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))
                                                       ^~~~~~~~~
./libPARI/pariinl.h:612:3: note: in expansion of macro 'setsigne'
   setsigne(y, s); return z;
   ^~~~~~~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:618:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2ssz(mulss,x,y,z);
       ^~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:654:8: note: in expansion of macro 'signe'
   if (!signe(x)) return -1;
        ^~~~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:752:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gops2gsz(divis,x,y,z);
       ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:767:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divsi(x,y),z);
       ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:784:7: note: in expansion of macro 'typ'
   if (typ(z)==t_INT) gaffect(divss(x,y),z);
       ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:819: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))
                                                                            ^
./libPARI/pariinl.h:820: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))
                                                                            ^
./libPARI/pariinl.h:821:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? -cmpir(y,x) : cmprr(x,y);
           ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:827: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))
                                                                            ^
./libPARI/pariinl.h:828: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))
                                                                            ^
./libPARI/pariinl.h:829:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? addir(y,x) : addrr(x,y);
           ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:835: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))
                                                                            ^
./libPARI/pariinl.h:836: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))
                                                                            ^
./libPARI/pariinl.h:837:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? subri(x,y) : subrr(x,y);
           ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:843: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))
                                                                            ^
./libPARI/pariinl.h:844: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))
                                                                            ^
./libPARI/pariinl.h:845:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? mulir(y,x) : mulrr(x,y);
           ^~~
./libPARI/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))
                                                                            ^
./libPARI/pariinl.h:851: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))
                                                                            ^
./libPARI/pariinl.h:852: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))
                                                                            ^
./libPARI/pariinl.h:853:11: note: in expansion of macro 'typ'
   return (typ(y)==t_INT) ? divri(x,y) : divrr(x,y);
           ^~~
./libPARI/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)
                                                ^
./libPARI/pariinl.h:863:7: note: in expansion of macro 'signe'
   if (signe(p2)) { avma=av; return 0; }
       ^~~~~
./libPARI/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)
                                      ^
./libPARI/pariinl.h:873: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))
                                                                            ^
./libPARI/pariinl.h:875:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.xs: In function 'numvar':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:452:7: note: in expansion of macro 'typ'
   if (typ(x) != t_POL || lgef(x) != 4 ||
       ^~~
Pari.xs: In function 'findVariable':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:546:9: note: in expansion of macro 'typ'
     if (typ(x) == t_POL /* Polynomial. */
         ^~~
Pari.xs: In function 'sv2parimat':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:888:7: note: in expansion of macro 'typ'
   if (typ(in)==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.xs:893:14: note: in expansion of macro 'typ'
       if ((t=typ(in[len])) == 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.xs:894:2: note: in expansion of macro 'settyp'
  settyp(in[len], 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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
Pari.xs:902:5: note: in expansion of macro 'settyp'
     settyp(in, 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.xs:903:14: note: in expansion of macro 'typ'
   } else if (typ(in) != t_MAT) {
              ^~~
Pari.xs: In function 'pari2iv':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:921:9: note: in expansion of macro 'typ'
     if (typ(in) != 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.xs:944:6: note: in expansion of macro 'signe'
  if (signe(in) > 0) {
      ^~~~~
In file included from /usr/lib/perl5/core_perl/CORE/perl.h:5544:0,
                 from Pari.xs:30:
pari-2.1.7/src/headers/parigen.h:154:48: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define signe(x)      (((long) ((GEN) (x))[1]) >> SIGNSHIFT)
                                                ^
/usr/lib/perl5/core_perl/CORE/embed.h:398:40: note: in definition of macro 'newSViv'
 #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                        ^
Pari.xs:953:20: note: in expansion of macro 'signe'
     return newSViv(signe(in) > 0 ? (IV)uv : -(IV)uv);
                    ^~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.xs: 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)
                                      ^
Pari.xs:987: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))
                                                                            ^
Pari.xs:989:7: note: in expansion of macro 'typ'
   if (typ(x)==t_REAL) return rtodbl(x);
       ^~~
Pari.xs: In function 'pari2pv':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:1007:9: note: in expansion of macro 'typ'
     if (typ(in) == t_STR)  /* Puts "" around without special-casing */
         ^~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
Pari.xs: In function 'pari2mortalsv':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:275:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, ((void)0))
   ^~~~~~~~~~~~~~~
Pari.xs:1108:5: note: in expansion of macro 'setSVpari_keep_avma'
     setSVpari_keep_avma(sv, in, oldavma);
     ^~~~~~~~~~~~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:275:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, ((void)0))
   ^~~~~~~~~~~~~~~
Pari.xs:1108:5: note: in expansion of macro 'setSVpari_keep_avma'
     setSVpari_keep_avma(sv, in, oldavma);
     ^~~~~~~~~~~~~~~~~~~
Pari.xs: In function 'resetSVpari':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:275:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, ((void)0))
   ^~~~~~~~~~~~~~~
Pari.xs:1216:3: note: in expansion of macro 'setSVpari_keep_avma'
   setSVpari_keep_avma(sv,g,oldavma);
   ^~~~~~~~~~~~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:275:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, ((void)0))
   ^~~~~~~~~~~~~~~
Pari.xs:1216:3: note: in expansion of macro 'setSVpari_keep_avma'
   setSVpari_keep_avma(sv,g,oldavma);
   ^~~~~~~~~~~~~~~~~~~
Pari.xs: In function 'Arr_FETCH':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:1460:22: note: in expansion of macro 'typ'
     if (!is_matvec_t(typ(g)))
                      ^~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
pari-2.1.7/src/headers/paritype.h:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:1460:22: note: in expansion of macro 'typ'
     if (!is_matvec_t(typ(g)))
                      ^~~
Pari.xs: In function 'Arr_STORE':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:1476:22: note: in expansion of macro 'typ'
     if (!is_matvec_t(typ(g)))
                      ^~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
pari-2.1.7/src/headers/paritype.h:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:1476:22: note: in expansion of macro 'typ'
     if (!is_matvec_t(typ(g)))
                      ^~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:1484:9: note: in expansion of macro 'typ'
     if (typ(g) == 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.xs:1487:6: note: in expansion of macro 'typ'
  if (typ(elt) != 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.xs:1488:10: note: in expansion of macro 'typ'
      if (typ(elt) != 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.xs:1500:2: note: in expansion of macro 'settyp'
  settyp(elt, t_COL);
  ^~~~~~
Pari.xs: In function '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.xs:1716:13: note: in expansion of macro 'typ'
     switch (typ(in)) {
             ^~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
Pari.c: In function 'XS_Math__Pari_FETCH':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:1947:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:1947:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_sv2pari':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2043:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2043:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_sv2parimat':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2067:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2067:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.xs: In function 'XS_Math__Pari_pari2num_':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:1844:10: note: in expansion of macro 'typ'
      if (typ(in) == t_INT) {
          ^~~
Pari.xs: In function 'XS_Math__Pari_pari2num':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:1859:10: note: in expansion of macro 'typ'
      if (typ(in) == t_INT) {
          ^~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
Pari.c: In function 'XS_Math__Pari__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/headers/paritype.h:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2222:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2222:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_PARI':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2253:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2253:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.xs: In function 'XS_Math__Pari_PARIcol':
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.xs:1924:6: note: in expansion of macro 'settyp'
      settyp(RETVAL, t_COL);
      ^~~~~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
pari-2.1.7/src/headers/paritype.h:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2285:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2285:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.xs: In function 'XS_Math__Pari_PARImat':
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.xs:1940:4: note: in expansion of macro 'settyp'
    settyp(RETVAL[i+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/headers/parigen.h:143:54: note: in expansion of macro 'evaltyp'
                         (((GEN)(x))[0]&(~TYPBITS)) | evaltyp(s))
                                                      ^~~~~~~
Pari.xs:1943:6: note: in expansion of macro 'settyp'
      settyp(RETVAL, t_MAT);
      ^~~~~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
pari-2.1.7/src/headers/paritype.h:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2318:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2318:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface_flexible_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/headers/paritype.h:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2433:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2433:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface0':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2545:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2545:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface9900':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2576:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2576:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface1':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2609:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2609:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface199':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2646:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2646:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface11':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2747:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2747:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface18':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2812:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2812:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface2':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2847:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2847:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface299':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2884:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:2884:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface29':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3061:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3061:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface3':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3098:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3098:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface4':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3173:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3173:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface5':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3212:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3212:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface12':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3247:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3247:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface13':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3296:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3296:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface14':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3337:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3337:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface21':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3372:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3372:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface2199':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3414:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3414:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface22':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3455:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3455:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface23':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3490:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3490:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface24':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3525:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3525:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface25':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3568:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3568:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface26':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3605:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3605:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface27':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3646:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3646:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface28':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3697:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3697:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface28_old':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3733:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3733:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface31':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3824:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3824:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface32':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3861:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3861:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface33':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3906:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:3906:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface37':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4011:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4011:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface47':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4062:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4062:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface48':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4113:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4113:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface49':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4180:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4180:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface44':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4354:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4354:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface45':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4397:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4397:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
Pari.c: In function 'XS_Math__Pari_interface73':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4495:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:4495:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.c: In function 'XS_Math__Pari_typ':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.c:5477:11: note: in expansion of macro 'typ'
  RETVAL = typ(in);
           ^~~
In file included from pari-2.1.7/src/headers/pari.h:68:0,
                 from Pari.xs:6:
Pari.c: In function 'XS_Math__Pari_ifact':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:27: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:5519:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= 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:53:43: note: in definition of macro 'is_matvec_t'
 #define is_matvec_t(t) ( (t) >= t_VEC && (t) <= t_MAT )
                                           ^
Pari.xs:283:21: note: in expansion of macro 'typ'
     if (is_matvec_t(typ(in)) && SvTYPE(SvRV(sv)) != SVt_PVAV) { \
                     ^~~
Pari.xs:279:5: note: in expansion of macro 'morphSVpari'
     morphSVpari(sv, in, oldavma, action);   \
     ^~~~~~~~~~~
Pari.xs:272:3: note: in expansion of macro 'setSVpari_or_do'
   setSVpari_or_do(sv, in, oldavma, avma = oldavma)
   ^~~~~~~~~~~~~~~
Pari.c:5519:6: note: in expansion of macro 'setSVpari'
      setSVpari(RETVALSV, RETVAL, oldavma);
      ^~~~~~~~~
In file included from pari-2.1.7/src/headers/pari.h:70:0,
                 from Pari.xs:6:
Pari.c: In function 'XS_Math__Pari_type_name':
pari-2.1.7/src/headers/parigen.h:141:76: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define typ(x)        ((((long)(x))&1)? t_SMALL: (((ulong) ((GEN) (x))[0]) >> TYPSHIFT))
                                                                            ^
Pari.xs:1761:42: note: in expansion of macro 'typ'
 #define s_type_name(x) (char *)type_name(typ(x));
                                          ^~~
Pari.c:5869:11: note: in expansion of macro 's_type_name'
  RETVAL = s_type_name(x);
           ^~~~~~~~~~~
Pari.xs: In function 'boot_Math__Pari':
Pari.xs:3738:8: warning: implicit declaration of function 'init_graph' [-Wimplicit-function-declaration]
        init_graph();
        ^~~~~~~~~~
rm -f blib/arch/auto/Math/Pari/Pari.so
cc  -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Pari.o  -o blib/arch/auto/Math/Pari/Pari.so libPARI/libPARI.a	\
   -lm  	\
  
chmod 755 blib/arch/auto/Math/Pari/Pari.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pari.bs blib/arch/auto/Math/Pari/Pari.bs 644
Manifying 4 pod documents
==> Entering fakeroot environment...
==> Starting package()...
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
make[1]: Leaving directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
make[1]: Entering directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/perl-math-pari/src/Math-Pari-2.010808/libPARI'
Running Mkbootstrap for Math::Pari ()
chmod 644 "Pari.bs"
Manifying 4 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/vendor_perl/auto/Math/Pari/Pari.so
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/vendor_perl/Math/PariInit.pm
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/vendor_perl/Math/libPARI.pod
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/vendor_perl/Math/libPARI.dumb.pod
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/vendor_perl/Math/Pari.pm
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/share/man/man3/Math::PariInit.3pm
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/share/man/man3/Math::libPARI.3pm
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/share/man/man3/Math::Pari.3pm
Installing /build/perl-math-pari/pkg/perl-math-pari/usr/share/man/man3/Math::libPARI.dumb.3pm
Appending installation info to /build/perl-math-pari/pkg/perl-math-pari/usr/lib/perl5/core_perl/perllocal.pod
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "perl-math-pari"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: perl-math-pari 1:2.010808-3 (Sun May 29 20:59:55 EDT 2016)
==> Cleaning up...