aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2014-02-03altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.Bill Schmidt5-1/+68
gcc: 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec. (altivec_vsumsws): Add handling for -maltivec=be with a little endian target. (altivec_vsumsws_direct): New. (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of gen_altivec_vsumsws. gcc/testsuite: 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/vsums.c: New. * gcc.dg/vmx/vsums-be-order.c: New. From-SVN: r207414
2014-02-03ipa-devirt.c (subbinfo_with_vtable_at_offset, [...]): New functions.Jan Hubicka7-10/+139
* ipa-devirt.c (subbinfo_with_vtable_at_offset, vtable_pointer_value_to_binfo): New functions. * ipa-utils.h (vtable_pointer_value_to_binfo): Declare. * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it. * g++.dg/ipa/devirt-23.C: New testcase. * g++.dg/ipa/devirt-20.C: Fix template. From-SVN: r207413
2014-02-03Daily bump.GCC Administrator1-1/+1
From-SVN: r207412
2014-02-02nios2.md (load_got_register): Initialize GOT pointer from _gp_got instead of ↵Sandra Loosemore3-4/+10
_GLOBAL_OFFSET_TABLE_. 2014-02-02 Sandra Loosemore <sandra@codesourcery.com> gcc/ * config/nios2/nios2.md (load_got_register): Initialize GOT pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_. * config/nios2/nios2.c (nios2_function_profiler): Likewise. libgcc/ * config/nios2/crti.S (_init): Initialize GOT pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_. From-SVN: r207409
2014-02-02re PR c++/37140 (type inherited from base class not recognized)Fabien Chêne4-19/+72
2014-02-02 Fabien Chene <fabien@gcc.gnu.org> PR c++/37140 * parser.c (cp_parser_nonclass_name): Call strip_using_decl and move the code handling dependent USING_DECLs... * name-lookup.c (strip_using_decl): ...Here. 2014-02-02 Fabien Chene <fabien@gcc.gnu.org> PR c++/37140 * g++.dg/template/using27.C: New. * g++.dg/template/using28.C: New. * g++.dg/template/using29.C: New. From-SVN: r207408
2014-02-02re PR c++/37140 (type inherited from base class not recognized)Fabien Chêne1-1/+19
2014-02-02 Fabien Chene <fabien@gcc.gnu.org> PR c++/37140 * parser.c (cp_parser_nonclass_name): Call strip_using_decl and move the code handling dependent USING_DECLs... * name-lookup.c (strip_using_decl): ...Here. 2014-02-02 Fabien Chene <fabien@gcc.gnu.org> PR c++/37140 * g++.dg/template/using27.C: New. * g++.dg/template/using28.C: New. * g++.dg/template/using29.C: New. From-SVN: r207407
2014-02-02ipa-prop.c (update_jump_functions_after_inlining): When type is not ↵Jan Hubicka4-4/+57
preserverd by passthrough, do not propagate the type. * ipa-prop.c (update_jump_functions_after_inlining): When type is not preserverd by passthrough, do not propagate the type. * g++.dg/ipa/devirt-23.C: New testcase. From-SVN: r207405
2014-02-02gcc.pot: Regenerate.Joseph Myers2-9576/+13456
gcc/po: * gcc.pot: Regenerate. libcpp/po: * cpplib.pot: Regenerate. From-SVN: r207404
2014-02-02mips.c (MIPS_GET_FCSR, [...]): New macros.Richard Sandiford2-0/+54
gcc/ * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros. (mips_atomic_assign_expand_fenv): New function. (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define. From-SVN: r207402
2014-02-02extend.texi (__builtin_mips_get_fcsr): Document.Richard Sandiford11-4/+240
gcc/ * doc/extend.texi (__builtin_mips_get_fcsr): Document. (__builtin_mips_set_fcsr): Likewise. * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and MIPS_USI_FTYPE_VOID. * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare (mips16_expand_set_fcsr): Likewise. * config/mips/mips.c (mips16_get_fcsr_stub): New variable. (mips16_set_fcsr_stub): Likewise. (mips16_get_fcsr_one_only_stub): New class. (mips16_set_fcsr_one_only_stub): Likewise. (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions. (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed. (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros. (hard_float): New availability predicate. (mips_builtins): Add get_fcsr and set_fcsr. (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16. * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs. (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants. (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>) (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New patterns. gcc/testsuite/ * gcc.target/mips/get-fcsr-1.c, gcc.target/mips/get-fcsr-2.c, gcc.target/mips/set-fcsr-1.c, gcc.target/mips/set-fcsr-2.c: New tests. From-SVN: r207401
2014-02-02mips.c (mips_one_only_stub): New class.Richard Sandiford2-21/+83
gcc/ * config/mips/mips.c (mips_one_only_stub): New class. (mips_need_mips16_rdhwr_p): Replace with... (mips16_rdhwr_stub): ...this new variable. (mips16_stub_call_address): New function. (mips16_rdhwr_one_only_stub): New class. (mips_expand_thread_pointer): Use mips16_stub_call_address. (mips_output_mips16_rdhwr): Delete. (mips_finish_stub): New function. (mips_code_end): Use it to handle rdhwr stubs. From-SVN: r207400
2014-02-02re PR target/60017 (Struct not returned correctly)Uros Bizjak4-5/+52
PR target/60017 * config/i386/i386.c (classify_argument): Fix handling of bit_offset when calculating size of integer atomic types. testsuite/ChangeLog: PR target/60017 * gcc.c-torture/execute/pr60017.c: New test. From-SVN: r207399
2014-02-02Fix a typo in commentsH.J. Lu2-1/+5
* ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments. From-SVN: r207398
2014-02-02ChangeLog: Fix whitespace.Uros Bizjak2-99/+88
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r207397
2014-02-02re PR fortran/57033 (ICE on extended derived type and default initialization)Mikael Morin4-1/+35
fortran/ PR fortran/57033 * primary.c (gfc_convert_to_structure_constructor): Avoid null pointer dereference. testsuite/ PR fortran/57033 * gfortran.dg/default_initialization_7.f90: New test. From-SVN: r207396
2014-02-02Daily bump.GCC Administrator1-1/+1
From-SVN: r207393
2014-02-01re PR fortran/59906 (error: size of variable '<anonymous>' is too large)Paul Thomas5-1/+66
2014-02-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/59906 * trans-stmt.c (gfc_add_loop_ss_code): In the case of character SS_REFERENCE, use gfc_conv_string_parameter to ensure that a pointer to the string is stored. * trans-expr.c (gfc_conv_expr_reference): Likewise, use gfc_conv_string_parameter to ensure that a pointer to is passed to the elemental function. 2014-02-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/59906 * gfortran.dg/elemental_subroutine_9.f90 : New test From-SVN: r207389
2014-02-01ssa-dom-thread-4.c: Adjust expected MIPS output.Richard Sandiford2-6/+7
gcc/testsuite/ * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Adjust expected MIPS output. From-SVN: r207386
2014-02-01pr49718.C: Use -mno-relax-pic-calls for MIPS.Richard Sandiford2-0/+5
gcc/testsuite/ * g++.dg/pr49718.C: Use -mno-relax-pic-calls for MIPS. From-SVN: r207385
2014-02-01vector26.C: Restrict scan-assembler test to ! c++98.Richard Sandiford2-1/+5
gcc/testsuite/ * g++.dg/ext/vector26.C: Restrict scan-assembler test to ! c++98. From-SVN: r207384
2014-02-01re PR c++/51219 (ICE with empty bit-fields)Paolo Carlini4-5/+24
/cp 2014-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51219 * typeck2.c (process_init_constructor_record): Just skip unnamed bit-fields. /testsuite 2014-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51219 * g++.dg/init/bitfield5.C: New. From-SVN: r207383
2014-02-01re PR tree-optimization/60003 (wrong code with ↵Jakub Jelinek6-11/+69
__builtin_setjmp/__builtin_longjmp and inlining) PR tree-optimization/60003 * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label. * profile.c (branch_prob): Use gimple_call_builtin_p to check for BUILT_IN_SETJMP_RECEIVER. * tree-inline.c (copy_bb): Call notice_special_calls. * gcc.c-torture/execute/pr60003.c: New test. From-SVN: r207382
2014-02-01Daily bump.GCC Administrator1-1/+1
From-SVN: r207378
2014-01-31re PR bootstrap/59985 (stage2/3 compare error on lto-streamer-in.o)Vladimir Makarov4-1/+84
2014-01-31 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/59985 * lra-constraints.c (process_alt_operands): Update reload_sum only on the first pass. 2014-01-31 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/59985 * gcc.target/arm/pr59985.C: New. From-SVN: r207375
2014-01-31re PR sanitizer/59410 (tsan tests fail with address randomization disabled)Jakub Jelinek28-42/+61
PR sanitizer/59410 * lib/tsan-dg.exp (tsan_init): Instead of not running any tsan tests if trivial testcase doesn't run, set dg-do-what-default to compile. (tsan_finish): Restore dg-do-what-default. * g++.dg/tsan/atomic_free.C: Remove dg-do line. * g++.dg/tsan/fd_close_norace2.C: Likewise. * g++.dg/tsan/default_options.C: Likewise. * g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise. * g++.dg/tsan/atomic_free2.C: Likewise. * g++.dg/tsan/cond_race.C: Likewise. * g++.dg/tsan/fd_close_norace.C: Likewise. * g++.dg/tsan/benign_race.C: Likewise. * c-c++-common/tsan/fd_pipe_race.c: Likewise. * c-c++-common/tsan/simple_race.c: Likewise. * c-c++-common/tsan/mutexset1.c: Likewise. * c-c++-common/tsan/thread_leak2.c: Likewise. * c-c++-common/tsan/tls_race.c: Likewise. * c-c++-common/tsan/write_in_reader_lock.c: Likewise. * c-c++-common/tsan/race_on_barrier2.c: Likewise. * c-c++-common/tsan/free_race2.c: Likewise. * c-c++-common/tsan/thread_leak.c: Likewise. * c-c++-common/tsan/thread_leak1.c: Likewise. * c-c++-common/tsan/race_on_barrier.c: Likewise. * c-c++-common/tsan/free_race.c: Likewise. * c-c++-common/tsan/sleep_sync.c: Likewise. * c-c++-common/tsan/tiny_race.c: Likewise. * c-c++-common/tsan/race_on_mutex2.c: Likewise. * c-c++-common/tsan/atomic_stack.c: Likewise. * c-c++-common/tsan/race_on_mutex.c: Likewise. Adjust line numbers in dg-output regexps. * c-c++-common/tsan/simple_stack.c: Likewise. From-SVN: r207371
2014-01-31re PR middle-end/60004 (Conditional return within transaction causes ICE)Richard Henderson4-3/+21
PR middle-end/60004 * tree-eh.c (lower_try_finally_switch): Delay lowering finally block until after else_eh is processed. * g++.dg/tm/pr60004.C: New. From-SVN: r207367
2014-01-31re PR ipa/59469 (LLVM build failure with gcc LTO)Jason Merrill2-0/+4
PR c++/59469 * pt.c (mark_decl_instantiated): Call mark_needed. From-SVN: r207366
2014-01-31* g++.dg/tls/thread_local8.C: Require tls.Jason Merrill1-0/+1
From-SVN: r207364
2014-01-31re PR c++/58672 ([c++11] ICE with thread_local and variable of broken class)Jason Merrill3-0/+16
PR c++/58672 * decl2.c (handle_tls_init): Handle null init fn. From-SVN: r207363
2014-01-31re PR c++/55800 (Link failure with thread_local in unnamed namespace)Jason Merrill3-1/+17
PR c++/55800 * decl2.c (get_tls_init_fn): Copy DECL_EXTERNAL from the variable. From-SVN: r207360
2014-01-31re PR c++/59082 (ICE with duplicate (virtual) base)Paolo Carlini4-1/+29
/cp 2014-01-31 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59082 * class.c (build_vfield_ref): Early return error_mark_node if TYPE_VFIELD (type) is null. (build_base_path): Check return value of build_vfield_ref. /testsuite 2014-01-31 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59082 * g++.dg/inherit/crash4.C: New. From-SVN: r207359
2014-01-31[multiple changes]Arnaud Charlet5-8/+45
2014-01-31 Robert Dewar <dewar@adacore.com> * exp_ch9.adb: Minor reformatting. 2014-01-31 Emmanuel Briot <briot@adacore.com> * g-comlin.adb (Set_Command_Line): Take the switches configuration from the Command_Line_Config. 2014-01-31 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Refinement_Clause): Guard against a malformed refinement clause. 2014-01-31 Vincent Celier <celier@adacore.com> * projects.texi: Add more documentation about others used as an index in indexed attributes. From-SVN: r207358
2014-01-31[multiple changes]Arnaud Charlet5-10/+98
2014-01-31 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Minor update. * gnat_rm.texi: Add example to Restriction_Warnings documentation. * exp_util.adb: Minor reformatting. 2014-01-31 Ed Schonberg <schonberg@adacore.com> * exp_ch9.adb (Expand_Entry_Barrier): Warn if the barrier depends on data that is not private to the protected object, and potentially modifiable in unsynchronized fashion. From-SVN: r207357
2014-01-31[multiple changes]Arnaud Charlet6-95/+136
2014-01-31 Yannick Moy <moy@adacore.com> * erroutc.adb (Validate_Specific_Warnings): Remove special case for GNATprove_Mode. 2014-01-31 Robert Dewar <dewar@adacore.com> * prj-attr.ads (First_Attribute_Of): Returns Empty_Attribute for Unknown_Package. * sem_ch6.adb, sem_attr.adb: Minor comment addition. 2014-01-31 Hristian Kirtchev <kirtchev@adacore.com> * exp_util.adb (Build_Allocate_Deallocate_Proc): Rewrite the logic that generates a runtime check to determine the controlled status of the object about to be allocated or deallocated. Class-wide types now always use a runtime check even if they appear as generic actuals. (Find_Object): Detect a special case that involves interface class-wide types because the object appears as a complex expression. From-SVN: r207356
2014-01-31[multiple changes]Arnaud Charlet5-24/+51
2014-01-31 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Process_Formals): In Ada2012 mode, place subprogram with an incomplete untagged formals on the list of private dependents, to verify that the type is properly completed in the private part. * sem_attr.adb: Code clean up. 2014-01-31 Robert Dewar <dewar@adacore.com> * exp_ch6.adb: Minor reformatting. 2014-01-31 Vincent Celier <celier@adacore.com> * prj-attr.adb (First_Attribute_Of): Return Unknown_Attribute when Pkg is unknown. From-SVN: r207354
2014-01-31[multiple changes]Arnaud Charlet4-12/+38
2014-01-31 Hristian Kirtchev <kirtchev@adacore.com> * sem_res.adb (Resolve_Entity_Name): Comment reformatting. Allow volatile objects in various generated checks. 2014-01-31 Ed Schonberg <schonberg@adacore.com> * sem_attr.adb (Analyze_Attribute, case 'Update): For a record component association, set the etype of the identifier, for SPARK use. 2014-01-31 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Has_Visibility_Of_Subprogram): If type is not declared in a package, not checks can apply to the subprogram. From-SVN: r207353
2014-01-31[multiple changes]Arnaud Charlet8-19/+82
2014-01-31 Robert Dewar <dewar@adacore.com> * erroutc.adb (Validate_Specific_Warnings): Warnings are controlled -gnatw.W. * gnat_ugn.texi: Document new warnings controlled by -gnatw.w. * opt.ads (Warn_On_Warnings_Off): Now controls more cases. 2014-01-31 Arnaud Charlet <charlet@adacore.com> * exp_disp.adb: Update comments. 2014-01-31 Yannick Moy <moy@adacore.com> * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration, Save_Global_References): Guard access to expression in aspect. 2014-01-31 Yannick Moy <moy@adacore.com> * sem_prag.adb (Analyze_Pragma/Pragma_SPARK_Mode): Issue an error when the pragma is applied to a generic unit, a generic declaration, or inside a generic. 2014-01-31 Yannick Moy <moy@adacore.com> * sem_ch8.adb (Analyze_Subprogram_Renaming): Set SPARK_Mode on renaming entity. From-SVN: r207352
2014-01-31[multiple changes]Arnaud Charlet8-67/+97
2014-01-31 Robert Dewar <dewar@adacore.com> * exp_ch9.adb, s-tassta.adb, s-tposen.adb, s-tposen.ads: Minor reformatting. 2014-01-31 Tristan Gingold <gingold@adacore.com> * exp_disp.adb: Add a historic note. 2014-01-31 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Warn_On_Useless_Assignments): Add call to Process_Deferred_References. 2014-01-31 Yannick Moy <moy@adacore.com> * erroutc.adb (Validate_Specific_Warnings): Do not issue a message for ineffective pragma Warnings(Off) in GNATprove_Mode. From-SVN: r207351
2014-01-31s-taskin.ads: Minor comment fix.Bob Duff3-18/+40
2014-01-31 Bob Duff <duff@adacore.com> * s-taskin.ads: Minor comment fix. * s-tassta.adb (Abort_Dependents): Don't abort all dependents; just direct dependents. If this is actually an abort, each task will take care of aborting its dependents, so all dependents will get aborted, as before. However, when this is called the second time from Vulnerable_Complete_Master "for convenience" (i.e. to kill off tasks waiting at terminate alternatives), aborting indirect dependents is wrong, because it causes some unrelated tasks to get aborted. From-SVN: r207350
2014-01-31[multiple changes]Arnaud Charlet17-334/+214
2014-01-31 Robert Dewar <dewar@adacore.com> * sem_ch4.adb: Minor reformatting. 2014-01-31 Robert Dewar <dewar@adacore.com> * exp_ch2.adb: New calling sequence for Is_LHS. * frontend.adb: Add call to Process_Deferred_References. * lib-xref.ads, lib-xref.adb (Process_Deferred_References): New. (Deferred_References): New table. * sem_ch8.adb (Find_Direct_Name): Make deferred reference table entries. (Find_Expanded_Name): Ditto. * sem_res.adb: New calling sequence for Is_LHS. * sem_util.ads, sem_util.adb (Is_LHS): New calling sequence. * sem_warn.adb: Call Process_Deferred_References before issuing warnings. 2014-01-31 Tristan Gingold <gingold@adacore.com> * exp_util.adb (Corresponding_Runtime_Package): Restrict the use of System_Tasking_Protected_Objects_Single_Entry. * exp_ch9.adb (Build_Simple_Entry_Call): Remove Mode parameter of Protected_Single_Entry_Call. (Expand_N_Timed_Entry_Call): Remove single_entry case. * exp_disp.adb (Make_Disp_Asynchronous_Select_Body): Remove single_entry case. (Make_Disp_Timed_Select_Body): Likewise. * rtsfind.ads (RE_Timed_Protected_Single_Entry_Call): Remove. * s-tposen.adb (Send_Program_Error, PO_Do_Or_Queue): Remove Self_Id parameter. (Wakeup_Entry_Caller): Remove Self_ID and New_State parameters. (Wait_For_Completion_With_Timeout): Remove. (Protected_Single_Entry_Call): Remove Mode parameter (always Simple_Call). (Service_Entry): Remove Self_Id constant (not used anymore). (Timed_Protected_Single_Entry_Call): Remove. * s-tposen.ads (Timed_Protected_Single_Entry_Call): Remove. (Protected_Single_Entry_Call): Remove Mode parameter. From-SVN: r207349
2014-01-31re PR c++/59646 (ICE with volatile in initializer list)Jason Merrill3-1/+22
PR c++/59646 * call.c (convert_like_real) [ck_aggr]: Set TARGET_EXPR_LIST_INIT_P. [ck_list]: Check for error_mark_node. (build_aggr_conv): Set LOOKUP_NO_NARROWING and check_narrowing. From-SVN: r207346
2014-01-31re PR c++/57043 (converting overloaded complex function pow in C++11 is ↵Jason Merrill3-2/+30
ambiguous) PR c++/57043 * pt.c (fn_type_unification): Don't do DEDUCE_EXACT check during partial ordering. From-SVN: r207345
2014-01-31* c-c++-common/tsan/simple_race.c: Made test less flaky.Max Ostapenko2-1/+27
From-SVN: r207344
2014-01-31m512-check.h: Use correct rounding values.Ilya Tocar2-0/+14
gcc/testsuite/ * gcc.target/i386/m512-check.h: Use correct rounding values. From-SVN: r207343
2014-01-31gcc/Ilya Tocar78-1031/+1140
* config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT), (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF), (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined in smmintrin.h, remove them. (_MM_FROUND_NO_EXC): Same as above, bit also wrong value. * config/i386/i386.c (ix86_print_operand): Split sae and rounding. * config/i386/i386.md (ROUND_SAE): Fix value. * config/i386/predicates.md (const_4_or_8_to_11_operand): New. (const48_operand): New. * config/i386/subst.md (round), (round_expand): Use const_4_or_8_to_11_operand. (round_saeonly), (round_saeonly_expand): Use const48_operand. gcc/testsuite/ * gcc.target/i386/avx-1.c: Use correct rounding values. * gcc.target/i386/avx512f-vaddpd-1.c: Ditto. * gcc.target/i386/avx512f-vaddps-1.c: Ditto. * gcc.target/i386/avx512f-vaddsd-1.c: Ditto. * gcc.target/i386/avx512f-vaddss-1.c: Ditto. * gcc.target/i386/avx512f-vcvtdq2ps-1.c: Ditto. * gcc.target/i386/avx512f-vcvtpd2dq-1.c: Ditto. * gcc.target/i386/avx512f-vcvtpd2ps-1.c: Ditto. * gcc.target/i386/avx512f-vcvtpd2udq-1.c: Ditto. * gcc.target/i386/avx512f-vcvtps2dq-1.c: Ditto. * gcc.target/i386/avx512f-vcvtps2udq-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsd2si-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsd2si64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsd2ss-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsd2usi-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsd2usi64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsi2sd64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsi2ss-1.c: Ditto. * gcc.target/i386/avx512f-vcvtsi2ss64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtss2si-1.c: Ditto. * gcc.target/i386/avx512f-vcvtss2si64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtss2usi-1.c: Ditto. * gcc.target/i386/avx512f-vcvtss2usi64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtudq2ps-1.c: Ditto. * gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Ditto. * gcc.target/i386/avx512f-vcvtusi2ss-1.c: Ditto. * gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Ditto. * gcc.target/i386/avx512f-vdivpd-1.c: Ditto. * gcc.target/i386/avx512f-vdivps-1.c: Ditto. * gcc.target/i386/avx512f-vdivsd-1.c: Ditto. * gcc.target/i386/avx512f-vdivss-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXsd-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXss-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddsubXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfmaddsubXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXsd-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXss-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubaddXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfmsubaddXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXsd-1.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXss-1.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXpd-1.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXps-1.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXsd-1.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXss-1.c: Ditto. * gcc.target/i386/avx512f-vmulpd-1.c: Ditto. * gcc.target/i386/avx512f-vmulps-1.c: Ditto. * gcc.target/i386/avx512f-vmulsd-1.c: Ditto. * gcc.target/i386/avx512f-vmulss-1.c: Ditto. * gcc.target/i386/avx512f-vscalefpd-1.c: Ditto. * gcc.target/i386/avx512f-vscalefps-1.c: Ditto. * gcc.target/i386/avx512f-vscalefsd-1.c: Ditto. * gcc.target/i386/avx512f-vscalefss-1.c: Ditto. * gcc.target/i386/avx512f-vsqrtpd-1.c: Ditto. * gcc.target/i386/avx512f-vsqrtps-1.c: Ditto. * gcc.target/i386/avx512f-vsqrtsd-1.c: Ditto. * gcc.target/i386/avx512f-vsqrtss-1.c: Ditto. * gcc.target/i386/avx512f-vsubpd-1.c: Ditto. * gcc.target/i386/avx512f-vsubps-1.c: Ditto. * gcc.target/i386/avx512f-vsubsd-1.c: Ditto. * gcc.target/i386/avx512f-vsubss-1.c: Ditto. * gcc.target/i386/sse-13.c: Ditto. * gcc.target/i386/sse-14.c: Ditto. * gcc.target/i386/sse-22.c: Ditto. * gcc.target/i386/sse-23.c: Ditto. From-SVN: r207342
2014-01-31constraints.md (Yk): Swap meaning with k.Ilya Tocar8-100/+181
gcc/ * config/i386/constraints.md (Yk): Swap meaning with k. * config/i386/i386.md (movhi_internal): Change Yk to k. (movqi_internal): Ditto. (*k<logic><mode>): Ditto. (*andhi_1): Ditto. (*andqi_1): Ditto. (kandn<mode>): Ditto. (*<code>hi_1): Ditto. (*<code>qi_1): Ditto. (kxnor<mode>): Ditto. (kortestzhi): Ditto. (kortestchi): Ditto. (kunpckhi): Ditto. (*one_cmplhi2_1): Ditto. (*one_cmplqi2_1): Ditto. * config/i386/sse.md (): Change k to Yk. (avx512f_load<mode>_mask): Ditto. (avx512f_blendm<mode>): Ditto. (avx512f_store<mode>_mask): Ditto. (avx512f_storeu<ssemodesuffix>512_mask): Ditto. (avx512f_storedqu<mode>_mask): Ditto. (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>): Ditto. (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto. (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto. (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto. (avx512f_maskcmp<mode>3): Ditto. (avx512f_fmadd_<mode>_mask<round_name>): Ditto. (avx512f_fmadd_<mode>_mask3<round_name>): Ditto. (avx512f_fmsub_<mode>_mask<round_name>): Ditto. (avx512f_fmsub_<mode>_mask3<round_name>): Ditto. (avx512f_fnmadd_<mode>_mask<round_name>): Ditto. (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto. (avx512f_fnmsub_<mode>_mask<round_name>): Ditto. (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto. (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto. (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto. (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto. (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto. (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto. (vec_extract_lo_<mode>_maskm): Ditto. (vec_extract_hi_<mode>_maskm): Ditto. (avx512f_vternlog<mode>_mask): Ditto. (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto. (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto. (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto. (avx512f_<code>v8div16qi2_mask): Ditto. (avx512f_<code>v8div16qi2_mask_store): Ditto. (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto. (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto. (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto. (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto. (*avx512pf_gatherpf<mode>sf_mask): Ditto. (*avx512pf_gatherpf<mode>df_mask): Ditto. (*avx512pf_scatterpf<mode>sf_mask): Ditto. (*avx512pf_scatterpf<mode>df_mask): Ditto. (avx512cd_maskb_vec_dupv8di): Ditto. (avx512cd_maskw_vec_dupv16si): Ditto. (avx512f_vpermi2var<mode>3_maskz): Ditto. (avx512f_vpermi2var<mode>3_mask): Ditto. (avx512f_vpermi2var<mode>3_mask): Ditto. (avx512f_vpermt2var<mode>3_maskz): Ditto. (*avx512f_gathersi<mode>): Ditto. (*avx512f_gathersi<mode>_2): Ditto. (*avx512f_gatherdi<mode>): Ditto. (*avx512f_gatherdi<mode>_2): Ditto. (*avx512f_scattersi<mode>): Ditto. (*avx512f_scatterdi<mode>): Ditto. (avx512f_compress<mode>_mask): Ditto. (avx512f_compressstore<mode>_mask): Ditto. (avx512f_expand<mode>_mask): Ditto. * config/i386/subst.md (mask): Change k to Yk. (mask_scalar_merge): Ditto. (sd): Ditto. gcc/testsuite/ * gcc.target/i386/avx512f-inline-asm.c: Swap Yk and k. * gcc.target/i386/avx512f-kmovw-1.c: Also allow k0. From-SVN: r207341
2014-01-31extend.texi (Vector Extensions): Document ?: in C++.Marc Glisse2-0/+17
2014-01-31 Marc Glisse <marc.glisse@inria.fr> gcc/ * doc/extend.texi (Vector Extensions): Document ?: in C++. From-SVN: r207340
2014-01-31Fix a typo.Jakub Jelinek1-1/+1
From-SVN: r207339
2014-01-31re PR middle-end/59990 (incorrect memcpy optimization)Richard Biener4-23/+71
2014-01-31 Richard Biener <rguenther@suse.de> PR middle-end/59990 * builtins.c (fold_builtin_memory_op): Make sure to not use a floating-point mode or a boolean or enumeral type for the copy operation. * gcc.dg/torture/pr59990.c: New testcase. From-SVN: r207338
2014-01-31tsan-dg.exp (tsan_init): Try to run a trivial program, if it fails don't run ↵Jakub Jelinek2-1/+10
any tsan tests. * lib/tsan-dg.exp (tsan_init): Try to run a trivial program, if it fails don't run any tsan tests. From-SVN: r207337