aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2013-10-09[AArch64] Implement vclz ADVSimd intrinsic.Alex Velenko6-134/+664
From-SVN: r203314
2013-10-09[AArch64] Implement vadd_f64 and vsub_f64 ADVSimd intrinsics.Alex Velenko5-0/+251
From-SVN: r203313
2013-10-09[AArch64] Implemented vdiv_f64 ADVSimd intrinsic.Alex Velenko4-0/+375
From-SVN: r203312
2013-10-09[AArch64] vneg ADVSimd intrinsics rewritten in C.Alex Velenko5-109/+676
From-SVN: r203310
2013-10-09arm.c (arm_output_mi_thunk): Use plus_constant.Renlin Li2-1/+5
[gcc/] 2013-10-09 Renlin Li <Renlin.Li@arm.com> * config/arm/arm.c (arm_output_mi_thunk): Use plus_constant. From-SVN: r203309
2013-10-09s390.c (s390_register_info_stdarg_fpr): Remove packed stack special handling.Andreas Krebbel2-20/+24
2013-10-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_register_info_stdarg_fpr): Remove packed stack special handling. (s390_frame_info, s390_emit_prologue, s390_emit_epilogue): Switch back to fixed stack slots for FPRs saved due to stdarg. From-SVN: r203305
2013-10-09s390.c (s390_frame_info): Restructure function.Andreas Krebbel2-61/+53
2013-10-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_frame_info): Restructure function. From-SVN: r203304
2013-10-09s390.c (struct s390_frame_layout): New field gpr_save_slots.Andreas Krebbel2-197/+503
2013-10-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (struct s390_frame_layout): New field gpr_save_slots. (cfun_save_arg_fprs_p, cfun_gpr_save_slot): New macros. (s390_reg_clobbered_rtx, s390_regs_ever_clobbered): Change type of regs_ever_clobbered to char*. (s390_regs_ever_clobbered): Check crtl->saves_all_registers instead of cfun->has_nonlocal_label. Ignore frame related restore INSNs. (s390_register_info): Enable FPR save slots. Move/Copy some functionality into ... (s390_register_info_gprtofpr, s390_register_info_stdarg_fpr) (s390_register_info_stdarg_gpr, s390_optimize_register_info): New function. (s390_frame_info): Do gpr slot allocation here now. stdarg does not imply a stack frame. (s390_init_frame_layout): Remove variable clobbered_regs. (s390_update_register_info): Remove function. (s390_hard_regno_rename_ok): Call-saved regs without a save slot cannot be used for register renaming. (s390_hard_regno_scratch_ok): New function. (TARGET_HARD_REGNO_SCRATCH_OK): Define target hook. (s390_initial_elimination_offset): Change offset calculation of the return address pointer. (save_gprs): Deal with only r6 being saved from the call-saved regs. (restore_gprs): Set frame related flag. (s390_save_gprs_to_fprs, s390_restore_gprs_from_fprs): New functions. (s390_emit_prologue): Call s390_register_info instead of s390_update_frame_layout. Call s390_save_gprs_to_fprs. (s390_emit_epilogue): Call s390_restore_gprs_from_fprs. (s390_optimize_prologue): Call s390_optimize_register_info. Try to remove also FPR slot save/restore INSNs. Remove frame related flags from restore INSNs. From-SVN: r203303
2013-10-08rl78-expand.md (movqi): use operands[] not operandN.DJ Delorie2-21/+24
* config/rl78/rl78-expand.md (movqi): use operands[] not operandN. (movhi): Likewise. From-SVN: r203300
2013-10-08rl78.c (rl78_print_operand_1): Change %c to %C to avoid conflict with the MI ↵DJ Delorie4-32/+40
use of %c. * config/rl78/rl78.c (rl78_print_operand_1): Change %c to %C to avoid conflict with the MI use of %c. * config/rl78/rl78-real.md: change %c to %C throughout. * config/rl78/rl78-virt.md: Likewise. From-SVN: r203299
2013-10-09Daily bump.GCC Administrator1-1/+1
From-SVN: r203298
2013-10-08compiler: Error for qualified ID as field name in struct literal.Ian Lance Taylor3-9/+50
From-SVN: r203292
2013-10-08i386.c (ix86_option_override_internal): Switch to SSE math for -ffast-math ↵Jan Hubicka2-0/+18
when target ISA supports SSE2. * config/i386/i386.c (ix86_option_override_internal): Switch to SSE math for -ffast-math when target ISA supports SSE2. From-SVN: r203291
2013-10-08re PR c++/58568 ([c++11] ICE with lambda in invalid template variable ↵Paolo Carlini6-5/+26
definition) /cp 2013-10-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58568 * lambda.c (begin_lambda_type): Check return value of xref_tag for error_mark_node; tidy. * decl.c (grokdeclarator): Tweak error message. /testsuite 2013-10-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58568 * g++.dg/cpp0x/lambda/lambda-ice10.C: New. * g++.old-deja/g++.mike/misc9.C: Adjust. From-SVN: r203289
2013-10-08re PR c++/58665 (ICE with using incomplete struct)Paolo Carlini4-10/+19
/cp 2013-10-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58665 Revert: 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58448 * pt.c (tsubst): Use error_operand_p on parameter t. /testsuite 2013-10-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58665 Revert: 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58448 * g++.dg/template/crash117.C: New. From-SVN: r203288
2013-10-08htm-nofloat-2.c: Add -mzarch to asm options.Andreas Krebbel2-1/+5
2013-10-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/htm-nofloat-2.c: Add -mzarch to asm options. From-SVN: r203276
2013-10-08tree-flow.h: Remove some prototypes.Andrew MacLeod8-52/+89
* tree-flow.h: Remove some prototypes. * tree.h: Remove some protypes, add a couple. * tree.c (using_eh_for_cleanups_flag, using_eh_for_cleanups, using_eh_for_cleanups_p): Add interface routines for front ends. * tree-eh.h: New file. Add protoptyes. * tree-eh.c (using_eh_for_cleanups_p, using_eh_for_cleanups): Delete. (add_stmt_to_eh_lp_fn): Make static. (lower_try_finally): Use new using_eh_for_cleanups_p. * emit-rtl.c: Include tree-eh.h. * gimple.h: Include tree-eh.h. From-SVN: r203273
2013-10-08re PR tree-optimization/58480 (Use attribute((nonnull)) to optimize callers)Marc Glisse4-15/+85
2013-10-08 Marc Glisse <marc.glisse@inria.fr> PR tree-optimization/58480 gcc/ * tree-vrp.c (infer_nonnull_range): New function. (infer_value_range): Call infer_nonnull_range. gcc/testsuite/ * gcc.dg/tree-ssa/pr58480.c: New file. From-SVN: r203271
2013-10-08re PR tree-optimization/58619 (ICE building in gen_combined_adhoc_loc)Dehao Chen2-1/+10
PR tree-optimization/58619 2013-10-08 Dehao Chen <dehao@google.com> * tree-inline.c (copy_phis_for_bb): Combine location data only if non-null. From-SVN: r203269
2013-10-08re PR target/58423 ([ARM]ICE with shrink-wrap-sibcall.c on a15/neon/hard)Zhenqiang Chen2-4/+13
2013-10-08 Zhenqiang Chen <zhenqiang.chen@linaro.org> PR target/58423 * config/arm/arm.c (arm_emit_ldrd_pop): Attach RTX_FRAME_RELATED_P on INSN. From-SVN: r203267
2013-10-08Daily bump.GCC Administrator1-1/+1
From-SVN: r203259
2013-10-07rs6000.c (altivec_expand_vec_perm_const_le): New.Bill Schmidt2-0/+93
2013-10-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (altivec_expand_vec_perm_const_le): New. (altivec_expand_vec_perm_const): Call it. From-SVN: r203247
2013-10-07vector.md (mov<mode>): Emit permuted move sequences for LE VSX loads and ↵Bill Schmidt8-1/+530
stores at expand time. gcc: 2013-10-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vector.md (mov<mode>): Emit permuted move sequences for LE VSX loads and stores at expand time. * config/rs6000/rs6000-protos.h (rs6000_emit_le_vsx_move): New prototype. * config/rs6000/rs6000.c (rs6000_const_vec): New. (rs6000_gen_le_vsx_permute): New. (rs6000_gen_le_vsx_load): New. (rs6000_gen_le_vsx_store): New. (rs6000_gen_le_vsx_move): New. * config/rs6000/vsx.md (*vsx_le_perm_load_v2di): New. (*vsx_le_perm_load_v4si): New. (*vsx_le_perm_load_v8hi): New. (*vsx_le_perm_load_v16qi): New. (*vsx_le_perm_store_v2di): New. (*vsx_le_perm_store_v4si): New. (*vsx_le_perm_store_v8hi): New. (*vsx_le_perm_store_v16qi): New. (*vsx_xxpermdi2_le_<mode>): New. (*vsx_xxpermdi4_le_<mode>): New. (*vsx_xxpermdi8_le_V8HI): New. (*vsx_xxpermdi16_le_V16QI): New. (*vsx_lxvd2x2_le_<mode>): New. (*vsx_lxvd2x4_le_<mode>): New. (*vsx_lxvd2x8_le_V8HI): New. (*vsx_lxvd2x16_le_V16QI): New. (*vsx_stxvd2x2_le_<mode>): New. (*vsx_stxvd2x4_le_<mode>): New. (*vsx_stxvd2x8_le_V8HI): New. (*vsx_stxvd2x16_le_V16QI): New. gcc/testsuite: 2013-10-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/pr43154.c: Skip for ppc64 little endian. * gcc.target/powerpc/fusion.c: Likewise. From-SVN: r203246
2013-10-07arm-cores.def (cortex-a53): Use cortex tuning.Renlin Li2-1/+5
[gcc/] 2013-10-07 Renlin Li <Renlin.Li@arm.com> * config/arm/arm-cores.def (cortex-a53): Use cortex tuning. From-SVN: r203241
2013-10-07s390.c (s390_register_info): Make the call-saved FPR loop to work also for ↵Andreas Krebbel4-11/+75
31bit ABI. 2013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_register_info): Make the call-saved FPR loop to work also for 31bit ABI. Save the stack pointer for frame_size > 0. 2013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/htm-nofloat-2.c: New testcase. From-SVN: r203240
2013-10-072013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel5-21/+73
* config/s390/s390.md ("tbegin", "tbegin_nofloat", "tbegin_retry") ("tbegin_retry_nofloat", "tend", "tabort", "tx_assist"): Remove constraint letters from expanders. ("tbegin_retry", "tbegin_retry_nofloat"): Change predicate of the retry count to general_operand. ("tabort"): Give operand 0 a mode. ("tabort_1"): Add mode and constraint letter for operand 0. * doc/extend.texi: Fix protoype of __builtin_non_tx_store. 2013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/htm-1.c: Add more tests to cover different operand types. From-SVN: r203239
2013-10-07Daily bump.GCC Administrator1-1/+1
From-SVN: r203235
2013-10-06re PR c++/58126 (No diagnostic when inheriting an uninitialized const or ↵Paolo Carlini5-8/+66
reference member) /cp 2013-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58126 * class.c (check_bases): Propagate CLASSTYPE_READONLY_FIELDS_NEED_INIT and CLASSTYPE_REF_FIELDS_NEED_INIT from bases to derived. * init.c (diagnose_uninitialized_cst_or_ref_member_1): Extend error messages about uninitialized const and references members to mention the base class. /testsuite 2013-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58126 * g++.dg/init/uninitialized1.C: New. From-SVN: r203232
2013-10-06re PR c++/56060 (ICE on invalid code in type_dependent_expression_p, at ↵Paolo Carlini4-0/+29
cp/pt.c:19742) /cp 2013-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56060 * pt.c (type_dependent_expression_p): Handle EXPR_PACK_EXPANSION. /testsuite 2013-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56060 * g++.dg/cpp0x/variadic144.C: New. From-SVN: r203229
2013-10-06Daily bump.GCC Administrator1-1/+1
From-SVN: r203227
2013-10-05Daily bump.GCC Administrator1-1/+1
From-SVN: r203223
2013-10-04re PR c++/58560 ([c++11] ICE with auto in typedef)Paolo Carlini4-1/+17
/cp 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58560 * typeck2.c (build_functional_cast): Use error_operand_p on exp. /testsuite 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58560 * g++.dg/cpp0x/auto39.C: New. From-SVN: r203220
2013-10-04re PR c++/58503 ([c++11] ICE with invalid range in range-based for-loop)Paolo Carlini5-5/+50
/cp 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58503 * parser.c (cp_parser_perform_range_for_lookup): If eventually either *begin or *end is type-dependent, return NULL_TREE. (do_range_for_auto_deduction): If cp_parser_perform_range_for_lookup returns NULL_TREE, don't actually do_auto_deduction. /testsuite 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58503 * g++.dg/cpp0x/range-for26.C: New. * g++.dg/cpp0x/range-for27.C: Likewise. From-SVN: r203219
2013-10-04re PR c++/58448 (ICE on invalid: tree_class_check_failed)Paolo Carlini4-1/+20
/cp 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58448 * pt.c (tsubst): Use error_operand_p on parameter t. /testsuite 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58448 * g++.dg/template/crash117.C: New. From-SVN: r203218
2013-10-04tree-ssa-threadedge.c: Fix some trailing whitespace problems.Jeff Law2-33/+88
* tree-ssa-threadedge.c: Fix some trailing whitespace problems. * tree-ssa-threadedge.c (thread_through_normal_block): Broken out of ... (thread_across_edge): Here. Call it. From-SVN: r203217
2013-10-04compiler: Use backend interface for temporary reference expressions.Chris Manghane4-8/+34
* go-gcc.cc (Backend::convert_expression): New function. From-SVN: r203209
2013-10-04dwarf2out.c (dw_sra_loc_expr): Release addr_table entries when discarding a ↵Cary Coutant2-7/+26
location list expression (or a... gcc/ * dwarf2out.c (dw_sra_loc_expr): Release addr_table entries when discarding a location list expression (or a piece of one). From-SVN: r203206
2013-10-04Fix changelog.Jan Hubicka1-1/+1
From-SVN: r203205
2013-10-04* ChangeLog: Some further fixes.Uros Bizjak1-4/+0
From-SVN: r203199
2013-10-04ChangeLog: Fix ChangeLog.Uros Bizjak2-20/+26
* ChangeLog: Fix ChangeLog. * testsuite/ChangeLog: Ditto. From-SVN: r203198
2013-10-04Daily bump.GCC Administrator1-1/+1
From-SVN: r203197
2013-10-03re PR c++/19476 (Missed null checking elimination with new)Marc Glisse5-2/+25
2013-10-04 Marc Glisse <marc.glisse@inria.fr> PR c++/19476 gcc/cp/ * decl.c (cxx_init_decl_processing): Set operator_new_flag. gcc/testsuite/ * g++.dg/tree-ssa/pr19476-5.C: New file. * g++.dg/tree-ssa/pr19476-1.C: Mention pr19476-5.C. From-SVN: r203194
2013-10-03re PR c++/58584 ([c++11] ICE with invalid argument for alignas)Paolo Carlini5-3/+36
/cp 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58584 * decl2.c (save_template_attributes): Handle error_mark_node as *attr_p argument. (cp_check_const_attributes): Likewise for attributes. * parser.c (cp_parser_std_attribute_spec): When alignas_expr is an error_mark_node call cp_parser_skip_to_end_of_statement. /testsuite 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58584 * g++.dg/cpp0x/gen-attrs-55.C: New. From-SVN: r203193
2013-10-03re PR c++/33911 (attribute deprecated vs. templates)Easwaran Raman4-1/+33
2013-10-03 Easwaran Raman <eraman@google.com> PR c++/33911 * parser.c (cp_parser_init_declarator): Do not drop attributes of template member functions. 2013-10-03 Easwaran Raman <eraman@google.com> PR c++/33911 * g++.dg/ext/attribute47.C: New. From-SVN: r203174
2013-10-03i386.c (ix86_issue_rate): Pentium4, Nocona has issue rate of 2.Jan Hubicka2-6/+42
* i386.c (ix86_issue_rate): Pentium4, Nocona has issue rate of 2. Core2, Corei7 and Haswell has issue rate of 4. (ix86_adjust_cost): Remove ATOM case; fix core2/corei7/Haswell case. From-SVN: r203172
2013-10-03i386.c (ix86_option_override_internal): Do not enable ↵Jan Hubicka2-18/+6
accumulate-outgoing-args when producing unwind info. * i386.c (ix86_option_override_internal): Do not enable accumulate-outgoing-args when producing unwind info. From-SVN: r203171
2013-10-03lra-constraints.c (insert_move_for_subreg): New function extracted from ↵Wei Mi2-17/+105
simplify_operand_subreg. 2013-10-03 Wei Mi <wmi@google.com> * lra-constraints.c (insert_move_for_subreg): New function extracted from simplify_operand_subreg. (simplify_operand_subreg): Add reload for paradoxical subreg. From-SVN: r203169
2013-10-03ipa-inline-analysis.c (find_foldable_builtin_expect): Find the candidate of ↵Rong Xu2-0/+90
builtin_expect such that we should fix the size/time... * ipa-inline-analysis.c (find_foldable_builtin_expect): Find the candidate of builtin_expect such that we should fix the size/time estimation. (estimate_function_body_sizes): Do the acutally size/time fix-up for builtin_expect. From-SVN: r203168
2013-10-03predict.c (tree_predict_by_opcode): Get the probability for builtin_expect ↵Rong Xu8-8/+42
from param builtin_expect_probability. * predict.c (tree_predict_by_opcode): Get the probability for builtin_expect from param builtin_expect_probability. * params.def (BUILTIN_EXPECT_PROBABILITY): New parameter. * predict.def (PRED_BUILTIN_EXPECT_RELAXED): Fix comments. * doc/invoke.texi: Add documentation for builtin-expect-probability. * gcc.target/i386/cold-attribute-2.c: Fix the test by using original probability. * gcc.dg/tree-ssa/ipa-split-5.c: Ditto. * gcc.dg/tree-ssa/ipa-split-6.c: Ditto. --This li (t)ene, and those below, will be ignored-- M gcc/params.def M gcc/predict.def M gcc/ChangeLog M gcc/testsuite/gcc.dg/tree-ssa/ipa-split-5.c M gcc/testsuite/gcc.dg/tree-ssa/ipa-split-6.c M gcc/testsuite/gcc.target/i386/cold-attribute-2.c M gcc/predict.c M gcc/doc/invoke.texi From-SVN: r203167
2013-10-03re PR c++/58510 ([c++11] ICE with multiple non-static data initializations ↵Marek Polacek4-3/+27
in union) PR c++/58510 cp/ * init.c (sort_mem_initializers): Splice when giving an error. testsuite/ * g++.dg/cpp0x/pr58510.C: New test. From-SVN: r203165