aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2017-02-06RISC-V Port: contribPalmer Dabbelt2-0/+6
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com> * config-list.mki (LIST): Add riscv32-unknown-linux-gun and riscv64-unknown-linux-gnu. From-SVN: r245229
2017-01-30update-copyright.py: Retain original file modeBernhard Reutner-Fischer2-0/+8
2017-01-31 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * update-copyright.py (Copyright.process_file): Retain original file mode. From-SVN: r245028
2017-01-29* update-copyright.py: Fix the name of this script in examples.Gerald Pfeifer2-2/+6
From-SVN: r245017
2017-01-26update-copyright.py: Add libhsail-rt to self.default_dirs and call ↵Jakub Jelinek1-0/+6
self.add_dir on it. contrib/ * update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. Add Intel Corporation to external authors. gcc/ * brig-builtins.def: Update copyright years. * config/arm/arm_acle_builtins.def: Update copyright years. gcc/brig/ Update copyright years. gcc/testsuite/ * brig.dg/dg.exp: Update copyright years. * lib/brig-dg.exp: Update copyright years. * lib/brig.exp: Update copyright years. libhsail-rt/ Update copyright years. libstdc++-v3/ * libsupc++/eh_atomics.h: Update copyright years. * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years. From-SVN: r244920
2017-01-26update-copyright.py: Add libhsail-rt to self.default_dirs and call ↵Jakub Jelinek1-0/+3
self.add_dir on it. contrib/ * update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. Add Intel Corporation to external authors. gcc/ * brig-builtins.def: Update copyright years. * config/arm/arm_acle_builtins.def: Update copyright years. gcc/brig/ Update copyright years. gcc/testsuite/ * brig.dg/dg.exp: Update copyright years. * lib/brig-dg.exp: Update copyright years. * lib/brig.exp: Update copyright years. libhsail-rt/ Update copyright years. libstdc++-v3/ * libsupc++/eh_atomics.h: Update copyright years. * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years. From-SVN: r244919
2017-01-25libhsail-rt: Fix some Autotools issuesThomas Schwinge2-0/+8
contrib/ * gcc_update (files_and_dependencies): Care for "libhsail-rt". libhsail-rt/ * configure.ac: Don't instantiate AC_CONFIG_MACRO_DIR. * configure: Regenerate. libhsail-rt/ * config.h.in: Remove stale file. From-SVN: r244902
2017-01-23patch_tester.sh (TESTLOGS): Remove $TARGET/libjava/testsuite/libjava.sum.Gerald Pfeifer2-1/+5
* patch_tester.sh (TESTLOGS): Remove $TARGET/libjava/testsuite/libjava.sum. From-SVN: r244771
2017-01-22* warn_summary: Remove the -java option.Gerald Pfeifer2-5/+9
From-SVN: r244766
2017-01-20* update-copyright.py (LibJavaFilter): Remove.Gerald Pfeifer2-24/+5
From-SVN: r244719
2017-01-17gcc_update: Remove entries related to GCJ and libgcj.Gerald Pfeifer2-11/+8
* gcc_update: Remove entries related to GCJ and libgcj. Complete copyright years and adjust my e-mail address. From-SVN: r244518
2017-01-11[arm] Replace command-line option .def files with single definition fileRichard Earnshaw2-2/+9
The files arm-cores.def, arm-fpus.def and arm-arches.def are parsed and used in several places and the format is slightly awkward to maintain as they must be parsable in C and by certain scripts. Furthermore, changes to the content that affects every entry is particularly awkward for dealing with merges. This patch replaces all three files with a single file that specifies all the command-line related definitions in a new format that allows for better checking for consistency as well as (hopefully) easier to merge changes. The awk script used to parse it is relatively complicated, but should be pretty portable. It works by parsing in all the data and then operating one of a number of possible sub-commands to generate the desired output. The new method picked up one error. The CPU descriptions referred to an architecture ARMv5tej which was not supported by -march. This has been fixed by adding the relevant entry to the architecture list. gcc: * config.gcc: Use new awk script to check CPU, FPU and architecture parameters for --with-... options. * config/arm/parsecpu.awk: New file * config/arm/arm-cpus.in: New file. * config/arm/arm-opts.h: Include arm-cpu.h instead of processing .def files. * config/arm/arm.c: Include arm-cpu-data.h instead of processing .def files. * config/arm/t-arm: Update dependency rules. * common/config/arm/arm-common.c: Include arm-cpu-cdata.h instead of processing .def files. * config/arm/genopt.sh: Deleted. * config/arm/gentune.sh: Deleted. * config/arm/arm-cores.def: Deleted. * config/arm/arm-arches.def: Deleted. * config/arm/arm-fpus.def: Deleted. * config/arm/arm-tune.md: Regenerated. * config/arm/arm-tables.opt: Regenerated. * config/arm/arm-cpu.h: New generated file. * config/arm/arm-cpu-data.h: New generated file. * config/arm/arm-cpu-cdata.h: New generated file. Contrib: * gcc_update: Adjust touch list. From-SVN: r244316
2017-01-08* download_ecj: Remove.Gerald Pfeifer2-25/+3
From-SVN: r244209
2017-01-05vimrc: fix TAB settingsMartin Liska2-0/+8
2017-01-05 Martin Liska <mliska@suse.cz> * vimrc: Update indentation definition. From-SVN: r244094
2017-01-04update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty, libssp, ↵Jakub Jelinek2-0/+11
libvtv and lto-plugin to default_dirs. * update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty, libssp, libvtv and lto-plugin to default_dirs. From-SVN: r244060
2017-01-01update-copyright.py (TestsuiteFilter): Skip params/README.Jakub Jelinek2-5/+11
* update-copyright.py (TestsuiteFilter): Skip params/README. (GCCCmdLine): Remove libjava and libjava/testsuite add_dir. From-SVN: r243993
2016-12-14Enhance analyze_brprob scriptMartin Liska3-20/+77
* analyze_brprob.py: Add new column to output and new sorting option. Fix coding style to not exceed 80 characters. * analyze_brprob_spec.py: Add new sorting option. Fix coding style to not exceed 80 characters. From-SVN: r243640
2016-10-25Add BZ marker to recent commitJeff Law1-0/+1
From-SVN: r241515
2016-10-24download_prerequisites: Conditionally verify checksums of downloaded pacakges.Moritz Klammler4-39/+209
2016-10-24 Moritz Klammler <moritz@glammler.eu> * download_prerequisites: Conditionally verify checksums of downloaded pacakges. Add help text. * prerequisites.md5: New file. * prerequisites.sha512: New file. From-SVN: r241483
2016-10-24[check_GNU_style.sh] More aggressively ignore dg-xxx directivesKyrylo Tkachov2-4/+19
* check_GNU_style.sh (remove_testsuite): New function. Use it to remove testsuite from the diff. From-SVN: r241471
2016-09-23Revert bogus dg-extract-results.sh changeRainer Orth2-1/+5
* dg-extract-results.sh: Revert bogus change. From-SVN: r240429
2016-09-20Report DejaGnu ERROR messages in dg-extract-results.Christophe Lyon3-6/+23
2016-09-20 Christophe Lyon <christophe.lyon@linaro.org> * dg-extract-results.py: Report DejaGnu error in the final summary. * dg-extract-results.sh: Likewise. From-SVN: r240289
2016-09-20Report DejaGnu ERROR messages in compare_testsChristophe Lyon2-2/+7
2016-09-20 Christophe Lyon <christophe.lyon@linaro.org> * compare_tests: Take ERROR messages into account when comparing. From-SVN: r240288
2016-08-17mark_spam.py: Mark as spam all comments done by a creatorMartin Liska2-8/+16
* mark_spam.py: Mark as spam all comments done by a creator. From-SVN: r239527
2016-08-15Enhance mark_spam.py scriptMartin Liska2-1/+16
* mark_spam.py: Add error handling and reset another properties of attachments and bugs. From-SVN: r239467
2016-08-11mark_spam.py: mark attachments as obsolete and rename themMartin Liska2-0/+16
* mark_spam.py: Mark attachments as obsolete and rename them. From-SVN: r239368
2016-08-09Set +x for two python scripts.Martin Liska1-0/+0
From-SVN: r239303
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