Commit Graph

143399 Commits

Author SHA1 Message Date
Jakub Jelinek 21fa2a29dc gcc.c (process_command): Update copyright notice dates.
gcc/
	* gcc.c (process_command): Update copyright notice dates.
	* gcov-dump.c (print_version): Ditto.
	* gcov.c (print_version): Ditto.
	* gcov-tool.c (print_version): Ditto.
	* gengtype.c (create_file): Ditto.
	* doc/cpp.texi: Bump @copying's copyright year.
	* doc/cppinternals.texi: Ditto.
	* doc/gcc.texi: Ditto.
	* doc/gccint.texi: Ditto.
	* doc/gcov.texi: Ditto.
	* doc/install.texi: Ditto.
	* doc/invoke.texi: Ditto.
gcc/ada/
	* gnat_ugn.texi: Bump @copying's copyright year.
	* gnat_rm.texi: Likewise.
gcc/fortran/
	* gfortranspec.c (lang_specific_driver): Update copyright notice
	dates.
	* gfc-internals.texi: Bump @copying's copyright year.
	* gfortran.texi: Ditto.
	* intrinsic.texi: Ditto.
	* invoke.texi: Ditto.
gcc/go/
	* gccgo.texi: Bump @copyrights-go year.
gcc/java/
	* jcf-dump.c (version): Update copyright notice dates.
libgomp/
	* libgomp.texi: Bump @copying's copyright year.
libitm/
	* libitm.texi: Bump @copying's copyright year.
libjava/
	* classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update
	copyright notice dates.
	* classpath/tools/gnu/classpath/tools/orbd/Main.java (run): Ditto.
	* gnu/gcj/convert/Convert.java (version): Update copyright notice
	dates.
	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto.
libquadmath/
	* libquadmath.texi: Bump @copying's copyright year.

From-SVN: r232053
2016-01-04 14:03:35 +01:00
Marek Polacek 2fe0a2080e re PR c/68908 (inefficient code for _Atomic operations)
PR c/68908
	* c-typeck.c (build_atomic_assign): Improve commentary.  Add
	optimization to use __atomic_fetch_* built-in if possible.

	* gcc.dg/atomic/c11-atomic-exec-6.c: New test.
	* gcc.dg/atomic/c11-atomic-exec-7.c: New test.
	* gcc.dg/atomic/stdatomic-op-5.c: New test.

From-SVN: r232052
2016-01-04 12:27:08 +00:00
Eric Botcazou 8db883aa82 arm.c (aapcs_vfp_allocate_return_reg): Treat all integer modes larger than TImode as TImode if NEON is not enabled.
* config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
	modes larger than TImode as TImode if NEON is not enabled.

From-SVN: r232051
2016-01-04 08:56:49 +00:00
Eric Botcazou 9e3b2fe375 re PR target/69100 (ICE in final_scan_insn with -msoft-float and __builtin_apply)
PR target/69100
	* config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
	mode for %f0-%f31 only if TARGET_FPU.

From-SVN: r232050
2016-01-04 08:14:12 +00:00
Eric Botcazou e8d65a35d5 re PR target/69072 (ICE in function_arg_record_value on 7th packed structure)
PR target/69072
	* config/sparc/sparc.c (scan_record_type): Take into account subfields
	to compute the PACKED_P predicate.
	(function_arg_record_value): Minor tweaks.

From-SVN: r232049
2016-01-04 08:06:52 +00:00
Thomas Preud'homme a10f2c253c install.texi (--with-multilib-list): Describe the meaning of the option for arm*-*-* targets.
2016-01-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * doc/install.texi (--with-multilib-list): Describe the meaning of the
    option for arm*-*-* targets.

From-SVN: r232048
2016-01-04 05:40:53 +00:00
Sandra Loosemore 3c9511d8fa extend.texi (Common Function Attributes): Move docs for MSP430-specific attributes to....
2016-01-03  Sandra Loosemore <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi (Common Function Attributes): Move docs for
	MSP430-specific attributes to....
	(MSP430 Function Attributes): ...here.  Delete the redundant
	entries and copy-edit the remaining text.
	(MSP430 Variable Attributes): Use uniform format for index
	entries and add a cross-reference to the corresponding function
	attribute docs.

From-SVN: r232047
2016-01-03 21:44:45 -05:00
Vladimír Čunát db750ef997 invoke.texi (RS/6000 and PowerPC Options): Fix -finite-math typo.
2016-01-03  Vladimír Čunát <vcunat@gmail.com>

	gcc/
	* doc/invoke.texi (RS/6000 and PowerPC Options): Fix
	-finite-math typo.
	(x86 Options): Likewise.

From-SVN: r232046
2016-01-03 21:03:07 -05:00
GCC Administrator 99a385240a Daily bump.
From-SVN: r232045
2016-01-04 00:16:12 +00:00
Paul Thomas 25ccfccdf2 re PR fortran/65045 ([F08] ICE when using the same name for a block and a variable)
2016-01-03  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/65045
	* gfortran.dg/pr65045.f90: New test.

From-SVN: r232042
2016-01-03 20:55:19 +00:00
Matthias Klose 0e8d41ab8f libtool-version: Bump soversion.
2016-01-03  Matthias Klose  <doko@ubuntu.com>

        * libtool-version: Bump soversion.
        * include/jvm.h (GCJ_CXX_ABI_VERSION): Don't encode __GNUC_MINOR__.

From-SVN: r232040
2016-01-03 11:38:51 +00:00
Eric Botcazou 783bfcce44 * gnatvsn.ads: Bump copyright year.
From-SVN: r232039
2016-01-03 00:41:43 +00:00
GCC Administrator 7ef85cdb60 Daily bump.
From-SVN: r232038
2016-01-03 00:16:16 +00:00
Eric Botcazou cb51d3827a * gnat.dg/specs/debug1.ads: Delete.
From-SVN: r232035
2016-01-02 23:45:25 +00:00
Sandra Loosemore d59224e6cd re PR target/1078 (Problems with attributes documentation)
2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>

	PR 1078

	gcc/
	* extend.texi (Common Function Attributes) <no_stack_limit>: New.
	* invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
	to corresponding attribute.

From-SVN: r232034
2016-01-01 22:45:32 -05:00
GCC Administrator b9596e0024 Daily bump.
From-SVN: r232033
2016-01-02 00:16:12 +00:00
Sandra Loosemore c9aa0b93a8 extend.texi (Common Function Attributes): Move to correct alphabetization of table.
2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi (Common Function Attributes) <noplt>: Move
	to correct alphabetization of table.  Copy-edit and correct
	markup.
	<stack_protect>: Likewise.
	<target_clones>: Likewise.
	<simd>: Likewise.
	* doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
	Correct punctuation.
	(Code Gen Options) <-fno-plt>: Copy-edit.

From-SVN: r232030
2016-01-01 18:54:10 -05:00
Jerry DeLisle 6eeaad6e3b re PR libfortran/68867 (numeric formatting problem in the fortran library)
2016-01-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/68867
	* gfortran.dg/default_format_denormal_2.f90: Fix the dg regular
	expression.

From-SVN: r232029
2016-01-01 19:01:24 +00:00
Bernd Edlinger fecd16d238 re PR target/68917 (test suite failure for builtin-bitops-1.c)
PR target/68917
	* config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
	SI values.  Explicitly convert SI to DI and vice-versa.

From-SVN: r232028
2016-01-01 18:45:41 +00:00
Jerry DeLisle 2f9686033d re PR libfortran/68867 (numeric formatting problem in the fortran library)
2016-01-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/68867
	* gfortran.dg/default_format_denormal_2.f90: XFAIL for all
	PowerPC.

From-SVN: r232027
2016-01-01 18:13:17 +00:00
Paul Thomas 591bb5e4bf re PR fortran/68864 (ICE: in gfc_get_descriptor_dimension, at fortran/trans-array.c:268)
2016-01-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/68864
	* trans-array.c (evaluate_bound): If deferred, test that 'desc'
	is an array descriptor before using gfc_conv_descriptor_xxx.


2016-01-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/68864
	* gfortran.dg/pr68864.f90: New test.

From-SVN: r232026
2016-01-01 17:02:51 +00:00
Jakub Jelinek 942a13194f re PR tree-optimization/69070 (ICE: tree check: expected real_cst, have ssa_name in gimple_expand_builtin_pow, at tree-ssa-math-opts.c:1541 with -fsignaling-nans and powl())
PR tree-optimization/69070
	* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
	REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.

	* gcc.dg/pr69070.c: New test.

From-SVN: r232025
2016-01-01 12:55:59 +01:00
Jakub Jelinek 10dff63f98 re PR sanitizer/69055 (Internal compiler error -fsanitize=float-cast-overflow)
PR sanitizer/69055
	* ubsan.c (ubsan_instrument_float_cast): Call
	initialize_sanitizer_builtins.

	* gfortran.dg/pr69055.f90: New test.

From-SVN: r232024
2016-01-01 12:55:02 +01:00
GCC Administrator 3c5fc1380c Daily bump.
From-SVN: r232023
2016-01-01 00:16:13 +00:00
Jakub Jelinek f1e0620c75 re PR target/69015 (ICE: RTL check: expected code 'code_label', have 'return' in find_cond_trap, at ifcvt.c:3715 with -fno-if-conversion and __builtin_trap())
PR target/69015
	* ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).

	* gcc.dg/pr69015.c: New test.

From-SVN: r232020
2016-01-01 00:51:50 +01:00
Jakub Jelinek 2f883d1c18 Rotate ChangeLog.
From-SVN: r232019
2016-01-01 00:50:54 +01:00
Ben Elliston cfe67e0306 config.guess: Import version 2016-01-01.
* config.guess: Import version 2016-01-01.
	* config.sub: Likewise.

From-SVN: r232018
2016-01-01 08:13:28 +11:00
Nathan Sidwell 9310efbc1e loop-red-w-2.c: Correct dg-additional-options syntax.
* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Correct
	dg-additional-options syntax.
	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.

From-SVN: r232017
2015-12-31 14:07:52 +00:00
Joseph Myers dbc2e1da8e * fr.po: Update.
From-SVN: r232012
2015-12-31 00:18:18 +00:00
GCC Administrator 53ca240d76 Daily bump.
From-SVN: r232011
2015-12-31 00:16:12 +00:00
Jerry DeLisle ce5458c277 re PR libfortran/68987 (double free or corruption in _gfortran_st_write_done when a write statement to an internal file uses an invalid format and the ERR= specifier appears.)
2015-12-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/68987
	* gfortran.dg/error_format_2.f90: New test.

From-SVN: r232007
2015-12-30 22:10:13 +00:00
John David Anglin c2cb0f4b9a coarray_40.f90: Revise to use dg-additional-options.
* gfortran.dg/coarray_40.f90: Revise to use dg-additional-options.
	* gfortran.dg/coarray_lib_comm_1.f90: Likewise.

From-SVN: r232005
2015-12-30 20:21:57 +00:00
Nathan Sidwell 0a0f74aaf1 nvptx.c (nvptx_assemble_undefined_decl): Check it's not a constant pool object.
* config/nvptx/nvptx.c (nvptx_assemble_undefined_decl): Check
	it's not a constant pool object.

From-SVN: r232003
2015-12-30 15:52:59 +00:00
GCC Administrator a7557c5eff Daily bump.
From-SVN: r232000
2015-12-30 00:16:16 +00:00
Michael Meissner ec21a884b3 rs6000.c (init_float128_ieee): Remove IEEE 128-bit comparison functions in cmp_optab and ucmp_optab.
2015-12-29  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (init_float128_ieee): Remove IEEE 128-bit
	comparison functions in cmp_optab and ucmp_optab.
	(rs6000_generate_compare): Rewrite IEEE 128-bit floating point
	software emulation comparisons to only use __eqkf2, __gekf2,
	__lekf2, and __unordkf2 functions.
	(rs6000_invalid_binary_op): Add support for -mfloat128-convert.

	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
	__FLOAT128_HARDWARE__ if hardware IEEE 128-bit support is
	available.

	* config/rs6000/rs6000.opt (-mfloat128-convert): Add debug switch
	to allow IBM extended double and IEEE 128-bit floating point to be
	converted with default conversions.

	* config/rs6000/rs6000.md (extendkftf2): Add converters between
	KFmode and TFmode if -mabi=ieeelongdouble.
	(trunctfkf2): Likewise.
	(ieee128_mfvsrd): Split 64-bit integer conversions into 32-bit and
	64-bit insns.
	(ieee128_mfvsrd_64bit): Likewise.
	(ieee128_mfvsrd_32bit): Likewise.
	(ieee128_mtvsrd): Likewise.
	(ieee128_mtvsrd_64bit): Likewise.
	(ieee128_mtvsrd_32bit): Likewise.

	* doc/extend.texi (Floating Types): Document that complex
	__float128 does not work currently.

	* doc/invoke.texi (RS/6000 and PowerPC Options): Document that
	-mfloat128 is only supported on PowerPC 64-bit Linux systems.

From-SVN: r231996
2015-12-29 17:15:14 +00:00
Andre Vehreschild 1c64553627 re PR fortran/69011 ([OOP] ICE in gfc_advance_chain for ALLOCATE with SOURCE)
gcc/testsuite/ChangeLog:

2015-12-29  Andre Vehreschild  <vehre@gcc.gnu.org>

	PR fortran/69011
	* gfortran.dg/allocate_with_source_16.f90: New test.


gcc/fortran/ChangeLog:

2015-12-29  Andre Vehreschild  <vehre@gcc.gnu.org>

	PR fortran/69011
	* trans-stmt.c (gfc_trans_allocate): Unwrap a NOP_EXPR to make sure
	the actual type of the source=-expr is used when it is of class type.
	Furthermore prevent an ICE.

From-SVN: r231992
2015-12-29 14:20:37 +01:00
Tsvetkova Alexandra 0bf0df50e5 mpx_wrappers.c (__mpx_wrapper_memmove): Special handling of one pointer copy.
libmpx/

2015-12-29  Tsvetkova Alexandra  <aleksandra.tsvetkova@intel.com>

	* libmpxwrap/mpx_wrappers.c (__mpx_wrapper_memmove): Special
	handling of one pointer copy.

From-SVN: r231991
2015-12-29 12:52:42 +00:00
Uros Bizjak 8c20a15574 *.c: Remove extra braces from target selectors.
* gcc.target/i386/*.c: Remove extra braces from target selectors.

From-SVN: r231990
2015-12-29 11:32:21 +01:00
Jerry DeLisle 820d395cc8 re PR libfortran/68987 (double free or corruption in _gfortran_st_write_done when a write statement to an internal file uses an invalid format and the ERR= specifier appears.)
2015-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/68987
	io/format.c (format_error): Remove unneeded memory cleanup.

From-SVN: r231989
2015-12-29 05:17:42 +00:00
GCC Administrator fcc75e0b14 Daily bump.
From-SVN: r231988
2015-12-29 00:16:11 +00:00
Uros Bizjak 3100a56bab pr68473-1.c: Add dg-do compile directive.
* gcc.target/i386/pr68473-1.c: Add dg-do compile directive.

From-SVN: r231984
2015-12-28 23:38:29 +01:00
Patrick Palka f3ce64372c Tweak the documentation of libiberty's xcrc32 function
libiberty/ChangeLog;

	* crc32.c: In the documentation, don't refer to GDB's
	now-nonexistent crc32 implementation.  In the table-generation
	program embedded within the documentation, change the type of
	the induction variables i and j from int to unsigned int, to
	avoid undefined behavior.

From-SVN: r231983
2015-12-28 22:00:14 +00:00
John David Anglin 96d4e7be88 coarray_40.f90: Link with libatomic if available.
* gfortran.dg/coarray_40.f90: Link with libatomic if available.

From-SVN: r231981
2015-12-28 21:15:47 +00:00
John David Anglin 0d12d65909 pr49551.c: Skip on hppa*-*-hpux*.
* gcc.dg/pr49551.c: Skip on hppa*-*-hpux*.

From-SVN: r231980
2015-12-28 21:03:34 +00:00
John David Anglin cf1a404e3e pr67609.c: Add -fno-common option on hppa*-*-hpux*.
* gcc.dg/torture/pr67609.c: Add -fno-common option on hppa*-*-hpux*.

From-SVN: r231977
2015-12-28 20:38:31 +00:00
Bill Schmidt 5d57fdc109 rs6000.c (rs6000_emit_le_vsx_move): Verify that this is never called when lxvx/stxvx are available.
[gcc]

2015-12-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Verify that
	this is never called when lxvx/stxvx are available.
	(pass_analyze_swaps::gate): Don't perform swap optimization when
	lxvx/stxvx are available.
	* config/rs6000/vector.md (mov<mode>): Don't call
	rs6000_emit_le_vsx_move when lxvx/stxvx are available.
	* config/rs6000/vsx.md (*p9_vecload_<mode>): New define_insn.
	(*p9_vecstore_<mode>): Likewise.
	(*vsx_le_perm_load_<mode>:VSX_LE): Disable when lxvx/stxvx are
	available.
	(*vsx_le_perm_load_<mode>:VSX_W): Likewise.
	(*vsx_le_perm_load_v8hi): Likewise.
	(*vsx_le_perm_load_v16qi): Likewise.
	(*vsx_le_perm_store_<mode>:VSX_LE): Likewise.
	([related define_splits]): Likewise.
	(*vsx_le_perm_store_<mode>:VSX_W): Likewise.
	([related define_splits]): Likewise.
	(*vsx_le_perm_store_v8hi): Likewise.
	([related define_splits]): Likewise.
	(*vsx_le_perm_store_v16qi): Likewise.
	([related define_splits]): Likewise.
	(*vsx_lxvd2x2_le_<mode>): Likewise.
	(*vsx_lxvd2x4_le_<mode>): Likewise.
	(*vsx_lxvd2x8_le_V8HI): Likewise.
	(*vsx_lvxd2x16_le_V16QI): Likewise.
	(*vsx_stxvd2x2_le_<mode>): Likewise.
	(*vsx_stxvd2x4_le_<mode>): Likewise.
	(*vsx_stxvd2x8_le_V8HI): Likewise.
	(*vsx_stxvdx16_le_V16QI): Likewise.
	([define_peepholes for vector load fusion]): Likewise.

[gcc/testsuite]

2015-12-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.target/powerpc/p9-lxvx-stxvx-1.c: New.
	* gcc.target/powerpc/p9-lxvx-stxvx-2.c: New.

From-SVN: r231974
2015-12-28 16:37:03 +00:00
Nathan Sidwell a02d84b6f8 nvptx.c (nvptx_output_call_insn): Expect hard regs.
* config/nvptx/nvptx.c (nvptx_output_call_insn): Expect hard regs.
	* config/nvptx/nvptx.md (nvptx_reg_or_mem_operand): Rename to ...
	(nvptx_nonimmediate_operand): ... here.  Update all uses.
	(call_insn_operand): Use REG_P.
	(call_operation): Allow hard regs.

From-SVN: r231972
2015-12-28 13:38:10 +00:00
GCC Administrator bcdb352b2c Daily bump.
From-SVN: r231970
2015-12-28 00:16:12 +00:00
Edward Smith-Rowland 9be77061cf 2015-12-27 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/c++0x_warning.h Remove experimental language.

From-SVN: r231966
2015-12-28 00:07:19 +00:00
Jan Hubicka 71713fa639 ipa-visibility.c (function_and_variable_visibility): Do not dissolve comdat groups when in LTO mode.
* ipa-visibility.c (function_and_variable_visibility): Do not
	dissolve comdat groups when in LTO mode.

From-SVN: r231965
2015-12-27 13:33:19 +00:00