aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-16cosmetics in preparation for merge with trunkibm/kelvin-pr48344Kelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@233471 138bc75d-0d04-0410-961f-82ee72b054a4
2016-02-11changes in response to v3 patch feedbackKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@233347 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-27replace some spaces with a tabKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232889 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-26comment editsKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232814 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-26fix spelling errorKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232813 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-26refining algorithm and commentaryKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232806 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-22more cosmeticsKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232757 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-22more cosmeticsKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232756 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-22cosmetic improvementsKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232753 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-20moved testcase to powerpc target-specific deja gnu directoryKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232633 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-14more cleaning to prepare for patch distributionKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232387 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-14simplify and stylize for patch distributionKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232386 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-14added dejagnu test and removed NOISEKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232374 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-13undef KELVIN_NOISEKelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232300 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-13exchanged order of handle_common_deferred_options() and process_options()Kelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232299 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07This branch holds development associated with work on bugzilla pr 48344.Kelvin Nilsen
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-pr48344@232135 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Add a test for PR66655Nick Clifton
PR target/66655 * g++.dg/pr66655.C: New test. * g++.dg/pr66655_1.cc: Test support file. * g++.dg/pr66655.h: Test header file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232133 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Use std::addressof in insert iterators, allocators and promisesJonathan Wakely
PR libstdc++/69105 PR libstdc++/69106 PR libstdc++/69114 * include/bits/stl_iterator.h (back_insert_iterator, front_insert_iterator, insert_iterator): Use __addressof (LWG 2324). * include/bits/uses_allocator.h (__use_alloc): Use __addressof. * include/std/future (__future::base::_State_baseV2::__setter): Likewise. * include/std/scoped_allocator (__outermost): Likewise. * testsuite/20_util/scoped_allocator/69114.cc: New. * testsuite/20_util/uses_allocator/69114.cc: New. * testsuite/30_threads/promise/69106.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232129 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-072016-01-07 Dominique d'Humieres <dominiq@lps.ens.fr>Dominique d'Humieres
PR fortran/66680 gfortran.dg/gomp/pr66680.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232127 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Add round_nimm_scalar_predicate and use xBmH.J. Lu
Add round_nimm_scalar_predicate for scalar SSE integer to floating point conversions since round_nimm_predicate is for vector operand. round_constraint can't be used on vector SSE patterns since it is mapped to "vm". The "xBm" constraint must be used in this case. gcc/ PR target/69171 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>): Use the "xBm" constraint. (float<sseintvecmodelower><mode>2<mask_name><round_name): Likewise. (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate. (sse_cvtsi2ssq<round_name>): Likewise. (sse_cvtss2si<round_name>): Likewise. (sse_cvtss2siq<round_name>): Likewise. (sse2_cvtsi2sdq<round_name>): Likewise. (sse2_cvtsd2si<round_name>): Likewise. (sse2_cvtsd2siq<round_name>): Likewise. * config/i386/subst.md (round_nimm_scalar_predicate): New predicate. gcc/testsuite/ PR target/69171 * gcc.target/i386/pr69171-1.c: New test. * gcc.target/i386/pr69171-2.c: Likewise. * gcc.target/i386/pr69171-3.c: Likewise. * gcc.target/i386/pr69171-4.c: Likewise. * gcc.target/i386/pr69171-5.c: Likewise. * gcc.target/i386/pr69171-6.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232126 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Fix SSA inconsistencies with invalid asm reg names (PR67639)Bernd Schmidt
PR middle-end/67639 * varasm.c (make_decl_rtl): Mark invalid register vars as DECL_EXTERNAL. testsuite/ PR middle-end/67639 * c-c++-common/pr67639.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232125 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Fix a minor issue found by a static analyzer (PR66206).Bernd Schmidt
PR rtl-optimization/66206 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx. All callers changed. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232124 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07 PR tree-optimization/69141Jakub Jelinek
* tree-ssa-pre.c: Include langhooks.h. (eliminate_dom_walker::before_dom_children): Use lang_hooks.decl_printable_name instead of cgraph_node::get ()->name (). * g++.dg/opt/pr69141.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232123 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07 PR middle-end/68960Jakub Jelinek
* gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy it and DECL_ALIGN too. * testsuite/libgomp.c/pr68960.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232122 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-07Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232120 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06 * gcc.target/sparc/20151219-1.c: Skip in 64-bit mode.Eric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232116 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06correct openacc.h filenameNathan Sidwell
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232114 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Reorder function types.Robert Suchanek
* config/mips/mips-ftypes.def: Sort to lexicographical order. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232113 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Remove noexcept from function template that can throwJonathan Wakely
PR libstdc++/69092 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>): Remove _GLIBCXX_NOEXCEPT. testsuite/21_strings/basic_string/cons/char/69092.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232112 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06 PR target/69140Uros Bizjak
* config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid depending on frame_pointer_needed before remaining integer and SSE registers are saved. testsuite/ChangeLog: PR target/69140 * gcc.target/i386/pr69140.c: New test git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232111 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06C: fix reported range of invalid unary dereference.David Malcolm
gcc/c/ChangeLog: * c-parser.c (c_parser_unary_expression): For dereferences, build a combined location before calling build_indirect_ref, so that error reports cover the full range, manually updating the c_expr src_range. gcc/testsuite/ChangeLog: * gcc.dg/bad-dereference.c: New test case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232110 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06[gcc]Bill Schmidt
2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M mode iterator with VSX_M2. (*p9_vecstore_<mode>): Likewise. (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR. (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise. (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise. (define_split for VSX_LE128 stores): Likewise. (define_peephole2 for TImode LE swaps): Likewise. (define_split for VSX_LE128 post-reload stores): Likewise. [gcc/testsuite] 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/p9-lxvx-stxvx-3.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232109 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06 * openacc.c (acc_on_device): Add routine pragma for C++ wrapper.Nathan Sidwell
* testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232104 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Fix libatomic multilib parallel build (PR other/67627)Szabolcs Nagy
The all-multi target may be built in parallel with the %_.lo targets which generate make dependencies that are parsed during the build of all-multi. This patch forces all-multi to only run after the *_.lo targets are done. libatomic: PR other/67627 * Makefile.am (all-multi): Add dependency. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232102 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Rename bits/mutex.h to avoid clashing with glibcJonathan Wakely
* include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * include/bits/mutex.h: Rename to bits/std_mutex.h. * include/std/condition_variable: Adjust include. * include/std/mutex: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232101 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06* gcc.dg/atomic-invalid-2.c: Remove duplicated content.Andreas Schwab
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232100 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06 PR sanitizer/69099Marek Polacek
* c-convert.c (convert) [INTEGER_TYPE]: Drop ARG. Don't pass ARG to ubsan_instrument_float_cast. Fold EXPR. Use NULL_TREE instead of NULL. * convert.c (convert_to_integer_1): Adjust call to ubsan_instrument_float_cast. Use NULL_TREE instead of NULL. * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use EXPR instead of ARG. * ubsan.h (ubsan_instrument_float_cast): Adjust declaration. * gcc.dg/ubsan/float-cast-overflow-atomic.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232099 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Ada: add XVE/XVU parallel types to lexical scopesPierre-Marie de Rodat
This change adds TYPE_DECL nodes for XVE/XVU parallel types to lexical scopes so that these types are properly scoped in the debug information. gcc/ada/ChangeLog: * gcc-interface/utils.c: Bump copyright year. (rest_of_record_type_compilation): Add XVE/XVU parallel types to the current lexical scope. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232098 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-06Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232096 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-052016-01-05 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore
PR 1078 gcc/ * doc/extend.texi (RL78 Variable Attributes): New section. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232092 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05 PR c/69104Marek Polacek
* builtins.c (get_memmodel): Use expansion point location rather than the input location. Call warning_at rather than warning. (expand_builtin_atomic_compare_exchange): Likewise. (expand_builtin_atomic_load): Likewise. (expand_builtin_atomic_store): Likewise. (expand_builtin_atomic_clear): Likewise. * gcc.dg/atomic-invalid-2.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232090 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05libiberty: {count,dup,write}argv: constify argv input slightlyMike Frysinger
Would be more useful if we could use "const char * const *", but there's a long standing bug where gcc warns about incompatible pointers when you try to pass in "char **". We can at least constify the array itself as gcc will not warn in that case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232089 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05Use vector_operand on SSE with 16b memory operandH.J. Lu
Add vector_operand, which is vector_memory_operand or register_operand, and use it, instead of nonimmediate_operand, in SSE patterns with 16-byte memory operand. gcc/ PR target/68991 * config/i386/i386.c (ix86_expand_vector_logical_operator): Replace nonimmediate_operand with vector_operand. * config/i386/predicates.md (vector_operand): New predicate. (general_vector_operand): Replace nonimmediate_operand with vector_operand. * config/i386/sse.md: Replace nonimmediate_operand with vector_operand and m constraint with Bm constraint on SSE patterns with 16-byte memory operand. * config/i386/subst.md (round_nimm_predicate): Replace nonimmediate_operand with vector_operand. (round_saeonly_nimm_predicate): Likewise. (round_saeonly_nimm_scalar_predicate): New. gcc/testsuite/ PR target/68991 * gcc.target/i386/pr68991.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232088 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05Add vector_memory_operand and "Bm" constraintH.J. Lu
SSE vector arithmetic and logic instructions only accept aligned memory operand. This patch adds vector_memory_operand and "Bm" constraint for aligned SSE memory operand. They are applied to SSE plusminus and any_logic patterns. gcc/ PR target/68991 * config/i386/constraints.md (Bm): New constraint. * config/i386/predicates.md (vector_memory_operand): New predicate. * config/i386/sse.md: Replace xm with xBm in plusminus and any_logic patterns. gcc/testsuite/ PR target/68991 * g++.dg/pr68991-1.C: New test. * g++.dg/pr68991-2.C: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232087 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05libiberty: dupargv: rewrite to use xstrdupMike Frysinger
This func is basically open coding the xstrdup function, so gut it and use that directly. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232086 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-052016-01-05 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore
PR 1078 gcc/ * doc/extend.texi (V850 Function Attributes): New section. (V850 Variable Attributes): New section. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232085 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-052016-01-05 Olivier Hainque <hainque@adacore.com>Olivier Hainque
* config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1 specificities. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232082 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-052016-01-05 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore
PR 1078 gcc/ * doc/extend.texi (MicroBlaze Function Attributes): Document interrupt_handler and fast_interrupt attributes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232081 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05[PATCH v2] ia64: don't use dynamic relocations for local symbolsSergei Trofimovich
PR other/60465 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64 for local symbolic operands. * config/ia64/predicates.md (local_symbolic_operand64): New predicate. PR other/60465 * gcc.target/ia64/pr60465-gprel64.c: New test. * gcc.target/ia64/pr60465-gprel64-c37.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232080 138bc75d-0d04-0410-961f-82ee72b054a4
2016-01-05[combine][v2] Canonicalise (r + r) to (r << 1) to aid recognitionKyrylo Tkachov
PR rtl-optimization/68651 * combine.c (combine_simplify_rtx): Canonicalize x + x into x << 1. * gcc.target/aarch64/pr68651_1.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232077 138bc75d-0d04-0410-961f-82ee72b054a4