- 15 Jun, 2015 4 commits
-
-
2015-06-15 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for -std={gnu99,c99}. * testsuite/libgomp.c/for-1.c: Same. * testsuite/libgomp.c/for-2.c: Same. * testsuite/libgomp.c/for-3.c: Same. * testsuite/libgomp.c/pr35625.c: Same. * testsuite/libgomp.c/pr39154.c: Same. * testsuite/libgomp.c/simd-16.c: Same. * testsuite/libgomp.c/simd-17.c: Same. From-SVN: r224479
Tom de Vries committed -
gcc/testsuite/ChangeLog: 2015-06-15 Andre Vehreschild <vehre@gmx.de> PR fortran/44672 PR fortran/45440 PR fortran/57307 * gfortran.dg/allocate_with_source_3.f90: Removed check for unimplemented error. * gfortran.dg/allocate_with_source_7.f08: New test. * gfortran.dg/allocate_with_source_8.f08: New test. gcc/fortran/ChangeLog: 2015-06-15 Andre Vehreschild <vehre@gmx.de> PR fortran/44672 PR fortran/45440 PR fortran/57307 * gfortran.h: Extend gfc_code.ext.alloc to carry a flag indicating that the array specification has to be taken from expr3. * resolve.c (resolve_allocate_expr): Add F2008 notify and flag indicating source driven array spec. (resolve_allocate_deallocate): Check for source driven array spec, when array to allocate has no explicit array spec. * trans-array.c (gfc_array_init_size): Get lower and upper bound from a tree array descriptor, except when the source expression is an array-constructor which is fixed to be one-based. (retrieve_last_ref): Extracted from gfc_array_allocate(). (gfc_array_allocate): Enable allocate(array, source= array_expression) as specified by F2008:C633. (gfc_conv_expr_descriptor): Add class tree expression into the saved descriptor for class arrays. * trans-array.h: Add temporary array descriptor to gfc_array_allocate (). * trans-expr.c (gfc_conv_procedure_call): Special handling for _copy() routine translation, that comes without an interface. Third and fourth argument are now passed by value. * trans-stmt.c (gfc_trans_allocate): Get expr3 array descriptor for temporary arrays to allow allocate(array, source = array_expression) for array without array specification. From-SVN: r224477
Andre Vehreschild committed -
From-SVN: r224476
Shiva Chen committed -
From-SVN: r224475
GCC Administrator committed
-
- 14 Jun, 2015 7 commits
-
-
PR ipa/66181 * lto.c (compare_tree_sccs_1): Do not compare TYPE_NO_FORCE_BLK. * lto-streamer-out.c (hash_tree): Do not hash TYPE_NO_FORCE_BLK. * tree-streamer-out.c (pack_ts_type_common_value_fields): Do not stream TYPE_NO_FORCE_BLK. * tree-streamer-in.c (unpack_ts_type_common_value_fields): Likewise. From-SVN: r224471
Jan Hubicka committed -
gcc/ * rtl.h (classify_insn): Declare. * emit-rtl.c (classify_insn): Move to... * rtl.c: ...here and add generator support. * gensupport.h (get_emit_function, needs_barrier_p): Declare. * gensupport.c (get_emit_function, needs_barrier_p): New functions. * genemit.c (gen_emit_seq): New function. (gen_expand, gen_split): Use it. From-SVN: r224470
Richard Sandiford committed -
From-SVN: r224468
Joseph Myers committed -
2015-06-14 Richard Biener <rguenther@suse.de> * crontab: Disable snapshots from the 4.8 branch. From-SVN: r224466
Richard Biener committed -
re PR middle-end/66325 (ICE in gcc.c-torture/execute/930408-1.c, verify_type fails with --enable-checking=yes on arm-none-eabi) PR middle-end/66325 * c-decl.c (start_enum): Set TYPE_PACKED consistently among type variants. From-SVN: r224463
Jan Hubicka committed -
2015-06-14 Thomas Koenig <tkoenig@gcc.gnu.org> * intrinsic.texi: Change \leq to < in descrition of imaginary part in argument to log. From-SVN: r224462
Thomas Koenig committed -
From-SVN: r224461
GCC Administrator committed
-
- 13 Jun, 2015 8 commits
-
-
* tree.c (make_vector_stat): Fix comment to state that the function returns a VECTOR_CST. From-SVN: r224457
Patrick Palka committed -
* call.c: Remove comment documenting the long-deleted function build_method_call. From-SVN: r224456
Patrick Palka committed -
gcc/c-family/ChangeLog: PR c++/65168 * c-common.c (c_common_truthvalue_conversion): Warn when converting an address of a reference to a truth value. gcc/cp/ChangeLog: PR c++/65168 * typeck.c (cp_build_binary_op): Warn when comparing an address of a reference against NULL. gcc/testsuite/ChangeLog: PR c++/65168 g++.dg/warn/Walways-true-3.C: New test. From-SVN: r224455
Patrick Palka committed -
gcc/ * gensupport.h (add_implicit_parallel): Declare. * genrecog.c (add_implicit_parallel): Move to... * gensupport.c (add_implicit_parallel): ...here. (process_one_cond_exec): Use it. * genemit.c (gen_insn): Likewise. From-SVN: r224454
Richard Sandiford committed -
2015-06-13 Tom de Vries <tom@codesourcery.com> * gcc.dg/parloops-exit-first-loop-alt-4.c: New test. * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: New test. From-SVN: r224453
Tom de Vries committed -
2015-06-13 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Add comment. * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same. * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Add comment. (N): Define. (main): Use N instead of hardcoded constants. * gcc.dg/parloops-exit-first-loop-alt-2.c: Add comment. (main): Remove superfluous attributes. * gcc.dg/parloops-exit-first-loop-alt-3.c: Same. * gcc.dg/parloops-exit-first-loop-alt.c: Same. From-SVN: r224452
Tom de Vries committed -
gcc: PR bootstrap/66448 * passes.c (rest_of_decl_compilation): Do not register globals for early debug if they are declared in built-ins. From-SVN: r224451
Iain Sandoe committed -
From-SVN: r224450
GCC Administrator committed
-
- 12 Jun, 2015 16 commits
-
-
PR c++/65719 * pt.c (tsubst_decl) [VAR_DECL]: Mark namespace-scope variables as DECL_NOT_REALLY_EXTERN. From-SVN: r224442
Jason Merrill committed -
From-SVN: r224431
Aldy Hernandez committed -
* ifcvt.c (noce_try_store_flag_constants): Use std::swap instead of manually swapping. (noce_try_cmove_arith): Likewise. (noce_get_alt_condition): Likewise. From-SVN: r224429
Kyrylo Tkachov committed -
From-SVN: r224425
Jonathan Wakely committed -
From-SVN: r224416
Jonathan Wakely committed -
PR libstdc++/66464 * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length): Return 4 not 3. From-SVN: r224415
Jonathan Wakely committed -
2015-06-12 Venkataramanan Kumar <venkataramanan.kumar@amd.com> * common/config/i386/i386-common.c (OPTION_MASK_ISA_MWAITX_SET): New. (ix86_handle_option): Handle mwaitx. * config.gcc (i[34567]86-*-*): Add mwaitxintrin.h, (x86_64-*-*): Likewise. * config/i386/mwaitxintrin.h: New header. * config/i386/cpuid.h (bit_MWAITX): Define. * config/i386/driver-i386.c (host_detect_local_cpu): Detect MWAITX support. * config/i386/i386.opt (mwaitx): New. * config/i386/i386-builtin-types.def (VOID_FTYPE_UNSIGNED_ UNSIGNED_UNSIGNED): New function type. * config/i386/i386-c.c: Define __MWAITX__ if needed. * config/i386/i386.c (ix86_target_string): Define -mmwaitx option. (PTA_MWAITX): New. (ix86_option_override_internal): Handle new option. (processor_alias_table): Added PTA_MWAITX. (ix86_valid_target_attribute_inner_p): Add OPT_mmwaitx. (ix86_builtins): Add IX86_BUILTIN_MWAITX, IX86_BUILTIN_MONITORX. (ix86_expand_builtin): Handle IX86_BUILTIN_MWAITX and IX86_BUILTIN_MONITORX built-ins. * config/i386/i386.h (TARGET_MWAITX): New. * config/i386/i386.md (unspecv): Add UNSPEC_MWAITX and UNSPEC_MONITORX. (mwaitx): New pattern. (monitorx_<mode>): New pattern. * config/i386/x86intrin.h: Include mwaitxintrin.h. * doc/extend.texi: Document monitorx and mwaitx builtins. * doc/invoke.texi: Document -mmwaitx option. gcc/testsuite 2015-06-12 Venkataramanan Kumar <venkataramanan.kumar@amd.com> * gcc.target/i386/monitorx.c: New. * gcc.target/i386/sse-12.c: Add -mmwaitx. * 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. * g++.dg/other/i386-2.C: Ditto. * g++.dg/other/i386-3.C: Ditto. From-SVN: r224414
Venkataramanan Kumar committed -
The PowerPC, AIX, Alpha, IA64 implementations of atomic_word.h are in no way different from what can be achieved with the generic rewrite in Patch 1 of this series - delete these. 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/cpu/alpha/atomic_word.h: Remove. * config/cpu/ia64/atomic_word.h: Remove. * config/cpu/powerpc/atomic_word.h: Remove. * config/os/aix/atomic_word.h: Remove. * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]: Use generic definition. From-SVN: r224413
Ramana Radhakrishnan committed -
The PowerPC, AIX, Alpha, IA64 implementations of atomic_word.h are in no way different from what can be achieved with the generic rewrite in Patch 1 of this series - delete these. 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/cpu/alpha/atomic_word.h: Remove. * config/cpu/ia64/atomic_word.h: Remove. * config/cpu/powerpc/atomic_word.h: Remove. * config/os/aix/atomic_word.h: Remove. * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]: Use generic definition. From-SVN: r224412
Ramana Radhakrishnan committed -
This provides proper definitions for _GLIBCXX_READ_MEM_BARRIER and _GLIBCXX_WRITE_MEM_BARRIER, rewrites the guards in terms of proper atomic extensions and removes internal uses of _GLIBCXX_READ_MEM_BARRIER and _GLIBCXX_WRITE_MEM_BARRIER and replaces them with equivalent atomics. 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/66200 PR c++/66192 * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define (_GLIBCXX_WRITE_MEM_BARRIER): Likewise * include/bits/shared_ptr_base.h: Use ACQ_REL barrier. * include/ext/atomicity.h: Likewise. * include/tr1/shared_ptr.h: Likewise. * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics. Update comment. (__set_and_release): Likewise. * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for line numbers. * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Likewise. From-SVN: r224411
Ramana Radhakrishnan committed -
* emit-rtl.c (need_atomic_barrier_p): Mask model with MEMMODEL_BASE_MASK. Remove MEMMODEL_SYNC_* cases. From-SVN: r224410
Uros Bizjak committed -
* lto-lang.c (lto_type_for_size): Include intN types. (lto_type_for_mode): Likewise. From-SVN: r224408
DJ Delorie committed -
* dbxout.c (xcoff_debug_hooks): Provide a function for register_main_translation_unit hook. From-SVN: r224407
David Edelsohn committed -
From-SVN: r224406
GCC Administrator committed -
2015-06-11 Martin Sebor <msebor@redhat.com> PR sanitizer/65479 * dwarf.c (struct line): Add new field idx. (line_compare): Use it. (add_line): Set it. (read_line_info): Reset it. From-SVN: r224402
Martin Sebor committed -
* config/rs6000/rs6000.c (rs6000_pre_atomic_barrier): Remove SYNC variants cases from switch. (rs6000_post_atomic_barrier): Same. (rs6000_expand_atomic_compare_and_swap): Use memmodel_base. (rs6000_expand_atomic_exchange): Same. (rs6000_expand_atomic_op): Same. * config/rs6000/sync.md (mem_thread_fence): Use memodel_base. Remove SYNC variants cases from switch. (atomic_load): Same. (atomic_store): Same. From-SVN: r224401
David Edelsohn committed
-
- 11 Jun, 2015 5 commits
-
-
* include/std/tuple (__is_tuple_like_impl): Disambiguate array in debug and profile modes. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests for swap in C++11 and later. From-SVN: r224397
Jonathan Wakely committed -
* config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto. From-SVN: r224396
John David Anglin committed -
2015-06-11 Steve Ellcey <sellcey@imgtec.com> * gcc.dg/tree-prof/stringop-2.c: Fix ifdef __mips. From-SVN: r224394
Steve Ellcey committed -
PR bootstrap/66448 * dwarf2out.c (check_die): Check for common duplicate attributes. (add_location_or_const_value_attribute): Do not add duplicate attributes. (gen_formal_parameter_die): Do not add DW_AT_artificial the second time around. (gen_struct_or_union_type_die): Bail early if TREE_ASM_WRITTEN. (gen_type_die_with_usage): Call check_die. (dwarf2out_decl): Only call check_die() when ENABLE_CHECKING. From-SVN: r224393
Aldy Hernandez committed -
* dwarf2out.c (prune_unused_types): Handle unused top-level limbo dies. From-SVN: r224391
Jason Merrill committed
-