gcc.git
8 years agoipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because.
Jakub Jelinek [Tue, 8 Mar 2016 17:49:34 +0000 (18:49 +0100)]
ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because.

* ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling
- becuase -> because.
* ipa-reference.c (ignore_module_statics): Likewise.
* cgraph.c (cgraph_node::get_body): Likewise.
* ipa-inline.c (early_inliner): Likewise.
* ipa-devirt.c (types_same_for_odr): Likewise.
* tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise.
* config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Likewise.
cp/
* decl.c (duplicate_decls): Fix spelling - becuase -> because.
lto/
* lto-symtab.h (lto_symtab_prevail_decl): Fix spelling
- becuase -> because.

From-SVN: r234061

8 years ago[obvious] Fix typo in tree-ssa-math-opts.c
Kyrylo Tkachov [Tue, 8 Mar 2016 13:39:09 +0000 (13:39 +0000)]
[obvious] Fix typo in tree-ssa-math-opts.c

* tree-ssa-math-opts.c: Fix typo in comment.

From-SVN: r234058

8 years agore PR target/70110 (ICE at -O3 in the 32-bit mode in set_last_insn, at emit-rtl.h...
Jakub Jelinek [Tue, 8 Mar 2016 08:05:26 +0000 (09:05 +0100)]
re PR target/70110 (ICE at -O3 in the 32-bit mode in set_last_insn, at emit-rtl.h:420)

PR target/70110
* config/i386/i386.c (scalar_chain::make_vector_copies,
scalar_chain::convert_reg): Call end_sequence in between
get_insns and emit_conversion_insns rather than after both
calls.

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

From-SVN: r234057

8 years ago* sv.po: Update.
Joseph Myers [Tue, 8 Mar 2016 01:35:13 +0000 (01:35 +0000)]
* sv.po: Update.

From-SVN: r234056

8 years agoDaily bump.
GCC Administrator [Tue, 8 Mar 2016 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r234055

8 years agore PR target/70064 (Wrong code with custom flags and quite big testcase @ i686)
Uros Bizjak [Mon, 7 Mar 2016 19:54:02 +0000 (20:54 +0100)]
re PR target/70064 (Wrong code with custom flags and quite big testcase @ i686)

PR target/70064
* config/i386/i386.h (machine_function): Add
pc_thunk_call_expanded flag.
(ix86_pc_thunk_call_expanded): New define.
* config/i386/i386.md (set_got, set_got_labelled): New expanders.
(*set_got): Rename insn pattern from set_got.
(*set_got_labelled): Rename inst pattern from set_got_labelled.
* config/i386/i386.c (ix86_compute_frame_layout): Use
ix86_pc_thunk_call_expanded to prevent red-zone.

From-SVN: r234050

8 years ago[hsa testsuite] New directory for HSA-specific C testcases
Martin Jambor [Mon, 7 Mar 2016 18:45:17 +0000 (19:45 +0100)]
[hsa testsuite] New directory for HSA-specific C testcases

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* testsuite/lib/libgomp.exp
(check_effective_target_hsa_offloading_selected_nocache): New.
(check_effective_target_hsa_offloading_selected): Likewise.
* testsuite/libgomp.hsa.c/c.exp: Likewise.
* testsuite/libgomp.hsa.c/alloca-1.c: Likewise.
* testsuite/libgomp.hsa.c/bitfield-1.c: Likewise.
* testsuite/libgomp.hsa.c/builtins-1.c: Likewise.
* testsuite/libgomp.hsa.c/complex-1.c: Likewise.
* testsuite/libgomp.hsa.c/formal-actual-args-1.c: Likewise.
* testsuite/libgomp.hsa.c/function-call-1.c: Likewise.
* testsuite/libgomp.hsa.c/get-level-1.c: Likewise.
* testsuite/libgomp.hsa.c/gridify-1.c: Likewise.
* testsuite/libgomp.hsa.c/gridify-2.c: Likewise.
* testsuite/libgomp.hsa.c/gridify-3.c: Likewise.
* testsuite/libgomp.hsa.c/gridify-4.c: Likewise.
* testsuite/libgomp.hsa.c/memory-operations-1.c: Likewise.
* testsuite/libgomp.hsa.c/pr69568.c: Likewise.
* testsuite/libgomp.hsa.c/rotate-1.c: Likewise.
* testsuite/libgomp.hsa.c/switch-1.c: Likewise.
* testsuite/libgomp.hsa.c/switch-branch-1.c: Likewise.

From-SVN: r234047

8 years ago[hsa testsuite] Adjust libgomp tests that do not work on host fallback
Martin Jambor [Mon, 7 Mar 2016 18:42:33 +0000 (19:42 +0100)]
[hsa testsuite] Adjust libgomp tests that do not work on host fallback

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* testsuite/libgomp.c/examples-4/async_target-2.c: Only run on
non-shared memory accelerators.
* testsuite/libgomp.c/examples-4/device-1.c: Likewise.
* testsuite/libgomp.c/examples-4/target-5.c: Likewise.
* testsuite/libgomp.c/examples-4/target_data-6.c: Likewise.
* testsuite/libgomp.c/examples-4/target_data-7.c: Likewise.
* testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise.

From-SVN: r234046

8 years ago[hsa testsuite] Suppress hsa warnings in libgomp tests
Martin Jambor [Mon, 7 Mar 2016 18:41:18 +0000 (19:41 +0100)]
[hsa testsuite] Suppress hsa warnings in libgomp tests

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to
ALWAYS_CFLAGS.

From-SVN: r234045

8 years ago[hsa testsuite] Suppress hsa warnings in compiler gomp tests
Martin Jambor [Mon, 7 Mar 2016 18:39:51 +0000 (19:39 +0100)]
[hsa testsuite] Suppress hsa warnings in compiler gomp tests

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* c-c++-common/gomp/clauses-1.c: Remove dg-options.
* c-c++-common/gomp/if-1.c: Likewise.
* c-c++-common/gomp/pr61486-2.c: Likewise.
* c-c++-common/gomp/target-teams-1.c: Moved dg-options except -fopenmp
to dg-additional-options.
* g++.dg/gomp/gomp.exp: Pass -Wno-hsa to all tests.
* g++/gomp/target-teams-1.c: Likewise.
* gcc.dg/gomp/gomp.exp: Likewise.
* gcc.dg/gomp/pr68128-2.c: Moved dg-options except -fopenmp to
dg-additional-options.
* gfortran.dg/gomp/gomp.exp: Likewise.
* gfortran.dg/gomp/target1.f90: Remove dg-options.
* gfortran.dg/gomp/target2.f90: Moved dg-options except -fopenmp to
dg-additional-options.
* gfortran.dg/gomp/target3.f90: Remove dg-options.

From-SVN: r234044

8 years ago[hsa testsuite] Gridification tests
Martin Jambor [Mon, 7 Mar 2016 18:37:20 +0000 (19:37 +0100)]
[hsa testsuite] Gridification tests

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* lib/target-supports.exp (check_effective_target_offload_hsa): New.
* c-c++-common/gomp/gridify-1.c: New test.
        * gfortran.dg/gomp/gridify-1.f90: Likewise.

From-SVN: r234043

8 years ago[hsa] Consodlidate GTY roots for trees used during expansion to HSA
Martin Jambor [Mon, 7 Mar 2016 18:31:53 +0000 (19:31 +0100)]
[hsa] Consodlidate GTY roots for trees used during expansion to HSA

2016-03-07  Martin Jambor  <mjambor@suse.cz>

* hsa.h (hsa_get_ctor_statements): Declare.
(hsa_get_dtor_statements): Likewise.
(hsa_get_kernel_dispatch_type): Likewise.
* hsa.c (hsa_get_ctor_statements): New function.
(hsa_get_dtor_statements): Likewise.
(hsa_get_kernel_dispatch_type): Likewise.
* hsa-brig.c (hsa_cdtor_statements): Removed.
(hsa_output_libgomp_mapping): Use hsa_get_ctor_statements and
hsa_get_dtor_statements.
* hsa-gen.c (hsa_kernel_dispatch_type): Removed.
(get_hsa_kernel_dispatch_offset): Use hsa_get_kernel_dispatch_type.

From-SVN: r234042

8 years agopr45701-1.c: Change assembler scan to not trigger for cortex-r8, when scanning for...
Andre Vieira [Mon, 7 Mar 2016 18:04:31 +0000 (18:04 +0000)]
pr45701-1.c: Change assembler scan to not trigger for cortex-r8, when scanning for register r8.

2016-03-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>

    * gcc.target/arm/pr45701-1.c: Change assembler scan to not
    trigger for cortex-r8, when scanning for register r8.
    * gcc.target/arm/pr45701-2.c: Likewise.

From-SVN: r234041

8 years agoarm-cores.def (cortex-r8): New.
Andre Vieira [Mon, 7 Mar 2016 18:04:20 +0000 (18:04 +0000)]
arm-cores.def (cortex-r8): New.

2016-03-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>

    gcc/
    * config/arm/arm-cores.def (cortex-r8): New.
    * config/arm/arm-tables.opt (cortex-r8): Regenerate.
    * config/arm/arm-tune.md: Likewise.
    * gcc/doc/invoke.texi: Add cortex-r8 to list of cpu values.

From-SVN: r234040

8 years agoPR rtl-optimization/19705 - -fno-branch-count-reg doesn't prevent decrement
Martin Sebor [Mon, 7 Mar 2016 17:10:12 +0000 (17:10 +0000)]
PR rtl-optimization/19705 - -fno-branch-count-reg doesn't prevent decrement

PR rtl-optimization/19705 - -fno-branch-count-reg doesn't prevent decrement
and branch instructions on a count register

gcc/ChangeLog:
2016-03-07  Martin Sebor  <msebor@redhat.com>

PR rtl-optimization/19705
* doc/invoke.texi (Options That Control Optimization): Clarify
-fno-branch-count-reg.

From-SVN: r234039

8 years agoAdjust fix for PR c++/66786
Patrick Palka [Mon, 7 Mar 2016 17:09:53 +0000 (17:09 +0000)]
Adjust fix for PR c++/66786

gcc/cp/ChangeLog:

PR c++/66786
* pt.c (get_template_info): Handle PARM_DECL.
(template_class_depth): Check DECL_P instead of
VAR_OR_FUNCTION_DECL_P.

From-SVN: r234038

8 years agore PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux...
Richard Biener [Mon, 7 Mar 2016 17:01:54 +0000 (17:01 +0000)]
re PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure")

PR tree-optimization/69740
* cfghooks.c (remove_edge): Request loop fixups if we delete
an edge that might turn an irreducible loop into a natural
loop.
* cfgloop.h (check_verify_loop_structure): Clear LOOPS_NEED_FIXUP.
Move after definition of loops_state_clear.

PR tree-optimization/69740
* gcc.c-torture/compile/pr69740-1.c: New test.
* gcc.c-torture/compile/pr69740-2.c: New test.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r234036

8 years agoAdd style checks to check_GNU_style.sh.
Martin Sebor [Mon, 7 Mar 2016 17:01:44 +0000 (17:01 +0000)]
Add style checks to check_GNU_style.sh.

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

8 years agore PR rtl-optimization/69052 (Performance regression after r229402.)
Bin Cheng [Mon, 7 Mar 2016 16:39:27 +0000 (16:39 +0000)]
re PR rtl-optimization/69052 (Performance regression after r229402.)

PR rtl-optimization/69052
* rtlanal.c (commutative_operand_precedence): Set higher precedence
to CONST_WIDE_INT.

From-SVN: r234034

8 years ago2016-03-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Bill Schmidt [Mon, 7 Mar 2016 15:22:34 +0000 (15:22 +0000)]
2016-03-07  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* lib/target-supports.exp
(check_effective_target_whole_vector_shift): Enable for PPC64.

From-SVN: r234032

8 years agoSkip ubsan/asan internal fns with different location in tail-merge
Tom de Vries [Mon, 7 Mar 2016 14:50:13 +0000 (14:50 +0000)]
Skip ubsan/asan internal fns with different location in tail-merge

2016-03-07  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/70116
* tree-ssa-tail-merge.c (merge_stmts_p): New function, handling
is_tm_ending stmts and ubsan/asan internal functions.
(find_duplicate): Use it.  Don't test is_tm_ending here.

From-SVN: r234029

8 years agore PR tree-optimization/70115 (gcc ICE at -O2 (seg fault) and above on valid code...
Richard Biener [Mon, 7 Mar 2016 14:15:56 +0000 (14:15 +0000)]
re PR tree-optimization/70115 (gcc ICE at -O2 (seg fault) and above on valid code on x86_64-linux-gnu)

2016-03-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/70115
* tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Remove.
(propagate_constants_for_unrolling): Use replace_uses_by.

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

From-SVN: r234027

8 years agore PR middle-end/69916 ([openacc] ICE in single_succ_edge called from oacc_loop_xform...
Nathan Sidwell [Mon, 7 Mar 2016 13:22:07 +0000 (13:22 +0000)]
re PR middle-end/69916 ([openacc] ICE in single_succ_edge called from oacc_loop_xform_loop)

gcc/
PR middle-end/69916
* omp-low.c (struct oacc_loop): Add ifns.
(new_oacc_loop_raw): Initialize it.
(finish_oacc_loop): Clear mask & flags if no ifns.
(oacc_loop_discover_walk): Count IFN_GOACC_LOOP calls.
(oacc_loop_xform_loop): Add ifns arg & adjust.
(oacc_loop_process): Adjust oacc_loop_xform_loop call.

gcc/testsuite/
PR middle-end/69916
* c-c-++-common/goacc/pr69916.c: New.

From-SVN: r234026

8 years agore PR rtl-optimization/70061 (ICE: SIGSEGV in delete_insn_chain() with unused label)
Richard Henderson [Mon, 7 Mar 2016 11:48:57 +0000 (03:48 -0800)]
re PR rtl-optimization/70061 (ICE: SIGSEGV in delete_insn_chain() with unused label)

PR rtl-opt/70061

  * tree-outofssa.c (emit_partition_copy): Flush pending stack adjust.
  (insert_value_copy_on_edge): Likewise.

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

From-SVN: r234025

8 years agore PR testsuite/70109 (FAIL: gcc.dg/vect/O3-pr36098.c scan-tree-dump-times vect ...
Richard Biener [Mon, 7 Mar 2016 11:45:49 +0000 (11:45 +0000)]
re PR testsuite/70109 (FAIL: gcc.dg/vect/O3-pr36098.c scan-tree-dump-times vect "vectorizing stmts usin g SLP" 0)

2016-03-07  Richard Biener  <rguenther@suse.de>

PR testsuite/70109
* gcc.dg/vect/O3-pr36098.c: New testcase.

From-SVN: r234024

8 years ago[ARM] Error out of arm_neon.h if compiling for soft-float ABI
Kyrylo Tkachov [Mon, 7 Mar 2016 11:45:41 +0000 (11:45 +0000)]
[ARM] Error out of arm_neon.h if compiling for soft-float ABI

* config/arm/arm_neon.h: Show error if using with soft-float ABI.

From-SVN: r234023

8 years agoOnly assume 4-byte stack alignment on 32-bit Solaris/x86 (PR target/62281)
Rainer Orth [Mon, 7 Mar 2016 09:51:31 +0000 (09:51 +0000)]
Only assume 4-byte stack alignment on 32-bit Solaris/x86 (PR target/62281)

PR target/62281
* config/i386/sol2.h (STACK_REALIGN_DEFAULT): Define.

From-SVN: r234022

8 years agopragma_cpp_fma.c: Reset default FPU.
Christophe Lyon [Mon, 7 Mar 2016 09:43:48 +0000 (09:43 +0000)]
pragma_cpp_fma.c: Reset default FPU.

2016-03-07  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/arm/pragma_cpp_fma.c: Reset default FPU.

From-SVN: r234021

8 years agotrans.c (statement_node_p): New predicate.
Eric Botcazou [Mon, 7 Mar 2016 08:46:52 +0000 (08:46 +0000)]
trans.c (statement_node_p): New predicate.

* gcc-interface/trans.c (statement_node_p): New predicate.
(gnat_to_gnu): Invoke it to detect statement nodes.  In ASIS mode, do
not return dummy results for expressions attached to packed array
implementation types.

From-SVN: r234020

8 years agodecl.c (gnat_to_gnu_entity): Always mark the expression of a renaming manually in...
Eric Botcazou [Mon, 7 Mar 2016 08:08:27 +0000 (08:08 +0000)]
decl.c (gnat_to_gnu_entity): Always mark the expression of a renaming manually in case #3.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Always mark
the expression of a renaming manually in case #3.

From-SVN: r234018

8 years agoDaily bump.
GCC Administrator [Mon, 7 Mar 2016 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r234017

8 years agoteach mklog to look in the current directory for ChangeLog files
Trevor Saunders [Sun, 6 Mar 2016 17:36:19 +0000 (17:36 +0000)]
teach mklog to look in the current directory for ChangeLog files

 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

8 years agore PR c++/67364 ("accessing uninitialized member" error in constexpr context)
Jason Merrill [Sun, 6 Mar 2016 06:47:22 +0000 (01:47 -0500)]
re PR c++/67364 ("accessing uninitialized member" error in constexpr context)

PR c++/67364
* constexpr.c (cxx_eval_store_expression): Replace
CONSTRUCTOR_ELTS in nested CONSTRUCTORs, too.

From-SVN: r234013

8 years agoDaily bump.
GCC Administrator [Sun, 6 Mar 2016 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r234012

8 years agolibffi: Match upstream soname
Richard Henderson [Sat, 5 Mar 2016 18:25:20 +0000 (10:25 -0800)]
libffi: Match upstream soname

  * libtool-version: Increase to 7:0:0.
  * libffi.map.in: Increase version numbers to 7.0.

From-SVN: r234009

8 years agoFix Multiply costs for AMD -march=znver1.
Venkataramanan Kumar [Sat, 5 Mar 2016 17:20:22 +0000 (17:20 +0000)]
Fix Multiply costs for AMD -march=znver1.

2016-03-05  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>

        * config/i386/i386.c (znver1_cost): Fix Multiply cost.

From-SVN: r234008

8 years agoFix sseimul type attribute.
Venkataramanan Kumar [Sat, 5 Mar 2016 12:33:09 +0000 (12:33 +0000)]
Fix sseimul type attribute.

2016-03-05  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>

        Fix sseimul type attribute.
        * config/i386/znver1.md
        (znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load,
        znver1_sseimul_avx256_load) : Fix the type attribute.
        (znver1_sseimul_di,
        znver1_sseimul_load_di): Fix type attribute, pipe usage and latency.

From-SVN: r234007

8 years ago* sr.po: Update.
Joseph Myers [Sat, 5 Mar 2016 12:07:03 +0000 (12:07 +0000)]
* sr.po: Update.

From-SVN: r234006

8 years agore PR c++/70084 (va_arg ((ap), int) regression on s390*-*)
Jakub Jelinek [Sat, 5 Mar 2016 06:50:23 +0000 (07:50 +0100)]
re PR c++/70084 (va_arg ((ap), int) regression on s390*-*)

PR c++/70084
* tree-inline.c (copy_tree_body_r): When cancelling ADDR_EXPR
of INDIRECT_REF and ADDR_EXPR changed type, fold_convert it
to the right type.

* g++.dg/expr/stdarg3.C: New test.

From-SVN: r234004

8 years agore PR tree-optimization/69196 (code size regression with jump threading at -O2)
Jeff Law [Sat, 5 Mar 2016 06:12:09 +0000 (23:12 -0700)]
re PR tree-optimization/69196 (code size regression with jump threading at -O2)

PR tree-optimization/69196
* gcc.dg/tree-ssa/pr69196-1.c: Limit this to sparc*-*-* and
x86_64-*-*.

From-SVN: r234003

8 years agore PR c/69973 (ICE on excessive attribute vector_size)
Bernd Schmidt [Sat, 5 Mar 2016 05:36:42 +0000 (22:36 -0700)]
re PR c/69973 (ICE on excessive attribute vector_size)

PR c/69973
* targhooks.c (default_vector_alignment): Limit to MAX_OFILE_ALIGNMENT.

PR c/69973
* gcc.dg/pr69973.c: New test.

From-SVN: r234002

8 years agore PR rtl-optimization/69941 (bogus zero_extend transformation in postreload on aarch64)
Bernd Schmidt [Sat, 5 Mar 2016 05:30:10 +0000 (22:30 -0700)]
re PR rtl-optimization/69941 (bogus zero_extend transformation in postreload on aarch64)

PR rtl-optimization/69941
* postreload.c (reload_combine_recognize_pattern): Ensure all uses of
the reg share its mode.

PR rtl-optimization/69941
* gcc.dg/torture/pr69941.c: New test.

From-SVN: r234001

8 years agore PR c/69824 (internal compiler error in unshare_body)
Bernd Schmidt [Sat, 5 Mar 2016 05:22:01 +0000 (22:22 -0700)]
re PR c/69824 (internal compiler error in unshare_body)

PR c/69824
* c-decl.c (get_parm_info): Don't queue implicit function declarations
for later.

PR c/69824
* gcc.dg/pr69824.c: New test.

From-SVN: r234000

8 years agore PR tree-optimization/69196 (code size regression with jump threading at -O2)
Jeff Law [Sat, 5 Mar 2016 05:10:58 +0000 (22:10 -0700)]
re PR tree-optimization/69196 (code size regression with jump threading at -O2)

PR tree-optimization/69196
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
If the both SSA_NAMEs are anonymous, then consider them unassociated
and include the PHI in the statement count.

From-SVN: r233999

8 years agoHandle oacc region in oacc routine
Tom de Vries [Sat, 5 Mar 2016 02:48:30 +0000 (02:48 +0000)]
Handle oacc region in oacc routine

2016-03-05  Tom de Vries  <tom@codesourcery.com>

* omp-low.c (check_omp_nesting_restrictions): Check for non-oacc
construct in oacc routine.  Check for oacc region in oacc routine.

* c-c++-common/goacc/nesting-fail-1.c (f_acc_routine): New function.
* c-c++-common/goacc-gomp/nesting-fail-1.c (f_acc_routine): New
function.

From-SVN: r233998

8 years agoFix PR c++/66786 (ICE with nested lambdas in variable template)
Patrick Palka [Sat, 5 Mar 2016 01:59:04 +0000 (01:59 +0000)]
Fix PR c++/66786 (ICE with nested lambdas in variable template)

gcc/cp/ChangeLog:

PR c++/66786
* pt.c (template_class_depth): Given a lambda type, iterate
into its LAMBDA_TYPE_EXTRA_SCOPE field instead of its
TYPE_CONTEXT.  Given a VAR_DECL, iterate into its
CP_DECL_CONTEXT.

gcc/testsuite/ChangeLog:

PR c++/66786
* g++.dg/cpp1y/var-templ48.C: New test.
* g++.dg/cpp1y/var-templ49.C: New test.

From-SVN: r233997

8 years agoDaily bump.
GCC Administrator [Sat, 5 Mar 2016 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r233994

8 years ago* g++.dg/Wno-frame-address.C: Skip on IA-64.
Eric Botcazou [Fri, 4 Mar 2016 22:56:18 +0000 (22:56 +0000)]
* g++.dg/Wno-frame-address.C: Skip on IA-64.

From-SVN: r233988

8 years agore PR c++/69203 (ICE in potential_constant_expression_1, at cp/constexpr.c:4754)
Jason Merrill [Fri, 4 Mar 2016 22:53:29 +0000 (17:53 -0500)]
re PR c++/69203 (ICE in potential_constant_expression_1, at cp/constexpr.c:4754)

PR c++/69203

* cp-tree.h (COND_EXPR_IS_VEC_DELETE): New.
* init.c (build_vec_delete_1): Set it.
* constexpr.c (potential_constant_expression_1) [COND_EXPR]: Check it.

From-SVN: r233987

8 years agoSync include/plugin-api.h with binutils.
Cary Coutant [Fri, 4 Mar 2016 22:15:55 +0000 (14:15 -0800)]
Sync include/plugin-api.h with binutils.

2016-03-03  Than McIntosh <thanm@google.com>

* plugin-api.h: Add new hooks to the plugin transfer vector to
to support querying section alignment and section size.
(ld_plugin_get_input_section_alignment): New hook.
(ld_plugin_get_input_section_size): New hook.
(ld_plugin_tag): Add LDPT_GET_INPUT_SECTION_ALIGNMENT
and LDPT_GET_INPUT_SECTION_SIZE.
(ld_plugin_tv): Add tv_get_input_section_alignment and
tv_get_input_section_size.

2016-03-03  Evgenii Stepanov  <eugenis@google.com>

* plugin-api.h (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V3.

From-SVN: r233986

8 years agodecl.c (start_preparsed_function): Don't emit start clobber at the start of construct...
Jakub Jelinek [Fri, 4 Mar 2016 22:11:41 +0000 (23:11 +0100)]
decl.c (start_preparsed_function): Don't emit start clobber at the start of constructor clones.

* decl.c (start_preparsed_function): Don't emit start clobber at the
start of constructor clones.

From-SVN: r233985

8 years agore PR c++/70035 (Calling a non-virtual member in base-class constructor call with...
Jakub Jelinek [Fri, 4 Mar 2016 22:10:49 +0000 (23:10 +0100)]
re PR c++/70035 (Calling a non-virtual member in base-class constructor call with ubsan causes segfault when superclass has virtual member with same name)

PR c++/70035
* cp-tree.h (cp_ubsan_maybe_initialize_vtbl_ptrs): New prototype.
* decl.c (start_preparsed_function): Call
cp_ubsan_maybe_initialize_vtbl_ptrs if needed.
* cp-ubsan.c (cp_ubsan_dfs_initialize_vtbl_ptrs,
cp_ubsan_maybe_initialize_vtbl_ptrs): New functions.

* g++.dg/ubsan/pr70035.C: New test.

From-SVN: r233984

8 years agore PR c++/67364 ("accessing uninitialized member" error in constexpr context)
Jason Merrill [Fri, 4 Mar 2016 22:08:22 +0000 (17:08 -0500)]
re PR c++/67364 ("accessing uninitialized member" error in constexpr context)

PR c++/67364

* constexpr.c (cxx_eval_component_reference): Further tweak.

From-SVN: r233982

8 years agoFix constexpr handling of SAVE_EXPR in loops.
Jason Merrill [Fri, 4 Mar 2016 22:08:17 +0000 (17:08 -0500)]
Fix constexpr handling of SAVE_EXPR in loops.

* constexpr.c (struct constexpr_ctx): Add save_exprs field.
(cxx_eval_loop_expr): Discard SAVE_EXPR values before looping.
(cxx_eval_constant_expression) [SAVE_EXPR]: Add it to the set.
(cxx_eval_outermost_constant_expr, is_sub_constant_expr): Initialize.

From-SVN: r233981

8 years agore PR target/70062 (ICE: in decide_alg, at config/i386/i386.c:26173 with -mmemcpy...
Jakub Jelinek [Fri, 4 Mar 2016 20:28:27 +0000 (21:28 +0100)]
re PR target/70062 (ICE: in decide_alg, at config/i386/i386.c:26173 with -mmemcpy-strategy=libcall)

PR target/70062
* config/i386/i386.c (decide_alg): Add RECUR argument.  Revert
2016-02-22 changes, instead don't recurse if RECUR is already true.
Don't change *dynamic_check if RECUR.  Adjust recursive caller
to pass true to the new argument.
(ix86_expand_set_or_movmem): Adjust decide_alg caller.

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

From-SVN: r233979

8 years agoRemove c++98_only on g++.dg/template/typename21.C
H.J. Lu [Fri, 4 Mar 2016 19:51:53 +0000 (19:51 +0000)]
Remove c++98_only on g++.dg/template/typename21.C

* g++.dg/template/typename21.C: Remove c++98_only.

From-SVN: r233977

8 years agoReplace c++98 with c++98_only
H.J. Lu [Fri, 4 Mar 2016 19:41:35 +0000 (19:41 +0000)]
Replace c++98 with c++98_only

* g++.dg/template/typename21.C: Replace c++98 with c++98_only.

From-SVN: r233975

8 years agore PR c++/70067 (internal compiler error: in strip_typedefs, at cp/tree.c:1466)
Jason Merrill [Fri, 4 Mar 2016 16:07:20 +0000 (11:07 -0500)]
re PR c++/70067 (internal compiler error: in strip_typedefs, at cp/tree.c:1466)

PR c++/70067

* tree.c (strip_typedefs): Handle TYPENAME_TYPE lookup finding the
same type.

From-SVN: r233973

8 years agoPR c/68187: fix overzealous -Wmisleading-indentation (comment #1)
David Malcolm [Fri, 4 Mar 2016 15:50:27 +0000 (15:50 +0000)]
PR c/68187: fix overzealous -Wmisleading-indentation (comment #1)

gcc/c-family/ChangeLog:
PR c/68187
* c-indentation.c (get_visual_column): Move code to determine next
tab stop to...
(next_tab_stop): ...this new function.
(line_contains_hash_if): Delete function.
(detect_preprocessor_logic): Delete function.
(get_first_nws_vis_column): New function.
(detect_intervening_unindent): New function.
(should_warn_for_misleading_indentation): Replace call to
detect_preprocessor_logic with a call to
detect_intervening_unindent.

gcc/testsuite/ChangeLog:
PR c/68187
* c-c++-common/Wmisleading-indentation.c (fn_42_a): New test
function.
(fn_42_b): Likewise.
(fn_42_c): Likewise.

From-SVN: r233972

8 years agoPR c/68187: fix overzealous -Wmisleading-indentation (comment #0)
David Malcolm [Fri, 4 Mar 2016 15:45:19 +0000 (15:45 +0000)]
PR c/68187: fix overzealous -Wmisleading-indentation (comment #0)

gcc/c-family/ChangeLog:
PR c/68187
* c-indentation.c (should_warn_for_misleading_indentation): When
suppressing warnings about cases where the guard and body are on
the same column, only use the first non-whitespace column in place
of the guard token column when dealing with "else" clauses.
When rejecting aligned BODY and NEXT, loosen the requirement
from equality with the first non-whitespace of guard to simply
that they not be indented relative to it.

gcc/testsuite/ChangeLog:
PR c/68187
* c-c++-common/Wmisleading-indentation.c (fn_40_a): New test
function.
(fn_40_b): Likewise.
(fn_41_a): Likewise.
(fn_41_b): Likewise.

From-SVN: r233971

8 years agore PR target/70059 (Invalid codegen on AVX-512 when using _mm512_inserti64x4(x, y...
Jakub Jelinek [Fri, 4 Mar 2016 14:45:56 +0000 (15:45 +0100)]
re PR target/70059 (Invalid codegen on AVX-512 when using _mm512_inserti64x4(x, y, 0))

PR target/70059
* config/i386/sse.md (vec_set_lo_<mode><mask_name>,
<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask): Formatting
fixes.
(vec_set_hi_<mode><mask_name>): Likewise.  Swap VEC_CONCAT operands.

* gcc.target/i386/avx512f-pr70059.c: New test.
* gcc.target/i386/avx512dq-pr70059.c: New test.

From-SVN: r233968

8 years agoAvoid terminating early in LRA, unless -fchecking (PR57676)
Bernd Schmidt [Fri, 4 Mar 2016 14:12:36 +0000 (14:12 +0000)]
Avoid terminating early in LRA, unless -fchecking (PR57676)

gcc/
PR rtl-optimization/57676
* lra-assigns.c (lra_assign): Guard test for maximum iterations
with flag_checking.

gcc/testsuite/
PR rtl-optimization/57676
* gcc.dg/torture/pr57676.c: New test.

From-SVN: r233967

8 years agotree-vect-patterns.c (search_type_for_mask): Handle comparison of booleans.
Ilya Enkovich [Fri, 4 Mar 2016 13:49:54 +0000 (13:49 +0000)]
tree-vect-patterns.c (search_type_for_mask): Handle comparison of booleans.

gcc/

* tree-vect-patterns.c (search_type_for_mask): Handle
comparison of booleans.

gcc/testsuite/

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

From-SVN: r233966

8 years agore PR c/69798 (ICE on invalid code on x86_64-linux-gnu in c_parser_braced_init, at...
Marek Polacek [Fri, 4 Mar 2016 13:26:25 +0000 (13:26 +0000)]
re PR c/69798 (ICE on invalid code on x86_64-linux-gnu in c_parser_braced_init, at c/c-parser.c:4338)

PR c/69798
* c-parser.c (c_parser_postfix_expression): Call
c_parser_cast_expression rather than c_parser_postfix_expression.

* gcc.dg/cilk-plus/pr69798-1.c: New test.
* gcc.dg/cilk-plus/pr69798-2.c: New test.

From-SVN: r233965

8 years ago[AArch64][testsuite] PR target/70004: Remove check using undefined behaviour
Kyrylo Tkachov [Fri, 4 Mar 2016 11:09:11 +0000 (11:09 +0000)]
[AArch64][testsuite] PR target/70004: Remove check using undefined behaviour

PR target/70004
* gcc.target/aarch64/scalar_shift_1.c: (test_corners_sisd_di):
Delete.
(test_corners_sisd_si): Likewise.
(main): Remove checks of the above.
* gcc.target/aarch64/shift_wide_invalid_1.c: New test.

From-SVN: r233964

8 years ago* gcc.dg/Wno-frame-address.c: Skip on IA-64.
Eric Botcazou [Fri, 4 Mar 2016 08:46:33 +0000 (08:46 +0000)]
* gcc.dg/Wno-frame-address.c: Skip on IA-64.

From-SVN: r233963

8 years agopr69951.c: Accept argc==0.
Christophe Lyon [Fri, 4 Mar 2016 08:43:27 +0000 (08:43 +0000)]
pr69951.c: Accept argc==0.

2016-03-04  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.dg/torture/pr69951.c: Accept argc==0.

From-SVN: r233962

8 years agore PR middle-end/70054 (GCC 6 gives a strict-aliasing warning on use of std::aligned_...
Richard Biener [Fri, 4 Mar 2016 08:31:19 +0000 (08:31 +0000)]
re PR middle-end/70054 (GCC 6 gives a strict-aliasing warning on use of std::aligned_storage)

2016-03-04  Richard Biener  <rguenther@suse.de>

PR c++/70054
* c-common.c (strict_aliasing_warning): Use alias_set_subset_of
instead of alias_sets_conflict_p.

* g++.dg/warn/Wstrict-aliasing-bogus-union-2.C: New testcase.
* gcc.dg/Wstrict-aliasing-struct-member.c: New testcase.

From-SVN: r233961

8 years agoextend.texi (__builtin_alloca, [...]): Fix @xref usage.
Jakub Jelinek [Fri, 4 Mar 2016 07:39:21 +0000 (08:39 +0100)]
extend.texi (__builtin_alloca, [...]): Fix @xref usage.

* doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align):
Fix @xref usage.

From-SVN: r233960

8 years agoS/390: Set GOARCH to the current target when testing multiarch.
Dominik Vogt [Fri, 4 Mar 2016 07:33:16 +0000 (07:33 +0000)]
S/390: Set GOARCH to the current target when testing multiarch.

The attached patch fixes a test failure of go.test/test/env.go on
s390x biarch.  Bootstrapped and regression tested on s390x biarch
and s390.

gcc/testsuite/ChangeLog

2016-03-04  Dominik Vogt  <vogt@linux.vnet.ibm.com>

PR testsuite/69766
* go.test/go-test.exp: S/390: Set GOARCH to the current target when
testing multiarch.

From-SVN: r233959

8 years agore PR debug/69947 (DW_OP_GNU_implicit_pointer broken on the trunk)
Jakub Jelinek [Fri, 4 Mar 2016 07:27:15 +0000 (08:27 +0100)]
re PR debug/69947 (DW_OP_GNU_implicit_pointer broken on the trunk)

PR debug/69947
* dwarf2out.c (prune_unused_types_walk_loc_descr): Handle
all other ops that have dw_val_class_die_ref operands,
and DW_OP_GNU_entry_value.

* gcc.dg/guality/pr69947.c: New test.

From-SVN: r233958

8 years ago* method.c (synthesized_method_walk): operator= can also be constexpr.
Jason Merrill [Fri, 4 Mar 2016 01:48:33 +0000 (20:48 -0500)]
* method.c (synthesized_method_walk): operator= can also be constexpr.

From-SVN: r233956

8 years agopt.c (tsubst_copy_and_build): Get LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.
Jason Merrill [Fri, 4 Mar 2016 01:45:48 +0000 (20:45 -0500)]
pt.c (tsubst_copy_and_build): Get LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.

* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Get
LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.

From-SVN: r233955

8 years agore PR c++/67164 (ICE: tree check: expected class ‘expression’, have ‘exceptional...
Jason Merrill [Fri, 4 Mar 2016 01:45:43 +0000 (20:45 -0500)]
re PR c++/67164 (ICE: tree check: expected class ‘expression’, have ‘exceptional’ (argument_pack_select) in tree_operand_check, at tree.h:3356)

PR c++/67164

* pt.c (copy_template_args): New.
(tsubst_pack_expansion): Use it.

From-SVN: r233954

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

From-SVN: r233953

8 years ago* call.c (build_aggr_conv): Use get_nsdmi.
Jason Merrill [Thu, 3 Mar 2016 22:43:14 +0000 (17:43 -0500)]
* call.c (build_aggr_conv): Use get_nsdmi.

From-SVN: r233947

8 years agore PR c++/51406 ([c++0x] Incorrect result of static_cast to rvalue reference to base...
Jason Merrill [Thu, 3 Mar 2016 22:43:09 +0000 (17:43 -0500)]
re PR c++/51406 ([c++0x] Incorrect result of static_cast to rvalue reference to base class.)

PR c++/51406

* typeck.c (build_static_cast_1): Avoid folding back to lvalue.

From-SVN: r233946

8 years agore PR c++/67364 ("accessing uninitialized member" error in constexpr context)
Jason Merrill [Thu, 3 Mar 2016 22:43:03 +0000 (17:43 -0500)]
re PR c++/67364 ("accessing uninitialized member" error in constexpr context)

PR c++/67364

* constexpr.c (cxx_eval_component_reference): Just return an empty
CONSTRUCTOR for an empty class.

From-SVN: r233945

8 years agore PR ada/70017 (c52103x and c52104x test failure on s390x)
Jakub Jelinek [Thu, 3 Mar 2016 20:52:40 +0000 (21:52 +0100)]
re PR ada/70017 (c52103x and c52104x test failure on s390x)

PR ada/70017
* gcc.dg/pr70017.c (foo): Store 0 to first element of each array.

From-SVN: r233944

8 years ago[ARM] PR rtl-optimization/69904: Disallow copying/duplicating of load-exclusive opera...
Kyrylo Tkachov [Thu, 3 Mar 2016 17:25:43 +0000 (17:25 +0000)]
[ARM] PR rtl-optimization/69904: Disallow copying/duplicating of load-exclusive operations

PR rtl-optimization/69904
* config/arm/arm.c (arm_cannot_copy_insn_p):
Return true for load-exclusive instructions.

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

From-SVN: r233941

8 years agore PR target/70021 (Test miscompiled with -O3 option for -march=core-avx2.)
Jakub Jelinek [Thu, 3 Mar 2016 14:32:15 +0000 (15:32 +0100)]
re PR target/70021 (Test miscompiled with -O3 option for -march=core-avx2.)

PR target/70021
* tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN
argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark
the pattern no matter if it is used just by non-pattern, pattern
or mix thereof.
(process_use, vect_mark_stmts_to_be_vectorized): Adjust callers.
* tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
oprnd1 def_stmt is in pattern, don't look through it.

* gcc.dg/vect/pr70021.c: New test.
* gcc.target/i386/pr70021.c: New test.

From-SVN: r233940

8 years agoFix passing object names to make_sunver.pl
Rainer Orth [Thu, 3 Mar 2016 13:40:30 +0000 (13:40 +0000)]
Fix passing object names to make_sunver.pl

* Makefile.am (libffi.map-sun): Properly convert
$(libffi_la_OBJECTS) to object names.
* Makefile.in: Regenerate.

From-SVN: r233938

8 years agore PR middle-end/70050 (ICE: tree check: expected integer_type or enumeral_type or...
Marek Polacek [Thu, 3 Mar 2016 11:42:19 +0000 (11:42 +0000)]
re PR middle-end/70050 (ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have vector_type in generic_simplify_162, at generic-match.c:6175)

PR middle-end/70050
* match.pd (X % -Y): Add INTEGRAL_TYPE_P check.

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

From-SVN: r233937

8 years agoTabify libffi/Makefile.am
Rainer Orth [Thu, 3 Mar 2016 10:30:25 +0000 (10:30 +0000)]
Tabify libffi/Makefile.am

* Makefile.am (libffi.map-sun): Tabify:
* Makefile.in: Regenerate.

From-SVN: r233936

8 years ago[Patch testsuite] Change xfail conditions for bb-slp-34.c
James Greenhalgh [Thu, 3 Mar 2016 10:18:05 +0000 (10:18 +0000)]
[Patch testsuite] Change xfail conditions for bb-slp-34.c

gcc/testsuite/

* gcc.dg/vect/bb-slp-34.c: Don't XFAIL for ARM/AArch64.

From-SVN: r233935

8 years agoSkip properly debug stmt in optimize_mask_stores (PR
Martin Liska [Thu, 3 Mar 2016 10:08:09 +0000 (10:08 +0000)]
Skip properly debug stmt in optimize_mask_stores (PR

PR tree-optimization/70043
* tree-vect-loop.c (optimize_mask_stores): Move iterator to
previous statement if we see a debug statement.
* gfortran.dg/vect/pr70043.f90: New test.

From-SVN: r233934

8 years ago* gnat.dg/specs/task1.ads: New test.
Eric Botcazou [Thu, 3 Mar 2016 09:56:30 +0000 (09:56 +0000)]
* gnat.dg/specs/task1.ads: New test.

From-SVN: r233932

8 years agoInvoke gdb with -batch to avoid prompts
Rainer Orth [Thu, 3 Mar 2016 09:46:03 +0000 (09:46 +0000)]
Invoke gdb with -batch to avoid prompts

* lib/gcc-gdb-test.exp (gdb-test): Make log message match command.
Invoke gdb with -batch.
* lib/gcc-simulate-thread.exp (simulate-thread): Likewise.

From-SVN: r233930

8 years agolibitm: Introduce target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE.
Dominik Vogt [Thu, 3 Mar 2016 09:31:57 +0000 (09:31 +0000)]
libitm: Introduce target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE.

The attached patch adds the a target specific attribute via the
new target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE to the
function begin_transaction().  S/390 uses this to set the
soft-float target attribute which is needed to fix a crash with
-m31.

As there seems to be no place in libitm to document internal macros like
USE_HTM_FASTPATH or the new macro, I've put the documentation in a
comment where the macro is used.

2016-03-03  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* config/s390/target.h (TARGET_BEGIN_TRANSACTION_ATTRIBUTE): Define
function attribute to disable floating point in begin_transaction() on
S/390.
* beginend.cc (begin_transaction): Use
TARGET_BEGIN_TRANSACTION_ATTRIBUTE.

From-SVN: r233929

8 years agore PR tree-optimization/55936 (Missed VRP optimization)
Richard Biener [Thu, 3 Mar 2016 09:12:53 +0000 (09:12 +0000)]
re PR tree-optimization/55936 (Missed VRP optimization)

2016-03-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/55936
* tree-vrp.c (compare_name_with_value): Add use_equiv_p
parameter and guard unsafe equivalence use.
(vrp_evaluate_conditional_warnv_with_ops): Always use
safe equivalences but not via the quadratic compare_names
helper.

* gcc.dg/tree-ssa/vrp06.c: Remove XFAIL.

From-SVN: r233928

8 years agore PR target/70014 ([ARM] Predicate does not match constraint (*subsi3_carryin_const))
Michael Collison [Thu, 3 Mar 2016 07:42:02 +0000 (07:42 +0000)]
re PR target/70014 ([ARM] Predicate does not match constraint (*subsi3_carryin_const))

2016-03-03  Michael Collison  <michael.collison@linaro.org>

PR target/70014
* config/arm/arm.md (*subsi3_carryin_const): Change predicate
for operand 1 to s_register_operand. Change predicate for operand
2 to arm_not_immediate_operand.

From-SVN: r233927

8 years agore PR libffi/70024 (libffi ABI change w/o SONAME bump)
Richard Henderson [Thu, 3 Mar 2016 01:40:29 +0000 (17:40 -0800)]
re PR libffi/70024 (libffi ABI change w/o SONAME bump)

PR libffi/70024

  * Makefile.am (libffi_version_script): Look in cwd for libffi.map.
  (libffi_version_dep, libffi.map-sun): Likewise.
  (libffi.map): New target.
  * libffi.map.in: Rename from libffi.map.  Add required defines,
  includes, and conditionals.

From-SVN: r233926

8 years agoDaily bump.
GCC Administrator [Thu, 3 Mar 2016 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r233925

8 years agore PR rtl-optimization/69942 (gcc.dg/ifcvt-5.c FAILs)
Jeff Law [Thu, 3 Mar 2016 00:11:03 +0000 (17:11 -0700)]
re PR rtl-optimization/69942 (gcc.dg/ifcvt-5.c FAILs)

PR rtl-optimization/69942
* gcc.dg/ifcvt-5.c: Use "word_mode" rather than "int" to limit the
effects of argument promotions.

From-SVN: r233922

8 years agore PR libffi/70024 (libffi ABI change w/o SONAME bump)
Richard Henderson [Wed, 2 Mar 2016 23:28:11 +0000 (15:28 -0800)]
re PR libffi/70024 (libffi ABI change w/o SONAME bump)

PR libffi/70024

  * Makefile.am (libffi_version_script): New.
  (libffi_version_dep): New.
  (libffi_version_info): New.
  (libffi_la_LDFLAGS): Include libffi_version_info, libffi_version_script.
  (libffi_la_DEPENDENCIES): Include libffi_version_dep.
  * acinclude.m4 (LIBAT_ENABLE, LIBAT_CHECK_LINKER_FEATURES): New.
  (LIBAT_ENABLE_SYMVERS, LIBAT_BUILD_VERSIONED_SHLIB): New.
  (LIBAT_BUILD_VERSIONED_SHLIB_GNU): New.
  (LIBAT_BUILD_VERSIONED_SHLIB_SUN): New.
  * configure.ac: Invoke LIBAT_ENABLE_SYMVERS.
  * libffi.map: New file.
  * libtool-version: Increase to 5.0.0.
  * Makefile.in, configure: Rebuild.
  * man/Makefile.in, testsuite/Makefile.in: Rebuild.

From-SVN: r233921

8 years agoFix recent ChangeLog entry
Jeff Law [Wed, 2 Mar 2016 21:56:25 +0000 (14:56 -0700)]
Fix recent ChangeLog entry

From-SVN: r233918

8 years agoRegenerate doc/tm.texi
H.J. Lu [Wed, 2 Mar 2016 21:46:55 +0000 (21:46 +0000)]
Regenerate doc/tm.texi

* doc/tm.texi: Regenerated.

From-SVN: r233917

8 years agore PR rtl-optimization/67145 (associativity from pseudo-reg ordering)
Richard Henderson [Wed, 2 Mar 2016 21:09:54 +0000 (13:09 -0800)]
re PR rtl-optimization/67145 (associativity from pseudo-reg ordering)

PR rtl-opt/67145

  * simplify-rtx.c (simplify_plus_minus): Allow reassoc without
  simplification when all args are positive non-fixed registers.

From-SVN: r233916

8 years agoMinor ChangeLog formatting fixes.
Jakub Jelinek [Wed, 2 Mar 2016 20:30:48 +0000 (21:30 +0100)]
Minor ChangeLog formatting fixes.

From-SVN: r233915

8 years agotarget.def (lra_p): Specify that new ports should use LRA.
Manuel López-Ibáñez [Wed, 2 Mar 2016 20:17:15 +0000 (20:17 +0000)]
target.def (lra_p): Specify that new ports should use LRA.

2016-03-02  Manuel Lopez-Ibanez <manu@gcc.gnu.org>

       * target.def(lra_p): Specify that new ports should use LRA.

From-SVN: r233914