Jan Hubicka [Wed, 19 Feb 2014 07:45:00 +0000 (08:45 +0100)]
ipa.c (function_and_variable_visibility): Also clear WEAK flag when disolving COMDAT_GROUP.
* ipa.c (function_and_variable_visibility): Also clear WEAK
flag when disolving COMDAT_GROUP.
From-SVN: r207878
Jan Hubicka [Wed, 19 Feb 2014 07:42:06 +0000 (08:42 +0100)]
ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
* ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
* ipa-prop.c (ipa_set_jf_known_type): Return early when
not devirtualizing.
(ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
do more sanity checks.
(detect_type_change): Return true when giving up early.
(compute_complex_assign_jump_func): Fix type parameter of
ipa_set_ancestor_jf.
(compute_complex_ancestor_jump_func): Likewise.
(update_jump_functions_after_inlining): Fix updating of
ancestor function.
* ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type
to be NULL.
From-SVN: r207877
Jan Hubicka [Wed, 19 Feb 2014 07:33:45 +0000 (08:33 +0100)]
cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove inline clones when edge disappears.
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
inline clones when edge disappears.
From-SVN: r207875
Marek Polacek [Wed, 19 Feb 2014 06:29:49 +0000 (06:29 +0000)]
re PR c/60195 (Strange warnings using atomic types)
PR c/60195
c/
* c-typeck.c (convert_lvalue_to_rvalue): Set TREE_NO_WARNING on tmp.
Call mark_exp_read on exp.value.
(build_atomic_assign): Set TREE_NO_WARNING on val and old. Set
TREE_ADDRESSABLE on old instead of val.
(emit_side_effect_warnings): Warn only if RHS has !TREE_NO_WARNING.
testsuite/
* gcc.dg/pr60195.c: New test.
From-SVN: r207873
Paul Pluzhnikov [Wed, 19 Feb 2014 06:21:42 +0000 (22:21 -0800)]
no-vfa-vect-depend-2.c (main1): Fix buffer overflow.
2014-02-19 Paul Pluzhnikov <ppluzhnikov@google.com>
* gcc.dg/vect/no-vfa-vect-depend-2.c (main1): Fix buffer
overflow.
From-SVN: r207872
Jakub Jelinek [Wed, 19 Feb 2014 06:05:55 +0000 (07:05 +0100)]
re PR preprocessor/58844 (ICE with invalid use of ##)
PR preprocessor/58844
* macro.c (enter_macro_context): Only push
macro_real_token_count (macro) tokens rather than
macro->count tokens, regardless of
CPP_OPTION (pfile, track-macro-expansion).
* c-c++-common/cpp/pr58844-1.c: New test.
* c-c++-common/cpp/pr58844-2.c: New test.
From-SVN: r207871
Balaji V. Iyer [Wed, 19 Feb 2014 03:43:21 +0000 (03:43 +0000)]
+ * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version + to 1 instead of 0.
2014-02-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version
+ to 1 instead of 0.
+ * runtime/cilk-abi-cilk-for.cpp (cilk_for_recursive): Added a fix to
+ initialize stack frame correctly.
+
From-SVN: r207870
Michael Meissner [Wed, 19 Feb 2014 02:14:17 +0000 (02:14 +0000)]
re PR target/60203 (Support long double/_Decimal128 direct move on power8)
2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60203
* config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
Split 64-bit moves into 2 patterns. Do not allow the use of
direct move for TDmode in little endian, since the decimal value
has little endian bytes within a word, but the 64-bit pieces are
ordered in a big endian fashion, and normal subreg's of TDmode are
not allowed.
(mov<mode>_64bit_dm): Likewise.
(movtd_64bit_nodm): Likewise.
From-SVN: r207868
GCC Administrator [Wed, 19 Feb 2014 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207863
Eric Botcazou [Tue, 18 Feb 2014 23:15:27 +0000 (23:15 +0000)]
re PR tree-optimization/60174 (ICE on ACATS
cc3305a)
PR tree-optimization/60174
* tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
statement of an SSA_NAME that occurs in an abnormal PHI node.
From-SVN: r207859
Paolo Carlini [Tue, 18 Feb 2014 23:11:26 +0000 (23:11 +0000)]
re PR c++/60225 ([c++11] ICE initializing constexpr array)
/cp
2014-02-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60225
* semantics.c (ensure_literal_type_for_constexpr_object): Use
strip_array_types.
/testsuite
2014-02-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60225
* g++.dg/cpp0x/constexpr-ice10.C: New.
/cp
2014-02-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60215
* semantics.c (cxx_eval_constant_expression, [COMPONENT_REF]):
During error recovery allow_non_constant may be false.
/testsuite
2014-02-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60215
* g++.dg/cpp0x/pr60215.C: New.
From-SVN: r207858
Adam Butcher [Tue, 18 Feb 2014 22:29:56 +0000 (22:29 +0000)]
re PR c++/60064 ([c++1y] ICE with auto as parameter of friend function)
Fix PR c++/60064.
PR c++/60064
* parser.c (cp_parser_member_declaration): Pop fully implicit template
scope for generic friend declarations as well as for non-friends.
PR c++/60064
* g++.dg/cpp1y/pr60064.C: New testcase.
From-SVN: r207856
Tobias Burnus [Tue, 18 Feb 2014 22:29:00 +0000 (23:29 +0100)]
Really add the new testsuite files missing from commit r207854
2014-02-18 Tobias Burnus <burnus@net-b.de>
PR fortran/49397
* gfortran.dg/proc_ptr_45.f90: New.
* gfortran.dg/proc_ptr_46.f90: New.
From-SVN: r207855
Tobias Burnus [Tue, 18 Feb 2014 22:09:39 +0000 (23:09 +0100)]
re PR fortran/49397 ([F03] ICE with proc pointer assignment)
2014-02-18 Tobias Burnus <burnus@net-b.de>
PR fortran/49397
* expr.c (gfc_check_pointer_assign): Add check for
F2008Cor2, C729.
* trans-decl.c (gfc_get_symbol_decl): Correctly generate
* external
decl in a corner case.
2014-02-18 Tobias Burnus <burnus@net-b.de>
PR fortran/49397
* gfortran.dg/proc_ptr_45.f90: New.
* gfortran.dg/proc_ptr_46.f90: New.
From-SVN: r207854
Jakub Jelinek [Tue, 18 Feb 2014 21:16:21 +0000 (22:16 +0100)]
re PR sanitizer/60142 ([asan] -fsanitize=address breaks debugging - stepping into functions no longer possible)
PR sanitizer/60142
* final.c (SEEN_BB): Remove.
(SEEN_NOTE, SEEN_EMITTED): Renumber.
(final_scan_insn): Don't force_source_line on second
NOTE_INSN_BASIC_BLOCK.
From-SVN: r207853
Adam Butcher [Tue, 18 Feb 2014 21:07:48 +0000 (21:07 +0000)]
re PR c++/60190 ([c++1y] ICE with invalid return type of template lambda)
Fix PR c++/60190.
PR c++/60190
* parser.c (cp_parser_lambda_declarator_opt): Pop template parameter
scope whenever a template parameter list has been started, independent
of whether the function call operator was well-formed or not.
PR c++/60190
* g++.dg/cpp1y/pr60190.C: New testcase.
From-SVN: r207852
Uros Bizjak [Tue, 18 Feb 2014 18:55:35 +0000 (19:55 +0100)]
re PR target/60205 (No ABI warning for AVX-512)
PR target/60205
* config/i386/i386.h (struct ix86_args): Add warn_avx512f.
* config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
(type_natural_mode): Warn ABI change when %zmm register is not
available for AVX512F vector value passing.
testsuite/ChangeLog:
PR target/60205
* gcc.target/i386/pr60205-1.c: New test.
* gcc.target/i386/pr60205-2.c: Ditto.
From-SVN: r207851
Kai Tietz [Tue, 18 Feb 2014 17:02:54 +0000 (18:02 +0100)]
re PR objc/56870 (@catch handler broken with SEH)
2014-02-18 Kai Tietz <ktietz@redhat.com>
Jonathan Schleifer <js@webkeks.org>
PR objc/56870
* unwind-seh.c (_GCC_specific_handler): Pass proper
value to unwind-handler.
Co-Authored-By: Jonathan Schleifer <js@webkeks.org>
From-SVN: r207849
Kai Tietz [Tue, 18 Feb 2014 12:49:15 +0000 (13:49 +0100)]
re PR target/60193 (ICE on big nested frame)
2014-02-18 Kai Tietz <ktietz@redhat.com>
PR target/60193
* config/i386/i386.c (ix86_expand_prologue): Use
rax register as displacement for restoring %r10, %rax.
Additional fix wrong offset for restoring both-registers.
2014-02-18 Kai Tietz <ktietz@redhat.com>
PR target/60193
* gcc.target/i386/nest-1.c: New testcase.
From-SVN: r207844
Arnaud Charlet [Tue, 18 Feb 2014 11:56:35 +0000 (12:56 +0100)]
[multiple changes]
2014-02-18 Robert Dewar <dewar@adacore.com>
* cstand.adb (Build_Signed_Integer_Type): Minor change of formal
from Int to Nat (Build_Unsigned_Integer_Type): New procedure
(Create_Standard): Create new unsigned types.
* exp_ch4.adb (Expand_N_Op_Mod): Expand mod in Modify_Tree_For_C
mode (Expand_N_Reference): Removed, problematic and not needed
for now.
* exp_ch4.ads (Expand_N_Reference): Removed, problematic and
not needed for now.
* exp_util.ads, exp_util.adb (Power_Of_Two): New function.
* expander.adb: Remove call to Expand_N_Reference (problematic,
and not needed now).
* sem_aux.ads, sem_aux.adb (Corresponding_Unsigned_Type): New function.
* stand.adb: Read and write unsigned type entities.
* stand.ads: Add new unsigned types.
2014-02-18 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch4.adb (Analyze_Call): Do not mark a function call
as being inside an assertion expression as the flag is now removed.
(Check_Ghost_Subprogram_Call): Do not query the
In_Assertion_Expression flag as it is now removed, instead use
a predicate function.
* sem_elab.adb (Check_Internal_Call_Continue): Do not query the
In_Assertion_Expression flag as it is now removed, instead use
a predicate function.
* sem_prag.ads: Add new table Assertion_Expression_Pragma.
* sem_util.adb Add with and use clause for Sem_Prag.
(In_Assertion_Expression_Pragma): New routine.
* sem_util.ads (In_Assertion_Expression_Pragma): New routine.
* sinfo.adb (In_Assertion_Expression): Removed.
(Set_In_Assertion_Expression): Removed.
* sinfo.ads Remove flag In_Assertion_Expression along with its
use in nodes.
(In_Assertion_Expression): Removed along with
pragma Inline. (Set_In_Assertion_Expression): Removed along
with pragma Inline.
2014-02-18 Sergey Rybin <rybin@adacore.com frybin>
* gnat_ugn.texi: gnatpp section: add note that '-j' cannot be
used together with '-r', '-rf' or '-rnb' options.
2014-02-18 Hristian Kirtchev <kirtchev@adacore.com>
* sem_attr.adb (Analyze_Attribute): Comment
and code reformatting. Use separate routines to check the
legality of attribute 'Old in certain pragmas. Verify
the use of 'Old, 'Result and locally declared entities
within the prefix of 'Old.
(Check_References_In_Prefix): New routine.
(Check_Use_In_Contract_Cases): New routine.
(Check_Use_In_Test_Case): New routine.
From-SVN: r207843
Vincent Celier [Tue, 18 Feb 2014 11:54:13 +0000 (11:54 +0000)]
sem_aux.adb (Is_By_Reference_Type): For each components of a record type...
2014-02-18 Vincent Celier <celier@adacore.com>
* sem_aux.adb (Is_By_Reference_Type): For each components of
a record type, check also if the component is volatile as it
may have an aspect that makes it volatile. If it is, then the
record type is a by reference type.
From-SVN: r207842
Robert Dewar [Tue, 18 Feb 2014 11:52:58 +0000 (11:52 +0000)]
exp_attr.adb: Minor reformatting.
2014-02-18 Robert Dewar <dewar@adacore.com>
* exp_attr.adb: Minor reformatting.
* exp_ch4.ads, exp_ch4.adb (Expand_N_Reference): New procedure.
* exp_util.adb (Remove_Side_Effects): Add conditional expressions
as another case where we don't generate N_Reference nodes for
primitive types.
* expander.adb (Expand): Add call to Expand_N_Reference.
From-SVN: r207841
Eric Botcazou [Tue, 18 Feb 2014 11:07:34 +0000 (11:07 +0000)]
ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous assertion with conditional return.
* ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
assertion with conditional return.
From-SVN: r207838
Janus Weil [Tue, 18 Feb 2014 07:45:39 +0000 (08:45 +0100)]
re PR fortran/60231 (ICE on undefined generic)
2014-02-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/60231
* resolve.c (check_generic_tbp_ambiguity): Check for presence of dummy
arguments to prevent ICE.
2014-02-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/60231
* gfortran.dg/typebound_generic_15.f90: New.
From-SVN: r207836
Jakub Jelinek [Tue, 18 Feb 2014 07:19:46 +0000 (08:19 +0100)]
re PR driver/60233 (AVX instructions emitted with -march=native on host without AVX support)
PR driver/60233
* config/i386/driver-i386.c (host_detect_local_cpu): If
YMM state is not saved by the OS, also clear has_f16c. Move
CPUID 0x80000001 handling before YMM state saving checking.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r207833
Andrey Belevantsev [Tue, 18 Feb 2014 05:41:29 +0000 (09:41 +0400)]
re PR rtl-optimization/58960 (ICE in bmp_iter_set_init)
PR rtl-optimization/58960
* haifa-sched.c (alloc_global_sched_pressure_data): New,
factored out from ...
(sched_init): ... here.
(free_global_sched_pressure_data): New, factored out from ...
(sched_finish): ... here.
* sched-int.h (free_global_sched_pressure_data): Declare.
* sched-rgn.c (nr_regions_initial): New static global.
(haifa_find_rgns): Initialize it.
(schedule_region): Disable sched-pressure for the newly
generated regions.
From-SVN: r207832
GCC Administrator [Tue, 18 Feb 2014 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207831
Loren J. Rittle [Mon, 17 Feb 2014 19:27:01 +0000 (19:27 +0000)]
* MAINTAINERS (Various Maintainers: c++ runtime libs): Remove myself.
From-SVN: r207828
Richard Biener [Mon, 17 Feb 2014 15:34:03 +0000 (15:34 +0000)]
tree-vect-stmts.c (free_stmt_vec_info): Clear BB and release SSA defs of pattern stmts.
2014-02-17 Richard Biener <rguenther@suse.de>
* tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
release SSA defs of pattern stmts.
From-SVN: r207826
Richard Biener [Mon, 17 Feb 2014 15:23:19 +0000 (15:23 +0000)]
tree-inline.c (expand_call_inline): Release the virtual operand defined by the call we are about to inline.
2014-02-17 Richard Biener <rguenther@suse.de>
* tree-inline.c (expand_call_inline): Release the virtual
operand defined by the call we are about to inline.
From-SVN: r207825
Richard Biener [Mon, 17 Feb 2014 14:10:42 +0000 (14:10 +0000)]
tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
2014-02-17 Richard Biener <rguenther@suse.de>
* tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
From-SVN: r207824
Janus Weil [Mon, 17 Feb 2014 12:46:52 +0000 (13:46 +0100)]
re PR fortran/55907 (ICE with -fno-automatic -finit-local-zero)
2014-02-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55907
* resolve.c (build_default_init_expr): Don't initialize character
variable if -fno-automatic is given.
2014-02-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55907
* gfortran.dg/init_flag_12.f90: New.
From-SVN: r207823
Eric Botcazou [Mon, 17 Feb 2014 12:00:04 +0000 (12:00 +0000)]
re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification)
PR libffi/60073
* src/sparc/v8.S: Assemble only if !SPARC64.
* src/sparc/v9.S: Remove obsolete comment.
* src/sparc/ffitarget.h (enum ffi_abi): Add FFI_COMPAT_V9.
(V8_ABI_P): New macro.
(V9_ABI_P): Likewise.
(FFI_EXTRA_CIF_FIELDS): Define only if SPARC64.
* src/sparc/ffi.c (ffi_prep_args_v8): Compile only if !SPARC64.
(ffi_prep_args_v9): Compile only if SPARC64.
(ffi_prep_cif_machdep_core): Use V9_ABI_P predicate.
(ffi_prep_cif_machdep): Guard access to nfixedargs field.
(ffi_prep_cif_machdep_var): Likewise.
(ffi_v9_layout_struct): Compile only if SPARC64.
(ffi_call): Deal with FFI_V8PLUS and FFI_COMPAT_V9 and fix warnings.
(ffi_prep_closure_loc): Use V9_ABI_P and V8_ABI_P predicates.
(ffi_closure_sparc_inner_v8): Compile only if !SPARC64.
(ffi_closure_sparc_inner_v9): Compile only if SPARC64. Guard access
to nfixedargs field.
From-SVN: r207822
Kirill Yukhin [Mon, 17 Feb 2014 11:26:08 +0000 (11:26 +0000)]
avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap arguments order in builtin.
gcc/
* config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
arguments order in builtin.
(_mm512_permutexvar_epi64): Ditto.
(_mm512_mask_permutexvar_epi64): Ditto
(_mm512_maskz_permutexvar_epi32): Ditto
(_mm512_permutexvar_epi32): Ditto
(_mm512_mask_permutexvar_epi32): Ditto
gcc/testsuite/
* gcc.target/i386/avx512f-vpermd-2.c: Fix reference calculations.
* gcc.target/i386/avx512f-vpermpd-2.c: Ditto.
* gcc.target/i386/avx512f-vpermps-2.c: Ditto.
* gcc.target/i386/avx512f-vpermq-var-2.c: Ditto.
Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>
From-SVN: r207821
Kugan Vivekanandarajah [Mon, 17 Feb 2014 10:58:31 +0000 (10:58 +0000)]
MAINTAINERS (Write After Approval): Add myself.
2014-02-17 Kugan Vivekanandarajah <kuganv@linaro.org>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r207820
Jan Hubicka [Mon, 17 Feb 2014 09:23:41 +0000 (09:23 +0000)]
Revert accidental checkin.
From-SVN: r207818
Bill Schmidt [Mon, 17 Feb 2014 02:01:42 +0000 (02:01 +0000)]
altivec.md (p8_vmrgew): Handle little endian targets.
2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.md (p8_vmrgew): Handle little endian
targets.
(p8_vmrgow): Likewise.
From-SVN: r207815
Bill Schmidt [Mon, 17 Feb 2014 02:00:26 +0000 (02:00 +0000)]
vsx.md (vsx_xxpermdi_<mode>): Handle little endian targets.
2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
endian targets.
From-SVN: r207814
GCC Administrator [Mon, 17 Feb 2014 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207813
Richard Sandiford [Sun, 16 Feb 2014 21:58:43 +0000 (21:58 +0000)]
gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_logical_op_short_circuit): New procedure.
* gcc.dg/binop-xor1.c: XFAIL for logical_op_short_circuit.
* gcc.dg/tree-ssa/forwprop-28.c: Use logical_op_short_circuit
instead of mips*-*-*, arc*-*-*, avr*-*-* and arm_cortex_m tests.
* gcc.dg/tree-ssa/vrp47.c: Likewise.
* gcc.dg/tree-ssa/vrp87.c: Likewise.
* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Likewise. Also use
logical_op_short_circuit for the alternative test, extending
it to arm_cortex_m.
From-SVN: r207810
Michael Meissner [Sun, 16 Feb 2014 03:08:03 +0000 (03:08 +0000)]
re PR target/60203 (Support long double/_Decimal128 direct move on power8)
[gcc]
2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60203
* config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
(mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
into 64-bit and 32-bit moves. On 64-bit moves, add support for
using direct move instructions on ISA 2.07. Also adjust
instruction length for 64-bit.
(mov<mode>_64bit, TFmode/TDmode): Likewise.
(mov<mode>_32bit, TFmode/TDmode): Likewise.
[gcc/testsuite]
2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60203
* gcc.target/powerpc/pr60203.c: New testsuite.
From-SVN: r207808
GCC Administrator [Sun, 16 Feb 2014 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207807
Mikael Morin [Sat, 15 Feb 2014 11:48:41 +0000 (11:48 +0000)]
re PR fortran/59599 (Compiler internal error on intrinsic ichar)
fortran/
PR fortran/59599
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Calculate the
number of arguments.
testsuite/
PR fortran/59599
* gfortran.dg/ichar_3.f90: New test.
From-SVN: r207799
Alan Modra [Sat, 15 Feb 2014 10:49:55 +0000 (21:19 +1030)]
re PR target/58675 (ICE in rs6000_secondary_reload_inner:15460, type = store)
PR target/58675
PR target/57935
* config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
find_replacement on parts of insn rtl that might be reloaded.
From-SVN: r207798
Richard Biener [Sat, 15 Feb 2014 09:54:52 +0000 (09:54 +0000)]
re PR tree-optimization/60183 (phiprop creates invalid code)
2014-02-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/60183
* tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
loads.
(tree_ssa_phiprop): Calculate and free post-dominators.
* gcc.dg/torture/pr60183.c: New testcase.
From-SVN: r207797
GCC Administrator [Sat, 15 Feb 2014 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r207796
Jeff Law [Fri, 14 Feb 2014 20:26:31 +0000 (13:26 -0700)]
re PR rtl-optimization/60131 (RTL check fail in rhs_regno)
PR rtl-optimization/60131
* ree.c (get_extended_src_reg): New function.
(combine_reaching_defs): Use it rather than assuming location
of REG.
(find_and_remove_re): Verify first operand of extension is
a REG before adding the insns to the copy list.
PR rtl-optimization/60131
* g++.dg/torture/pr60131.C: New test.
From-SVN: r207792
Roland McGrath [Fri, 14 Feb 2014 17:37:23 +0000 (17:37 +0000)]
Use ud2 assembly mnemonic when available.
gcc/
* configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
* configure: Regenerated.
* config.in: Regenerated.
* config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
instead of ASM_SHORT.
From-SVN: r207789
Ian Bolton [Fri, 14 Feb 2014 17:20:46 +0000 (17:20 +0000)]
Skip test if -mfloat-abi=hard specified
From-SVN: r207788
Vladimir Makarov [Fri, 14 Feb 2014 16:18:29 +0000 (16:18 +0000)]
re PR rtl-optimization/59535 (-Os code size regressions for Thumb1/Thumb2 with LRA)
2014-02-14 Vladimir Makarov <vmakarov@redhat.com>
Richard Earnshaw <rearnsha@arm.com>
PR rtl-optimization/59535
* lra-constraints.c (process_alt_operands): Encourage alternative
when unassigned pseudo class is superset of the alternative class.
(inherit_reload_reg): Don't inherit when optimizing for code size.
* config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
returning CORE_REGS for anything but Thumb1 and BASE_REGS for
modes not less than 4 for Thumb1.
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r207787
Bernd Edlinger [Fri, 14 Feb 2014 14:25:56 +0000 (14:25 +0000)]
overflow-negate-2.c (main): Use signed char.
2014-02-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
* c-c++-common/ubsan/overflow-negate-2.c (main): Use signed char.
From-SVN: r207786
Kyle McMartin [Fri, 14 Feb 2014 14:14:03 +0000 (14:14 +0000)]
re PR pch/60010 (AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE)
PR pch/60010
2014-02-14 Kyle McMartin <kyle@redhat.com>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
From-SVN: r207785
Richard Biener [Fri, 14 Feb 2014 14:07:30 +0000 (14:07 +0000)]
cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
2014-02-14 Richard Biener <rguenther@suse.de>
* cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
(get_frame_arg): Drop the assert with langhook types_compatible_p.
Do not strip INDIRECT_REFs.
From-SVN: r207784
Richard Biener [Fri, 14 Feb 2014 12:03:43 +0000 (12:03 +0000)]
re PR target/60179 (target optimization attribute streaming is broken)
2014-02-14 Richard Biener <rguenther@suse.de>
PR lto/60179
* lto-streamer-out.c (DFS_write_tree_body): Do not follow
DECL_FUNCTION_SPECIFIC_TARGET.
(hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
* tree-streamer-out.c (pack_ts_target_option): Remove.
(streamer_pack_tree_bitfields): Do not stream
TS_TARGET_OPTION.
(write_ts_function_decl_tree_pointers): Do not stream
DECL_FUNCTION_SPECIFIC_TARGET.
* tree-streamer-in.c (unpack_ts_target_option): Remove.
(unpack_value_fields): Do not stream TS_TARGET_OPTION.
(lto_input_ts_function_decl_tree_pointers): Do not stream
DECL_FUNCTION_SPECIFIC_TARGET.
lto/
* lto.c (compare_tree_sccs_1): Do not compare
DECL_FUNCTION_SPECIFIC_TARGET.
(lto_read_decls): Re-build DECL_FUNCTION_SPECIFIC_TARGET.
From-SVN: r207783
Jakub Jelinek [Fri, 14 Feb 2014 07:31:23 +0000 (08:31 +0100)]
tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
* tree-vect-loop.c (vect_is_slp_reduction): Don't set
use_stmt twice.
(get_initial_def_for_induction, vectorizable_induction): Ignore
debug stmts when looking for exit_phi.
(vectorizable_live_operation): Fix up condition.
* gcc.c-torture/compile/
20140213.c: New test.
From-SVN: r207778
Chung-Ju Wu [Fri, 14 Feb 2014 06:02:16 +0000 (06:02 +0000)]
nds32.c (nds32_asm_function_prologue): Do not use nreverse() because it changes the content of original tree list.
2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
nreverse() because it changes the content of original tree list.
From-SVN: r207777
Chung-Ju Wu [Fri, 14 Feb 2014 05:01:31 +0000 (05:01 +0000)]
t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
* config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
From-SVN: r207775
Chung-Ju Wu [Fri, 14 Feb 2014 04:45:56 +0000 (04:45 +0000)]
nds32.c (nds32_naked_function_p): Follow the GNU coding standards.
2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.c (nds32_naked_function_p): Follow the
GNU coding standards.
From-SVN: r207774
GCC Administrator [Fri, 14 Feb 2014 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207773
Jakub Jelinek [Thu, 13 Feb 2014 22:42:44 +0000 (23:42 +0100)]
re PR debug/60152 (multiple AT_calling_convention attributes generated after r205679)
PR debug/60152
* dwarf2out.c (gen_subprogram_die): Don't call
add_calling_convention_attribute if subr_die is old_die.
From-SVN: r207770
Sharad Singhai [Thu, 13 Feb 2014 21:43:53 +0000 (21:43 +0000)]
optinfo.texi: Fix order of nodes.
2014-02-13 Sharad Singhai <singhai@google.com>
* doc/optinfo.texi: Fix order of nodes.
From-SVN: r207767
Uros Bizjak [Thu, 13 Feb 2014 16:47:35 +0000 (17:47 +0100)]
sse.md (xop_vmfrcz<mode>2): Generate const0 in operands[2], not operands[3].
* config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
operands[2], not operands[3].
From-SVN: r207764
Eric Botcazou [Thu, 13 Feb 2014 16:18:13 +0000 (16:18 +0000)]
re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification)
PR libffi/60073
* src/sparc/ffitarget.h (FFI_TARGET_SPECIFIC_VARIADIC): Define.
(FFI_EXTRA_CIF_FIELDS): Likewise.
(FFI_NATIVE_RAW_API): Move around.
* src/sparc/ffi.c (ffi_prep_cif_machdep_core): New function from...
(ffi_prep_cif_machdep): ...here. Call ffi_prep_cif_machdep_core.
(ffi_prep_cif_machdep_var): New function.
(ffi_closure_sparc_inner_v9): Do not pass anonymous FP arguments in
FP registers.
* doc/libffi.texi (Introduction): Fix inaccuracy.
From-SVN: r207763
Richard Biener [Thu, 13 Feb 2014 14:06:48 +0000 (14:06 +0000)]
download_prerequisites: Update ISL and CLOOG versions.
2014-02-13 Richard Biener <rguenther@suse.de>
* download_prerequisites: Update ISL and CLOOG versions.
From-SVN: r207759
Richard Biener [Thu, 13 Feb 2014 13:35:10 +0000 (13:35 +0000)]
re PR bootstrap/59878 (ISL from cloog does not work with trunk)
2014-02-13 Richard Biener <rguenther@suse.de>
PR bootstrap/59878
* doc/install.texi (ISL): Update recommended version to 0.12.2,
mention the possibility of an in-tree build.
(CLooG): Update recommended version to 0.18.1, mention the
possibility of an in-tree build and clarify that the ISL
bundled with CLooG does not work.
From-SVN: r207758
Jakub Jelinek [Thu, 13 Feb 2014 13:20:06 +0000 (14:20 +0100)]
re PR target/43546 (ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm)
PR target/43546
* expr.c (compress_float_constant): If x is a hard register,
extend into a pseudo and then move to x.
* gcc.target/i386/pr43546.c: New test.
From-SVN: r207757
Dominik Vogt [Thu, 13 Feb 2014 12:38:52 +0000 (12:38 +0000)]
s390.c (s390_asm_output_function_label): Fix crash caused by bad second argument to warning_at() with -mhotpatch and...
2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.c (s390_asm_output_function_label): Fix crash
caused by bad second argument to warning_at() with -mhotpatch and
nested functions (e.g. with gfortran).
2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/hotpatch-compile-8.c: New test.
From-SVN: r207753
Richard Sandiford [Thu, 13 Feb 2014 09:22:26 +0000 (09:22 +0000)]
pr59605.c: Convert to a compile test.
gcc/testsuite/
* gcc.dg/pr59605.c: Convert to a compile test. Protect MAX_COPY
definition with an ifndef.
* gcc.dg/pr59605-2.c: New test.
From-SVN: r207748
Richard Sandiford [Thu, 13 Feb 2014 09:22:04 +0000 (09:22 +0000)]
opts.c (option_name): Remove "enabled by default" rider.
gcc/
* opts.c (option_name): Remove "enabled by default" rider.
gcc/testsuite/
* gcc.dg/gomp/simd-clones-5.c: Update comment for new warning message.
From-SVN: r207747
GCC Administrator [Thu, 13 Feb 2014 00:16:47 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207746
John David Anglin [Wed, 12 Feb 2014 23:28:24 +0000 (23:28 +0000)]
pa.c (pa_option_override): Remove auto increment FIXME.
* config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
From-SVN: r207743
Joseph Myers [Wed, 12 Feb 2014 23:24:49 +0000 (23:24 +0000)]
float128-mul-underflow.c, [...]: New tests.
gcc/testsuite:
* gcc.dg/torture/float128-mul-underflow.c,
gcc.dg/torture/float128-truncdf-underflow.c,
gcc.dg/torture/float128-truncsf-underflow.c: New tests.
libgcc:
* soft-fp/adddf3.c: Update from glibc.
* soft-fp/addsf3.c: Likewise.
* soft-fp/addtf3.c: Likewise.
* soft-fp/divdf3.c: Likewise.
* soft-fp/divsf3.c: Likewise.
* soft-fp/divtf3.c: Likewise.
* soft-fp/double.h: Likewise.
* soft-fp/eqdf2.c: Likewise.
* soft-fp/eqsf2.c: Likewise.
* soft-fp/eqtf2.c: Likewise.
* soft-fp/extenddftf2.c: Likewise.
* soft-fp/extended.h: Likewise.
* soft-fp/extendsfdf2.c: Likewise.
* soft-fp/extendsftf2.c: Likewise.
* soft-fp/extendxftf2.c: Likewise.
* soft-fp/fixdfdi.c: Likewise.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixdfti.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixsfti.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixtfti.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunsdfti.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunssfti.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* soft-fp/fixunstfti.c: Likewise.
* soft-fp/floatdidf.c: Likewise.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floattidf.c: Likewise.
* soft-fp/floattisf.c: Likewise.
* soft-fp/floattitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/floatuntidf.c: Likewise.
* soft-fp/floatuntisf.c: Likewise.
* soft-fp/floatuntitf.c: Likewise.
* soft-fp/gedf2.c: Likewise.
* soft-fp/gesf2.c: Likewise.
* soft-fp/getf2.c: Likewise.
* soft-fp/ledf2.c: Likewise.
* soft-fp/lesf2.c: Likewise.
* soft-fp/letf2.c: Likewise.
* soft-fp/muldf3.c: Likewise.
* soft-fp/mulsf3.c: Likewise.
* soft-fp/multf3.c: Likewise.
* soft-fp/negdf2.c: Likewise.
* soft-fp/negsf2.c: Likewise.
* soft-fp/negtf2.c: Likewise.
* soft-fp/op-1.h: Likewise.
* soft-fp/op-2.h: Likewise.
* soft-fp/op-4.h: Likewise.
* soft-fp/op-8.h: Likewise.
* soft-fp/op-common.h: Likewise.
* soft-fp/quad.h: Likewise.
* soft-fp/single.h: Likewise.
* soft-fp/soft-fp.h: Likewise.
* soft-fp/subdf3.c: Likewise.
* soft-fp/subsf3.c: Likewise.
* soft-fp/subtf3.c: Likewise.
* soft-fp/truncdfsf2.c: Likewise.
* soft-fp/trunctfdf2.c: Likewise.
* soft-fp/trunctfsf2.c: Likewise.
* soft-fp/trunctfxf2.c: Likewise.
* soft-fp/unorddf2.c: Likewise.
* soft-fp/unordsf2.c: Likewise.
* soft-fp/unordtf2.c: Likewise.
* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
macro.
* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
From-SVN: r207742
Jakub Jelinek [Wed, 12 Feb 2014 16:55:51 +0000 (17:55 +0100)]
re PR middle-end/59737 (ice from optimize_inline_calls)
PR middle-end/59737
* g++.dg/ipa/pr59737.C: New test.
From-SVN: r207735
H.J. Lu [Wed, 12 Feb 2014 16:12:36 +0000 (16:12 +0000)]
Pass --32 to GNU assembler for .long foo@GOTOFF check
PR target/60151
* configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU
assembler.
* configure: Regenerated.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r207731
H.J. Lu [Wed, 12 Feb 2014 16:02:45 +0000 (16:02 +0000)]
Compile g++.dg/opt/pr52727.C with -march=i686 for ia32
* g++.dg/opt/pr52727.C: Compile with -march=i686 for ia32.
From-SVN: r207730
Richard Biener [Wed, 12 Feb 2014 16:01:03 +0000 (16:01 +0000)]
vec.c (vec_prefix::calculate_allocation): Move as inline variant to vec.h.
2014-02-12 Richard Biener <rguenther@suse.de>
* vec.c (vec_prefix::calculate_allocation): Move as
inline variant to vec.h.
(vec_prefix::calculate_allocation_1): New out-of-line version.
* vec.h (vec_prefix::calculate_allocation_1): Declare.
(vec_prefix::m_has_auto_buf): Rename to ...
(vec_prefix::m_using_auto_storage): ... this.
(vec_prefix::calculate_allocation): Inline the easy cases
and dispatch to calculate_allocation_1 which doesn't need the
prefix address.
(va_heap::reserve): Use gcc_checking_assert.
(vec<T, A, vl_embed>::embedded_init): Add argument to initialize
m_using_auto_storage.
(auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
member and adjust.
(vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
(vec<T, va_heap, vl_ptr>::release): Avoid casting.
(vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
From-SVN: r207729
Richard Biener [Wed, 12 Feb 2014 14:50:06 +0000 (14:50 +0000)]
gcse.c (compute_transp): break from loop over canon_modify_mem_list when we found a dependence.
2014-02-12 Richard Biener <rguenther@suse.de>
* gcse.c (compute_transp): break from loop over canon_modify_mem_list
when we found a dependence.
From-SVN: r207726
Thomas Schwinge [Wed, 12 Feb 2014 14:46:41 +0000 (15:46 +0100)]
Fix typo in dg-error invocation.
gcc/testsuite/
* c-c++-common/raw-string-3.c: Fix typo in dg-error invocation.
From-SVN: r207725
Thomas Schwinge [Wed, 12 Feb 2014 14:46:30 +0000 (15:46 +0100)]
Refactor common code into new maybe_fold_stmt function.
gcc/
* gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
common code...
(maybe_fold_stmt): ... into this new function.
* omp-low.c (lower_omp): Update comment.
From-SVN: r207724
Thomas Schwinge [Wed, 12 Feb 2014 14:46:19 +0000 (15:46 +0100)]
Add clobber for object, after last use.
gcc/
* omp-low.c (lower_omp_target): Add clobber for sizes array, after
last use.
From-SVN: r207723
Thomas Schwinge [Wed, 12 Feb 2014 14:46:08 +0000 (15:46 +0100)]
Fix potential ICE (null pointer dereference) in omp-low.c:diagnose_sb_0.
gcc/
* omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
dereference.
gcc/testsuite/
* gcc.dg/cilk-plus/jump-openmp.c: New file.
From-SVN: r207722
James Greenhalgh [Wed, 12 Feb 2014 13:52:02 +0000 (13:52 +0000)]
[ARM] [Churn] Comments on cost tables should have lower-case identifiers.
* config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
identifiers in comments.
(cortexa53_extra_costs): Likewise.
* config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in
comments.
(cortexa7_extra_costs): Likewise.
(cortexa12_extra_costs): Likewise.
(cortexa15_extra_costs): Likewise.
(v7m_extra_costs): Likewise.
From-SVN: r207721
Richard Biener [Wed, 12 Feb 2014 13:36:08 +0000 (13:36 +0000)]
re PR middle-end/60092 (posix_memalign not recognized to derive alias and alignment info)
2014-02-12 Richard Biener <rguenther@suse.de>
PR middle-end/60092
* gimple-low.c (lower_builtin_posix_memalign): Lower conditional
of posix_memalign being successful.
(lower_stmt): Restrict lowering of posix_memalign to when
-ftree-bit-ccp is enabled.
* gcc.dg/torture/pr60092.c: New testcase.
* gcc.dg/tree-ssa/alias-31.c: Disable SRA.
From-SVN: r207720
Senthil Kumar Selvaraj [Wed, 12 Feb 2014 10:39:57 +0000 (10:39 +0000)]
avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.
* config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
From-SVN: r207718
Eric Botcazou [Wed, 12 Feb 2014 10:16:34 +0000 (10:16 +0000)]
re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode)
PR rtl-optimization/60116
* combine.c (try_combine): Fix oversight in previous change.
From-SVN: r207716
Richard Biener [Wed, 12 Feb 2014 09:01:30 +0000 (09:01 +0000)]
re PR fortran/60060 (lto1: internal compiler error: in add_AT_specification, at dwarf2out.c:4096)
2014-02-12 Richard Biener <rguenther@suse.de>
PR lto/60060
* lto-lang.c (lto_write_globals): Do not call
wrapup_global_declarations or emit_debug_global_declarations
but emit debug info for non-function scope variables
directly.
From-SVN: r207715
Eric Botcazou [Wed, 12 Feb 2014 08:49:55 +0000 (08:49 +0000)]
re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode)
PR rtl-optimization/60116
* combine.c (try_combine): Also remove dangling REG_DEAD notes on the
other_insn once the combination has been validated.
From-SVN: r207713
Paolo Carlini [Wed, 12 Feb 2014 08:45:46 +0000 (08:45 +0000)]
re PR c++/60047 (ICE with defaulted copy constructor and virtual base class)
/cp
2014-02-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60047
* method.c (implicitly_declare_fn): A constructor of a class with
virtual base classes isn't constexpr (7.1.5p4).
/testsuite
2014-02-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60047
* g++.dg/cpp0x/pr60047.C: New.
From-SVN: r207712
Jakub Jelinek [Wed, 12 Feb 2014 07:35:50 +0000 (08:35 +0100)]
re PR c/60101 (Long compile times when mixed complex floating point datatypes are used in lengthy expressions)
PR c/60101
* c-common.c (merge_tlist): If copy is true, call new_tlist,
if false, add ADD itself, rather than vice versa.
(verify_tree): For COND_EXPR, don't call merge_tlist with non-zero
copy. For SAVE_EXPR, only call merge_tlist once.
* c-c++-common/pr60101.c: New test.
From-SVN: r207711
GCC Administrator [Wed, 12 Feb 2014 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r207706
Jan Hubicka [Tue, 11 Feb 2014 22:54:21 +0000 (23:54 +0100)]
re PR lto/59468 (ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224)
PR lto/59468
* ipa-utils.h (possible_polymorphic_call_targets): Update prototype
and wrapper.
* ipa-devirt.c: Include demangle.h
(odr_violation_reported): New static variable.
(add_type_duplicate): Update odr_violations.
(maybe_record_node): Add completep parameter; update it.
(record_target_from_binfo): Add COMPLETEP parameter;
update it as needed.
(possible_polymorphic_call_targets_1): Likewise.
(struct polymorphic_call_target_d): Add nonconstruction_targets;
rename FINAL to COMPLETE.
(record_targets_from_bases): Sanity check we found the binfo;
fix COMPLETEP updating.
(possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
parameter, fix computing of COMPLETEP.
(dump_possible_polymorphic_call_targets): Imrove readability of dump; at
LTO time do demangling.
(ipa_devirt): Use nonconstruction_targets; Improve dumps.
* gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
parameter.
(gimple_get_virt_method_for_binfo): Likewise.
* gimple-fold.h (gimple_get_virt_method_for_binfo,
gimple_get_virt_method_for_vtable): Update prototypes.
PR lto/59468
* g++.dg/ipa/devirt-27.C: New testcase.
* g++.dg/ipa/devirt-26.C: New testcase.
From-SVN: r207702
Vladimir Makarov [Tue, 11 Feb 2014 22:00:04 +0000 (22:00 +0000)]
re PR target/49008 (A typo code found in genautomata.c)
2014-02-11 Vladimir Makarov <vmakarov@redhat.com>
PR target/49008
* genautomata.c (add_presence_absence): Fix typo with
{final_}presence_list.
From-SVN: r207701
Michael Meissner [Tue, 11 Feb 2014 21:05:35 +0000 (21:05 +0000)]
re PR target/60137 (Code fails with -mcpu=power8 -O3 -mno-vsx)
[gcc]
2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60137
* config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
for VSX/Altivec vectors that land in GPR registers.
[gcc/testsuite]
2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/60137
* gcc.target/powerpc/pr60137.c: New file.
From-SVN: r207699
Jakub Jelinek [Tue, 11 Feb 2014 20:48:26 +0000 (21:48 +0100)]
re PR fortran/52370 (Spurious "may be used uninitialized" warning for check of optional argument)
PR fortran/52370
* trans-decl.c (gfc_build_dummy_array_decl): Set TREE_NO_WARNING
on decl if sym->attr.optional.
* gfortran.dg/pr52370.f90: New test.
From-SVN: r207698
Uros Bizjak [Tue, 11 Feb 2014 18:59:24 +0000 (19:59 +0100)]
re PR target/59927 (ICE sorry, unimplemented: ms_abi attribute requires -maccumulate-outgoing-args or subtarget optimization implying it)
PR target/59927
Revert
2013-12-15 Uros Bizjak <ubizjak@gmail.com>
PR testsuite/58630
* gcc.target/i386/pr43662.c (dg-options):
Add -maccumulate-outgoing-args.
* gcc.target/i386/pr43869.c (dg-options): Ditto.
* gcc.target/i386/pr57003.c (dg-options): Ditto.
* gcc.target/i386/avx-vzeroupper-16.c (dg-options):
Remove -mtune=generic and add -maccumulate-outgoing-args instead.
* gcc.target/i386/avx-vzeroupper-17.c (dg-options): Ditto.
* gcc.target/i386/avx-vzeroupper-18.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-1.c (dg-options):
Add -maccumulate-outgoing-args.
* gcc.target/x86_64/abi/callabi/func-2a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-2b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect-2a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect-2b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/leaf-1.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/leaf-2.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/pr38891.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-1.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-2.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-3.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-4a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-4b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-5a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-5b.c (dg-options): Ditto.
From-SVN: r207697
Richard Sandiford [Tue, 11 Feb 2014 18:05:01 +0000 (18:05 +0000)]
pr56787.c: Mark as xfail for vect_no_align.
gcc/testsuite/
* gcc.dg/vect/pr56787.c: Mark as xfail for vect_no_align.
From-SVN: r207696
Jakub Jelinek [Tue, 11 Feb 2014 17:46:34 +0000 (18:46 +0100)]
re PR middle-end/59776 (gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865)
PR debug/59776
* tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
around drhs if type conversion to lacc->type is not useless.
* gcc.dg/guality/pr59776.c: New test.
From-SVN: r207695
Uros Bizjak [Tue, 11 Feb 2014 17:39:50 +0000 (18:39 +0100)]
sourcebuild.texi (arm_vfp3_ok): Add missing anchor.
* doc/sourcebuild.texi (arm_vfp3_ok): Add missing anchor.
From-SVN: r207694
Kyrylo Tkachov [Tue, 11 Feb 2014 16:00:19 +0000 (16:00 +0000)]
[AArch64] Wire up Cortex-A57 rtx costs.
* config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
tuning struct.
(cortex-a57.cortex-a53): Likewise.
* config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
From-SVN: r207693
Kyrylo Tkachov [Tue, 11 Feb 2014 15:48:08 +0000 (15:48 +0000)]
[ARM] Adjust thumb2_movhi_insn pattern for -mrestrict-it.
* config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
arm_restrict_it.
From-SVN: r207692