- 06 Feb, 2018 6 commits
-
-
Kochise authored
Accept braces (cases 12 and 13)
-
ro authored
PR target/79975 * gcc.dg/rtl/x86_64/final.c: Add -fdwarf2-cfi-asm to dg-options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257408 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* config/i386/i386.c (print_reg): Fix typo. (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257407 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. gcc/ * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257406 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257405 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257404 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 05 Feb, 2018 21 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257401 138bc75d-0d04-0410-961f-82ee72b054a4
-
msebor authored
gcc/ChangeLog: PR tree-optimization/83369 * tree-ssa-ccp.c (pass_post_ipa_warn::execute): Use %G to print inlining context. gcc/testsuite/ChangeLog: PR tree-optimization/83369 gcc.dg/Wnonnull.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257400 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
"dict" was added in Tcl 8.5, but until a couple of weeks ago the testsuite had worked with 8.4. This patch uses arrays instead, like we do for the caching in target-supports.exp. It is a bit uglier than using dicts was, but hopefully not too bad... 2018-02-05 Richard Sandiford <richard.sandiford@linaro.org> gcc/testsuite/ * lib/lto.exp (lto_handle_diagnostics): Remove messages_by_file argument and use dg-messages-by-file instead. Expect it to be an array rather than a dict. (lto-link-and-maybe-run): Remove messages_by_file argument and use an upvar for dg-messages-by-file. Update call to lto_handle_diagnostics. (lt-get-options): Treat dg-messages-by-file as an array rather than a dict. (lto-get-options-main): Likewise. Set the entry rather than appending. (lto-execute): Treat dg-messages-by-file as an array rather than a dict. Update call to lto-link-and-maybe-run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257397 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
It uses functions that are not available in MPFR 2.4.2, which is the current version supported by GCC. Original change description: compiler: avoid negative zero in float constants Check for negative numbers with very small magnitudes that will round to negative zero, and force them to positive zero instead. This implements the spec clarification in https://golang.org/cl/14727. The test is in https://golang.org/cl/91895. Fixes golang/go#12621 Updates golang/go#12621 Reviewed-on: https://go-review.googlesource.com/92055 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257393 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
Check for negative numbers with very small magnitudes that will round to negative zero, and force them to positive zero instead. This implements the spec clarification in https://golang.org/cl/14727. The test is in https://golang.org/cl/91895. Fixes golang/go#12621 Reviewed-on: https://go-review.googlesource.com/91915 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257390 138bc75d-0d04-0410-961f-82ee72b054a4
-
mpolacek authored
(build_primary_vtable): Don't gather statistics. (print_class_statistics): Remove. * cp-tree.h (print_class_statistics): Remove. * tree.c (cxx_print_statistics): Don't call print_class_statistics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257389 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR c++/82782 * g++.dg/cpp1z/inline-var4.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257388 138bc75d-0d04-0410-961f-82ee72b054a4
-
marxin authored
2018-02-05 Martin Liska <mliska@suse.cz> * doc/invoke.texi: Cherry-pick upstream r323995. 2018-02-05 Martin Liska <mliska@suse.cz> * c-c++-common/asan/pointer-compare-1.c: Adjust ASAN_OPTIONS options. * c-c++-common/asan/pointer-compare-2.c: Likewise. * c-c++-common/asan/pointer-subtract-1.c: Likewise. * c-c++-common/asan/pointer-subtract-2.c: Likewise. * c-c++-common/asan/pointer-subtract-3.c: Likewise. * c-c++-common/asan/pointer-subtract-4.c: Likewise. * c-c++-common/asan/pointer-compare-3.c: New test. 2018-02-05 Martin Liska <mliska@suse.cz> * asan/asan_flags.inc: Cherry-pick upstream r323995. * asan/asan_report.cc (CheckForInvalidPointerPair): Cherry-pick upstream r323995. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257387 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
These tests started passing after r257293, which had the side-effect of renumbering the SSA names and leaving the COND_EXPRs in their natural order. This does show a deeper underlying issue that code generation is too sensitive to internal things like SSA_NAME versions, but it no longer affects these particular tests (for now). 2018-02-05 Richard Sandiford <richard.sandiford@linaro.org> gcc/testsuite/ * gcc.target/aarch64/sve/vcond_4.c: Remove XFAILs. * gcc.target/aarch64/sve/vcond_5.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257386 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2018-02-05 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * ira.c (ira_init_register_move_cost): Adjust comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257385 138bc75d-0d04-0410-961f-82ee72b054a4
-
marxin authored
2018-02-05 Martin Liska <mliska@suse.cz> PR gcov-profile/84137 * doc/gcov.texi: Fix typo in documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257384 138bc75d-0d04-0410-961f-82ee72b054a4
-
marxin authored
2018-02-05 Martin Liska <mliska@suse.cz> PR gcov-profile/83879 * doc/gcov.texi: Document necessity of --dynamic-list-data when using dlopen functionality. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257383 138bc75d-0d04-0410-961f-82ee72b054a4
-
kyukhin authored
gcc/ * config/i386/avx512dqintrin.h (_mm_mask_range_sd, _mm_maskz_range_sd, _mm_mask_range_round_sd, _mm_maskz_range_round_sd, _mm_mask_range_ss, _mm_maskz_range_ss, _mm_mask_range_round_ss, _mm_maskz_range_round_ss): New intrinsics. (__builtin_ia32_rangesd128_round) (__builtin_ia32_rangess128_round): Remove. (__builtin_ia32_rangesd128_mask_round, __builtin_ia32_rangess128_mask_round): New builtins. * config/i386/i386-builtin.def (__builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round): Remove. (__builtin_ia32_rangesd128_mask_round, __builtin_ia32_rangess128_mask_round): New builtins. * config/i386/sse.md (ranges<mode><round_saeonly_name>): Renamed to ... (ranges<mode><mask_scalar_name><round_saeonly_scalar_name>): ... this. ((match_operand:VF_128 2 "<round_saeonly_nimm_predicate>" "<round_saeonly_constraint>")): Changed to ... ((match_operand:VF_128 2 "<round_saeonly_scalar_nimm_predicate>" "<round_saeonly_scalar_constraint>")): ... this. ("vrange<ssescalarmodesuffix>\t{%3, <round_saeonly_op4>%2, %1, %0| %0, %1, %2<round_saeonly_op4>, %3}"): Changed to ... ("vrange<ssescalarmodesuffix>\t{%3, <round_saeonly_scalar_mask_op4>%2, %1, %0<mask_scalar_operand4>|%0<mask_scalar_operand4>, %1, %2<round_saeonly_scalar_mask_op4>, %3}"): ... this. gcc/testsuite * gcc.target/i386/avx512dq-vrangesd-1.c (_mm_mask_range_sd, _mm_maskz_range_sd, _mm_mask_range_round_sd, _mm_maskz_range_round_sd): Test new intrinsics. * gcc.target/i386/avx512dq-vrangesd-2.c (_mm_range_sd, _mm_mask_range_sd, _mm_maskz_range_sd, _mm_range_round_sd, _mm_mask_range_round_sd, _mm_maskz_range_round_sd): Test new intrinsics. * gcc.target/i386/avx512dq-vrangess-1.c (_mm_mask_range_ss, _mm_maskz_range_ss, _mm_mask_range_round_ss, _mm_maskz_range_round_ss): Test new intrinsics. * gcc.target/i386/avx512dq-vrangess-2.c (_mm_range_ss, _mm_mask_range_ss, _mm_maskz_range_ss, _mm_range_round_ss, _mm_mask_range_round_ss, _mm_maskz_range_round_ss): Test new intrinsics. * gcc.target/i386/avx-1.c (__builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round): Remove builtins. (__builtin_ia32_rangesd128_mask_round, __builtin_ia32_rangess128_mask_round): Test new builtins. * gcc.target/i386/sse-13.c: Ditto. * gcc.target/i386/sse-23.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257382 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
CL 71750 changed the definition of how iota works. This patch updates gccgo for the new definition. We've been mishandling iota appearing in a type that appears in a const expression, as in `c = len([iota]int{})`. Correct that by copying type expressions when we copy an expression. For simplicity only copy when it can change the size of a type, as that is the only case where iota in a type can affect the value of a constant (I think). This is still a bunch of changes, but almost all boilerplate. Fixes golang/go#22341 Reviewed-on: https://go-review.googlesource.com/91475 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257379 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
The language spec permits empty statements after a fallthrough statement, so implement that. Also give a better error message when a fallthrough statement is in the wrong place. The test case for this is in the master repository, test/fixedbugs/issue14540.go, just not yet in the gccgo repository. Fixes golang/go#14538 Reviewed-on: https://go-review.googlesource.com/91855 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257378 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
The last change was incomplete, in that it did not evaluate the array argument in some cases where it had to be evaluated. This reuses the existing code for checking whether len/cap is constant. Also clean up the use of _ as the second variable in a for/range, which was previously inconsistent depending on whether the statement used = or :=. Updates golang/go#22313 Reviewed-on: https://go-review.googlesource.com/91715 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257377 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
This implements a requirement of the language spec. While we're here fix the value returned by the type method of a builtin call expression to make, although this doesn't seem to make any difference anywhere since we lower this to a runtime call before the determine_types pass anyhow. There is already a test for this error in the master repository: test/fixedbugs/issue16949.go. It just hasn't made it into the gccgo testsuite yet. Fixes golang/go#16949 Reviewed-on: https://go-review.googlesource.com/91697 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257376 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
We should only issue an error for a goto over a var declaration. The test case for this is already in the master repository, at test/fixedbugs/issue8042.go. It just hasn't been copied into the gccgo repository yet. Fixes golang/go#19089 Reviewed-on: https://go-review.googlesource.com/91696 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257375 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
We used to mishandle `select { case (<-c): }` and friends. The test case for this is https://golang.org/cl/91657. Fixes golang/go#20923 Reviewed-on: https://go-review.googlesource.com/91695 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257374 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
The quoting code that read _cgo_flags, currently only in the gccgo version of cmd/go, was losing the last flag read from the file. Fixes golang/go#23666 Reviewed-on: https://go-review.googlesource.com/91655 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257373 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257372 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 04 Feb, 2018 6 commits
-
-
hubicka authored
PR middle-end/79966 * gfortran.dg/pr79966.f90: New testcase git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257367 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257366 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257365 138bc75d-0d04-0410-961f-82ee72b054a4
-
dominiq authored
PR fortran/84094 * gfortran.dg/associate_23.f90: Fix invalid code. * gfortran.dg/intrinsic_actual_4.f90: Likewise. * gfortran.dg/matmul_3.f90: Likewise. * gfortran.dg/transfer_array_intrinsic_2.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257364 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
PR fortran/84115 * trans-decl.c (gfc_get_symbol_decl): Do not finish the decl of 'length' if the symbol charlen backend_decl is an indirect ref. 2018-02-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/84115 * gfortran.dg/associate_34.f90: New test. * gfortran.dg/associate_35.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257363 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257362 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 03 Feb, 2018 3 commits
-
-
ian authored
using structural equality. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257357 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
PR fortran/84141 PR fortran/84155 * trans-array.c (gfc_array_init_size): Instead of gfc_get_dtype use gfc_get_dtype_rank_type. 2018-02-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/84141 PR fortran/84155 * gfortran.dg/pr84155.f90 : New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257356 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257355 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 02 Feb, 2018 4 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257350 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
2018-02-02 Paolo Carlini <paolo.carlini@oracle.com> * c-common.h (DECL_UNNAMED_BIT_FIELD): New. /c 2018-02-02 Paolo Carlini <paolo.carlini@oracle.com> * c-typeck.c (really_start_incremental_init, push_init_level, set_nonincremental_init, output_init_element, process_init_element): Use DECL_UNNAMED_BIT_FIELD. /cp 2018-02-02 Paolo Carlini <paolo.carlini@oracle.com> * class.c (is_really_empty_class): Use DECL_UNNAMED_BIT_FIELD. * constexpr.c (cx_check_missing_mem_inits): Likewise. * decl.c (next_initializable_field, find_decomp_class_base, cp_finish_decomp): Likewise. * typeck2.c (process_init_constructor_record): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257348 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
false if the component type is a pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257344 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* lto-symtab.c (warn_type_compatibility_p): Do not recurse into the component type of array types with non-aliased component. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257343 138bc75d-0d04-0410-961f-82ee72b054a4
-