nickc [Wed, 30 Mar 2016 12:48:42 +0000 (12:48 +0000)]
PR target/62254
* config/arm/arm.c (arm_reload_out_hi): Add code to handle the
case where we are already provided with an SImode SUBREG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234568
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 30 Mar 2016 12:38:36 +0000 (12:38 +0000)]
Properly check conflict between DRAP register and __builtin_eh_return
Since %ecx can't be used for both DRAP register and __builtin_eh_return,
we need to check if crtl->drap_reg uses %ecx before using %ecx for
__builtin_eh_return.
PR target/70439
* config/i386/i386.c (ix86_expand_epilogue): Properly check
conflict between DRAP register and __builtin_eh_return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234559
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 30 Mar 2016 12:37:37 +0000 (12:37 +0000)]
Properly align stack in gcc.target/i386/cleanup-[12].c
PR testsuite/70364
* gcc.target/i386/cleanup-1.c: Include <stddef.h>.
(check): New function.
(bar): Call check.
(foo): Align stack to 16 bytes when calling bar.
* gcc.target/i386/cleanup-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234557
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 30 Mar 2016 07:47:40 +0000 (07:47 +0000)]
2016-03-30 Michael Matz <matz@suse.de>
Richard Biener <rguenther@suse.de>
PR ipa/12392
* ipa-polymorphic-call.c (struct type_change_info): Change
speculative to an unsigned allowing to limit the work we do.
(csftc_abort_walking_p): New inline function..
(check_stmt_for_type_change): Limit the number of may-defs
skipped for speculative devirtualization to
max-speculative-devirt-maydefs.
* params.def (max-speculative-devirt-maydefs): New param.
* doc/invoke.texi (--param max-speculative-devirt-maydefs): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234546
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 30 Mar 2016 03:57:30 +0000 (03:57 +0000)]
PR target/63890
* config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Use when profiling
and TARGET_MACHO.
* tree-vrp.c (register_edge_assert_for_2): For NAME != CST1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234545
138bc75d-0d04-0410-961f-
82ee72b054a4
ppalka [Wed, 30 Mar 2016 00:55:00 +0000 (00:55 +0000)]
PR tree-optimization/59124 (bogus -Warray-bounds warning)
gcc/ChangeLog:
PR tree-optimization/59124
* tree-vrp.c (register_edge_assert_for_2): For NAME != CST1
where NAME = A +- CST2 add the assertion A != (CST1 -+ CST2).
gcc/testsuite/ChangeLog:
PR tree-optimization/59124
* gcc.dg/Warray-bounds-19.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234544
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 30 Mar 2016 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234542
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 29 Mar 2016 22:26:28 +0000 (22:26 +0000)]
* tree-ssa-coalesce.c (struct ssa_conflicts): Fix typo in
comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234538
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 29 Mar 2016 22:03:00 +0000 (22:03 +0000)]
* tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel
to HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234537
138bc75d-0d04-0410-961f-
82ee72b054a4
tschwinge [Tue, 29 Mar 2016 21:17:53 +0000 (21:17 +0000)]
[Hurd] Specs maintenance
gcc/
* config/gnu.h (CPP_SPEC, LIB_SPEC): Don't override.
* config/i386/gnu.h (STARTFILE_SPEC): Use gcrt1.o instead of
gcrt0.o if linking dynamically.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234535
138bc75d-0d04-0410-961f-
82ee72b054a4
tschwinge [Tue, 29 Mar 2016 21:05:07 +0000 (21:05 +0000)]
[Hurd, kFreeBSD] boehm-gc: Use mmap instead of brk
boehm-gc/
* configure.host: Set gc_use_mmap on *-kfreebsd-gnu* and *-gnu*.
* include/private/gcconfig.h [HURD && USE_MMAP]: Define
USE_MMAP_ANON.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234534
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Tue, 29 Mar 2016 19:56:35 +0000 (19:56 +0000)]
2016-03-29 Zachary T Welch <zwelch@codesourcery.com>
* lib/prune.exp (escape_regex_chars): New.
(prune_file_path): Update to quote metcharacters for regexp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234533
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 29 Mar 2016 19:37:55 +0000 (19:37 +0000)]
PR ipa/70283
* ipa-devirt.c (methods_equal_p): New function.
(compare_virtual_tables): Use it.
* cgraph.h (symbol_table::symbol_suffix_separator): Declare.
* cgraphclones.c (clone_function_name_1): Use
symbol_table::symbol_suffix_separator.
* coverage.c (build_var): Likewise.
* symtab.c (symbol_table::symbol_suffix_separator): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234532
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 29 Mar 2016 18:49:00 +0000 (18:49 +0000)]
PR rtl-optimization/70429
* combine.c (simplify_shift_const_1): For ASHIFTRT don't optimize
(cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if
mode != result_mode.
* gcc.c-torture/execute/pr70429.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234531
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 29 Mar 2016 18:40:02 +0000 (18:40 +0000)]
PR c++/70353
gcc/
* tree-inline.c (remap_decls): Don't add_local_decl if
cfun is null.
gcc/cp/
* decl.c (make_rtl_for_nonlocal_decl): Don't defer local statics
in constexpr functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234530
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 29 Mar 2016 17:33:52 +0000 (17:33 +0000)]
PR tree-optimization/70405
* ssa-iterators.h (num_imm_uses): Add missing braces.
* gcc.dg/pr70405.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234529
138bc75d-0d04-0410-961f-
82ee72b054a4
vehre [Tue, 29 Mar 2016 16:54:24 +0000 (16:54 +0000)]
gcc/fortran/ChangeLog:
2016-03-29 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/70397
* trans-expr.c (gfc_class_len_or_zero_get): Add function to return a
constant zero tree, when the class to get the _len component from is
not unlimited polymorphic.
(gfc_copy_class_to_class): Use the new function.
* trans.h: Added interface of new function gfc_class_len_or_zero_get.
gcc/testsuite/ChangeLog:
2016-03-29 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/70397
* gfortran.dg/unlimited_polymorphic_25.f90: New test.
* gfortran.dg/unlimited_polymorphic_26.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234528
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Tue, 29 Mar 2016 16:20:39 +0000 (16:20 +0000)]
2016-03-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/68695
* ira-color.c (allocno_copy_cost_saving): New.
(improve_allocation): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234527
138bc75d-0d04-0410-961f-
82ee72b054a4
kelvin [Tue, 29 Mar 2016 15:55:58 +0000 (15:55 +0000)]
add myself to MAINTAINERS list
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234526
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 29 Mar 2016 15:19:00 +0000 (15:19 +0000)]
PR middle-end/70355
* lower-subreg.c (simplify_subreg_concatn): Reject paradoxical subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234524
138bc75d-0d04-0410-961f-
82ee72b054a4
tschwinge [Tue, 29 Mar 2016 14:39:33 +0000 (14:39 +0000)]
[PR testsuite/64177] Audit Cilk Plus tests for CILK_NWORKERS=1
PR testsuite/64177
gcc/testsuite/
* c-c++-common/cilk-plus/CK/spawning_arg.c (main): Call
__cilkrts_set_param to set two workers.
* c-c++-common/cilk-plus/CK/steal_check.c (main): Likewise.
* g++.dg/cilk-plus/CK/catch_exc.cc (main): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234523
138bc75d-0d04-0410-961f-
82ee72b054a4
tschwinge [Tue, 29 Mar 2016 13:24:22 +0000 (13:24 +0000)]
Avoid ERROR in libgomp.oacc-c++/c++.exp in non-C++ configurations
libgomp/
* testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call
set-torture-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234519
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 29 Mar 2016 12:36:39 +0000 (12:36 +0000)]
2016-03-29 Richard Biener <rguenther@suse.de>
PR middle-end/70424
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Always
use alignment returned by get_pointer_alignment_1 if it is
bigger than BITS_PER_UNIT.
* builtins.c (get_pointer_alignment_1): Do not return true
for alignment extracted from SSA info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234517
138bc75d-0d04-0410-961f-
82ee72b054a4
jamesbowman [Tue, 29 Mar 2016 00:37:26 +0000 (00:37 +0000)]
* config/ft32/ft32.opt (mnodiv): New.
* config/ft32/ft32.md (*divsi3, *modsi3): Qualify with
TARGET_NODIV.
* doc/invoke.texi (FT32 Options -mnodiv): New.
* libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234516
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 29 Mar 2016 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234515
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 28 Mar 2016 20:16:21 +0000 (20:16 +0000)]
PR c++/70422
PR c++/64266
PR c++/70353
* decl.c, pt.c, constexpr.c: Revert last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234511
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 28 Mar 2016 17:22:49 +0000 (17:22 +0000)]
* c-cppbuiltin.c (c_cpp_builtins): Update __cpp_range_based_for.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234508
138bc75d-0d04-0410-961f-
82ee72b054a4
dominiq [Mon, 28 Mar 2016 13:19:07 +0000 (13:19 +0000)]
2016-03-28 Dominique d'Humieres <dominiq@lps.ens.fr>
g++.dg/ext/fnname5.C: Update the test for Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234504
138bc75d-0d04-0410-961f-
82ee72b054a4
afanfa [Mon, 28 Mar 2016 09:05:01 +0000 (09:05 +0000)]
STOP managed by external library when coarrays are used
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234502
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Mon, 28 Mar 2016 07:59:44 +0000 (07:59 +0000)]
PR target/70406
gcc/
* config/i386/i386.md (define_split, andn): Fix modes.
gcc/testsuite/
* gcc.target/i386/pr70406.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234500
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 Mar 2016 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234499
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 27 Mar 2016 10:00:54 +0000 (10:00 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234496
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 27 Mar 2016 09:57:36 +0000 (09:57 +0000)]
* gcc-interface/decl.c (components_to_record): Add special case for
single field with representation clause at offset 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234494
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 Mar 2016 00:16:18 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234493
138bc75d-0d04-0410-961f-
82ee72b054a4
prathamesh3492 [Sat, 26 Mar 2016 10:08:47 +0000 (10:08 +0000)]
2016-03-26 Richard Biener <rguenther@suse.de>
Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR ipa/70366
* ipa-inline-transform.c (inline_call): Pass opts_for_fn (to->decl)
instead of
TREE_OPTIMIZATION (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (to->decl))
as 2nd argument to cl_optimization_restore().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234490
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 Mar 2016 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234489
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 25 Mar 2016 23:37:13 +0000 (23:37 +0000)]
2016-03-25 Richard Henderson <rth@redhat.com>
PR target/70120
* config/aarch64/aarch64.c (aarch64_asm_output_pool_epilogue): New.
* config/aarch64/aarch64-protos.h: Declare it.
* config/aarch64/aarch64.h (ASM_OUTPUT_POOL_EPILOGUE): New.
PR target/70120
* gcc.target/aarch64/pr70120-1.c: New.
* gcc.target/aarch64/pr70120-2.c: New.
* gcc.target/aarch64/pr70120-3.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234486
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 25 Mar 2016 21:29:26 +0000 (21:29 +0000)]
PR c++/64266
PR c++/70353
Core issue 1962
* decl.c (cp_fname_init): Decay the initializer to pointer.
(cp_make_fname_decl): Set DECL_DECLARED_CONSTEXPR_P,
DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
Don't call cp_finish_decl.
* pt.c (tsubst_expr) [DECL_EXPR]: Set DECL_VALUE_EXPR,
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. Don't call cp_finish_decl.
* constexpr.c (cxx_eval_constant_expression) [VAR_DECL]:
Handle DECL_VALUE_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234484
138bc75d-0d04-0410-961f-
82ee72b054a4
ppalka [Fri, 25 Mar 2016 18:21:44 +0000 (18:21 +0000)]
Adjust dg-do directive in mangle2.C
gcc/testsuite/ChangeLog:
PR c++/62212
* g++.dg/template/mangle2.C: The dg-do directive should be
"compile" not "assemble".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234482
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 25 Mar 2016 16:15:39 +0000 (16:15 +0000)]
PR lto/69650
* directives.c (do_linemarker): Test for file left but not entered
here.
* line-map.c (linemap_add): Not here.
PR lto/69650
* gcc.dg/pr69650.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234481
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 25 Mar 2016 14:04:46 +0000 (14:04 +0000)]
* g++.dg/ext/pr70290.C: Prune non-standard ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234480
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 25 Mar 2016 09:10:03 +0000 (09:10 +0000)]
[RS6000] PR70052, ICE compiling _Decimal128 test case
gcc/
PR target/70052
* config/rs6000/constraints.md (j): Simplify.
* config/rs6000/predicates.md (easy_fp_constant): Exclude
decimal float 0.D.
* config/rs6000/rs6000.md (zero_fp): New mode_attr.
(mov<mode>_hardfloat, mov<mode>_hardfloat32, mov<mode>_hardfloat64,
mov<mode>_64bit_dm, mov<mode>_32bit): Use zero_fp in place of j
in all constraint alternatives.
(movtd_64bit_nodm): Delete "j" constraint alternative.
gcc/testsuite/
* gcc.dg/dfp/pr70052.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234479
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 25 Mar 2016 05:59:57 +0000 (05:59 +0000)]
* tree-ssa-propagate.c: Enhance docs for
SSA_PROP_NOT_INTERESTING.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234478
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 25 Mar 2016 04:00:17 +0000 (04:00 +0000)]
* doc/extend.texi: Fix typo in documentation to pure attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234477
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 25 Mar 2016 00:59:02 +0000 (00:59 +0000)]
PR target/70319
* config/pa/pa.md (bswapdi2): Use a scratch register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234475
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 Mar 2016 00:16:19 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234474
138bc75d-0d04-0410-961f-
82ee72b054a4
tschwinge [Thu, 24 Mar 2016 21:29:55 +0000 (21:29 +0000)]
Also test -O0 for OpenACC C, C++ offloading test cases
libgomp/
* testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use
gcc-dg-runtest.
* testsuite/libgomp.oacc-c/c.exp: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: Specify
-fno-builtin-acc_on_device instead of -O0.
* testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: Skip for
-O0.
* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/routine-v-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/kernels-alias-ipa-pta-2.c:
Don't specify -O2.
* testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-3.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta.c:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234471
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 24 Mar 2016 19:21:38 +0000 (19:21 +0000)]
PR c++/70386
* constexpr.c (cxx_eval_bare_aggregate): Handle PMFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234469
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 24 Mar 2016 18:13:40 +0000 (18:13 +0000)]
libstdc++/69945 Add __gnu_cxx::__freeres hook
PR libstdc++/69945
* config/abi/pre/gnu.ver: Add new symbol.
* libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define.
* testsuite/18_support/free_eh_pool.cc: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234465
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 24 Mar 2016 17:59:58 +0000 (17:59 +0000)]
PR c++/70323
* constexpr.c (cxx_eval_call_expression): Don't cache result if
*overflow_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234463
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 24 Mar 2016 17:52:11 +0000 (17:52 +0000)]
2016-03-24 Richard Henderson <rth@redhat.com>
PR middle-end/69845
* fold-const.c (extract_muldiv_1): Correct test for multiplication
overflow.
PR middle-end/69845
* gcc.dg/tree-ssa/pr69845-1.c: New test.
* gcc.dg/tree-ssa/pr69845-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234462
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Thu, 24 Mar 2016 16:16:06 +0000 (16:16 +0000)]
Add missing initialization in goacc/host_data-tree.f95
2016-03-24 Tom de Vries <tom@codesourcery.com>
* gfortran.dg/goacc/host_data-tree.f95: Add missing initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234460
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Thu, 24 Mar 2016 16:15:56 +0000 (16:15 +0000)]
Add goacc/uninit-use-device-clause.{c,f95}
2016-03-24 Tom de Vries <tom@codesourcery.com>
* c-c++-common/goacc/uninit-use-device-clause.c: New test.
* gfortran.dg/goacc/uninit-use-device-clause.f95: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234459
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Thu, 24 Mar 2016 16:15:45 +0000 (16:15 +0000)]
Add goacc/uninit-dim-clause.{c,f95}
2016-03-24 Tom de Vries <tom@codesourcery.com>
* c-c++-common/goacc/uninit-dim-clause.c: New test.
* gfortran.dg/goacc/uninit-dim-clause.f95: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234458
138bc75d-0d04-0410-961f-
82ee72b054a4
ppalka [Thu, 24 Mar 2016 15:59:53 +0000 (15:59 +0000)]
Fix PR c++/62212 (ICE during mangling of array type)
gcc/cp/ChangeLog:
PR c++/62212
* tree.c (build_cplus_array_type): Determine type-dependentess
with uses_template_parms instead of with dependent_type_p.
gcc/testsuite/ChangeLog:
PR c++/62212
* g++.dg/template/mangle2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234457
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 24 Mar 2016 14:48:05 +0000 (14:48 +0000)]
* config/i386/i386.md (*anddi3_doubleword): Generate AND insn
using ix86_expand_binary_operator instead of gen_andsi3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234456
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 24 Mar 2016 14:07:42 +0000 (14:07 +0000)]
2016-03-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/70396
* tree-vect-stmts.c (vectorizable_comparison): Use
get_vectype_for_scalar_type.
* gcc.dg/torture/pr70396.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234455
138bc75d-0d04-0410-961f-
82ee72b054a4
marxin [Thu, 24 Mar 2016 13:04:12 +0000 (13:04 +0000)]
Properly assign to packet header (PR hsa/70394)
* plugin/plugin-hsa.c (packet_store_release): New function
that is taken from the HSA runtime manual.
(GOMP_OFFLOAD_run): Use the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234454
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 24 Mar 2016 12:19:56 +0000 (12:19 +0000)]
2016-03-24 Richard Biener <rguenther@suse.de>
PR middle-end/70370
* gimplify.c (gimplify_asm_expr): Handle !allows_mem outputs
with register bases.
* gcc.dg/torture/pr70370.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234453
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Thu, 24 Mar 2016 11:29:37 +0000 (11:29 +0000)]
Add missing initializations in oacc testcases
2016-03-24 Tom de Vries <tom@codesourcery.com>
* gfortran.dg/goacc/data-tree.f95: Add missing initialization.
* gfortran.dg/goacc/kernels-tree.f95: Same.
* gfortran.dg/goacc/parallel-tree.f95: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234452
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Thu, 24 Mar 2016 11:29:27 +0000 (11:29 +0000)]
Add goacc/uninit-if-clause.{c,f95}
2016-03-24 Tom de Vries <tom@codesourcery.com>
* c-c++-common/goacc/uninit-if-clause.c: New test.
* gfortran.dg/goacc/uninit-if-clause.f95: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234451
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Mar 2016 11:26:44 +0000 (11:26 +0000)]
PR target/70290
* g++.dg/ext/pr70290.C: Add -Wno-psabi -w to dg-options. Formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234450
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 24 Mar 2016 08:17:43 +0000 (08:17 +0000)]
2016-03-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/70372
* tree-ssa-reassoc.c (eliminate_plus_minus_pair): Use
build_all_ones_cst to also handle vector types correctly.
* gcc.dg/tree-ssa/pr70372.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234449
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Mar 2016 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234447
138bc75d-0d04-0410-961f-
82ee72b054a4
ppalka [Wed, 23 Mar 2016 21:08:32 +0000 (21:08 +0000)]
Fix PR c++/70347 (default member initializer not picked up by union)
gcc/cp/ChangeLog:
PR c++/70347
* typeck.c (process_init_constructor_union): If the initializer
is empty, use the union's NSDMI if it has one.
gcc/testsuite/ChangeLog:
PR c++/70347
* g++.dg/cpp1y/nsdmi-union1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234443
138bc75d-0d04-0410-961f-
82ee72b054a4
ppalka [Wed, 23 Mar 2016 21:02:34 +0000 (21:02 +0000)]
Fix PR c++/70332 (ICE due to aggregate initialization of NSDMI)
gcc/cp/ChangeLog:
PR c++/70332
* pt.c (tsubst_copy) [PARM_DECL]: Handle the use of 'this' in an
NSDMI that's part of an aggregrate initialization.
gcc/testsuite/ChangeLog:
PR c++/70332
* g++.dg/cpp1y/nsdmi-aggr5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234442
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 23 Mar 2016 20:33:28 +0000 (20:33 +0000)]
2016-03-23 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/70381
* config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Do not set
-mfloat128 here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234441
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 18:55:38 +0000 (18:55 +0000)]
PR c++/70001
* constexpr.c (cxx_eval_vec_init_1): Reuse CONSTRUCTOR initializers
for 1..max even for multi-dimensional arrays. Call unshare_expr
on it.
* g++.dg/cpp0x/constexpr-70001-4.C: New test.
* g++.dg/cpp1y/pr70001.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234439
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 18:45:26 +0000 (18:45 +0000)]
PR c++/70323
* constexpr.c (cxx_eval_constant_expression): Diagnose overflow
on TREE_OVERFLOW constants.
* g++.dg/cpp0x/constexpr-70323.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234438
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 18:42:19 +0000 (18:42 +0000)]
PR c++/70376
* cp-gimplify.c (genericize_omp_for_stmt): Don't walk OMP_FOR_CLAUSES
for OMP_TASKLOOP here.
(cp_genericize_r): Handle OMP_TASKLOOP like OMP_TASK, except do call
genericize_omp_for_stmt instead of cp_walk_tree on OMP_BODY.
* testsuite/libgomp.c++/pr70376.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234437
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 18:36:25 +0000 (18:36 +0000)]
PR c++/69315
* cp-tree.h (defer_mark_used_calls, deferred_mark_used_calls): Remove.
* decl.c (defer_mark_used_calls, deferred_mark_used_calls): Remove.
(finish_function): Don't set or test them.
* decl2.c (mark_used): Don't handle defer_mark_used_calls.
* g++.dg/cpp0x/constexpr-69315.C: New test.
* g++.dg/cpp0x/variadic122.C: Change one dg-warning into dg-bogus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234436
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Mar 2016 18:23:04 +0000 (18:23 +0000)]
PR c++/70344
* constexpr.c (cxx_eval_call_expression): Catch invalid recursion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234434
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Wed, 23 Mar 2016 17:51:56 +0000 (17:51 +0000)]
PR c++/69884
* c.opt (Wignored-attributes): New option.
* pt.c (canonicalize_type_argument): Use OPT_Wignored_attributes.
* doc/invoke.texi: Document -Wignored-attributes.
* g++.dg/warn/Wignored-attributes-1.C: New test.
* g++.dg/warn/Wignored-attributes-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234433
138bc75d-0d04-0410-961f-
82ee72b054a4
vries [Wed, 23 Mar 2016 17:32:05 +0000 (17:32 +0000)]
Add missing initializations in oacc testcases
2016-03-23 Tom de Vries <tom@codesourcery.com>
* c-c++-common/goacc/kernels-default.c (foo): Add missing
initialization.
* gfortran.dg/goacc/private-3.f95 (test): Same.
* gfortran.dg/goacc/routine-5.f90 (gang, worker, vector, seq): Add
missing use param.
* testsuite/libgomp.oacc-fortran/reduction-2.f90: Add missing
initialization of lresult and lvresult.
* testsuite/libgomp.oacc-fortran/reduction-3.f90: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234432
138bc75d-0d04-0410-961f-
82ee72b054a4
amker [Wed, 23 Mar 2016 15:26:43 +0000 (15:26 +0000)]
PR tree-optimization/69042
* params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND): Increase the
parameter from 30 to 40.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234430
138bc75d-0d04-0410-961f-
82ee72b054a4
amker [Wed, 23 Mar 2016 15:24:20 +0000 (15:24 +0000)]
PR tree-optimization/69042
* tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Add IV cand
for use with constant offset stripped in base.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234429
138bc75d-0d04-0410-961f-
82ee72b054a4
jnorris [Wed, 23 Mar 2016 14:38:55 +0000 (14:38 +0000)]
PR libgomp/69414
* oacc-mem.c (delete_copyout, update_dev_host): Fix device address.
* testsuite/libgomp.oacc-c-c++-common/update-1.c: Additional tests.
* testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise.
* testsuite/libgomp.oacc-fortran/update-1.f90: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234428
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 23 Mar 2016 13:40:50 +0000 (13:40 +0000)]
2016-03-23 Richard Biener <rguenther@suse.de>
PR middle-end/70251
* match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Adjust
mode compatibility check.
(A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234427
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 23 Mar 2016 13:20:16 +0000 (13:20 +0000)]
PR tree-optimization/64058
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field
CONFLICT_COUNT.
(struct ssa_conflicts): Move up earlier in the file.
(conflicts_, var_map_): New static variables.
(initialize_conflict_count): New function to initialize the
CONFLICT_COUNT field for each conflict pair.
(compare_pairs): Lazily initialize the conflict count and use it
as the first tie-breaker.
(sort_coalesce_list): Add new arguments conflicts, map. Initialize
and wipe conflicts_ and map_ around the call to qsort. Remove
special case for 2 coalesce pairs.
* bitmap.c (bitmap_count_unique_bits): New function.
(bitmap_count_bits_in_word): New function, extracted from
bitmap_count_bits.
(bitmap_count_bits): Use bitmap_count_bits_in_word.
* bitmap.h (bitmap_count_unique_bits): Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234425
138bc75d-0d04-0410-961f-
82ee72b054a4
ienkovich [Wed, 23 Mar 2016 10:55:37 +0000 (10:55 +0000)]
gcc/
PR target/69917
* config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Follow
transparent alias chain for decl assembler name.
* config/sol2.c (solaris_assemble_visibility): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234423
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Wed, 23 Mar 2016 10:39:10 +0000 (10:39 +0000)]
[ARM] Reduce size of arm1020e automaton
* config/arm/arm1020e.md (1020call_op): Reduce reservation
duration.
(v10_fdivs): Likewise.
(v10_fdivd): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234422
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Wed, 23 Mar 2016 10:32:54 +0000 (10:32 +0000)]
[ARM] Split out armv7ve effective target check
* lib/target-supports.exp: Remove v7ve entry from loop
creating effective target checks.
(check_effective_target_arm_arch_v7ve_ok): New procedure.
(add_options_for_arm_arch_v7ve): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234420
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Wed, 23 Mar 2016 10:16:31 +0000 (10:16 +0000)]
[ARM] PR driver/70132: Avoid double fclose in driver-arm.c
PR driver/70132
* config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit logic
to not call fclose twice on file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234419
138bc75d-0d04-0410-961f-
82ee72b054a4
marxin [Wed, 23 Mar 2016 09:59:51 +0000 (09:59 +0000)]
Copy shadow argument conditionally (PR hsa/70337)
PR hsa/70337
* plugin/plugin-hsa.c (GOMP_OFFLOAD_run): Copy shadow
argument just in case a dispatched kernel uses that argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234418
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 09:52:00 +0000 (09:52 +0000)]
PR tree-optimization/70354
* tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
oprnd0 is wider than oprnd1 and there is a cast from the wider
type to oprnd1, mask it with the mask of the narrower type.
* gcc.dg/vect/pr70354-1.c: New test.
* gcc.dg/vect/pr70354-2.c: New test.
* gcc.target/i386/avx2-pr70354-1.c: New test.
* gcc.target/i386/avx2-pr70354-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234417
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Mar 2016 09:49:12 +0000 (09:49 +0000)]
PR target/70321
* config/i386/i386.md (*anddi3_doubleword, *<code>di3_doubleword):
Optimize TARGET_STV splitters, if high or low word of last argument
is 0 or -1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234416
138bc75d-0d04-0410-961f-
82ee72b054a4
edlinger [Wed, 23 Mar 2016 00:41:52 +0000 (00:41 +0000)]
2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
* include/Makefile.am (install-freestanding-headers): Add
concept_check.h and move.h to the installed headers.
* include/Makefile.in: Regenerated.
* include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
freestanding implementations.
* doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
that this macro has no effect for freestanding implementations.
* doc/html/manual/using_macros.html: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234414
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 23 Mar 2016 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234413
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 22 Mar 2016 21:32:34 +0000 (21:32 +0000)]
PR target/70232
tree-ssa-threadbackward.c
(fsm_find_control_statement_thread_paths): Correctly distinguish
between old style jump threads vs FSM jump threads.
PR target/70232
* gcc.dg/tree-ssa/pr70232.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234409
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 22 Mar 2016 21:05:43 +0000 (21:05 +0000)]
2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
PR libgcc/70363
* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
built with an assembler that does not support ISA 3.0
instructions, rename __extendkftf2_sw to __extendkftf2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234408
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 22 Mar 2016 19:00:14 +0000 (19:00 +0000)]
2016-03-22 Ilya Enkovich <enkovich.gnu@gmail.com>
PR target/70302
* config/i386/i386.c (scalar_chain::convert_op): Support
uninitialized register usage case.
PR target/70302
* gcc.target/i386/pr70302.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234406
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 22 Mar 2016 14:38:42 +0000 (14:38 +0000)]
2016-03-22 Richard Biener <rguenther@suse.de>
PR middle-end/70251
* genmatch.c (gen_transform): Adjust last parameter to a three-state
int...
(capture::gen_transform): ... to change behavior when substituting
a condition into cond or not-cond expr context.
(dt_simplify::gen_1): Adjust.
* gimple-match-head.c: Include gimplify.h for unshare_expr.
* match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Revert
last change and instead change to
A + (B vcmp C ? 1 : 0) -> A - (B vcmp C ? -1 : 0).
(A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
* g++.dg/torture/pr70251.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234405
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Tue, 22 Mar 2016 14:25:44 +0000 (14:25 +0000)]
Fix endianness issue for moxiebox
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234404
138bc75d-0d04-0410-961f-
82ee72b054a4
dmalcolm [Tue, 22 Mar 2016 14:20:49 +0000 (14:20 +0000)]
PR c/69993: improvements to wording of -Wmisleading-indentation
gcc/c-family/ChangeLog:
PR c/69993
* c-indentation.c (warn_for_misleading_indentation): Rewrite the
diagnostic text, reversing the order of the warning and note so
that they appear in source order.
gcc/testsuite/ChangeLog:
PR c/69993
* c-c++-common/Wmisleading-indentation-3.c: New test, based on
Wmisleading-indentation.c.
* c-c++-common/Wmisleading-indentation.c: Update thoughout to
reflect change to diagnostic text and order of messages.
* gcc.dg/plugin/location-overflow-test-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234403
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 22 Mar 2016 13:46:09 +0000 (13:46 +0000)]
* g++.dg/ext/java-3.C: Don't compile on AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234402
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 22 Mar 2016 13:23:00 +0000 (13:23 +0000)]
2016-03-22 Richard Biener <rguenther@suse.de>
PR middle-end/70333
* fold-const.c (extract_muldiv_1): Properly perform multiplication
in the wide type.
* gcc.dg/torture/pr70333.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234401
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Tue, 22 Mar 2016 13:17:11 +0000 (13:17 +0000)]
Remove duplicated AVX-512VL bit check.
gcc/
* config/i386/i386.c (def_builtin): Remove duplicated functionality.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234400
138bc75d-0d04-0410-961f-
82ee72b054a4
ienkovich [Tue, 22 Mar 2016 12:31:12 +0000 (12:31 +0000)]
gcc/cp/
PR target/70290
* call.c (build_conditional_expr_1): Always use original
condition type for vector type checks and build.
gcc/testsuite/
PR target/70290
* g++.dg/ext/pr70290.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234399
138bc75d-0d04-0410-961f-
82ee72b054a4
marxin [Tue, 22 Mar 2016 11:31:53 +0000 (11:31 +0000)]
Fix ChangeLog entries for PR ipa/70306
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234398
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Tue, 22 Mar 2016 11:09:03 +0000 (11:09 +0000)]
PR target/70325
gcc/
* config/i386/i386.c (def_builtin): Handle
OPTION_MASK_ISA_AVX512VL to be and-ed with other
bits.
(const struct builtin_description bdesc_special_args[]):
Remove duplicate ISA bits.
gcc/testsuite/
* gcc.target/i386/pr70325.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234395
138bc75d-0d04-0410-961f-
82ee72b054a4