aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-01-23re PR fortran/64726 ([OpenACC] ICE with -fopenacc and reduction(+:a))Tobias Burnus4-1/+24
2015-01-23 Tobias Burnus <burnus@net-b.de> PR fortran/64726 * trans-openmp.c (gfc_trans_oacc_combined_directive): Fix loop generation. 2015-01-23 Tobias Burnus <burnus@net-b.de> PR fortran/64726 * gfortran.dg/goacc/combined_loop.f90: New. From-SVN: r220028
2015-01-23MAINTAINERS (Write After Approval): Add myself.Braden Obrzut2-0/+5
2015-01-23 Braden Obrzut <admin@maniacsvault.net> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r220027
2015-01-23re PR fortran/61933 (Inquire on internal units)Jerry DeLisle2-0/+39
2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/61933 * gfortran.dg/make_unit.f90: New test. From-SVN: r220026
2015-01-23re PR fortran/61933 (Inquire on internal units)Jerry DeLisle2-1/+6
2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/61933 * gfortran.dg/negative_unit_int8.f: Update. From-SVN: r220025
2015-01-23re PR fortran/61933 (Inquire on internal units)Jerry DeLisle2-2/+12
2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/61933 * io/inquire.c (inquire_via_unit): Set existing to true for any negative unit that is currently connected and any positive units within range of KIND=4 value. The unit value for any out of range case that may occur if the user is using a KIND=8 will have been set to -2 which is reserved and can never be opened, and therefore the unit does not exist. From-SVN: r220024
2015-01-23re PR fortran/61933 (Inquire on internal units)Jerry DeLisle3-22/+142
2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/61933 * libgfortran.h: * trans-io.c (set_parameter_value): Delete use of has_iostat. Redefine to not generate any runtime error check calls. (set_parameter_value_chk): Rename of the former set_parameter_value with the runtime error checks and fix whitespace. (set_parameter_value_inquire): New function that builds a runtime conditional block to set the INQUIRE common parameter block unit number to -2 when unit numbers exceed positive KIND=4 limits. (gfc_trans_open): Whitespace. For unit, use the renamed set_parameter_value_chk. (gfc_trans_close): Likewise use renamed function. (build_filepos): Whitespace and use renamed function. (gfc_trans_inquire): Whitespace and for unit use set_parameter_value and set_parameter_value_inquire. (gfc_trans_wait): Remove p->iostat from call to set_parameter_value. Use new set_parameter_value_chk for unit. (build_dt): Use the new set_parameter_value without p->iostat and fix whitespace. Use set_parameter_value_chk for unit. From-SVN: r220023
2015-01-23re PR go/64595 (go programs abort when debug info is stripped)Ian Lance Taylor5-8/+105
PR go/64595 * go.1, gofmt.1: New files. * Makefile.am (man_MANS): New variable. * Makefile.in: Rebuild. From-SVN: r220022
2015-01-23Daily bump.GCC Administrator1-1/+1
From-SVN: r220021
2015-01-22gets-chk.c: Declare prototype for gets in C11 mode.Matthias Klose2-0/+9
2015-01-22 Matthias Klose <doko@ubuntu.com> * gets-chk.c: Declare prototype for gets in C11 mode. From-SVN: r220018
2015-01-22Remove unwanted fileJeff Law1-0/+0
From-SVN: r220016
2015-01-22re PR target/52076 (bloated code for setting single bits in bitfields on m68k)Jeff Law7-5/+92
PR target/52076 * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to improve code density for small immediate to memory case. (insv): Better handle bitfield assignments when the field is being set to all ones. * config/m68k/predicates.md (reg_or_pow2_m1_operand): New operand predicate. PR target/52076 * gcc.target/m68k/pr52076-1.c: New test. * gcc.target/m68k/pr52076-2.c: New test. From-SVN: r220015
2015-01-22gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit for ↵Rainer Orth3-3/+17
!TARGET_LIBC_PROVIDES_SSP version and... * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit for !TARGET_LIBC_PROVIDES_SSP version and -fstack-protector-{all,strong,explicit} otherwise. * config/freebsd.h (LINK_SSP_SPEC): Handle -fstack-protector-{strong,explicit}. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r220014
2015-01-22* tsan/tsan_rtl.h: Cherry pick upstream r226829.Jakub Jelinek2-1/+5
From-SVN: r220013
2015-01-22re PR rtl-optimization/64688 (internal compiler error: Max. number of ↵Uros Bizjak2-1/+2
generated reload insns per insn is achieved (90)) 2015-22-01 Uros Bizjak <ubizjak@gmail.com> PR target/64688 PR target/64477 (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1. From-SVN: r220012
2015-01-22re PR ipa/64694 (FAIL: 23_containers/unordered_set/insert/hash_policy.cc)Jan Hubicka2-1/+8
PR ipa/64694 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of heap. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> From-SVN: r220011
2015-01-22re PR rtl-optimization/64557 (get_addr in true_dependence_1 cannot handle ↵Wei Mi2-0/+14
VALUE inside an expr) 2015-01-22 Wei Mi <wmi@google.com> PR rtl-optimization/64557 * dse.c (record_store): Call get_addr for mem_addr. (check_mem_read_rtx): Likewise. From-SVN: r220010
2015-01-22compiler: Avoid infinite recursion when describing initialization loops.Ian Lance Taylor1-2/+4
Fixes infinite recursion from golang/go#7558. From-SVN: r220009
2015-01-22* fold-const.c (const_binop): Add early return for non-tcc_binary.Eric Botcazou2-1/+9
From-SVN: r220007
2015-01-22toplev.c (init_local_tick): Process the failure when read fails for random_seed.Chen Gang2-1/+6
* toplev.c (init_local_tick): Process the failure when read fails for random_seed. From-SVN: r220006
2015-01-22ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for 'pretty_name' to ↵Chen Gang2-29/+39
avoid memory overflow. * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for 'pretty_name' to avoid memory overflow. From-SVN: r220005
2015-01-22unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of "(char *)" to ↵Chen Gang2-1/+6
avoid qualifier warning by 'xgcc'... * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of "(char *)" to avoid qualifier warning by 'xgcc' compiling. From-SVN: r220004
2015-01-22re PR tree-optimization/64728 (internal compiler error: SSA corruption)Richard Biener4-1/+44
2015-01-22 Richard Biener <rguenther@suse.de> PR middle-end/64728 * tree-ssa-coalesce.c (coalesce_partitions): Do not perform abnormal coalescing on undefined SSA names. * gcc.dg/torture/pr64728.c: New testcase. From-SVN: r220003
2015-01-22re PR rtl-optimization/64688 (internal compiler error: Max. number of ↵Uros Bizjak4-2/+85
generated reload insns per insn is achieved (90)) PR target/64688 PR target/64477 * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints for alternative 3. testsuite/ChangeLog: PR target/64688 * g++.dg/pr64688.C: New test. From-SVN: r220000
2015-01-22chkp-always_inline.c (f1): Make static to avoid errors with -fpic.Ilya Enkovich2-1/+6
gcc/testsuite/ * gcc.target/i386/chkp-always_inline.c (f1): Make static to avoid errors with -fpic. From-SVN: r219997
2015-01-22make fold ignore decl_with_vis.symtab_nodeTrevor Saunders2-2/+9
gcc/ PR middle-end/63325 * fold-const.c (fold_checksum_tree): Don't include expr.decl_with_vis.symtab_node in the checksum. From-SVN: r219994
2015-01-22s390.md (atomic code attribute): Fix typo "ior" -> "or".Andreas Krebbel2-1/+6
2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.md (atomic code attribute): Fix typo "ior" -> "or". From-SVN: r219993
2015-01-22re PR driver/64690 (-freport-bug issue with comments)Max Ostapenko2-24/+41
2015-01-22 Max Ostapenko <m.ostapenko@partner.samsung.com> PR driver/64690 * gcc.c (insert_comments): New function. (try_generate_repro): Call it. (append_text): Removed. From-SVN: r219990
2015-01-22ipa-inline.c (can_inline_edge_p): Disable inlining of edges with IL ↵Richard Biener2-10/+55
incompatible options. 2015-01-22 Richard Biener <rguenther@suse.de> * ipa-inline.c (can_inline_edge_p): Disable inlining of edges with IL incompatible options. Properly honor user optimize attributes. From-SVN: r219989
2015-01-22re PR libstdc++/64535 (Emergency buffer for exception allocation too small)Richard Biener4-87/+208
2015-01-22 Richard Biener <rguenther@suse.de> PR libstdc++/64535 * libsupc++/eh_alloc.cc: Include new. (bitmask_type): Remove. (one_buffer): Likewise. (emergency_buffer): Likewise. (emergency_used): Likewise. (dependents_buffer): Likewise. (dependents_used): Likewise. (class pool): New custom fixed-size arena, variable size object allocator. (emergency_pool): New global. (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool. (__cxxabiv1::__cxa_free_exception): Likewise. (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise. (__cxxabiv1::__cxa_free_dependent_exception): Likewise. * g++.old-deja/g++.eh/badalloc1.C: Adjust. From-SVN: r219988
2015-01-22re PR libstdc++/64680 (basic_regex::operator= does not reset flags)Tim Shen3-7/+36
PR libstdc++/64680 * include/bits/regex.h (basic_regex<>::basic_regex, basic_regex<>::operator=, basic_regex<>::imbue): Conform to the standard interface. * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase. From-SVN: r219987
2015-01-22re PR libstdc++/64649 (regex_traits::lookup_classname() only works with ↵Tim Shen3-3/+37
random access iterators) PR libstdc++/64649 * include/bits/regex.tcc (regex_traits<>::lookup_collatename, regex_traits<>::lookup_classname): Correctly narrow input chars. * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase. From-SVN: r219986
2015-01-22Makefile.am (noinst_PROGRAMS): New variable.Ian Lance Taylor3-54/+44
* Makefile.am (noinst_PROGRAMS): New variable. (libexecsub_PROGRAMS): Remove variable. (install-exec-local, uninstall-local): New targets. * Makefile.in: Rebuild. From-SVN: r219985
2015-01-22compiler: Prohibit use of ellipsis operator on multi-valued calls.Ian Lance Taylor1-0/+11
Fixes golang/go#9525. From-SVN: r219984
2015-01-22Add file I missed. Whoops.Segher Boessenkool1-0/+26
From-SVN: r219982
2015-01-22re PR rtl-optimization/64682 (wrong code at -O2 and -O3 on x86_64-linux-gnu)Segher Boessenkool3-0/+17
PR rtl-optimization/64682 * combine.c (distribute_notes): When moving a death note for a register that is set in the new I2, make sure to put it before that new I2. PR rtl-optimization/64682 * gcc.c-torture/execute/pr64682.c: New file. From-SVN: r219981
2015-01-22Daily bump.GCC Administrator1-1/+1
From-SVN: r219980
2015-01-21rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT.David Edelsohn2-6/+11
* config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT. From-SVN: r219977
2015-01-21runtime: Add the Go language version information to the Version output.Ian Lance Taylor4-2/+13
From-SVN: r219976
2015-01-21re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)Jakub Jelinek4-2/+35
PR debug/64511 * simplify-rtx.c (simplify_relational_operation_1): Don't try to optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0)) into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)). * gcc.dg/pr64511.c: New test. From-SVN: r219974
2015-01-21re PR c++/64603 (bogus error "no matching function for call to ..." with ↵Jason Merrill3-3/+23
templates) PR c++/64603 * constexpr.c (cxx_eval_constant_expression): Only shortcut constant CONSTRUCTORs. From-SVN: r219973
2015-01-21re PR sanitizer/64706 (-fsanitize=vptr is not documented)Jakub Jelinek2-0/+10
PR sanitizer/64706 * doc/invoke.texi (-fsanitize=vptr): Document. From-SVN: r219971
2015-01-21re PR rtl-optimization/62078 (ICE: verify_flow_info failed: missing ↵Jakub Jelinek4-0/+56
REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions) PR rtl-optimization/62078 * dse.c: Include cfgcleanup.h. (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed anything call purge_all_dead_edges and cleanup_cfg at the end of the pass. * g++.dg/opt/pr62078.C: New test. From-SVN: r219970
2015-01-21re PR c/63307 (Cilk+ breaks -fcompare-debug bootstrap)Jakub Jelinek4-41/+104
PR c/63307 * cilk.c (fill_decls_vec): Only put decls into vector v. (compare_decls): Fix up formatting. * c-c++-common/cilk-plus/CK/pr63307.c: New test. 2015-01-21 Igor Zamyatin <igor.zamyatin@intel.com> PR c/63307 * cilk.c: Include vec.h. (struct cilk_decls): New structure. (wrapper_parm_cb): Split this function to... (fill_decls_vec): ...this... (create_parm_list): ...and this. (compare_decls): New function. (for_local_cb): Remove. (wrapper_local_cb): Ditto. (build_wrapper_type): For now first traverse and fill vector of declarations then sort it and then deal with sorted vector. (cilk_outline): Ditto. (declare_one_free_variable): Ditto. From-SVN: r219969
2015-01-21re PR sanitizer/64435 (Bootstrap failure in libsanitizer on AArch64 with ↵Jakub Jelinek4-4/+17
Linux kernel <= 3.15) PR sanitizer/64435 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick upstream r226637. * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise. * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639. From-SVN: r219968
2015-01-21re PR c++/64647 ([C++14] std::__max_element contains code not allowed in ↵Jason Merrill3-5/+37
constexpr function) PR c++/64647 * constexpr.c (ensure_literal_type_for_constexpr_object): Don't give a hard error in a template instantiation. From-SVN: r219965
2015-01-21re PR c++/64629 (-Wformat-security warns with const char *const vars)Jason Merrill3-0/+22
PR c++/64629 * c-format.c (check_format_arg): Call decl_constant_value. From-SVN: r219964
2015-01-21re PR fortran/57023 (Not packing arrays with changing variable used for size)Thomas Koenig4-3/+123
2015-01-21 Thomas Koenig <tkoenig@netcologne.de> PR fortran/57023 * dependency.c (callback_dummy_intent_not_int): New function. (dummy_intent_not_in): New function. (gfc_full_array_ref_p): Use dummy_intent_not_in. 2015-01-21 Thomas Koenig <tkoenig@netcologne.de> PR fortran/57023 * gfortran.dg/internal_pack_15.f90: New test. From-SVN: r219963
2015-01-21ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect edges.Jan Hubicka2-1/+6
* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect edges. From-SVN: r219962
2015-01-21gimplify.c (gimplify_function_tree): Check the no_sanitize_thread decl ↵Bernd Edlinger4-1/+26
attribute. gcc/ChangeLog: 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de> * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread decl attribute. gcc/testsuite/ChangeLog 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de> * gcc/testsuite/c-c++-common/tsan/step.c: New testcase. From-SVN: r219961
2015-01-21aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.David Sherwood4-54/+8
gcc/ 2015-01-21 David Sherwood <david.sherwood@arm.com> Tejas Belagod <Tejas.Belagod@arm.com> * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed. * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed. * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class): Removed. Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com> From-SVN: r219960