summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* x86: Use DRAP only if there are outgoing arguments on stackH.J. Lu2017-07-067-2/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since DRAP is needed only if there are outgoing arguments on stack, we should track outgoing arguments on stack and avoid setting need_drap to true when there are no outgoing arguments on stack. gcc/ PR target/81313 * config/i386/i386.c (ix86_function_arg_advance): Set outgoing_args_on_stack to true if there are outgoing arguments on stack. (ix86_function_arg): Likewise. (ix86_get_drap_rtx): Use DRAP only if there are outgoing arguments on stack and ACCUMULATE_OUTGOING_ARGS is false. * config/i386/i386.h (machine_function): Add outgoing_args_on_stack. gcc/testsuite/ PR target/81313 * gcc.target/i386/pr81313-1.c: New test. * gcc.target/i386/pr81313-2.c: Likewise. * gcc.target/i386/pr81313-3.c: Likewise. * gcc.target/i386/pr81313-4.c: Likewise. * gcc.target/i386/pr81313-5.c: Likewise.
* gccnaveenh2017-07-064-1/+20
| | | | | | | | | | | | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Access the lower part of RTX appropriately. gcc/testsuite * gcc.target/aarch64/pr71112.c : New Testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@250014 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@250010 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249980 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog format in r249597thopre012017-07-041-1/+1
| | | | | | This patch fixes relative pathnames in gcc/ChangeLog for r249597. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249968 138bc75d-0d04-0410-961f-82ee72b054a4
* 2017-07-04 Richard Biener <rguenther@suse.de>rguenth2017-07-042-1/+5
| | | | | | | * BASE-VER: Bump to 6.4.1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249955 138bc75d-0d04-0410-961f-82ee72b054a4
* Update ChangeLog and version files for releasegcc-6_4_0-releaserguenth2017-07-0415-1/+57
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249945 138bc75d-0d04-0410-961f-82ee72b054a4
* 2017-07-04 Richard Biener <rguenther@suse.de>rguenth2017-07-0413-13/+13
| | | | | | | Update displayed copyright years to include 2017. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249944 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249940 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from trunk:segher2017-07-032-1/+10
| | | | | | | | | | 2017-06-15 Segher Boessenkool <segher@kernel.crashing.org> * config/rs6000/rs6000.md (add<mode>3): Use reg_or_subregno instead of REGNO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249906 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249890 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249874 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-07-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249859 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc]meissner2017-06-305-22/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2017-06-30 Michael Meissner <meissner@linux.vnet.ibm.com> Backport from mainline 2017-06-23 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80510 * config/rs6000/rs6000.md (ALTIVEC_DFORM): Do not allow DImode in 32-bit, since indexed is not valid for DImode. (mov<mode>_hardfloat32): Reorder ISA 2.07 load/stores before ISA 3.0 d-form load/stores to be the same as mov<mode>_hardfloat64. (define_peephole2 for Altivec d-form load): Add 32-bit support. (define_peephole2 for Altivec d-form store): Likewise. [gcc/testsuite] 2017-06-30 Michael Meissner <meissner@linux.vnet.ibm.com> Backport from mainline 2017-06-23 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80510 * gcc.target/powerpc/pr80510-1.c: Allow test to run on 32-bit. * gcc.target/powerpc/pr80510-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249836 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249824 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249767 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249715 138bc75d-0d04-0410-961f-82ee72b054a4
* Backports from trunk:segher2017-06-2714-22/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2016-08-15 Segher Boessenkool <segher@kernel.crashing.org> PR rtl-optimization/73650 * lra-constraints.c (simple_move_p): If the insn is multiple_sets it is not a simple move. 2017-01-20 Segher Boessenkool <segher@kernel.crashing.org> PR target/61729 PR target/77850 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust address to read from, for big endian. 2017-04-04 Segher Boessenkool <segher@kernel.crashing.org> PR rtl-optimization/60818 * simplify-rtx.c (simplify_binary_operation_1): Do not replace a compare of comparisons with the thing compared if this results in a different machine mode. 2017-04-12 Segher Boessenkool <segher@kernel.crashing.org> PR target/80382 * config/rs6000/sync.md (atomic_load<mode>, atomic_store<mode): Test for quad_address_p for TImode, instead of just not indexed_address. 2017-04-19 Segher Boessenkool <segher@kernel.crashing.org> PR rtl-optimization/80429 * ira.c (split_live_ranges_for_shrink_wrap): Don't split regs that are only used in debug insns. 2017-05-17 Segher Boessenkool <segher@kernel.crashing.org> PR middle-end/80692 * real.c (do_compare): Give decimal_do_compare preference over comparing just the signs. 2017-05-31 Segher Boessenkool <segher@kernel.crashing.org> PR target/80618 * config/rs6000/vector.md (*vector_uneq<mode>): Write the nor in the splitter result in the canonical way. 2017-06-09 Segher Boessenkool <segher@kernel.crashing.org> PR target/80966 * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Assert that gen_add3_insn did not fail. * config/rs6000/rs6000.md (add<mode>3): If asked to add a constant to r0, construct that number in a temporary reg and add that reg to r0. If asked to put the result in r0 as well, fail. 2017-06-23 Segher Boessenkool <segher@kernel.crashing.org> PR middle-end/80902 * builtins.c (expand_builtin_atomic_fetch_op): If emitting code after a call, force the call to not be a tail call. gcc/testsuite/ Backports from trunk: 2017-04-04 Segher Boessenkool <segher@kernel.crashing.org> PR rtl-optimization/60818 * gcc.c-torture/compile/pr60818.c: New testcase. 2017-05-17 Segher Boessenkool <segher@kernel.crashing.org> PR middle-end/80692 * gcc.c-torture/execute/pr80692.c: New testcase. 2017-06-09 Segher Boessenkool <segher@kernel.crashing.org> PR target/80966 * gcc.target/powerpc/stack-limit.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249700 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249671 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249635 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249630 138bc75d-0d04-0410-961f-82ee72b054a4
* PR sanitizer/80348mpolacek2017-06-244-11/+43
| | | | | | | | | | * typeck.c (cp_build_binary_op): Use NULL_TREE instead of NULL. Set ORIG_TYPE earlier and not only when shortening. * g++.dg/ubsan/div-by-zero-3.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249624 138bc75d-0d04-0410-961f-82ee72b054a4
* PR sanitizer/80348mpolacek2017-06-244-5/+25
| | | | | | | | | * typeck.c (cp_build_binary_op): Convert COP[01] to ORIG_TYPE. * g++.dg/ubsan/div-by-zero-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249623 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/80244 - ICE with attribute in template alias.mpolacek2017-06-244-0/+23
| | | | | | | | | * tree.c (strip_typedefs): Handle UNDERLYING_TYPE. * g++.dg/cpp0x/alias-decl-59.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249622 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/80241 - ICE with alignas pack expansion.mpolacek2017-06-245-2/+38
| | | | | | | | | | | * error.c (dump_expr): Handle TREE_LIST. * parser.c (cp_parser_std_attribute_list): Return error_mark if make_pack_expansion returns an error. * g++.dg/cpp0x/alignas11.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249621 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249617 138bc75d-0d04-0410-961f-82ee72b054a4
* [ARM] Rename FPSCR builtins to correct namesthopre012017-06-234-2/+34
| | | | | | | | | | | | | | | | | 2017-06-23 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2017-05-04 Prakhar Bahuguna <prakhar.bahuguna@arm.com> gcc/ * gcc/config/arm/arm-builtins.c (arm_init_builtins): Rename __builtin_arm_ldfscr to __builtin_arm_get_fpscr, and rename __builtin_arm_stfscr to __builtin_arm_set_fpscr. gcc/testsuite/ * gcc.target/arm/fpscr.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249597 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2017-06-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249581 138bc75d-0d04-0410-961f-82ee72b054a4
* 2017-06-22 Richard Biener <rguenther@suse.de>rguenth2017-06-2212-41/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2017-02-17 Richard Biener <rguenther@suse.de> PR tree-optimization/79552 * tree-ssa-structalias.c (visit_loadstore): Properly verify default defs. 2016-04-18 Richard Biener <rguenther@suse.de> PR tree-optimization/43434 * tree-ssa-structalias.c (struct vls_data): New. (visit_loadstore): Handle all pointer-based accesses. (compute_dependence_clique): Compute a bitmap of restrict tags assigned bases and pass it to visit_loadstore. * gcc.dg/vect/pr43434.c: New testcase. * c-c++-common/goacc/kernels-alias-3.c: Adjust. * c-c++-common/goacc/kernels-alias-4.c: Likewise. * c-c++-common/goacc/kernels-alias-5.c: Likewise. * c-c++-common/goacc/kernels-alias-6.c: Likewise. * c-c++-common/goacc/kernels-alias-7.c: Likewise. * c-c++-common/goacc/kernels-alias-8.c: Likewise. * gcc.dg/gomp/pr68640.c: Likewise. * gfortran.dg/goacc/kernels-alias-3.f95: Likewise. * gfortran.dg/goacc/kernels-alias-4.f95: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249552 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-222-3/+7
| | | | | | | | | | | | | | 2017-06-21 Jakub Jelinek <jakub@redhat.com> PR c++/81154 * semantics.c (handle_omp_array_sections_1, finish_omp_clauses): Complain about t not being a variable if t is OVERLOAD even when processing_template_decl. * g++.dg/gomp/pr81154.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249539 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-224-7/+78
| | | | | | | | | | | | | 2017-06-21 Jakub Jelinek <jakub@redhat.com> PR c++/81130 * gimplify.c (omp_add_variable): Don't force GOVD_SEEN for types with ctors/dtors if GOVD_SHARED is set. * testsuite/libgomp.c++/pr81130.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249527 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-222-3/+14
| | | | | | | | | | | | | 2017-06-21 Jakub Jelinek <jakub@redhat.com> PR c++/81130 * gimplify.c (omp_add_variable): Don't force GOVD_SEEN for types with ctors/dtors if GOVD_SHARED is set. * testsuite/libgomp.c++/pr81130.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249526 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r248729marxin2017-06-222-1/+9
| | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-31 Martin Liska <mliska@suse.cz> PR target/79155 * config/i386/cpuid.h: Fix typo in a comment in cpuid.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249525 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r248647marxin2017-06-222-1/+10
| | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-30 Martin Liska <mliska@suse.cz> PR other/80909 * auto-profile.c (get_function_decl_from_block): Fix parenthesis. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249524 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r248489marxin2017-06-225-20/+21
| | | | | | | | | | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-26 Martin Liska <mliska@suse.cz> PR ipa/80663 * params.def: Bound partial-inlining-entry-probability param. 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-26 Martin Liska <mliska@suse.cz> PR ipa/80663 * g++.dg/ipa/pr80212.C: Remove the test as it does not longer split at the problematic spot. * gcc.dg/ipa/pr48195.c: Change 101 to 100 as 101 is no longer a valid value of the param. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249523 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r248089marxin2017-06-222-2/+12
| | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-16 Martin Liska <mliska@suse.cz> PR ipa/79849. PR ipa/79850. * ipa-devirt.c (warn_types_mismatch): Fix typo. (odr_types_equivalent_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249522 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r248060marxin2017-06-222-0/+11
| | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-15 Martin Liska <mliska@suse.cz> PR driver/31468 * gcc.c (process_command): Do not allow empty argument of -o option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249521 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247507marxin2017-06-222-1/+10
| | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-02 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Add missing preposition. * gcov.c (function_info::function_info): Properly fill up all member variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249520 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247485marxin2017-06-222-1/+10
| | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-02 Martin Liska <mliska@suse.cz> PR other/80589 * common.opt: Fix typo. * doc/invoke.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249519 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247377marxin2017-06-222-2/+11
| | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-04-28 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Enhance documentation of gcov. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249518 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247376marxin2017-06-227-102/+132
| | | | | | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-04-28 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Sort options in alphabetic order. * doc/gcov-dump.texi: Likewise. * doc/gcov-tool.texi: Likewise. * gcov.c (print_usage): Likewise. * gcov-dump.c (print_usage): Likewise. * gcov-tool.c (print_merge_usage_message): Likewise. (print_rewrite_usage_message): Likewise. (print_overlap_usage_message): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249517 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247375marxin2017-06-222-0/+15
| | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-04-28 Martin Liska <mliska@suse.cz> PR gcov-profile/53915 * gcov.c (format_gcov): Print 'NAN %' when top > bottom. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249516 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r247371marxin2017-06-224-0/+26
| | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-04-28 Martin Liska <mliska@suse.cz> PR driver/56469 * coverage.c (coverage_remove_note_file): New function. * coverage.h: Declare the function. * toplev.c (finalize): Clean if an error has been seen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249515 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r246899marxin2017-06-222-3/+45
| | | | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-04-12 Jan Hubicka <hubicka@ucw.cz> PR lto/69953 * ipa-visibility.c (non_local_p): Fix typos. (localize_node): When localizing symbol in same comdat group, dissolve the group only when we know external symbols are going to be privatized. (function_and_variable_visibility): Do not localize DECL_EXTERNAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249514 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r244529marxin2017-06-222-82/+58
| | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-01-17 Nathan Sidwell <nathan@acm.org> * ipa-visibility.c (localize_node): New function, broken out of ... (function_and_variable_visibility): ... here. Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249513 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r244156marxin2017-06-225-31/+56
| | | | | | | | | | | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-01-06 Nathan Sidwell <nathan@acm.org> * ipa-visibility.c (function_and_variable_visibility): Reformat comments and long lines. Remove extrneous if. * symtab.c (symtab_node::make_decl_local): Fix code format. (symtab_node::set_section_for_node): Fix comment typo. 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-01-06 Nathan Sidwell <nathan@acm.org> * lto-partition.c (lto_balanced_map): Reformat/respell comment. (may_need_named_section_p): Likewise. (rename_statics): Likewise. (lto_promote_cross_file_statics): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249512 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r241380marxin2017-06-222-4/+19
| | | | | | | | | | | | | | | | 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2016-10-20 Martin Liska <mliska@suse.cz> PR lto/78049 * lto-streamer-in.c (fixup_call_stmt_edges_1): Replace value comparison with STMT_UID_NOT_IN_RANGE. (fixup_call_stmt_edges): Do not fixup edges of a thunk in LTRANS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249511 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-224-0/+33
| | | | | | | | | | | | | 2017-06-13 Jakub Jelinek <jakub@redhat.com> PR c++/80973 * cp-gimplify.c (cp_genericize_r): Don't instrument MEM_REF second argument even if it has REFERENCE_TYPE. * g++.dg/ubsan/pr80973.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249510 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-224-2/+31
| | | | | | | | | | | | | | 2017-06-13 Jakub Jelinek <jakub@redhat.com> PR c++/80984 * cp-gimplify.c (cp_genericize): Only look for VAR_DECLs in BLOCK_VARS (outer) chain. (cxx_omp_const_qual_no_mutable): Likewise. * g++.dg/opt/nrv18.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249509 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2017-06-224-1/+27
| | | | | | | | | | | | 2017-06-02 Jakub Jelinek <jakub@redhat.com> PR fortran/80918 * openmp.c (resolve_omp_clauses): Fix a typo. * gfortran.dg/gomp/pr80918.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249507 138bc75d-0d04-0410-961f-82ee72b054a4