]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
9 years agobackport: re PR other/69432 (ICE in connect_traces, at dwarf2cfi.c with -O3 -m32...
Jakub Jelinek [Thu, 11 Feb 2016 09:26:31 +0000 (10:26 +0100)] 
backport: re PR other/69432 (ICE in connect_traces, at dwarf2cfi.c with -O3 -m32 -minline-stringops-dynamically)

Backported from mainline
2016-01-22  Jakub Jelinek  <jakub@redhat.com>

PR target/69432
* config/i386/i386.c (expand_small_movmem_or_setmem,
expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
fixes.
(ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
if dynamic_check != -1.

* g++.dg/opt/pr69432.C: New test.

From-SVN: r233334

9 years agobackport: re PR middle-end/67653 (ICE on valid code on x86_64-linux-gnu: verify_gimpl...
Jakub Jelinek [Thu, 11 Feb 2016 09:23:58 +0000 (10:23 +0100)] 
backport: re PR middle-end/67653 (ICE on valid code on x86_64-linux-gnu: verify_gimple failed)

Backported from mainline
2016-01-21  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/67653
* gimplify.c (gimplify_asm_expr): Warn if it is too late to
attempt to mark memory input operand addressable and
call prepare_gimple_addressable in that case.  Don't adjust
input_location for diagnostics, use error_at instead.

* c-c++-common/pr67653.c: New test.
* gcc.dg/torture/pr29119.c: Add dg-warning.

From-SVN: r233332

9 years agobackport: re PR rtl-optimization/68955 (wrong code at -O3 on x86-64-linux-gnu in...
Jakub Jelinek [Thu, 11 Feb 2016 09:23:06 +0000 (10:23 +0100)] 
backport: re PR rtl-optimization/68955 (wrong code at -O3 on x86-64-linux-gnu in 32-bit mode)

Backported from mainline
2016-01-19  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/68955
PR rtl-optimization/64557
* dse.c (record_store, check_mem_read_rtx): Don't call get_addr
here.  Fix up formatting.
* alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.

* gcc.dg/torture/pr68955.c: New test.

From-SVN: r233331

9 years agobackport: re PR tree-optimization/69214 (ICE (segfault) at -Os on x86_64-linux-gnu...
Jakub Jelinek [Thu, 11 Feb 2016 09:22:21 +0000 (10:22 +0100)] 
backport: re PR tree-optimization/69214 (ICE (segfault) at -Os on x86_64-linux-gnu in "fail_abnormal_edge_coalesce")

Backported from mainline
2016-01-11  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/69214
* tree-vrp.c (simplify_cond_using_ranges): Don't propagate
innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
Formatting fix.

* gcc.c-torture/compile/pr69214.c: New test.

From-SVN: r233330

9 years agobackport: re PR target/69713 (Invalid code of optimization in SH)
Oleg Endo [Thu, 11 Feb 2016 09:15:26 +0000 (09:15 +0000)] 
backport: re PR target/69713 (Invalid code of optimization in SH)

gcc/
Backport from mainline
2016-02-11  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/69713
* config/sh/sh.md (casesi_worker_0): Add T_REG use.

From-SVN: r233329

9 years agobackport: re PR fortran/69128 (OpenMP workshare problem with SUM())
Jakub Jelinek [Thu, 11 Feb 2016 09:14:43 +0000 (10:14 +0100)] 
backport: re PR fortran/69128 (OpenMP workshare problem with SUM())

Backported from mainline
2016-01-08  Jakub Jelinek  <jakub@redhat.com>

PR fortran/69128
* trans.h (OMPWS_SCALARIZER_BODY): Define.
(OMPWS_NOWAIT): Renumber.
* trans-stmt.c (gfc_trans_where_3): Only set OMPWS_SCALARIZER_WS
if OMPWS_SCALARIZER_BODY is not set already, and set also
OMPWS_SCALARIZER_BODY until the final loop creation.
* trans-expr.c (gfc_trans_assignment_1): Likewise.
* trans-openmp.c (gfc_trans_omp_workshare): Also clear
OMPWS_SCALARIZER_BODY.
* trans-array.c (gfc_trans_scalarized_loop_end): Don't create
OMP_FOR if OMPWS_SCALARIZER_BODY is set.

* gfortran.dg/gomp/pr69128.f90: New test.

From-SVN: r233328

9 years agobackport: re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private...
Jakub Jelinek [Thu, 11 Feb 2016 09:13:42 +0000 (10:13 +0100)] 
backport: re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private variables)

Backported from mainline
2016-01-07  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/68960
* gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
it and DECL_ALIGN too.

* testsuite/libgomp.c/pr68960.c: New test.

From-SVN: r233327

9 years agobackport: re PR target/69015 (ICE: RTL check: expected code 'code_label', have 'retur...
Jakub Jelinek [Thu, 11 Feb 2016 09:12:52 +0000 (10:12 +0100)] 
backport: 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())

Backported from mainline
2016-01-01  Jakub Jelinek  <jakub@redhat.com>

PR target/69015
* ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).

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

From-SVN: r233325

9 years agobackport: re PR rtl-optimization/68376 (wrong code at -O1 and above on x86_64-linux...
Jakub Jelinek [Thu, 11 Feb 2016 09:11:58 +0000 (10:11 +0100)] 
backport: re PR rtl-optimization/68376 (wrong code at -O1 and above on x86_64-linux-gnu)

Backported from mainline
2015-12-10  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/68376
PR rtl-optimization/68670
* ifcvt.c (noce_try_abs): For one_cmpl allow < 0, >= 0
or > -1 conditions regardless of negate, and disallow
all other conditions.

* gcc.c-torture/execute/pr68376-2.c (f5, f6, f7, f8): New
tests.
(main): Call them.
* gcc.dg/pr68670-1.c: New test.
* gcc.dg/pr68670-2.c: New test.

2015-11-19  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/68376
* ifcvt.c (noce_try_abs): Disable one_cmpl optimization if
encountering x <= 0 ? ~x : x or x > 0 ? ~x : x.

* gcc.c-torture/execute/pr68376-1.c: New test.
* gcc.c-torture/execute/pr68376-2.c: New test.

From-SVN: r233323

9 years agobackport: re PR tree-optimization/68680 (On-stack VLA does not cause instrumentation...
Jakub Jelinek [Thu, 11 Feb 2016 09:09:58 +0000 (10:09 +0100)] 
backport: re PR tree-optimization/68680 (On-stack VLA does not cause instrumentation with -fstack-protector)

Backported from mainline
2015-12-04  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/68680
* calls.c (special_function_p): Return ECF_MAY_BE_ALLOCA for
BUILT_IN_ALLOCA{,_WITH_ALIGN}.  Don't check for __builtin_alloca
by name.

* gcc.target/i386/pr68680.c: New test.

From-SVN: r233322

9 years agobackport: re PR preprocessor/57580 (Repeated _Pragma message directives in macro...
Jakub Jelinek [Thu, 11 Feb 2016 09:09:00 +0000 (10:09 +0100)] 
backport: re PR preprocessor/57580 (Repeated _Pragma message directives in macro causes problems)

Backported from mainline
2015-12-03  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/57580
* c-ppoutput.c (print): Change printed field to bool.
(init_pp_output): Set print.printed to false instead of 0.
(scan_translation_unit): Fix up formatting.  Set print.printed
to true after printing something other than newline.
(scan_translation_unit_trad): Set print.printed to true instead of 1.
(maybe_print_line_1): Set print.printed to false instead of 0.
(print_line_1): Likewise.
(do_line_change): Set print.printed to true instead of 1.
(cb_define, dump_queued_macros, cb_include, cb_def_pragma,
dump_macro): Set print.printed to false after printing newline.

* c-c++-common/cpp/pr57580.c: New test.
* c-c++-common/gomp/pr57580.c: New test.

From-SVN: r233321

9 years agobackport: re PR debug/66432 (libgomp.c/appendix-a/a.29.1.c -O2 -g: type mismatch...
Jakub Jelinek [Thu, 11 Feb 2016 09:08:03 +0000 (10:08 +0100)] 
backport: re PR debug/66432 (libgomp.c/appendix-a/a.29.1.c -O2 -g: type mismatch between an SSA_NAME and its symbol)

Backported from mainline
2015-11-21  Jakub Jelinek  <jakub@redhat.com>

PR debug/66432
* tree-inline.c (copy_debug_stmt): If
gimple_debug_source_bind_get_value is DECL_ORIGIN of a PARM_DECL
in decl_debug_args, don't call remap_gimple_op_r on it.

* gcc.dg/debug/pr66432.c: New test.

From-SVN: r233320

9 years agobackport: re PR target/67770 (i386: -fshrink-wrap can interact badly with trampolines)
Jakub Jelinek [Thu, 11 Feb 2016 09:04:19 +0000 (10:04 +0100)] 
backport: re PR target/67770 (i386: -fshrink-wrap can interact badly with trampolines)

Backported from mainline
2015-11-19  Jakub Jelinek  <jakub@redhat.com>

PR target/67770
* config/i386/i386.md (simple_return): Disable if
ix86_static_chain_on_stack is true.

* gcc.target/i386/pr67770.c: New test.

From-SVN: r233319

9 years agobackport: re PR preprocessor/60736 (Crash in preprocessor including stdc-predef.h...
Jakub Jelinek [Thu, 11 Feb 2016 09:03:34 +0000 (10:03 +0100)] 
backport: re PR preprocessor/60736 (Crash in preprocessor including stdc-predef.h when it does not exist on glibc-based systems)

Backported from mainline
2015-11-19  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/60736
* include/cpplib.h (cpp_errno_filename): New prototype.
* errors.c (cpp_errno): Don't handle msgid "" specially, use
_(msgid) instead of msgid as argument to cpp_error.
(cpp_errno_filename): New function.
* files.c (read_file_guts): Use cpp_errno_filename instead of
cpp_errno.
(open_file_failed): Likewise.  Use file->name if file->path is NULL
in diagnostics.

From-SVN: r233318

9 years agoDaily bump.
GCC Administrator [Thu, 11 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233312

9 years agore PR c++/68926 (decltype and sfinae to check for template instance availability...
Jason Merrill [Wed, 10 Feb 2016 19:35:35 +0000 (14:35 -0500)] 
re PR c++/68926 (decltype and sfinae to check for template instance availability fails to compile)

PR c++/68926

* pt.c (resolve_nondeduced_context): Add complain parm.
(do_auto_deduction): Pass it.
* cvt.c (convert_to_void): Likewise.
* decl.c (cp_finish_decl): Likewise.
* init.c (build_new): Likewise.
* rtti.c (get_tinfo_decl_dynamic): Likewise.
* semantics.c (finish_decltype_type): Likewise.
* typeck.c (decay_conversion): Likewise.
* cp-tree.h: Adjust declaration.

From-SVN: r233305

9 years agoConstrain std::valarray functions and operators
Jonathan Wakely [Wed, 10 Feb 2016 11:25:33 +0000 (11:25 +0000)] 
Constrain std::valarray functions and operators

PR libstdc++/69116
* include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
define result_type for types which can be safely used with valarrays.
* testsuite/26_numerics/valarray/69116.cc: New.

From-SVN: r233265

9 years agoDaily bump.
GCC Administrator [Wed, 10 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233257

9 years agoDaily bump.
GCC Administrator [Tue, 9 Feb 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233232

9 years agoDaily bump.
GCC Administrator [Mon, 8 Feb 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233204

9 years agoDaily bump.
GCC Administrator [Sun, 7 Feb 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233197

9 years agoDaily bump.
GCC Administrator [Sat, 6 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233192

9 years agoDaily bump.
GCC Administrator [Fri, 5 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233162

9 years agobackport: re PR target/69644 (ICE with -O on __sync_bool_compare_and_swap with short...
Jakub Jelinek [Thu, 4 Feb 2016 13:59:27 +0000 (14:59 +0100)] 
backport: re PR target/69644 (ICE with -O on __sync_bool_compare_and_swap with short in extract_insn, at recog.c:2286)

Backported from mainline
2016-02-03  Jakub Jelinek  <jakub@redhat.com>

PR target/69644
* config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
Force oldval into register if it does not satisfy reg_or_short_operand
predicate.  Fix up formatting.

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

From-SVN: r233139

9 years agoDaily bump.
GCC Administrator [Thu, 4 Feb 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233117

9 years agoDaily bump.
GCC Administrator [Wed, 3 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233094

9 years agore PR target/67032 (Geode optimizations incorrectly return -NaN)
Uros Bizjak [Tue, 2 Feb 2016 16:10:04 +0000 (17:10 +0100)] 
re PR target/67032 (Geode optimizations incorrectly return -NaN)

PR target/67032
* config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.

From-SVN: r233081

9 years ago[RS6000] lqarx and stqcx. registers
Alan Modra [Tue, 2 Feb 2016 01:29:58 +0000 (11:59 +1030)] 
[RS6000] lqarx and stqcx. registers

lqarx RT and stqcx. RS are valid only with even numbered gprs.  The
predicate to enforce this happens to allow a loophole, closed by this
patch.

PR target/69548
gcc/
* config/rs6000/predicates.md (quad_int_reg_operand): Don't
allow subregs.
gcc/testsuite/
* gcc.target/powerpc/pr69548.c: New test.

From-SVN: r233067

9 years agoDaily bump.
GCC Administrator [Tue, 2 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233062

9 years agore PR target/68741 (FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess...
John David Anglin [Mon, 1 Feb 2016 20:27:47 +0000 (20:27 +0000)] 
re PR target/68741 (FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors))

PR target/68741
* inclhack.def (hpux_vsscanf): New fix.
* fixincl.x: Regenerated.
* tests/base/stdio.h [HPUX_VSSCANF_CHECK]: New test.

From-SVN: r233049

9 years agoDaily bump.
GCC Administrator [Mon, 1 Feb 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233024

9 years agoDaily bump.
GCC Administrator [Sun, 31 Jan 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233013

9 years agoDaily bump.
GCC Administrator [Sat, 30 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233003

9 years ago[PR 69355] Correct hole detection when total_scalarization fails
Martin Jambor [Fri, 29 Jan 2016 23:01:54 +0000 (00:01 +0100)] 
[PR 69355] Correct hole detection when total_scalarization fails

2016-01-29  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/69355
* tree-sra.c (analyze_access_subtree): Correct hole detection when
total_scalarization fails.

testsuite/
* gcc.dg/tree-ssa/pr69355.c: New test.

From-SVN: r233001

9 years agobackport: re PR target/69551 (Wrong code with single element vector insert)
Uros Bizjak [Fri, 29 Jan 2016 19:52:30 +0000 (20:52 +0100)] 
backport: re PR target/69551 (Wrong code with single element vector insert)

Backport from mainline
2016-01-29  Jakub Jelinek  <jakub@redhat.com>

PR target/69551
* config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
SSE1, copy target into the temporary reg first before recursing
on it.

testsuite/ChangeLog:

Backport from mainline
2016-01-29  Jakub Jelinek  <jakub@redhat.com>

PR target/69551
* gcc.target/i386/pr69551.c: New test.

From-SVN: r232996

9 years agore PR target/69459 (wrong code with -O2 and vector arithmetics @ x86_64)
Uros Bizjak [Fri, 29 Jan 2016 18:25:13 +0000 (19:25 +0100)] 
re PR target/69459 (wrong code with -O2 and vector arithmetics @ x86_64)

PR target/69459
* config/i386/constraints.md (C): Only accept constant zero operand.
(BC): New constraint.
* config/i386/sse.md (*mov<mode>_internal): Use BC constraint
instead of C constraint.
* doc/md.texi (Machine Constraints): Update description
of C constraint.

testsuite/ChangeLog:

PR target/69459
* gcc.target/i386/pr69459.c: New test.

From-SVN: r232992

9 years agoDaily bump.
GCC Administrator [Fri, 29 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232961

9 years agoDaily bump.
GCC Administrator [Thu, 28 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232909

9 years agoand-1.c: Remove nand test for powerpc*-*-*.
Bill Schmidt [Wed, 27 Jan 2016 17:11:50 +0000 (17:11 +0000)] 
and-1.c: Remove nand test for powerpc*-*-*.

2016-01-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.dg/and-1.c: Remove nand test for powerpc*-*-*.

From-SVN: r232886

9 years agoFix pass number in autopar/pr69110.c
Tom de Vries [Wed, 27 Jan 2016 07:41:49 +0000 (07:41 +0000)] 
Fix pass number in autopar/pr69110.c

2016-01-27  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/autopar/pr69110.c: Fix pass number.

From-SVN: r232866

9 years agoDaily bump.
GCC Administrator [Wed, 27 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232859

9 years agoHandle DR_NUM_DIMENSIONS == 0 in initialize_data_dependence_relation
Tom de Vries [Tue, 26 Jan 2016 22:18:28 +0000 (22:18 +0000)] 
Handle DR_NUM_DIMENSIONS == 0 in initialize_data_dependence_relation

2016-01-26  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/69110
* tree-data-ref.c (initialize_data_dependence_relation): Handle
DR_NUM_DIMENSIONS == 0.

* gcc.dg/autopar/pr69110.c: New test.

* testsuite/libgomp.c/pr69110.c: New test.

From-SVN: r232854

9 years agoDaily bump.
GCC Administrator [Tue, 26 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232807

9 years agoBackport "Fix PR64091"
Tom de Vries [Mon, 25 Jan 2016 14:21:03 +0000 (14:21 +0000)] 
Backport "Fix PR64091"

2016-01-25  Tom de Vries  <tom@codesourcery.com>

backport from trunk:
2014-11-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/PR64091
* tree-ssa-tail-merge.c (update_debug_stmt): After resetting
the stmt break from the loop over use operands.

* gcc.dg/torture/pr64091.c: New testcase.

From-SVN: r232794

9 years agoDaily bump.
GCC Administrator [Mon, 25 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232781

9 years agoDaily bump.
GCC Administrator [Sun, 24 Jan 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232771

9 years agoDaily bump.
GCC Administrator [Sat, 23 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232758

9 years ago[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern
Kyrylo Tkachov [Fri, 22 Jan 2016 15:42:30 +0000 (15:42 +0000)] 
[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern

Backport from mainline
2016-01-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR target/69403
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
define_insn_and_split.  Ensure operands[1] and operands[0] do not
get assigned the same register.

* gcc.c-torture/execute/pr69403.c: New test.

From-SVN: r232734

9 years agoBackport PR63681 fix
Bernd Schmidt [Fri, 22 Jan 2016 14:49:22 +0000 (14:49 +0000)] 
Backport PR63681 fix

PR target/63681
* cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
flag_reorder_blocks_and_partition.
* hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.

From-SVN: r232730

9 years agoDaily bump.
GCC Administrator [Fri, 22 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232714

9 years agoS/390: Fix cfi for GPR 2 FPR saves
Andreas Krebbel [Thu, 21 Jan 2016 15:42:36 +0000 (15:42 +0000)] 
S/390: Fix cfi for GPR 2 FPR saves

gcc/ChangeLog:

2016-01-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backported from mainline
2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.c (s390_save_gprs_to_fprs): Add CFA_REGISTER
reg note to the GPR -> FPR save instructions.

gcc/testsuite/ChangeLog:

2016-01-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backported from mainline
2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/gpr2fprsavecfi.c: New test.

From-SVN: r232678

9 years agoDaily bump.
GCC Administrator [Thu, 21 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232642

9 years ago[ARM] PR 67439: Allow matching of *arm32_movhf when -mrestrict-it is on
Kyrylo Tkachov [Wed, 20 Jan 2016 17:05:43 +0000 (17:05 +0000)] 
[ARM] PR 67439: Allow matching of *arm32_movhf when -mrestrict-it is on

Backport from mainline
2015-09-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR target/67439
* config/arm/arm.md (*arm32_movhf): Remove !arm_restrict_it from
predicate.  Set predicable_short_it attr to "no".

* gcc.target/arm/pr67439_1.c: New test.

From-SVN: r232623

9 years agoDaily bump.
GCC Administrator [Wed, 20 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232596

9 years agoia64: don't use dynamic relocations for local symbols
Sergei Trofimovich [Tue, 19 Jan 2016 23:15:12 +0000 (23:15 +0000)] 
ia64: don't use dynamic relocations for local symbols

Backported from trunk for PR other/60465.

From-SVN: r232595

9 years agore PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution...
Uros Bizjak [Tue, 19 Jan 2016 18:27:19 +0000 (19:27 +0100)] 
re PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution,  -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects)

PR testsuite/68820
* gcc.c-torture/execute/builtins/memops-asm.x: New file.
* gcc.c-torture/execute/builtins/strstr-asm.x: Ditto.
* gcc.c-torture/execute/builtins/strstr-asm.c: Remove dg-options.

From-SVN: r232577

9 years agoDaily bump.
GCC Administrator [Tue, 19 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232544

9 years agoFix C++98 std::signbit<long double>
Jonathan Wakely [Mon, 18 Jan 2016 16:28:16 +0000 (16:28 +0000)] 
Fix C++98 std::signbit<long double>

PR libstdc++/60637
* include/c_global/cmath (signbit) [__cplusplus < 201103L]: Use
__builtin_signbitf or __builtin_signbitl as appropriate.
* testsuite/26_numerics/headers/cmath/60637.cc: New.

From-SVN: r232531

9 years agobackport: re PR tree-optimization/68799 (lto ICE on powerpc64le-linux-gnu builing...
Bill Schmidt [Mon, 18 Jan 2016 03:54:48 +0000 (03:54 +0000)] 
backport: re PR tree-optimization/68799 (lto ICE on powerpc64le-linux-gnu builing python 2.7.x)

2016-01-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline:
2016-01-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/68799
* gimple-ssa-strength-reduction.c (create_phi_basis): Directly
look up phi candidates in the statement-candidate map.
(phi_add_costs): Likewise.
(record_phi_increments): Likewise.
(phi_incr_cost): Likewise.
(ncd_with_phi): Likewise.
(all_phi_incrs_profitable): Likewise.

From-SVN: r232494

9 years agoDaily bump.
GCC Administrator [Mon, 18 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232488

9 years agoDaily bump.
GCC Administrator [Sun, 17 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232478

9 years agoDaily bump.
GCC Administrator [Sat, 16 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232458

9 years agoDaily bump.
GCC Administrator [Fri, 15 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232396

9 years ago[ARM][4.9 backport] Fix PR target/68648
Kyrylo Tkachov [Thu, 14 Jan 2016 17:27:42 +0000 (17:27 +0000)] 
[ARM][4.9 backport] Fix PR target/68648

PR target/68648
* config/arm/arm.md (*andsi_iorsi3_notsi): Try to simplify
the complement of operands[3] during splitting.

* gcc.dg/torture/pr68648.c: New test.

From-SVN: r232375

9 years agoDaily bump.
GCC Administrator [Thu, 14 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232357

9 years agore PR target/63347 (m68k misoptimisation with -fschedule-insns)
Jeff Law [Wed, 13 Jan 2016 22:55:31 +0000 (15:55 -0700)] 
re PR target/63347 (m68k misoptimisation with -fschedule-insns)

PR target/63347
* haifa-sched.c (prune_ready_list): If we have a SCHED_GROUP_P insn
that needs to be queued, just queue it for a single cycle.

PR target/63347
* gcc.target/m68k/pr63347.c: New test.

From-SVN: r232354

9 years agoDaily bump.
GCC Administrator [Wed, 13 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232302

9 years agoRemove noexcept from function template that can throw
Jonathan Wakely [Tue, 12 Jan 2016 18:11:28 +0000 (18:11 +0000)] 
Remove noexcept from function template that can throw

PR libstdc++/69092
* include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
Remove _GLIBCXX_NOEXCEPT.
testsuite/21_strings/basic_string/cons/char/69092.cc: New.

From-SVN: r232289

9 years agolibstdc++/68995 qualify calls to __callable_functor
Jonathan Wakely [Tue, 12 Jan 2016 18:11:20 +0000 (18:11 +0000)] 
libstdc++/68995 qualify calls to __callable_functor

PR libstdc++/68995
* include/std/functional (_Function_handler::_M_invoke): Qualify
__callable_functor.
* testsuite/20_util/function/68995.cc: New.

From-SVN: r232288

9 years ago[Backport][PR69082][ARM]Backport "[PATCH][ARM]Tighten the conditions for
Renlin Li [Tue, 12 Jan 2016 17:32:18 +0000 (17:32 +0000)] 
[Backport][PR69082][ARM]Backport "[PATCH][ARM]Tighten the conditions for
arm_movw, arm_movt".

gcc/

2016-01-12  Renlin Li  <renlin.li@arm.com>

PR target/69082
Backport from mainline.
2015-08-24  Renlin Li  <renlin.li@arm.com>

* config/arm/arm-protos.h (arm_valid_symbolic_address_p): Declare.
* config/arm/arm.c (arm_valid_symbolic_address_p): Define.
* config/arm/arm.md (arm_movt): Use arm_valid_symbolic_address_p.
* config/arm/constraints.md ("j"): Add check for high code.

From-SVN: r232284

9 years agoBackport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609
James Greenhalgh [Tue, 12 Jan 2016 14:04:26 +0000 (14:04 +0000)] 
Backport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609

gcc/

Backport from mainline.
2015-12-09  James Greenhalgh  <james.greenhalgh@arm.com>

PR rtl-optimization/67609
* config/aarch64/aarch64.c
(aarch64_cannot_change_mode_class): Don't permit word_mode
subregs of full vector modes.
* config/aarch64/aarch64.md (aarch64_movdi_<mode>low): Use
zero_extract rather than truncate.
(aarch64_movdi_<mode>high): Likewise.

gcc/testsuite/

Backport from mainline.
2015-12-09  James Greenhalgh  <james.greenhalgh@arm.com>

PR rtl-optimization/67609
* gcc.dg/torture/pr67609.c: New.

From-SVN: r232270

9 years agopa.c (pa_emit_move_sequence): Handle floating point reloads for other unsupported...
John David Anglin [Tue, 12 Jan 2016 01:41:59 +0000 (01:41 +0000)] 
pa.c (pa_emit_move_sequence): Handle floating point reloads for other unsupported memory operands.

* config/pa/pa.c (pa_emit_move_sequence): Handle floating point
reloads for other unsupported memory operands.

From-SVN: r232255

9 years agoDaily bump.
GCC Administrator [Tue, 12 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232246

9 years ago[PR 66616] Check for thunks when adding extra constants to clones
Martin Jambor [Mon, 11 Jan 2016 09:59:48 +0000 (10:59 +0100)] 
[PR 66616] Check for thunks when adding extra constants to clones

2016-01-11  Martin Jambor  <mjambor@suse.cz>

PR ipa/66616
* ipa-cp.c (propagate_constants_accross_call): Move thuk check...
(call_passes_through_thunk_p): ...here.
(find_more_scalar_values_for_callers_subset): Perform thunk checks
like propagate_constants_accross_call does.
* cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
flag from the node to the new flag.

testsuite/
* g++.dg/ipa/pr66616.C: New test.

From-SVN: r232213

9 years agoDaily bump.
GCC Administrator [Mon, 11 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232204

9 years agoDaily bump.
GCC Administrator [Sun, 10 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232192

9 years agoDaily bump.
GCC Administrator [Sat, 9 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232182

9 years agore PR middle-end/68983 (ICE: in store_field, at expr.c:6659)
Jason Merrill [Fri, 8 Jan 2016 16:02:10 +0000 (11:02 -0500)] 
re PR middle-end/68983 (ICE: in store_field, at expr.c:6659)

PR c++/68983

PR c++/67557
* call.c (unsafe_copy_elision_p): Look through COMPOUND_EXPR.

From-SVN: r232171

9 years agore PR c++/66921 (failure to determine size of static constexpr array that is nested...
Jason Merrill [Fri, 8 Jan 2016 16:02:04 +0000 (11:02 -0500)] 
re PR c++/66921 (failure to determine size of static constexpr array that is nested within a templated class)

PR c++/66921
* decl.c (cp_complete_array_type): Allow an initializer that
already has array type.

From-SVN: r232170

9 years ago[PR 68851] Do not collect thunks in collect_callers
Martin Jambor [Fri, 8 Jan 2016 12:34:34 +0000 (13:34 +0100)] 
[PR 68851] Do not collect thunks in collect_callers

2016-01-08  Martin Jambor  <mjambor@suse.cz>

PR ipa/68851
gcc/
* cgraph.c (collect_callers_of_node_1): Do not collect thunks.
(collect_callers): Change comment.

testsuite/
* g++.dg/ipa/pr68851.C: New test.

From-SVN: r232160

9 years agoDaily bump.
GCC Administrator [Fri, 8 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232144

9 years agoDaily bump.
GCC Administrator [Thu, 7 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232118

9 years agobackport: re PR other/67627 (libatomic parallel build failure)
Szabolcs Nagy [Wed, 6 Jan 2016 17:43:24 +0000 (17:43 +0000)] 
backport: re PR other/67627 (libatomic parallel build failure)

2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>

Backport from mainline:
2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>

PR other/67627
* Makefile.am (all-multi): Add dependency.
* Makefile.in: Regenerate.

From-SVN: r232107

9 years agoDaily bump.
GCC Administrator [Wed, 6 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232094

9 years agoFix PR number in revision 231910 ChangeLogs
Peter Bergner [Tue, 5 Jan 2016 17:19:23 +0000 (11:19 -0600)] 
Fix PR number in revision 231910 ChangeLogs

From-SVN: r232079

9 years agoDaily bump.
GCC Administrator [Tue, 5 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232067

9 years agoDaily bump.
GCC Administrator [Mon, 4 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232043

9 years agoDaily bump.
GCC Administrator [Sun, 3 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232036

9 years agoDaily bump.
GCC Administrator [Sat, 2 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232031

9 years agoDaily bump.
GCC Administrator [Fri, 1 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232021

9 years agoDaily bump.
GCC Administrator [Thu, 31 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232009

9 years agoDaily bump.
GCC Administrator [Wed, 30 Dec 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231998

9 years agoDaily bump.
GCC Administrator [Tue, 29 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231986

9 years agoDaily bump.
GCC Administrator [Mon, 28 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231968

9 years agoDaily bump.
GCC Administrator [Sun, 27 Dec 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231962

9 years agoDaily bump.
GCC Administrator [Sat, 26 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231958

9 years agobackport: freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64 defines.
Andreas Tobler [Fri, 25 Dec 2015 21:12:14 +0000 (22:12 +0100)] 
backport: freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64 defines.

2015-12-25  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    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: r231957

9 years agoDaily bump.
GCC Administrator [Fri, 25 Dec 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231949

9 years agoDaily bump.
GCC Administrator [Thu, 24 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231940

9 years agoDaily bump.
GCC Administrator [Wed, 23 Dec 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231920