==> 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: