[Bug sanitizer/71953] ICE using address sanitizers with PCH

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:06:38 2017
New Revision: 248592

URL: https://gcc.gnu.org/viewcvs?rev=248592&root=gcc&view=rev
Log:
Backported from mainline
2016-07-21  Jakub Jelinek  

PR sanitizer/71953
* asan.c (asan_dynamic_init_call): Call asan_init_shadow_ptr_types
before builtin_decl_implicit.

Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/asan.c

[Bug tree-optimization/72824] [5 Regression] Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72824

--- Comment #15 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:07:25 2017
New Revision: 248593

URL: https://gcc.gnu.org/viewcvs?rev=248593&root=gcc&view=rev
Log:
Backported from mainline
2016-08-09  Jakub Jelinek  

PR tree-optimization/72824
* tree-loop-distribution.c (const_with_all_bytes_same): Verify
real_zerop is not negative.

* gcc.c-torture/execute/ieee/pr72824.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/ieee/pr72824.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-loop-distribution.c

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:09:01 2017
New Revision: 248594

URL: https://gcc.gnu.org/viewcvs?rev=248594&root=gcc&view=rev
Log:
Backported from mainline
2016-08-11  Jakub Jelinek  

PR c/72816
* c-decl.c (grokdeclarator): When adding TYPE_DOMAIN for flexible
array member through typedef, for orig_qual_indirect == 0 clear
orig_qual_type.

2016-08-11  Jakub Jelinek  

PR c/72816
* gcc.dg/pr72816.c: Remove dg-error.

2016-08-07  Jakub Jelinek  

PR c/72816
* gcc.dg/pr72816.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr72816.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/72868] Constexpr expressions mistreat case ranges

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72868

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:11:09 2017
New Revision: 248595

URL: https://gcc.gnu.org/viewcvs?rev=248595&root=gcc&view=rev
Log:
Backported from mainline
2016-08-11  Jakub Jelinek  

PR c++/72868
* constexpr.c (label_matches): Handle case range expressions.

* g++.dg/cpp1y/constexpr-switch4.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-switch4.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:12:08 2017
New Revision: 248596

URL: https://gcc.gnu.org/viewcvs?rev=248596&root=gcc&view=rev
Log:
Backported from mainline
2016-08-12  Jakub Jelinek  
Martin Liska  

PR c/67410
* c-typeck.c (set_nonincremental_init_from_string): Use / instead of
% to determine val element to change.  Assert that
wchar_bytes * charwidth fits into val array.

* gcc.dg/pr67410.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67410.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-typeck.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/72824] [5 Regression] Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72824

--- Comment #16 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:13:36 2017
New Revision: 248597

URL: https://gcc.gnu.org/viewcvs?rev=248597&root=gcc&view=rev
Log:
Backported from mainline
2016-08-15  Martin Liska  
Jakub Jelinek  

PR tree-optimization/72824
* tree-loop-distribution.c (const_with_all_bytes_same)
: Fix a typo.

* gcc.c-torture/execute/ieee/pr72824-2.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/ieee/pr72824-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-loop-distribution.c

[Bug target/71910] ICE on valid OpenMP code

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71910

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:15:49 2017
New Revision: 248598

URL: https://gcc.gnu.org/viewcvs?rev=248598&root=gcc&view=rev
Log:
Backported from mainline
2016-08-16  Jakub Jelinek  

PR target/71910
* tree-cfg.c (execute_fixup_cfg): Add node variable, use it.  Before
inlining,
add cgraph edge for the added __builtin_unreachable call.

* g++.dg/gomp/pr71910.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr71910.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-cfg.c

[Bug middle-end/77377] [7 Regression] c-c++-common/pr59037.c ICEs with -fpic -msse on i686

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77377

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:17:45 2017
New Revision: 248601

URL: https://gcc.gnu.org/viewcvs?rev=248601&root=gcc&view=rev
Log:
Backported from mainline
2016-08-30  Jakub Jelinek  

PR middle-end/77377
* simplify-rtx.c (avoid_constant_pool_reference): For out of bounds
constant pool reference return x instead of c.

* gcc.target/i386/pr77377.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr77377.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/simplify-rtx.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77363] [5 Regression] Missing debug information in DWARF

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77363

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:18:37 2017
New Revision: 248602

URL: https://gcc.gnu.org/viewcvs?rev=248602&root=gcc&view=rev
Log:
Backported from mainline
2016-08-30  Jakub Jelinek  

PR debug/77363
* dwarf2out.c (modified_type_die): Use lookup_type_die (type)
instead of lookup_type_die (type_main_variant (type)) even for array
types.

* g++.dg/debug/dwarf2/pr77363.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr77363.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/dwarf2out.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/77396] address sanitizer crashes if all static global variables are optimized

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77396

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:19:49 2017
New Revision: 248603

URL: https://gcc.gnu.org/viewcvs?rev=248603&root=gcc&view=rev
Log:
Backported from mainline
2016-09-05  Jakub Jelinek  

PR sanitizer/77396
* asan/asan_globals.cc: Cherry-pick upstream r280657.

2016-09-05  Jakub Jelinek  

PR sanitizer/77396
* g++.dg/asan/pr77396-2.C: New test.

2016-09-02  Jakub Jelinek  

PR sanitizer/77396
* g++.dg/asan/pr77396.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/asan/pr77396-2.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/asan/pr77396.C
Modified:
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/libsanitizer/ChangeLog
branches/gcc-5-branch/libsanitizer/asan/asan_globals.cc

[Bug fortran/77516] ICE in is_gimple_min_invariant, at gimple-expr.c:706

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77516

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:20:41 2017
New Revision: 248604

URL: https://gcc.gnu.org/viewcvs?rev=248604&root=gcc&view=rev
Log:
Backported from mainline
2016-09-08  Jakub Jelinek  

PR fortran/77516
* omp-low.c (lower_rec_simd_input_clauses): Use max_vf for non-positive
OMP_CLAUSE_SAFELEN_EXPR.

* gfortran.dg/gomp/pr77516.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77516.f90
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/omp-low.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug fortran/77500] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:2822

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77500

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:21:41 2017
New Revision: 248605

URL: https://gcc.gnu.org/viewcvs?rev=248605&root=gcc&view=rev
Log:
Backported from mainline
2016-09-08  Jakub Jelinek  

PR fortran/77500
* trans-openmp.c (gfc_trans_omp_atomic): For atomic write or
swap, don't try to look through GFC_ISYM_CONVERSION.  In other cases,
check that value.function.isym is non-NULL before dereferencing it.

* gfortran.dg/gomp/pr77500.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77500.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-openmp.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/68260] false positive with tsan

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68260

--- Comment #12 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:22:25 2017
New Revision: 248606

URL: https://gcc.gnu.org/viewcvs?rev=248606&root=gcc&view=rev
Log:
Backported from mainline
2016-09-14  Jakub Jelinek  

PR sanitizer/68260
* tsan.c: Include target.h.
(enum tsan_atomic_action): Add bool_clear and bool_test_and_set.
(BOOL_CLEAR, BOOL_TEST_AND_SET): Define.
(tsan_atomic_table): Add BUILT_IN_ATOMIC_CLEAR and
BUILT_IN_ATOMIC_TEST_AND_SET entries.
(instrument_builtin_call): Handle bool_clear and bool_test_and_set.

* c-c++-common/tsan/pr68260.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/tsan/pr68260.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tsan.c

[Bug middle-end/77594] double computation for __builtin_sub_overflow (0, ...)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77594

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:23:20 2017
New Revision: 248607

URL: https://gcc.gnu.org/viewcvs?rev=248607&root=gcc&view=rev
Log:
Backported from mainline
2016-09-16  Jakub Jelinek  
Eric Botcazou  

PR middle-end/77594
* internal-fn.c (expand_arith_overflow) : Don't fall
through into expand_addsub_overflow after expand_neg_overflow.

* gcc.target/i386/pr77594.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr77594.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/internal-fn.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77375] [5 Regression] constant object with mutable subobject allocated in read-only memory

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:24:56 2017
New Revision: 248608

URL: https://gcc.gnu.org/viewcvs?rev=248608&root=gcc&view=rev
Log:
Backported from mainline
2016-09-16  Jakub Jelinek  

PR c++/77375
* class.c (check_bases): Set CLASSTYPE_HAS_MUTABLE if any
TYPE_HAS_MUTABLE_P for any bases.

* g++.dg/cpp0x/mutable1.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/mutable1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/class.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug ipa/77587] [5 Regression] C compiler produces incorrect stack alignment with __attribute__((weak))

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77587

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:26:00 2017
New Revision: 248609

URL: https://gcc.gnu.org/viewcvs?rev=248609&root=gcc&view=rev
Log:
Backported from mainline
2016-09-19  Jakub Jelinek  
Jan Hubicka  

PR target/77587
* cgraph.c (cgraph_node::rtl_info): Pass &avail to
ultimate_alias_target call, return NULL if avail < AVAIL_AVAILABLE.
Call ultimate_alias_target just once, not up to 4 times.

* gcc.dg/pr77587.c: New test.
* gcc.dg/pr77587a.c: New file.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr77587.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr77587a.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/cgraph.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/77624] [5 Regression] ICE on x86_64-linux-gnu (internal compiler error: in fold_builtin_atomic_always_lock_free, at builtins.c:5583)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77624

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:26:43 2017
New Revision: 248610

URL: https://gcc.gnu.org/viewcvs?rev=248610&root=gcc&view=rev
Log:
Backported from mainline
2016-09-20  Jakub Jelinek  

PR middle-end/77624
* builtins.c (fold_builtin_atomic_always_lock_free): Only look through
cast to void * if the cast is from some other pointer type.

* c-c++-common/pr77624-1.c: New test.
* c-c++-common/pr77624-2.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr77624-1.c
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr77624-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/builtins.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77637] ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:27:33 2017
New Revision: 248611

URL: https://gcc.gnu.org/viewcvs?rev=248611&root=gcc&view=rev
Log:
Backported from mainline
2016-09-20  Jakub Jelinek  

PR c++/77637
* parser.c (cp_parser_std_attribute_list): Reject ... without
preceding attribute.

* g++.dg/cpp0x/gen-attrs-62.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/gen-attrs-62.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/77665] [5 Regression] ICE in expand_GOMP_SIMD_VF, at internal-fn.c:172

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77665

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:28:40 2017
New Revision: 248612

URL: https://gcc.gnu.org/viewcvs?rev=248612&root=gcc&view=rev
Log:
Backported from mainline
2016-09-22  Jakub Jelinek  

PR fortran/77665
* tree-inline.c (remap_gimple_stmt): Set has_simduid_loops
for all IFN_GOMP_SIMD_* internal fns.

* gfortran.dg/gomp/pr77665.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77665.f90
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-inline.c

[Bug fortran/77666] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:471

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77666

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:29:49 2017
New Revision: 248613

URL: https://gcc.gnu.org/viewcvs?rev=248613&root=gcc&view=rev
Log:
Backported from mainline
2016-09-27  Jakub Jelinek  

PR fortran/77666
* trans-openmp.c (gfc_omp_private_outer_ref): Return true even for
references to allocatable arrays.

* gfortran.dg/gomp/pr77666.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77666.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-openmp.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77722] -fsanitize=undefined doesn't give runtime error in function without return value, unless at least 2 instructions

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77722

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:31:03 2017
New Revision: 248614

URL: https://gcc.gnu.org/viewcvs?rev=248614&root=gcc&view=rev
Log:
Backported from mainline
2016-09-27  Jakub Jelinek  

PR c++/77722
* cp-gimplify.c (cp_ubsan_maybe_instrument_return): Instrument also
functions that have just a STATEMENT_LIST instead of BIND_EXPR, or
BIND_EXPR with some statement rather than STATEMENT_LIST as body.

* g++.dg/ubsan/return-4.C: New test.
* g++.dg/ubsan/return-5.C: New test.
* g++.dg/ubsan/return-6.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/return-4.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/return-5.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/return-6.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/cp-gimplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77467] Segmentation fault with switch statement in constexpr function

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77467

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:32:25 2017
New Revision: 248615

URL: https://gcc.gnu.org/viewcvs?rev=248615&root=gcc&view=rev
Log:
Backported from mainline
2016-09-28  Jakub Jelinek  

PR c++/77467
* constexpr.c (enum constexpr_switch_state): New.
(struct constexpr_ctx): Add css_state field.
(label_matches): Add CTX and STMT arguments, remove I and
DEFAULT_LABEL.  For CASE_LABEL_EXPR assert ctx->css_state != NULL,
handle default labels according to css_state.
(cxx_eval_statement_list): Remove statement skipping, label_matches
and default_label handling code.
(cxx_eval_loop_expr): Exit after first iteration even if
switches (jump_target).
(cxx_eval_switch_expr): Set up css_state field in ctx, if default
label has been seen in the body, but no cases matched, evaluate
the body second time.
(cxx_eval_constant_expression): Handle stmt skipping and label_matches
here.  Handle PREDICT_EXPR.  For MODIFY_EXPR or INIT_EXPR, assert
statement is not skipped.  For COND_EXPR during skipping, don't
evaluate condition, just the then block and if still skipping at the
end also the else block.
(cxx_eval_outermost_constant_expr): Adjust constexpr_ctx initializer.
(is_sub_constant_expr): Likewise.

* g++.dg/cpp1y/constexpr-77467.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-77467.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/66343] "Error: .Lubsan_type3 already defined" with UBSan and precompiled headers

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66343

--- Comment #17 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:34:46 2017
New Revision: 248616

URL: https://gcc.gnu.org/viewcvs?rev=248616&root=gcc&view=rev
Log:
Backported from mainline
2016-10-05  Jakub Jelinek  

PR sanitizer/66343
* ubsan.c (ubsan_ids): New GTY(()) array.
(ubsan_type_descriptor, ubsan_create_data): Use ubsan_ids
instead of static local counters.

* gcc.dg/pch/pr66343-1.c: New test.
* gcc.dg/pch/pr66343-1.hs: New file.
* gcc.dg/pch/pr66343-2.c: New test.
* gcc.dg/pch/pr66343-2.hs: New file.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pch/pr66343-1.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pch/pr66343-1.hs
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pch/pr66343-2.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pch/pr66343-2.hs
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/ubsan.c

[Bug rtl-optimization/77919] [5 Regression] ICE converting DC to V2DF mode

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77919

--- Comment #15 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:36:52 2017
New Revision: 248619

URL: https://gcc.gnu.org/viewcvs?rev=248619&root=gcc&view=rev
Log:
Backported from mainline
2016-10-29  Jakub Jelinek  

PR rtl-optimization/77919
* expr.c (expand_expr_real_1) : Only avoid forcing
into memory if both modes are complex and their inner modes have the
same precision.  If the two modes are different complex modes, convert
each part separately and generate a new CONCAT.

* g++.dg/torture/pr77919-2.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/torture/pr77919-2.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/expr.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/77919] [5 Regression] ICE converting DC to V2DF mode

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77919

--- Comment #14 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:36:13 2017
New Revision: 248618

URL: https://gcc.gnu.org/viewcvs?rev=248618&root=gcc&view=rev
Log:
Backported from mainline
2016-10-28  Jakub Jelinek  

PR rtl-optimization/77919
* expr.c (expand_expr_real_1) : Force CONCAT into
MEM if mode1 is not a complex mode.

* g++.dg/torture/pr77919.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/torture/pr77919.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/expr.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/78089] __builtin_shuffle parsing bug

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78089

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:37:39 2017
New Revision: 248620

URL: https://gcc.gnu.org/viewcvs?rev=248620&root=gcc&view=rev
Log:
Backported from mainline
2016-10-31  Jakub Jelinek  

PR c++/78089
* parser.c (cp_parser_postfix_expression): Replace return statement in
the first switch with setting postfix_expression to the return
expression and break;.

* c-c++-common/builtin-shuffle-1.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/builtin-shuffle-1.c
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/78227] ICE: unrecognizable insn: in extract_insn, at recog.c:2311 with -mavx512bw and vector comare

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78227

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:39:37 2017
New Revision: 248622

URL: https://gcc.gnu.org/viewcvs?rev=248622&root=gcc&view=rev
Log:
Backported from mainline
2016-11-07  Jakub Jelinek  

PR target/78227
* config/i386/i386.c (ix86_expand_sse_cmp): Force dest into
cmp_mode argument even for -O0 if cmp_mode != mode and maskcmp.

* gcc.target/i386/pr78227-1.c: New test.
* gcc.target/i386/pr78227-2.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr78227-1.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr78227-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/78378] [5 Regression] wrong code when combining shift + mult + zero_extend

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78378

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:40:21 2017
New Revision: 248623

URL: https://gcc.gnu.org/viewcvs?rev=248623&root=gcc&view=rev
Log:
Backported from mainline
2016-11-16  Jakub Jelinek  

PR rtl-optimization/78378
* combine.c (make_extraction): Use force_to_mode for non-{REG,MEM}
inner only if pos is 0.  Fix up formatting.

* gcc.c-torture/execute/pr78378.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr78378.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/combine.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77285] [5 Regression] extern thread_local linkage

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285

--- Comment #13 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:41:57 2017
New Revision: 248624

URL: https://gcc.gnu.org/viewcvs?rev=248624&root=gcc&view=rev
Log:
Backported from mainline
2016-11-18  Jakub Jelinek  

PR c++/77285
* mangle.c (mangle_tls_init_fn, mangle_tls_wrapper_fn): Call
check_abi_tags.

* g++.dg/tls/pr77285-1.C: New test.
* g++.dg/tls/pr77285-2.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/tls/pr77285-1.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/tls/pr77285-2.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/mangle.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/67335] [6 Regression] ICE in compiling omp simd function with unused argument

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67335

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:42:48 2017
New Revision: 248625

URL: https://gcc.gnu.org/viewcvs?rev=248625&root=gcc&view=rev
Log:
Backported from mainline
2016-11-21  Jakub Jelinek  

PR middle-end/67335
* omp-low.c (simd_clone_adjust_argument_types): Use NULL prefix
for tmp simd array if DECL_NAME (parm) is NULL.

* g++.dg/vect/simd-clone-7.cc: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/vect/simd-clone-7.cc
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/omp-low.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/78416] wrong code for division by (u128)~INT64_MAX at -O0

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78416

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:43:37 2017
New Revision: 248626

URL: https://gcc.gnu.org/viewcvs?rev=248626&root=gcc&view=rev
Log:
Backported from mainline
2016-11-22  Jakub Jelinek  

PR middle-end/78416
* expmed.c (expand_divmod): Use wide_int for computation of
op1_is_pow2.  Don't set it if op1 is 0.  Formatting fixes.
Use size <= HOST_BITS_PER_WIDE_INT instead of
HOST_BITS_PER_WIDE_INT >= size.

* gcc.dg/torture/pr78416.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr78416.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/expmed.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/77739] [5 Regression] internal compiler error: in create_tmp_var, at gimple-expr.c:524

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77739

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:44:11 2017
New Revision: 248627

URL: https://gcc.gnu.org/viewcvs?rev=248627&root=gcc&view=rev
Log:
Backported from mainline
2016-11-23  Jakub Jelinek  

PR c++/77739
* cp-gimplify.c (cp_gimplify_tree) : Pass
false as handle_invisiref_parm_p to cp_genericize_tree.
(struct cp_genericize_data): Add handle_invisiref_parm_p field.
(cp_genericize_r): Don't wrap is_invisiref_parm into references
if !wtd->handle_invisiref_parm_p.
(cp_genericize_tree): Add handle_invisiref_parm_p argument,
set wtd.handle_invisiref_parm_p to it.
(cp_genericize): Pass true as handle_invisiref_parm_p to
cp_genericize_tree.  Formatting fix.

* g++.dg/cpp1y/pr77739.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/pr77739.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/cp-gimplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/69183] ICE when using OpenMP PRIVATE keyword in OMP DO loop not explicitly encapsulated in OMP PARALLEL region

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69183

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:44:51 2017
New Revision: 248628

URL: https://gcc.gnu.org/viewcvs?rev=248628&root=gcc&view=rev
Log:
Backported from mainline
2016-11-23  Jakub Jelinek  

PR middle-end/69183
* omp-low.c (build_outer_var_ref): Change lastprivate argument
to code, pass it recursively, adjust uses.  For OMP_CLAUSE_PRIVATE
on worksharing constructs, treat it like clauses on simd construct.
Formatting fix.
(lower_rec_input_clauses): For OMP_CLAUSE_PRIVATE_OUTER_REF pass
OMP_CLAUSE_PRIVATE as last argument to build_outer_var_ref.
(lower_lastprivate_clauses): Pass OMP_CLAUSE_LASTPRIVATE instead
of true as last argument to build_outer_var_ref.

* gfortran.dg/gomp/pr69183.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr69183.f90
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/omp-low.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug fortran/78298] ICE in lookup_decl_in_outer_ctx, bei omp-low.c:4115

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78298

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:45:47 2017
New Revision: 248629

URL: https://gcc.gnu.org/viewcvs?rev=248629&root=gcc&view=rev
Log:
Backported from mainline
2016-11-28  Jakub Jelinek  

PR fortran/78298
* tree-nested.c (convert_local_reference_stmt): After adding
shared (FRAME.NN) clause to omp parallel, task or target,
add it also to all outer omp parallel, task or target constructs.

* gfortran.dg/gomp/pr78298.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr78298.f90
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-nested.c

[Bug c++/78649] [5 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor, at c

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78649

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:46:27 2017
New Revision: 248630

URL: https://gcc.gnu.org/viewcvs?rev=248630&root=gcc&view=rev
Log:
Backported from mainline
2016-12-02  Jakub Jelinek  

PR c++/78649
* pt.c (tsubst_init): Don't call build_value_init if decl's type
is error_mark_node.

* g++.dg/cpp0x/pr78649.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/pr78649.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/pt.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/78761] C++14, compiler generate mangled name that can not be demangled

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78761

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:47:05 2017
New Revision: 248631

URL: https://gcc.gnu.org/viewcvs?rev=248631&root=gcc&view=rev
Log:
Backported from mainline
2016-12-13  Jakub Jelinek  

PR c++/78761
* cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto).
* testsuite/demangle-expected: Add test for decltype(auto).

Modified:
branches/gcc-5-branch/libiberty/ChangeLog
branches/gcc-5-branch/libiberty/cp-demangle.c
branches/gcc-5-branch/libiberty/testsuite/demangle-expected

[Bug tree-optimization/80876] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1644 (error: loop 1's latch does not have an edge to its header)

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80876

Richard Biener  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Richard Biener  ---
Fixed.

[Bug tree-optimization/80876] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1644 (error: loop 1's latch does not have an edge to its header)

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80876

--- Comment #4 from Richard Biener  ---
Author: rguenth
Date: Tue May 30 07:49:00 2017
New Revision: 248633

URL: https://gcc.gnu.org/viewcvs?rev=248633&root=gcc&view=rev
Log:
2017-05-30  Richard Biener  

PR middle-end/80876
* cfgexpand.c (expand_gimple_cond): Fixup preserving loops again.

* gcc.dg/torture/pr80876.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr80876.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
trunk/gcc/testsuite/ChangeLog

[Bug target/78796] TLS fails to link on aarch64 with -mcmodel=large

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78796

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:48:57 2017
New Revision: 248632

URL: https://gcc.gnu.org/viewcvs?rev=248632&root=gcc&view=rev
Log:
Backported from mainline
2016-12-14  Wilco Dijkstra  
Jakub Jelinek  

PR target/78796
* config/aarch64/aarch64.c (aarch64_classify_symbol): Merge large
model checks into switch.

* gcc.dg/tls/pr78796.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/tls/pr78796.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/aarch64/aarch64.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug lto/78049] [7 Regression] ICE in gcc/lto-streamer-in.c:901 when building Firefox with LTO and -O3

2017-05-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78049

Martin Liška  changed:

   What|Removed |Added

 Status|RESOLVED|ASSIGNED
   Last reconfirmed||2017-05-30
 Resolution|FIXED   |---
 Ever confirmed|0   |1

--- Comment #6 from Martin Liška  ---
I'm planning to backport the patch to both active branches.

[Bug ipa/77905] [5/6 Regression] ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77905

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:51:12 2017
New Revision: 248634

URL: https://gcc.gnu.org/viewcvs?rev=248634&root=gcc&view=rev
Log:
Backported from mainline
2016-12-13  Jakub Jelinek  

PR ipa/77905
* ipa-pure-const.c (cdtor_p): Return true for
DECL_STATIC_{CON,DE}STRUCTOR even when it is
DECL_LOOPING_CONST_OR_PURE_P.

* g++.dg/ipa/pr77905.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr77905.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ipa-pure-const.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c/77767] [5 Regression] Side-effect from VLA array parameters lost

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77767

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:51:58 2017
New Revision: 248635

URL: https://gcc.gnu.org/viewcvs?rev=248635&root=gcc&view=rev
Log:
Backported from mainline
2016-12-21  Jakub Jelinek  

PR c/77767
* c-decl.c (grokdeclarator): If *expr is non-NULL, append expression
to *expr instead of overwriting it.

* gcc.c-torture/execute/pr77767.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr77767.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug fortran/78866] ICE in gimplify_adjust_omp_clauses_1, at gimplify.c:8721

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78866

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:52:55 2017
New Revision: 248636

URL: https://gcc.gnu.org/viewcvs?rev=248636&root=gcc&view=rev
Log:
Backported from mainline
2016-12-21  Jakub Jelinek  

PR fortran/78866
* openmp.c (resolve_omp_clauses): Diagnose assumed size arrays in
OpenMP map, to and from clauses.
* trans-openmp.c: Include diagnostic-core.h, temporarily redefining
GCC_DIAG_STYLE to __gcc_tdiag__.
(gfc_omp_finish_clause): Diagnose implicitly mapped assumed size
arrays.

* gfortran.dg/gomp/map-1.f90: Add expected error.
* gfortran.dg/gomp/pr78866-1.f90: New test.
* gfortran.dg/gomp/pr78866-2.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr78866-1.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr78866-2.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/openmp.c
branches/gcc-5-branch/gcc/fortran/trans-openmp.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/map-1.f90

[Bug c++/78949] incorrect "unused variable" warning with SSE2

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:53:35 2017
New Revision: 248637

URL: https://gcc.gnu.org/viewcvs?rev=248637&root=gcc&view=rev
Log:
Backported from mainline
2017-01-04  Jakub Jelinek  

PR c++/78949
* typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
vector type.

* c-c++-common/Wunused-var-16.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/Wunused-var-16.c
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/typeck.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79155] Typo in cpuid.h comment

2017-05-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79155

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-05-30
 CC||marxin at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |marxin at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Seems obvious, I'm going to prepare patch for that.

[Bug c/80892] [8 regression] -Wfloat-conversion now warns about non-floats

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80892

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.0

[Bug middle-end/50199] [5 Regression] wrong code with -flto -fno-merge-constants

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199

--- Comment #32 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:54:21 2017
New Revision: 248638

URL: https://gcc.gnu.org/viewcvs?rev=248638&root=gcc&view=rev
Log:
Backported from mainline
2017-01-11  Jakub Jelinek  

PR middle-end/50199
* lto-lang.c (lto_post_options): Force flag_merge_constants = 1
if it was 0.

* gcc.dg/lto/pr50199_0.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/lto/pr50199_0.c
Modified:
branches/gcc-5-branch/gcc/lto/ChangeLog
branches/gcc-5-branch/gcc/lto/lto-lang.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/78341] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_parser_std_attribute_spec, at cp/parser.c:24597)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78341

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:55:06 2017
New Revision: 248639

URL: https://gcc.gnu.org/viewcvs?rev=248639&root=gcc&view=rev
Log:
Backported from mainline
2017-01-11  Jakub Jelinek  

PR c++/78341
* parser.c (cp_parser_std_attribute_spec): Remove over-eager
assertion.  Formatting fix.

* g++.dg/cpp0x/pr78341.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/pr78341.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79197] [5 Regression] ICE in extract_insn in gcc/recog.c:2311

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79197

--- Comment #19 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:56:11 2017
New Revision: 248640

URL: https://gcc.gnu.org/viewcvs?rev=248640&root=gcc&view=rev
Log:
Backported from mainline
2017-02-02  Jakub Jelinek  

PR target/79197
* config/rs6000/rs6000.md (*fixuns_truncdi2_fctiduz): Rename to
...
(fixuns_truncdi2): ... this, remove previous expander.  Put all
conditions on a single line.

* gcc.target/powerpc/pr79197.c: New test.
* gcc.c-torture/compile/pr79197.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr79197.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/pr79197.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/rs6000/rs6000.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/79399] GCC fails to compile big source at -O0

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79399

--- Comment #14 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:57:10 2017
New Revision: 248641

URL: https://gcc.gnu.org/viewcvs?rev=248641&root=gcc&view=rev
Log:
Backported from mainline
2017-02-07  Jakub Jelinek  
Richard Biener  

PR middle-end/79399
* ira-int.h (struct target_ira_int): Change x_max_struct_costs_size
type from int to size_t.
* ira-costs.c (struct_costs_size): Change type from int to size_t.

Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ira-costs.c
branches/gcc-5-branch/gcc/ira-int.h

[Bug tree-optimization/79411] [5 Regression] ICE: SSA corruption (fail_abnormal_edge_coalesce)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79411

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:58:01 2017
New Revision: 248642

URL: https://gcc.gnu.org/viewcvs?rev=248642&root=gcc&view=rev
Log:
Backported from mainline
2017-02-10  Jakub Jelinek  

PR tree-optimization/79411
* tree-ssa-reassoc.c (is_reassociable_op): Return false if
stmt operands are SSA_NAMEs used in abnormal phis.
(can_reassociate_p): Return false if op is SSA_NAME used in abnormal
phis.

* gcc.c-torture/compile/pr79411.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr79411.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-ssa-reassoc.c

[Bug ipa/80899] [5/6/7/8 Regression] Devirtualization causes incorrect code generation with placement new in some cases

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80899

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c++/79512] [6 Regression] ICE: Segfault in gimple_build_call_1, at gimple.c:218

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79512

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:58:55 2017
New Revision: 248643

URL: https://gcc.gnu.org/viewcvs?rev=248643&root=gcc&view=rev
Log:
Backported from mainline
2017-02-16  Jakub Jelinek  

PR c++/79512
* c-parser.c (c_parser_omp_target): For -fopenmp-simd
ignore #pragma omp target even when not followed by identifier.

* parser.c (cp_parser_omp_target): For -fopenmp-simd
ignore #pragma omp target even when not followed by identifier.

* c-c++-common/gomp/pr79512.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr79512.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-parser.c
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/80898] [8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80898

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P1
Version|unknown |8.0

[Bug target/79559] [5/6 Regression] ICE in ix86_print_operand, at config/i386/i386.c:18189

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79559

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:59:29 2017
New Revision: 248644

URL: https://gcc.gnu.org/viewcvs?rev=248644&root=gcc&view=rev
Log:
Backported from mainline
2017-02-18  Jakub Jelinek  

PR target/79559
* config/i386/i386.c (ix86_print_operand): Use output_operand_lossage
instead of gcc_assert for K, r and R code checks.  Formatting fixes.

* gcc.target/i386/pr79559.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79559.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/80901] [8 Regression] ICE on valid code at -Os and above on x86_64-linux-gnu: in verify_loop_structure, at cfgloop.c:1644

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80901

Richard Biener  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
Version|unknown |8.0
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
   Target Milestone|--- |8.0

--- Comment #2 from Richard Biener  ---
Mine.

[Bug target/79568] ICE in extract_insn, at recog.c:2311 for pr70325.c (with -mavx512bw)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79568

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:00:48 2017
New Revision: 248645

URL: https://gcc.gnu.org/viewcvs?rev=248645&root=gcc&view=rev
Log:
Backported from mainline
2017-02-20  Jakub Jelinek  

PR target/79568
* config/i386/i386.c (ix86_expand_builtin): Handle
OPTION_MASK_ISA_AVX512VL and OPTION_MASK_ISA_64BIT in
ix86_builtins_isa[fcode].isa as a requirement of those
flags and any other flag in the bitmask.
(ix86_init_mmx_sse_builtins): Use 0 instead of
~OPTION_MASK_ISA_64BIT as mask.
* config/i386/i386-builtin.def (bdesc_special_args,
bdesc_args): Likewise.

* gcc.target/i386/pr79568-1.c: New test.
* gcc.target/i386/pr79568-2.c: New test.
* gcc.target/i386/pr79568-3.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79568-1.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79568-2.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79568-3.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/80903] [8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80903

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.0

[Bug target/79494] [5/6 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79494

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:01:31 2017
New Revision: 248646

URL: https://gcc.gnu.org/viewcvs?rev=248646&root=gcc&view=rev
Log:
Backported from mainline
2017-02-21  Jakub Jelinek  

PR target/79494
* config/i386/i386.c (ix86_expand_split_stack_prologue): Call
make_reg_eh_region_note_nothrow_nononlocal on call_insn.

* gcc.dg/pr79494.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr79494.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug fortran/80904] [6/7 Regression] Matmul result allocated to wrong size

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80904

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4
Version|unknown |8.0

[Bug other/80909] auto-profile.c possible mismatching parentheses in MACRO

2017-05-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80909

--- Comment #2 from Martin Liška  ---
Author: marxin
Date: Tue May 30 08:02:03 2017
New Revision: 248647

URL: https://gcc.gnu.org/viewcvs?rev=248647&root=gcc&view=rev
Log:
Fix parenthesis in auto-profile.c (PR other/80909).

2017-05-30  Martin Liska  

PR other/80909
* auto-profile.c (get_function_decl_from_block): Fix
parenthesis.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/auto-profile.c

[Bug c++/79641] [5 Regression] ICE with const variable and attribute

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79641

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:02:18 2017
New Revision: 248648

URL: https://gcc.gnu.org/viewcvs?rev=248648&root=gcc&view=rev
Log:
Backported from mainline
2017-02-21  Jakub Jelinek  

PR c++/79641
* c-common.c (handle_mode_attribute): Use build_qualified_type to
preserve quals.

* c-c++-common/pr79641.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr79641.c
Modified:
branches/gcc-5-branch/gcc/c-family/ChangeLog
branches/gcc-5-branch/gcc/c-family/c-common.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570

--- Comment #13 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:03:03 2017
New Revision: 248649

URL: https://gcc.gnu.org/viewcvs?rev=248649&root=gcc&view=rev
Log:
Backported from mainline
2017-02-21  Jakub Jelinek  

PR target/79570
* sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
on temporarily removed DEBUG_INSNs.

* gcc.dg/pr79570.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr79570.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/sel-sched.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/79664] ICE with #pragma omp parallel in constexpr function

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79664

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:04:55 2017
New Revision: 248650

URL: https://gcc.gnu.org/viewcvs?rev=248650&root=gcc&view=rev
Log:
Backported from mainline
2017-02-22  Jakub Jelinek  

PR c++/79664
* parser.c (cp_parser_omp_teams, cp_parser_omp_target): Use
SET_EXPR_LOCATION on OMP_TARGET/OMP_TEAMS tree.
* constexpr.c (potential_constant_expression_1): Handle
OMP_*, OACC_* and CILK_* trees.

* g++.dg/gomp/pr79664.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr79664.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug middle-end/79396] [5/6 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2 -march=haswell

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396

--- Comment #19 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:05:47 2017
New Revision: 248651

URL: https://gcc.gnu.org/viewcvs?rev=248651&root=gcc&view=rev
Log:
Backported from mainline
2017-02-25  Jakub Jelinek  

PR middle-end/79396
* tree-eh.c (operation_could_trap_p, stmt_could_throw_1_p): Handle
FMA_EXPR like tcc_binary or tcc_unary.

* g++.dg/opt/pr79396.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr79396.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-eh.c

[Bug target/79729] [5/6 Regression] ICE in ix86_print_operand, at config/i386/i386.c:18231

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79729

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:06:28 2017
New Revision: 248652

URL: https://gcc.gnu.org/viewcvs?rev=248652&root=gcc&view=rev
Log:
Backported from mainline
2017-02-28  Jakub Jelinek  

PR target/79729
* config/i386/i386.c (ix86_print_operand) : Replace
gcc_unreachable with output_operand_lossage.

* gcc.target/i386/pr79729.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79729.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79807] [5/6 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79807

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:07:03 2017
New Revision: 248653

URL: https://gcc.gnu.org/viewcvs?rev=248653&root=gcc&view=rev
Log:
Backported from mainline
2017-03-03  Jakub Jelinek  

PR target/79807
* config/i386/i386.c (ix86_expand_multi_arg_builtin): If target
is a memory operand, increase num_memory.
(ix86_expand_args_builtin): Likewise.

* gcc.target/i386/pr79807.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79807.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/79901] ICE in prepare_cmp_insn, at optabs.c:3904

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79901

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:07:30 2017
New Revision: 248654

URL: https://gcc.gnu.org/viewcvs?rev=248654&root=gcc&view=rev
Log:
Backported from mainline
2017-03-07  Jakub Jelinek  

PR rtl-optimization/79901
* expr.c (expand_expr_real_2): For vector MIN/MAX, if there is no
min/max expander, expand it using expand_vec_cond_expr.

Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/expr.c

[Bug rtl-optimization/79901] ICE in prepare_cmp_insn, at optabs.c:3904

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79901

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:08:24 2017
New Revision: 248655

URL: https://gcc.gnu.org/viewcvs?rev=248655&root=gcc&view=rev
Log:
Backported from mainline
2017-03-07  Jakub Jelinek  

PR rtl-optimization/79901
* config/i386/sse.md (*avx512bw_3): Renamed to
...
(*avx512f_3): ... this.
(3 with maxmin code iterator): Use VI8_AVX2_AVX512F
iterator instead of VI8_AVX2_AVX512BW.

* gcc.target/i386/pr79901.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79901.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/sse.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79932] _mm512_packus_epi32 does not compile under -O0

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79932

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:08:59 2017
New Revision: 248656

URL: https://gcc.gnu.org/viewcvs?rev=248656&root=gcc&view=rev
Log:
Backported from mainline
2017-03-09  Jakub Jelinek  

PR target/79932
* config/i386/avx512bwintrin.h (_mm512_packs_epi32,
_mm512_maskz_packs_epi32, _mm512_mask_packs_epi32,
_mm512_packus_epi32, _mm512_maskz_packus_epi32,
_mm512_mask_packus_epi32): Move definitions outside of __OPTIMIZE__
guarded section.

* gcc.target/i386/pr79932-1.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79932-1.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/avx512bwintrin.h
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/79932] _mm512_packus_epi32 does not compile under -O0

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79932

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:09:40 2017
New Revision: 248657

URL: https://gcc.gnu.org/viewcvs?rev=248657&root=gcc&view=rev
Log:
Backported from mainline
2017-03-09  Jakub Jelinek  

PR target/79932
* config/i386/avx512vlintrin.h (_mm256_cmpge_epi32_mask,
_mm256_cmpge_epi64_mask, _mm256_cmpge_epu32_mask,
_mm256_cmpge_epu64_mask, _mm256_cmple_epi32_mask,
_mm256_cmple_epi64_mask, _mm256_cmple_epu32_mask,
_mm256_cmple_epu64_mask, _mm256_cmplt_epi32_mask,
_mm256_cmplt_epi64_mask, _mm256_cmplt_epu32_mask,
_mm256_cmplt_epu64_mask, _mm256_cmpneq_epi32_mask,
_mm256_cmpneq_epi64_mask, _mm256_cmpneq_epu32_mask,
_mm256_cmpneq_epu64_mask, _mm256_mask_cmpge_epi32_mask,
_mm256_mask_cmpge_epi64_mask, _mm256_mask_cmpge_epu32_mask,
_mm256_mask_cmpge_epu64_mask, _mm256_mask_cmple_epi32_mask,
_mm256_mask_cmple_epi64_mask, _mm256_mask_cmple_epu32_mask,
_mm256_mask_cmple_epu64_mask, _mm256_mask_cmplt_epi32_mask,
_mm256_mask_cmplt_epi64_mask, _mm256_mask_cmplt_epu32_mask,
_mm256_mask_cmplt_epu64_mask, _mm256_mask_cmpneq_epi32_mask,
_mm256_mask_cmpneq_epi64_mask, _mm256_mask_cmpneq_epu32_mask,
_mm256_mask_cmpneq_epu64_mask, _mm_cmpge_epi32_mask,
_mm_cmpge_epi64_mask, _mm_cmpge_epu32_mask, _mm_cmpge_epu64_mask,
_mm_cmple_epi32_mask, _mm_cmple_epi64_mask, _mm_cmple_epu32_mask,
_mm_cmple_epu64_mask, _mm_cmplt_epi32_mask, _mm_cmplt_epi64_mask,
_mm_cmplt_epu32_mask, _mm_cmplt_epu64_mask, _mm_cmpneq_epi32_mask,
_mm_cmpneq_epi64_mask, _mm_cmpneq_epu32_mask, _mm_cmpneq_epu64_mask,
_mm_mask_cmpge_epi32_mask, _mm_mask_cmpge_epi64_mask,
_mm_mask_cmpge_epu32_mask, _mm_mask_cmpge_epu64_mask,
_mm_mask_cmple_epi32_mask, _mm_mask_cmple_epi64_mask,
_mm_mask_cmple_epu32_mask, _mm_mask_cmple_epu64_mask,
_mm_mask_cmplt_epi32_mask, _mm_mask_cmplt_epi64_mask,
_mm_mask_cmplt_epu32_mask, _mm_mask_cmplt_epu64_mask,
_mm_mask_cmpneq_epi32_mask, _mm_mask_cmpneq_epi64_mask,
_mm_mask_cmpneq_epu32_mask, _mm_mask_cmpneq_epu64_mask): Move
definitions outside of __OPTIMIZE__ guarded section.

* gcc.target/i386/pr79932-2.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr79932-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/avx512vlintrin.h
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:13:33 2017
New Revision: 248658

URL: https://gcc.gnu.org/viewcvs?rev=248658&root=gcc&view=rev
Log:
Backported from mainline
2017-03-09  Jakub Jelinek  

PR sanitizer/79944
* asan.c (get_mem_refs_of_builtin_call): For BUILT_IN_ATOMIC* and
BUILT_IN_SYNC*, determine the access type from the size suffix and
always build a MEM_REF with that type.  Handle forgotten
BUILT_IN_SYNC_FETCH_AND_NAND_16 and BUILT_IN_SYNC_NAND_AND_FETCH_16.

* c-c++-common/asan/pr79944.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/asan/pr79944.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/asan.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/80906] [7/8 Regression] ICE in copy_loop_close_phi_args, at graphite-isl-ast-to-gimple.c:2094

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80906

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
 Status|NEW |ASSIGNED
Version|unknown |7.1.0
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
   Target Milestone|--- |7.2

--- Comment #2 from Richard Biener  ---
I will eventually have a look.  Usually the scev_analyzable_p checks "mismatch"
at stages.

[Bug c++/79896] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:11950 on non-int128 target

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79896

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:15:55 2017
New Revision: 248660

URL: https://gcc.gnu.org/viewcvs?rev=248660&root=gcc&view=rev
Log:
Backported from mainline
2017-03-10  Jakub Jelinek  

PR c++/79896
* decl.c (finish_enum_value_list): If value is error_mark_node,
don't copy it and change its type.
* init.c (constant_value_1): Return error_mark_node if DECL_INITIAL
of CONST_DECL is error_mark_node.

* g++.dg/ext/int128-5.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ext/int128-5.C

[Bug c++/79896] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:11950 on non-int128 target

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79896

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:15:05 2017
New Revision: 248659

URL: https://gcc.gnu.org/viewcvs?rev=248659&root=gcc&view=rev
Log:
Backported from mainline
2017-03-10  Jakub Jelinek  

PR c++/79896
* decl.c (finish_enum_value_list): If value is error_mark_node,
don't copy it and change its type.
* init.c (constant_value_1): Return error_mark_node if DECL_INITIAL
of CONST_DECL is error_mark_node.

* g++.dg/ext/int128-5.C: New test.

Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/decl.c
branches/gcc-5-branch/gcc/cp/init.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c/80097] internal compiler error in c_fully_fold_internal with std=c89 and -fsanitize=float-divide-by-zero

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80097

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:16:31 2017
New Revision: 248661

URL: https://gcc.gnu.org/viewcvs?rev=248661&root=gcc&view=rev
Log:
Backported from mainline
2017-03-21  Jakub Jelinek  

PR c/80097
* c-typeck.c (build_binary_op): Add EXCESS_PRECISION_EXPR only around
optional COMPOUND_EXPR with ubsan instrumentation.

* gcc.dg/ubsan/pr80097.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/ubsan/pr80097.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-typeck.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/80129] wrong code with ternary struct assignment to const

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80129

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:17:18 2017
New Revision: 248662

URL: https://gcc.gnu.org/viewcvs?rev=248662&root=gcc&view=rev
Log:
Backported from mainline
2017-03-22  Jakub Jelinek  

PR c++/80129
* gimplify.c (gimplify_modify_expr_rhs) : Clear
TREE_READONLY on result if writing it more than once.

* g++.dg/torture/pr80129.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/torture/pr80129.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/gimplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug bootstrap/80915] [8 Regression] bootstrap failed with LTO

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80915

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.0

[Bug c++/80141] ICE with pragma omp declare

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80141

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:17:54 2017
New Revision: 248663

URL: https://gcc.gnu.org/viewcvs?rev=248663&root=gcc&view=rev
Log:
Backported from mainline
2017-03-22  Jakub Jelinek  

PR c++/80141
* semantics.c (finish_omp_clause) : Call maybe_constant_value only when not
processing_template_decl.

* g++.dg/gomp/pr80141.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr80141.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/semantics.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/80112] [5/6 Regression] ICE in doloop_condition_get at loop-doloop.c:158

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80112

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:20:03 2017
New Revision: 248664

URL: https://gcc.gnu.org/viewcvs?rev=248664&root=gcc&view=rev
Log:
Backported from mainline
2017-03-24  Jakub Jelinek  

PR rtl-optimization/80112
* loop-doloop.c (doloop_condition_get): Don't check condition
if cmp isn't SET with IF_THEN_ELSE src.

* gcc.dg/pr80112.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr80112.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/loop-doloop.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/80168] [5/6 Regression] ICE in make_decl_rtl, at varasm.c:1311 w/ VLA and -fsanitize=address

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80168

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:20:45 2017
New Revision: 248665

URL: https://gcc.gnu.org/viewcvs?rev=248665&root=gcc&view=rev
Log:
Backported from mainline
2017-03-27  Jakub Jelinek  

PR sanitizer/80168
* asan.c (instrument_derefs): Copy over last operand from
original COMPONENT_REF to the new COMPONENT_REF with
DECL_BIT_FIELD_REPRESENTATIVE.
* ubsan.c (instrument_object_size): Likewise.

* gcc.dg/asan/pr80168.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/asan/pr80168.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/asan.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/ubsan.c

[Bug middle-end/80917] missed bit information propagation

2017-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80917

Richard Biener  changed:

   What|Removed |Added

   Keywords||missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-05-30
 CC||rguenth at gcc dot gnu.org
  Component|rtl-optimization|middle-end
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
We don't do conditional bit-tracking, it would be possible to use the CCP code
to track a separate bit lattice in [E]VRP whose propagators are more capable.

On RTL I think we do not track nonzero bits across BBs but I'm not sure.

[Bug debug/80025] [5/6 Regression] ICE w/ -O2 (-O3, -Ofast) -g -ftracer (infinite recursion in rtx_equal_for_cselib_1)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80025

--- Comment #17 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:22:41 2017
New Revision: 248667

URL: https://gcc.gnu.org/viewcvs?rev=248667&root=gcc&view=rev
Log:
Backported from mainline
2017-03-31  Jakub Jelinek  

PR debug/80025
* cselib.c (cselib_hasher::equal): Pass 0 to rtx_equal_for_cselib_1.
(rtx_equal_for_cselib_1): Add depth argument.  If depth
is 128, don't look up VALUE locs and punt.  Increment
depth in recursive calls when walking VALUE locs.

* gcc.dg/torture/pr80025.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr80025.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/cselib.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/80286] [5/6 Regression] AVX2 _mm_cvtsi128_si32 doesn't return a proper 32bits int

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80286

--- Comment #11 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:23:29 2017
New Revision: 248668

URL: https://gcc.gnu.org/viewcvs?rev=248668&root=gcc&view=rev
Log:
Backported from mainline
2017-04-04  Jakub Jelinek  

PR target/80286
* config/i386/i386.c (ix86_expand_args_builtin): If op has scalar
int mode, convert_modes it to mode as unsigned, otherwise use
lowpart_subreg to mode rather than SImode.
* config/i386/sse.md (ashr3,
ashr3, ashr3, 3):
Use DImode instead of SImode for the shift count operand.
* config/i386/mmx.md (mmx_ashr3, mmx_3):
Likewise.

* gcc.target/i386/avx-pr80286.c: New test.
* gcc.dg/pr80286.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr80286.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/avx-pr80286.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/i386.c
branches/gcc-5-branch/gcc/config/i386/mmx.md
branches/gcc-5-branch/gcc/config/i386/sse.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/80363] #'vec_cond_expr' not supported by dump_expr#

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80363

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:25:10 2017
New Revision: 248670

URL: https://gcc.gnu.org/viewcvs?rev=248670&root=gcc&view=rev
Log:
Backported from mainline
2017-04-11  Jakub Jelinek  

PR c++/80363
* error.c (dump_expr): Handle VEC_COND_EXPR like COND_EXPR.

* g++.dg/ext/pr80363.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ext/pr80363.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/error.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c++/80176] [5/6 Regression] cannot bind reference to static member function using object access expression

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80176

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:24:21 2017
New Revision: 248669

URL: https://gcc.gnu.org/viewcvs?rev=248669&root=gcc&view=rev
Log:
Backported from mainline
2017-04-10  Jakub Jelinek  

PR c++/80176
* tree.c (lvalue_kind): For COMPONENT_REF with BASELINK second
operand, if it is a static member function, recurse on the
BASELINK.

* g++.dg/init/ref23.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/init/ref23.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/tree.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:25:50 2017
New Revision: 248671

URL: https://gcc.gnu.org/viewcvs?rev=248671&root=gcc&view=rev
Log:
Backported from mainline
2017-04-11  Jakub Jelinek  

PR libgomp/80394
* omp-low.c (scan_omp_task): Don't optimize away empty tasks
if they have any depend clauses.

* testsuite/libgomp.c/pr80394.c: New test.

Added:
branches/gcc-5-branch/libgomp/testsuite/libgomp.c/pr80394.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/omp-low.c
branches/gcc-5-branch/libgomp/ChangeLog

[Bug rtl-optimization/80385] [5/6 Regression] Segfault in commutative_operand_precedence() rtlanal.c:3373

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 08:26:33 2017
New Revision: 248672

URL: https://gcc.gnu.org/viewcvs?rev=248672&root=gcc&view=rev
Log:
Backported from mainline
2017-04-11  Jakub Jelinek  

PR rtl-optimization/80385
* simplify-rtx.c (simplify_unary_operation_1): Don't transform
(not (neg X)) into (plus X -1) for complex or non-integral modes.

* g++.dg/opt/pr80385.C: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr80385.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/simplify-rtx.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-05-30 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803

Martin Jambor  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jamborm at gcc dot 
gnu.org

--- Comment #21 from Martin Jambor  ---
I will have a look after dealing with PR 80898 which seems to be
easier to reproduce.  With some luck, it is going to be the same bug.

[Bug ipa/80899] [5/6/7/8 Regression] Devirtualization causes incorrect code generation with placement new in some cases

2017-05-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80899

Jan Hubicka  changed:

   What|Removed |Added

 Status|NEW |SUSPENDED
 CC||hubicka at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |hubicka at gcc dot 
gnu.org

--- Comment #1 from Jan Hubicka  ---
Mine.

[Bug c++/59457] name mangling in presence of variadic templates seems wrong

2017-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59457

--- Comment #2 from Jonathan Wakely  ---
Seems to be fixed in 5.1 and later, although maybe not entirely until 6.1:

https://bugs.llvm.org/show_bug.cgi?id=33161

[Bug middle-end/50199] [5 Regression] wrong code with -flto -fno-merge-constants

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #33 from Jakub Jelinek  ---
Fixed.

[Bug sanitizer/66343] "Error: .Lubsan_type3 already defined" with UBSan and precompiled headers

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66343

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #18 from Jakub Jelinek  ---
Fixed.

[Bug sanitizer/68260] false positive with tsan

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68260

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/69183] ICE when using OpenMP PRIVATE keyword in OMP DO loop not explicitly encapsulated in OMP PARALLEL region

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69183

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed.

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed.

[Bug c/72816] [5 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed.

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed.

[Bug c++/77285] [5 Regression] extern thread_local linkage

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Jakub Jelinek  ---
Fixed.

[Bug tree-optimization/72824] [5 Regression] Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns)

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72824

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #17 from Jakub Jelinek  ---
Fixed.

  1   2   3   >