Richard Henderson
2bcbca7e7c
re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with -flive-range-shrinkage -march=amdfam10)
...
PR target/60704
* gcc.dg/pr60704.c: New file.
From-SVN: r208990
2014-04-01 09:39:18 -07:00
Richard Henderson
2a1ffd6db5
re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with -flive-range-shrinkage -march=amdfam10)
...
PR target/60704
* config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
alternative enabled before register allocation.
From-SVN: r208989
2014-04-01 07:40:27 -07:00
Chung-Lin Tang
98e8dd4d86
nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
...
2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
* config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
* config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
typo.
(nios2_large_got_address): Remove unneeded 'sym' parameter.
(nios2_got_address): Update nios2_large_got_address call site.
(nios2_delegitimize_address): New function.
(TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
* config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
From-SVN: r208988
2014-04-01 12:43:59 +00:00
Martin Husemann
8785c60a60
netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32 for -mabi=32.
...
gcc/
2014-04-01 Martin Husemann <martin@duskware.de>
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
for -mabi=32.
From-SVN: r208985
2014-04-01 10:40:57 +00:00
Richard Sandiford
3343cf6a6e
re PR target/60604 (GCC incorrectly compiles s_csinh function on MIPS32 (32bit fp))
...
gcc/
PR rtl-optimization/60604
* recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
check from register_operand.
(register_operand): Redefine in terms of general_operand.
(nonmemory_operand): Use register_operand for the non-constant cases.
From-SVN: r208984
2014-04-01 10:38:19 +00:00
Bin Cheng
fb0aab2335
Fix typo in gcc/testsuite/ChangeLog.
...
From-SVN: r208981
2014-04-01 10:00:26 +00:00
Bin Cheng
10df281081
re PR tree-optimization/60363 (logical_op_short_circuit, gcc.dg/tree-ssa/ssa-dom-thread-4.c scan-tree-dump-times dom1 "Threaded" 4)
...
PR target/60363
* gcc.target/tree-ssa/ssa-dom-thread-4.c: Xfail for
logical_op_short_circuit targets.
From-SVN: r208980
2014-04-01 09:56:29 +00:00
Dominique d'Humieres
3d6399c74d
fmt_en.f90: Skip unsupported rounding tests.
...
libfortran/60128
* gfortran.dg/fmt_en.f90: Skip unsupported rounding tests.
XFAIL for i?86-*-solaris2.9* and hppa*-*-hpux*.
From-SVN: r208979
2014-04-01 11:21:53 +02:00
Richard Biener
1503cb6b6d
gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
...
2014-04-01 Richard Biener <rguenther@suse.de>
* gimple.h (struct gimple_statement_base): Align subcode to
16 bits.
From-SVN: r208978
2014-04-01 08:55:58 +00:00
Sebastian Huber
cded08eab4
* doc/invoke.texi (mapp-regs): Clarify.
...
From-SVN: r208973
2014-04-01 08:20:42 +00:00
Richard Biener
25336bb650
simple-object.c (simple_object_internal_write): Handle EINTR and short writes.
...
2014-04-01 Richard Biener <rguenther@suse.de>
libiberty/
* simple-object.c (simple_object_internal_write): Handle
EINTR and short writes.
From-SVN: r208972
2014-04-01 07:45:48 +00:00
Patrick Palka
75d850f368
re PR c++/44859 (missed warning: returning reference to temporary)
...
PR c++/44859
* typeck.c (maybe_warn_about_returning_address_of_local): Unwrap
COMPONENT_REFs and ARRAY_REFs sooner.
From-SVN: r208970
2014-03-31 20:48:33 -04:00
GCC Administrator
3020dc6e31
Daily bump.
...
From-SVN: r208969
2014-04-01 00:16:34 +00:00
Lars Gullik Bjønnes
71bdda5625
re PR libstdc++/60270 ([C++1y] std::quoted is too eager to clear the string)
...
2014-03-31 Lars Gullik Bjønnes <larsbj@gullik.org>
Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/60270
* include/std/iomanip (_Quoted_string operator>>): Do not clear
string if input is not quoted.
* testsuite/27_io/manipulators/standard/char/60270.cc: New.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r208966
2014-03-31 19:46:23 +01:00
Jonathan Wakely
0812493fc5
* libsupc++/eh_ptr.cc: Improve static_assert messages.
...
From-SVN: r208965
2014-03-31 19:16:14 +01:00
H.J. Lu
a283136a58
Add a testcase for PR rtl-optimization/60700
...
PR rtl-optimization/60700
* gcc.target/i386/pr60700.c: New test.
From-SVN: r208962
2014-03-31 08:24:56 -07:00
Ramana Radhakrishnan
80dc1f0c88
Adjust testcase for softfp cases.
...
PR target/60650
2014-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/60650
* gcc.target/arm/pr60650.c: Adjust command line options.
From-SVN: r208961
2014-03-31 14:21:58 +00:00
Joseph Myers
923a61e93c
* sv.po: Update.
...
From-SVN: r208960
2014-03-31 15:11:42 +01:00
Ulrich Drepper
7d9088c2a3
avx512fintrin.h (__v32hi): Define type.
...
2014-03-27 Ulrich Drepper <drepper@gmail.com>
* config/i386/avx512fintrin.h (__v32hi): Define type.
(__v64qi): Likewise.
(_mm512_set1_epi8): Define.
(_mm512_set1_epi16): Define.
(_mm512_set4_epi32): Define.
(_mm512_set4_epi64): Define.
(_mm512_set4_pd): Define.
(_mm512_set4_ps): Define.
(_mm512_setr4_epi64): Define.
(_mm512_setr4_epi32): Define.
(_mm512_setr4_pd): Define.
(_mm512_setr4_ps): Define.
(_mm512_setzero_epi32): Define.
--This line, and those belowi will be ignored--
M gcc/ChangeLog
M gcc/config/i386/avx512fintrin.h
From-SVN: r208959
2014-03-31 13:24:13 +00:00
Rainer Orth
750dc27853
Fix 18_support/exception_ptr/60612-*.cc on non-C99 targets
...
* testsuite/18_support/exception_ptr/60612-terminate.cc
(terminate, f): Wrap in _GLIBCXX_USE_C99.
* testsuite/18_support/exception_ptr/60612-unexpected.cc: Likewise.
From-SVN: r208958
2014-03-31 13:14:12 +00:00
Martin Jambor
c18ff8a448
re PR middle-end/60647 (ICE in visit_ref_for_mod_analysis, at ipa-prop.c:2112)
...
2014-03-31 Martin Jambor <mjambor@suse.cz>
PR middle-end/60647
* tree-sra.c (callsite_has_enough_arguments_p): Renamed to
callsite_arguments_match_p. Updated all callers. Also check types of
corresponding formal parameters and actual arguments.
(not_all_callers_have_enough_arguments_p) Renamed to
some_callers_have_mismatched_arguments_p.
testsuite/
* gcc.dg/pr60647-1.c: New test.
* gcc.dg/pr60647-2.c: Likewise.
From-SVN: r208957
2014-03-31 14:28:33 +02:00
Richard Biener
9372710709
pr55113_0.c: Skip also for 32bit multilib on x86_64.
...
2014-03-31 Richard Biener <rguenther@suse.de>
* gcc.dg/lto/pr55113_0.c: Skip also for 32bit multilib on x86_64.
From-SVN: r208956
2014-03-31 10:12:52 +00:00
Yuri Rumyantsev
9a96d5b797
tree-inline.c (copy_loops): Add missed copy of 'safelen'.
...
gcc/
* tree-inline.c (copy_loops): Add missed copy of 'safelen'.
From-SVN: r208955
2014-03-31 08:20:32 +00:00
GCC Administrator
24403edefc
Daily bump.
...
From-SVN: r208953
2014-03-31 00:16:59 +00:00
Kugan Vivekanandarajah
6c031d8dfd
re PR target/60034 ("invalid expression as operand" in aarch64 inline asm)
...
PR target/60034
* aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
section anchor.
PR target/60034
* gcc.target/aarch64/pr60034.c: New file.
From-SVN: r208949
2014-03-30 22:41:59 +00:00
Uros Bizjak
429749e23b
sse.md (FMAMODE_NOVF512): New mode iterator.
...
* config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
(<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
Split out
<sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
Use FMAMODE_NOVF512 mode iterator.
(<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
(<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
Split out
<sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
Use VF_128_256 mode iterator.
(<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
Ditto.
From-SVN: r208948
2014-03-30 19:38:57 +02:00
Eric Botcazou
368348abbb
re PR ada/60703 (System.Address not preelaborable on MIPS)
...
PR ada/60703
* system-linux-alpha.ads: Adjust for Ada 2005.
* system-linux-mips.ads: Likewise.
* system-linux-mips64el.ads: Likewise.
* system-linux-mipsel.ads: Likewise.
* system-linux-s390.ads: Likewise.
* system-linux-s390x.ads: Likewise.
* system-linux-sparc.ads: Likewise.
* system-linux-sparcv9.ads: Likewise.
* system-rtems.ads: Likewise.
* system-vxworks-arm.ads: Likewise.
From-SVN: r208945
2014-03-30 15:47:43 +00:00
GCC Administrator
1e3cdc9d94
Daily bump.
...
From-SVN: r208944
2014-03-30 00:16:59 +00:00
Adam Butcher
4b0040a6a5
re PR c++/60626 ([c++1y] ICE with pointer to function with auto parameter)
...
Fix PR c++/60626
PR c++/60626
* parser.c (cp_parser_init_declarator): Handle erroneous generic type
usage in non-functions with pushed scope.
PR c++/60626
* g++.dg/cpp1y/pr60626.C: New testcase.
From-SVN: r208940
2014-03-29 19:23:44 +00:00
Joseph Myers
cfdc23868b
pr45416.c: Allow bextr on x86.
...
* gcc.dg/pr45416.c: Allow bextr on x86.
* gcc.target/i386/fma4-builtin.c, gcc.target/i386/fma4-fma-2.c,
gcc.target/i386/fma4-fma.c, gcc.target/i386/fma4-vector-2.c,
gcc.target/i386/fma4-vector.c: Use -mno-fma.
* gcc.target/i386/l_fma_double_1.c,
gcc.target/i386/l_fma_double_2.c,
gcc.target/i386/l_fma_double_3.c,
gcc.target/i386/l_fma_double_4.c,
gcc.target/i386/l_fma_double_5.c,
gcc.target/i386/l_fma_double_6.c, gcc.target/i386/l_fma_float_1.c,
gcc.target/i386/l_fma_float_2.c, gcc.target/i386/l_fma_float_3.c,
gcc.target/i386/l_fma_float_4.c, gcc.target/i386/l_fma_float_5.c,
gcc.target/i386/l_fma_float_6.c: Use -mno-fma4.
* gcc.target/i386/pr27971.c: Use -mno-tbm.
* gcc.target/i386/pr42542-4a.c: Use -mno-avx.
* gcc.target/i386/pr59390.c: Use -mno-fma -mno-fma4.
From-SVN: r208939
2014-03-29 15:39:34 +00:00
Jakub Jelinek
f67c829e48
re PR target/60648 (ICE (segmentation fault) in expand_binop)
...
PR target/60648
* g++.dg/pr60648.C: Move test to...
* g++.dg/torture/pr60648.C: ... here. Run on all targets, remove
dg-options, add for fpic targets dg-additional-options -fPIC.
From-SVN: r208933
2014-03-29 12:10:25 +01:00
GCC Administrator
df438771cc
Daily bump.
...
From-SVN: r208930
2014-03-29 00:17:10 +00:00
Jan Hubicka
1f91035fef
cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear static chain if needed.
...
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
static chain if needed.
* g++.dg/torture/pr60659.C: New testcase.
From-SVN: r208927
2014-03-28 22:19:27 +00:00
Vladimir Makarov
6e071b1e8f
re PR target/60697 ([aarch64] LRA ICE (Segfault) while building 435.gromacs)
...
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60697
* lra-constraints.c (index_part_to_reg): New.
(process_address): Use it.
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60697
* gcc.target/aarch64/pr60697.c: New.
From-SVN: r208926
2014-03-28 22:14:36 +00:00
Jakub Jelinek
4bb66ef337
Fixup ChangeLog formatting.
...
From-SVN: r208925
2014-03-28 23:10:12 +01:00
Jeff Law
e7f3178934
re PR target/60648 (ICE (segmentation fault) in expand_binop)
...
PR target/60648
* expr.c (do_tablejump): Use simplify_gen_binary rather than
gen_rtx_{PLUS,MULT} to build up the address expression.
* i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
creating non-canonical RTL.
PR target/60648
* g++.dg/pr60648.C: New test.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r208924
2014-03-28 16:02:32 -06:00
Adam Butcher
5294e4c32d
re PR c++/60573 ([c++1y] ICE with defining generic function of nested class in class scope)
...
Fix PR c++/60573
PR c++/60573
* name-lookup.h (cp_binding_level): New transient field defining_class_p
to indicate whether a scope is in the process of defining a class.
* semantics.c (begin_class_definition): Set defining_class_p.
* name-lookup.c (leave_scope): Reset defining_class_p.
* parser.c (synthesize_implicit_template_parm): Use cp_binding_level::
defining_class_p rather than TYPE_BEING_DEFINED as the predicate for
unwinding to class-defining scope to handle the erroneous definition of
a generic function of an arbitrarily nested class within an enclosing
class.
PR c++/60573
* g++.dg/cpp1y/pr60573.C: New testcase.
From-SVN: r208921
2014-03-28 20:41:45 +00:00
Jakub Jelinek
eee32b5ea3
Add PR60576 to the ChangeLog entry.
...
From-SVN: r208920
2014-03-28 21:30:36 +01:00
Mikael Morin
61b6bed7e7
re PR fortran/60576 (FAIL: gfortran.dg/assumed_rank_7.f90)
...
2014-03-28 Mikael Morin <mikael@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR fortran/60576
* trans-expr.c (gfc_conv_derived_to_class): Avoid
generation of out-of-bounds range expr.
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r208918
2014-03-28 21:04:01 +01:00
Jan Hubicka
4cd8957f51
re PR ipa/60243 (IPA is slow on large cgraph tree)
...
PR ipa/60243
* ipa-inline.c (want_inline_small_function_p): Short circuit large
functions; reorganize to make cheap checks first.
(inline_small_functions): Do not estimate growth when dumping;
it is expensive.
* ipa-inline.h (inline_summary): Add min_size.
(growth_likely_positive): New function.
* ipa-inline-analysis.c (dump_inline_summary): Add min_size.
(set_cond_stmt_execution_predicate): Cleanup.
(estimate_edge_size_and_time): Compute min_size.
(estimate_calls_size_and_time): Likewise.
(estimate_node_size_and_time): Likewise.
(inline_update_overall_summary): Update min_size.
(do_estimate_edge_time): Likewise.
(do_estimate_edge_size): Update.
(do_estimate_edge_hints): Update.
(growth_likely_positive): New function.
From-SVN: r208916
2014-03-28 19:50:28 +00:00
Jakub Jelinek
ff76f4e2c0
re PR target/60693 (ICE on funny memcpy)
...
PR target/60693
* config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
also if addr has VOIDmode.
* gcc.target/i386/pr60693.c: New test.
From-SVN: r208915
2014-03-28 20:31:17 +01:00
Vishnu K S
27f083b845
pr59940.c (si): Use 32-bit SI mode instead of int.
...
2014-03-28 Vishnu K S <Vishnu.k_s@atmel.com>
* gcc.dg/pr59940.c (si): Use 32-bit SI mode instead of int.
From-SVN: r208914
2014-03-28 19:19:03 +00:00
Mikael Morin
f6b80ca0b8
re PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90 -O (test for excess errors))
...
fortran/
PR fortran/60677
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument
list buffer.
From-SVN: r208913
2014-03-28 18:58:44 +00:00
Jakub Jelinek
8edbfaa667
re PR c++/60689 (Bogus error with atomic::exchange)
...
PR c++/60689
* c-tree.h (c_build_function_call_vec): New prototype.
* c-typeck.c (build_function_call_vec): Don't call
resolve_overloaded_builtin here.
(c_build_function_call_vec): New wrapper function around
build_function_call_vec. Call resolve_overloaded_builtin here.
(convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
Call c_build_function_call_vec instead of build_function_call_vec.
* c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
* c-decl.c (finish_decl): Likewise.
* c-common.c (add_atomic_size_parameter): When creating new
params vector, push the size argument first.
* c-c++-common/pr60689.c: New test.
From-SVN: r208912
2014-03-28 19:16:32 +01:00
Kyrylo Tkachov
ed6eb6dc9f
[ARM/AArch64][2/2] Crypto intrinsics tuning for Cortex-A53 - pipeline description
...
* config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
* config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
Declare extern.
* config/arm/cortex-a53.md: Add reservations and bypass for crypto
instructions as well as AdvancedSIMD loads.
From-SVN: r208910
2014-03-28 17:24:52 +00:00
Kyrylo Tkachov
b10baa9584
[ARM/AArch64][1/2] Crypto intrinsics tuning for Cortex-A53 - "type" Attribute restructuring
...
* config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
Use crypto_aese type.
(aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
* config/arm/arm.md (is_neon_type): Replace crypto_aes with
crypto_aese, crypto_aesmc. Move to types.md.
* config/arm/types.md (crypto_aes): Split into crypto_aese,
crypto_aesmc.
* config/arm/iterators.md (crypto_type): Likewise.
From-SVN: r208908
2014-03-28 17:22:47 +00:00
Jakub Jelinek
97b733ac56
re PR c++/58678 (pykde4-4.11.2 link error (devirtualization too trigger happy))
...
PR c++/58678
* g++.dg/abi/thunk6.C: Scan assembler for _ZTv0_n32_N1CD1Ev
only for lp64 targets and scan for _ZTv0_n16_N1CD1Ev for ilp32
targets.
From-SVN: r208907
2014-03-28 18:17:56 +01:00
Jan Hubicka
23a042164f
cgraph.c: Include expr.h and tree-dfa.h.
...
* cgraph.c: Include expr.h and tree-dfa.h.
(cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn; remove LHS.
From-SVN: r208901
2014-03-28 15:30:58 +00:00
Vladimir Makarov
a4971e6893
re PR target/60675 ([aarch64] internal compiler error: Max. number of generated reload insns per insn is achieved (90))
...
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60675
* lra-assigns.c (find_hard_regno_for): Remove unavailable hard
regs from checking multi-reg pseudos.
2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/60675
* gcc.target/aarch64/pr60675.C: New.
From-SVN: r208900
2014-03-28 15:27:58 +00:00
Richard Biener
2486c24a8c
simple-object.c (simple_object_internal_read): Handle EINTR and short reads.
...
2014-03-28 Richard Biener <rguenther@suse.de>
libiberty/
* simple-object.c (simple_object_internal_read): Handle
EINTR and short reads.
lto-plugin/
* lto-plugin.c (process_symtab): Handle EINTR and short reads.
From-SVN: r208898
2014-03-28 14:05:49 +00:00