Commit Graph

143540 Commits

Author SHA1 Message Date
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
GCC Administrator 0b98ac42bf Daily bump.
From-SVN: r231964
2015-12-27 00:16:13 +00:00
GCC Administrator 7be58a1bea Daily bump.
From-SVN: r231960
2015-12-26 00:16:14 +00:00
Andreas Tobler 7cc913ef3a freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64 defines.
2015-12-25  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64
    defines. Use FBSD_DYNAMIC_LINKER instead.
    Rename and simplify LINK_OS_FREEBSD_SPEC_DEF32/64 to
    LINK_OS_FREEBSD_SPEC_DEF.

From-SVN: r231955
2015-12-25 21:58:58 +01:00
Peter Bergner 6ab9a51fcd Fix PR number in revision 231905 ChangeLogs.
From-SVN: r231954
2015-12-24 22:23:35 -06:00
Jason Merrill b4a0c79b1a Correct use of __GXX_WEAK__ macro.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc
	* testsuite/ext/bitmap_allocator/check_allocate_max_size.cc

From-SVN: r231953
2015-12-24 22:25:09 -05:00
Jason Merrill ee9661d435 re PR c++/69005 (infinite(?) recursion in template instantiations)
PR c++/69005

	* call.c (add_template_candidate_real): Don't try to deduce X(X).

From-SVN: r231952
2015-12-24 22:24:51 -05:00
GCC Administrator 36e7989ff0 Daily bump.
From-SVN: r231951
2015-12-25 00:16:15 +00:00
Aditya Kumar 1cb287721a Use const-ref instead of values for sese_l passed to functions.
gcc/ChangeLog:

2015-12-24  hiraditya  <hiraditya@msn.com>

        * graphite-sese-to-poly.c (build_loop_iteration_domains): Use ref instead of value.
        * sese.c (invariant_in_sese_p_rec): Use const ref instead of value.
        (scalar_evolution_in_region): Same
        * sese.h (bb_in_region): Same
        (bb_in_sese_p): Same.
        (stmt_in_sese_p): Same.
        (defined_in_sese_p): Same.
        (loop_in_sese_p): Same.

From-SVN: r231947
2015-12-24 16:41:57 +00:00
Aditya Kumar 402cab17fd Fix computation of single entry/exit of a region.
For basic block with two preds, allow (as single entry) only when the other
edge is a backedge. Similarly for basic block with two succs,
allow (as single exit) only when the other edge is a back edge.

2015-12-21  Aditya Kumar  <hiraditya@msn.com>

        * graphite-scop-detection.c (scop_detection::get_nearest_dom_with_single_entry): Check l == l2.
        (scop_detection::get_nearest_pdom_with_single_exit): Same.
        (scop_detection::merge_sese): Whitespace.
        (scop_detection::add_scop): Comment.
        (build_scops): Whitespace.

From-SVN: r231946
2015-12-24 16:41:46 +00:00