aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2016-08-03download_prerequisites: Explicitly remove existing symlinks before trying to ↵Eric Gallager2-0/+9
create new ones. 2016-08-03 Eric Gallager <egall@gwmail.gwu.edu> * download_prerequisites: Explicitly remove existing symlinks before trying to create new ones. From-SVN: r239082
2016-07-28Add mark_spam.py scriptMartin Liska2-0/+90
* mark_spam.py: New file. From-SVN: r238809
2016-07-21Do not divide by zero in analyze_brprob.pyMartin Liska2-6/+12
* analyze_brprob.py: If there's no loop, do not calculate average number of loop iterations. From-SVN: r238590
2016-06-24Dump profile-based number of iterationsMartin Liska2-0/+38
* analyze_brprob.py: Parse and display average number of loop iterations. * cfgloop.c (flow_loop_dump): Dump average number of loop iterations. * cfgloop.h: Change 'struct loop' to 'const struct loop' for a few functions. * cfgloopanal.c (expected_loop_iterations_unbounded): Set a new argument to true if the expected number of iterations is loop-based. From-SVN: r237762
2016-06-23Add gcc-auto-profile scriptAndi Kleen2-0/+160
Using autofdo is currently something difficult. It requires using the model specific branches taken event, which differs on different CPUs. The example shown in the manual requires a special patched version of perf that is non standard, and also will likely not work everywhere. This patch adds a new gcc-auto-profile script that figures out the correct event and runs perf. This is needed to actually make use of autofdo in a generic way in the build system and in the test suite. Since maintaining the script would be somewhat tedious (needs changes every time a new CPU comes out) I auto generated it from the online Intel event database. The script to do that is in contrib and can be rerun. Right now there is no test if perf works in configure. This would vary depending on the build and target system, and since it currently doesn't work in virtualization and needs uptodate kernel it may often fail in common distribution build setups. So far the script is not installed. gcc/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * config/i386/gcc-auto-profile: New file. contrib/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * gen_autofdo_event.py: New file to regenerate gcc-auto-profile. From-SVN: r237731
2016-06-21remove mep-* supportTrevor Saunders2-1/+5
libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for mep-*. * config/mep/lib1funcs.S: Remove. * config/mep/lib2funcs.c: Remove. * config/mep/t-mep: Remove. * config/mep/tramp.c: Remove. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * common/config/mep/mep-common.c: Remove. * config.gcc: Remove mep-* support. * config/mep/constraints.md: Remove. * config/mep/default.h: Remove. * config/mep/intrinsics.h: Remove. * config/mep/intrinsics.md: Remove. * config/mep/ivc2-template.h: Remove. * config/mep/mep-c5.cpu: Remove. * config/mep/mep-core.cpu: Remove. * config/mep/mep-default.cpu: Remove. * config/mep/mep-ext-cop.cpu: Remove. * config/mep/mep-intrin.h: Remove. * config/mep/mep-ivc2.cpu: Remove. * config/mep/mep-pragma.c: Remove. * config/mep/mep-protos.h: Remove. * config/mep/mep.c: Remove. * config/mep/mep.cpu: Remove. * config/mep/mep.h: Remove. * config/mep/mep.md: Remove. * config/mep/mep.opt: Remove. * config/mep/predicates.md: Remove. * config/mep/t-mep: Remove. * doc/install.texi: Remove mep-* documentation. * doc/md.texi: Likewise. gcc/testsuite/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * gcc.dg/tree-ssa/forwprop-28.c: Remove mep-* support. * gcc.dg/tree-ssa/reassoc-32.c: Likewise. * gcc.dg/tree-ssa/reassoc-33.c: Likewise. * gcc.dg/tree-ssa/reassoc-34.c: Likewise. * gcc.dg/tree-ssa/reassoc-35.c: Likewise. * gcc.dg/tree-ssa/reassoc-36.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-2.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-3.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c: Likewise. * gcc.dg/tree-ssa/ssa-thread-11.c: Likewise. * gcc.dg/tree-ssa/vrp87.c: Likewise. * lib/target-supports.exp: Likewise. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing mep-elf. libstdc++-v3/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure.host: Remove mep-* support. From-SVN: r237666
2016-06-21remove avr-rtems supportTrevor Saunders5-3/+11
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing avr-rtems. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for avr-rtems. * config/avr/t-rtems: Remove. ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure: Regenerate. * configure.ac: Remove support for avr-rtems. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for avr-rtems. * config/avr/gen-avr-mmcu-specs.c: Likewise. * config/avr/rtems.h: Remove. * config/avr/t-rtems: Remove. contrib/header-tools/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * README: Remove references to avr-rtems. * reduce-headers: Likewise. From-SVN: r237665
2016-06-21remove m32-rtems supportTrevor Saunders2-1/+4
libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove m32r-rtems support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove m32r-rtems support. * config/m32r/rtems.h: Remove. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing m32r-rtems. From-SVN: r237664
2016-06-21remove h8300-rtems supportTrevor Saunders2-2/+5
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Remove h8300-rtems support. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove h8300-rtems support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove h8300-rtems support. * config/h8300/rtems.h: Remove. * config/h8300/t-rtems: Remove. From-SVN: r237663
2016-06-21remove knetbsd supportTrevor Saunders2-2/+6
gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for knetbsd. * configure.ac: Likewise. * config/i386/knetbsd-gnu.h: Remove. * config/i386/knetbsd-gnu64.h: Remove. * config/knetbsd-gnu.h: Remove. * configure: Regenerate. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for knetbsd. libstdc++-v3/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure: Regenerate. * configure.host: Remove support for knetbsd. * crossconfig.m4: Likewise. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: stop testing knetbsd. From-SVN: r237662
2016-06-21remove support for targeting openbsd 2 or 3Trevor Saunders2-3/+6
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing openbsd3.0. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for openbsd 2 and 3. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for openbsd 2 and 3. * config/openbsd-oldgas.h: Remove. From-SVN: r237661
2016-06-21remove support for the interix targetTrevor Saunders2-2/+5
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Remove interix target. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove interix support. * config/i386/t-interix: Remove. config/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * elf.m4: Remove interix support. * picflag.m4: Likewise. fixincludes/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * mkfixinc.sh: Remove interix support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove interix support. * config/i386/i386-interix.h: Remove. * config/i386/interix.opt: Remove. * config/i386/t-interix: Remove. * configure: Regenerate. * configure.ac: Remove interix support. * doc/install.texi: Remove interix documentation. gcc/testsuite/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * gcc.dg/attr-ms_struct-1.c: Stop testing interix. * gcc.dg/attr-ms_struct-2.c: Likewise. * gcc.dg/attr-ms_struct-packed1.c: Likewise. * gcc.dg/bf-ms-attrib.c: Likewise. * gcc.dg/bf-ms-layout-2.c: Likewise. * gcc.dg/bf-ms-layout-3.c: Likewise. * gcc.dg/bf-ms-layout.c: Likewise. * gcc.dg/bf-no-ms-layout.c: Likewise. * gcc.target/i386/bitfield1.c: Likewise. * gcc.target/i386/bitfield2.c: Likewise. * gcc.target/i386/bitfield3.c: Likewise. From-SVN: r237660
2016-06-21config-list.mk: Remove rs6000-ibm-aix4.3, rs6000-ibm-aix5.1, rs6000-ibm-aix5.2.David Edelsohn2-2/+9
* config-list.mk: Remove rs6000-ibm-aix4.3, rs6000-ibm-aix5.1, rs6000-ibm-aix5.2. Rename rs6000-ibm-aix6.0 as rs6000-ibm-aix6.1. Add rs6000-ibm-aix7.1. From-SVN: r237644
2016-06-17Change PRED_LOOP_EXIT from 92 to 85.Martin Liska2-2/+6
* analyze_brprob.py: Fix columns of script output. * predict.def: PRED_LOOP_EXIT from 92 to 85. * gcc.dg/predict-9.c: Fix dump scanning. From-SVN: r237556
2016-06-13download_prerequisites (ISL): Bump version to 0.16.1Richard Biener2-1/+5
2016-06-13 Richard Biener <rguenther@suse.de> * download_prerequisites (ISL): Bump version to 0.16.1 From-SVN: r237363
2016-06-10check_GNU_style.sh: Fix paste args for BSDAlan Hayward2-1/+5
2016-06-10 Alan Hayward <alan.hayward@arm.com> * check_GNU_style.sh: Fix paste args for BSD From-SVN: r237289
2016-06-09config-list.mk: add OPT-enable-obsolete to 4 targetsDavid Malcolm2-4/+11
r233165 marked three deprecated rtems targets as obsolete. r233887 marked mep-elf as obsolete. Update config-list.mk to add OPT-enable-obsolete to these 4 targets. contrib/ChangeLog: * config-list.mk (LIST): Add OPT-enable-obsolete to avr-rtems, h8300-rtems, m32r-rtems, mep-elf. From-SVN: r237270
2016-06-09config-list.mk: add GCC_SRC_DIRDavid Malcolm2-7/+32
contrib/ChangeLog: * config-list.mk (GCC_SRC_DIR): New variable. (make-log-dir): Use GCC_SRC_DIR. ($(LIST)): Likewise. From-SVN: r237269
2016-06-09Add new analyze_brprob_spec.py scriptMartin Liska2-0/+62
* analyze_brprob_spec.py: New file. From-SVN: r237257
2016-06-09Add sorting support to analyze_brprob scriptMartin Liska2-7/+23
* analyze_brprob.py: Add new argument --sorting. From-SVN: r237256
2016-06-09Add edge predictions pruningMartin Liska2-5/+9
* analyze_brprob.py: Cover new dump output format. * predict.c (dump_prediction): Add new argument. (enum predictor_reason): New enum. (struct predictor_hash): New struct. (predictor_hash::hash): New function. (predictor_hash::equal): Likewise. (not_removed_prediction_p): New function. (prune_predictions_for_bb): Likewise. (combine_predictions_for_bb): Prune predictions. * g++.dg/predict-loop-exit-1.C: Scan for a new dump format. * g++.dg/predict-loop-exit-2.C: Likewise. * g++.dg/predict-loop-exit-3.C: Likewise. * gcc.dg/predict-1.c: Likewise. * gcc.dg/predict-2.c: Likewise. * gcc.dg/predict-3.c: Likewise. * gcc.dg/predict-4.c: Likewise. * gcc.dg/predict-5.c: Likewise. * gcc.dg/predict-6.c: Likewise. * gcc.dg/predict-7.c: Likewise. From-SVN: r237255
2016-06-07Update copyright datesRainer Orth2-14/+16
libcc1: Update copyrights. gotools: Update copyrights. contrib: * update-copyright.py (LibMudflapFilter): Remove. (GCCCmdLine.__init__): Add gotools, libcc1. Remove libmudflap. List unhandled intl, libcilkrts, libgo, liboffloadmic, maintainer-scripts. From-SVN: r237169
2016-05-31Make analyze_brprob.py executable.Martin Liska1-0/+0
From-SVN: r236911
2016-05-02configure.ac (mpfr): Remove pre-3.1.0 mpfr compatibility code.Bernd Edlinger2-4/+8
2016-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * configure.ac (mpfr): Remove pre-3.1.0 mpfr compatibility code. * configure: Regenerated. * Makefile.def (gmp): Explicitly disable assembler. (mpfr): Adjust lib_path. (mpc): Likewise. * Makefile.in: Regenerated. gcc/ 2016-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/install.texi: Document supported in-tree gmp/mpfr/mpc versions. contrib/ 2016-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * download_prerequisites: Adjust gmp/mpfr/mpc versions. From-SVN: r235763
2016-04-30config.guess: Remove SH5 support.Oleg Endo3-4/+8
/ * config.guess: Remove SH5 support. * config.sub: Likewise. * configure: Likewise. * configure.ac: Likewise. config/ * picflag.m4: Remove SH5 support. gcc/ * config/sh/t-sh: Remove SH5 support. * config.gcc: Likewise. * configure: Likewise. contrib/ * compare-all-tests: Remove SH5 support. * config-list.mk: Likewise. libada/ * configure: Remove SH5 support. libgcc/ * config.host: Remove SH5 support. * configure: Likewise. libiberty/ * configure: Remove SH5 support. libjava/ * classpath/config.guess: Remove SH5 support. * classpath/config.sub: Likewise. From-SVN: r235676
2016-04-28Replace AWK script with the python script.Martin Liska3-147/+141
* analyze_brprob: Remove. * analyze_brprob.py: New file. From-SVN: r235560
2016-04-27* gennews (files): Add files for GCC 6.Jakub Jelinek2-1/+6
From-SVN: r235470
2016-04-17* analyze_brprob: Update comment.Jan Hubicka2-3/+8
From-SVN: r235083
2016-04-13check_GNU_style.sh: Avoid false posivies in trailing operator checks.Martin Sebor2-2/+8
From-SVN: r234965
2016-03-07Add style checks to check_GNU_style.sh.Martin Sebor2-13/+34
gcc/contrib/ChangeLog: 2016-03-07 Martin Sebor <msebor@redhat.com> * check_GNU_style.sh (color): New global variable. Add checks for trailing operators and spaces before left brackets. Tightened up a check for a trailing left curly brace. (g, ag, vg): Use color. (col): Don't complain about excessively long lines with DejaGnu directives. From-SVN: r234035
2016-03-06teach mklog to look in the current directory for ChangeLog filesTrevor Saunders2-1/+5
when run in repos other than gcc mklog fails to find ChangeLog files because it looks for $0/../$dir/ChangeLog, but of course if the diff is for a project other than gcc that might not exist. It should be fine to also look for $cwd/$dir/ChangeLog, and use that if we find it. This means that for example in binutils-gdb.git you can do git commit, and then in your editor read git diff HEAD~ | mklog - to generate a template ChangeLog for that commit. contrib/ChangeLog: 2016-03-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * mklog: Look for the ChangeLog file in $cwd. From-SVN: r234014
2016-02-26config-list.mk: Add aarch64-rtems and x86_64-rtemsJoel Sherrill2-2/+7
2016-02-26 Joel Sherrill <joel@rtems.org> * config-list.mk: Add aarch64-rtems and x86_64-rtems From-SVN: r233763
2016-01-19* uninclude: Fix third argument to gensub.Jonathan Wakely2-1/+5
From-SVN: r232589
2016-01-04update-copyright.py (GCCCopyright): Add NVIDIA Corporation as external author.Jakub Jelinek2-1/+7
* update-copyright.py (GCCCopyright): Add NVIDIA Corporation as external author. From-SVN: r232056
2015-12-18Mark recently obsoleted targets (openbsd3 and knetbsd)Jan-Benedict Glaw2-2/+8
2015-12-17 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config-list.mk (LIST): Add --enable-obsolete to recently obsoleted targets x86_64-knetbsd-gnu, i686-knetbsd-gnu and i686-openbsd3.0 . From-SVN: r231794
2015-12-17replace ISL with islSebastian Pop1-1/+1
From-SVN: r231784
2015-12-06download_prerequisites: Download ISL 0.15 instead of 0.14.Tobias Burnus2-1/+5
2015-12-06 Tobias Burnus <burnus@net-b.de> * download_prerequisites: Download ISL 0.15 instead of 0.14. From-SVN: r231329
2015-11-20clang-format: split content of a list to multiple linesMartin Liska2-1/+89
* clang-format: Split content of a list to multiple lines. From-SVN: r230654
2015-11-19clang-format: Enhance list of FOR_EACH macrosMartin Liska2-1/+5
* clang-format: Enhance list of FOR_EACH macros. From-SVN: r230602
2015-11-19Add clang-format config to contrib folderMartin Liska2-0/+59
* .gitignore: Add .clang-format to ignored files. * Makefile.in: Add clang-format. * Makefile.tpl: Likewise. * clang-format: New file. From-SVN: r230601
2015-11-11count-headers: Initial file.Andrew MacLeod12-0/+2570
2015-11-11 Andrew MacLeod <amacleod@redhat.com> * count-headers: Initial file. * gcc-order-headers: Initial file. * graph-header-logs: Initial file. * graph-include-web: Initial file. * headerutils.py: Initial file. * included-by: Initial file. * README: Initial file. * reduce-headers: Initial file. * replace-header: Initial file. * show-headers: Initial file. From-SVN: r230171
2015-10-30* config-list.mk (nvptx-none): Add it.Nathan Sidwell2-0/+5
From-SVN: r229611
2015-09-11Make sure that contrib/download_prerequisites is run from correct placeMarkus Trippelsdorf2-0/+10
* download_prerequisites: Make sure that script is run from top level source directory. From-SVN: r227674
2015-08-27Update copyrightsRainer Orth2-0/+5
libvtv: Update copyrights. contrib: * update-copyright.py (GCCCmdLine): Add libvtv. From-SVN: r227262
2015-08-04texi2pod.pl: Escape braces in regexp involving @strong{...}.Uros Bizjak2-7/+11
* texi2pod.pl: Escape braces in regexp involving @strong{...}. From-SVN: r226585
2015-07-15check_GNU_style.sh: Fix quoting in cat_with_prefixTom de Vries2-1/+5
2015-07-15 Tom de Vries <tom@codesourcery.com> * check_GNU_style.sh (cat_with_prefix): Fix quoting. From-SVN: r225837
2015-06-03Fix FT32 ChangeLogsJeff Law1-0/+4
From-SVN: r224080
2015-06-02test_installed (--target=): New option.Steve Ellcey2-1/+12
2015-06-02 Steve Ellcey <sellcey@imgtec.com> * test_installed (--target=): New option. From-SVN: r224034
2015-05-30Add new script to contrib (GIMPLE syntax highlighting rules for Vim).Mikhail Maltsev2-0/+143
contrib/ * gimple.vim: New file. From-SVN: r223884
2015-05-18check_GNU_style.sh: Don't do 80 char check line by lineTom de Vries2-18/+59
2015-05-18 Tom de Vries <tom@codesourcery.com> * check_GNU_style.sh: Add temp files tmp2 and tmp3. (cat_with_prefix): New function, using global variable prefix. (col): Make prefix a global variable. Rewrite to process file at a time rather than line at a time. Print part longer than 80 chars in red. From-SVN: r223297